]> OCCT Git - occt-copy.git/log
occt-copy.git
5 years ago0030591: Exception is raised by command "bopcheck" on the attached shape
gka [Mon, 18 Mar 2019 13:06:19 +0000 (16:06 +0300)]
0030591: Exception is raised by command "bopcheck" on the attached shape

Protection to avoid exception if number of vertices is equal to 1 was added.

5 years agoCommands.tcl for using checkprops in the tests
gka [Mon, 3 Jul 2017 10:42:41 +0000 (13:42 +0300)]
Commands.tcl for using checkprops in the tests

6 years ago0030708: Modeling Data - Exception is raised while initializing TopoDS_Iterator with...
emv [Mon, 13 May 2019 09:32:09 +0000 (12:32 +0300)]
0030708: Modeling Data - Exception is raised while initializing TopoDS_Iterator with null shape

Added protection from null shapes to TopoDS_Iterator::Initialize method.

6 years ago0030591: Exception is raised by command "bopcheck" on the attached shape
gka [Mon, 18 Mar 2019 13:06:19 +0000 (16:06 +0300)]
0030591: Exception is raised by command "bopcheck" on the attached shape

Protection to avoid exception if number of vertices is equal to 1 was added.

6 years ago0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depen...
emv [Mon, 18 Mar 2019 07:46:27 +0000 (10:46 +0300)]
0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depending on the order of parameters

The following improvement has been implemented in BRepLib_MakeWire class to make it more reliable:
1. Quit adding edges of a wire into result if the current edges have not been added. Return NotDone status.

Test case for the issue.

6 years ago0026717: Error in IntPatch_PrmPrmIntersection: change of local resolution leads to...
jgv [Thu, 8 Oct 2015 07:21:38 +0000 (10:21 +0300)]
0026717: Error in IntPatch_PrmPrmIntersection: change of local resolution leads to break of walking line

Test case for issue CR26717

Correction of test cases for issue CR26717

Test case for issue CR26717

6 years ago0030490: Modeling Algorithms - Incomplete result of Cut operation
emv [Fri, 8 Feb 2019 10:53:46 +0000 (13:53 +0300)]
0030490: Modeling Algorithms - Incomplete result of Cut operation

Unify the vertices of the small section edges (part of the commit for #0027448).

Test case for the issue.

7 years ago0029887: Wrong result of CUT operation due to incorrect point-face classification
nbv [Wed, 20 Jun 2018 14:30:00 +0000 (17:30 +0300)]
0029887: Wrong result of CUT operation due to incorrect point-face classification

Using of input tolerance has been eliminated in Geom2dInt_GInter algorithm called from BRepClass_Intersector::Perform(...) method. Now, the input tolerance is used only for check ON-status of classification.

(cherry picked from commit 748c9dc6ae0d6018018fca585b6d8cf511c0dd0b)

7 years ago0029535: Modeling Algorithms - BRepExtrema_DistShapeShape returns only one solution...
ifv [Mon, 12 Mar 2018 12:17:20 +0000 (15:17 +0300)]
0029535: Modeling Algorithms - BRepExtrema_DistShapeShape returns only one solution but the wires have two intersections (for 6.9.1)

7 years agoUpdate test system for OCCT 6.9.1
bugmaster [Wed, 28 Feb 2018 07:31:31 +0000 (10:31 +0300)]
Update test system for OCCT 6.9.1

7 years agoUpdate testing system for compatibly test case with master during prepare delivery
bugmaster [Tue, 27 Feb 2018 14:15:39 +0000 (17:15 +0300)]
Update testing system for compatibly test case with master during prepare delivery

7 years ago0029387: Incorrect result of cut a face with several shapes
emv [Fri, 22 Dec 2017 09:57:04 +0000 (12:57 +0300)]
0029387: Incorrect result of cut a face with several shapes

Eliminate normalization of the section curve while making approximation.
Remove section edges having no valid range.
Test case for the issue.

7 years ago0029162: Geom2dInt_GInter algorithm does not find intersection of ellipse and line
ifv [Fri, 13 Oct 2017 12:43:10 +0000 (15:43 +0300)]
0029162: Geom2dInt_GInter algorithm does not find intersection of ellipse and line

7 years ago0029159: Sewing fail when using a maximum tolerance
msv [Fri, 29 Sep 2017 07:43:52 +0000 (10:43 +0300)]
0029159: Sewing fail when using a maximum tolerance

Force setting truly computed tolerance of the edge if BRepLib::SameParameter has put too large tolerance.

7 years ago0029102: Missing points using GCPnts_QuasiUniformDeflection
msv [Wed, 13 Sep 2017 08:38:23 +0000 (11:38 +0300)]
0029102: Missing points using GCPnts_QuasiUniformDeflection

Correct the method PerformCurve of GCPnts_QuasiUniformDeflection to get the proper derivative at the end of the current curve.

Improve the Draw commands "crvpoints" and "crvtpoints" so that to work with wires as composite curves.

8 years ago0027441: The method IntTools_Context::IsVertexOnLine incorrectly computes parameter...
emv [Wed, 27 Apr 2016 13:28:52 +0000 (16:28 +0300)]
0027441: The method IntTools_Context::IsVertexOnLine incorrectly computes parameter of the point on the curve

Choosing the closest bound to the checking point.

Test cases for the issue.

Updating test cases for the current behavior.

8 years agoFix for the issue #28849.
nbv [Fri, 16 Jun 2017 10:00:02 +0000 (13:00 +0300)]
Fix for the issue #28849.

8 years ago0028830: HalfSpace command chooses the wrong side of the given shell
msv [Fri, 9 Jun 2017 07:46:34 +0000 (10:46 +0300)]
0028830: HalfSpace command chooses the wrong side of the given shell

Improve the algorithm BRepPrimAPI_MakeHalfSpace. Earlier it made projection of the point only on faces. If the nearest point does not conform to normal projection criterion the result is wrong. The fix includes search of projection on edges and vertices. This makes the algorithm robust for half spaces with boundaries.

8 years agoCommit for #28771 (thickshell produces wrong result, SENR-17-060)
ifv [Mon, 29 May 2017 11:16:52 +0000 (14:16 +0300)]
Commit for #28771 (thickshell produces wrong result, SENR-17-060)

8 years agoFix for case 180: Error using SnrSplitAlgorithm (691)
gka [Wed, 24 May 2017 14:56:23 +0000 (17:56 +0300)]
Fix for case 180: Error using SnrSplitAlgorithm (691)
Protection to avoid creation of the overlapping edges

8 years ago0027761: Intersection loops infinitely
emv [Thu, 11 Aug 2016 08:55:29 +0000 (11:55 +0300)]
0027761: Intersection loops infinitely

The static method CorrectSurfaceBoundaries() in the class IntTools_FaceFace,
which is used for correction of the boundaries of the faces before their intersection,
contains two inconsistent adjustments of the boundaries of the faces based on periodic surfaces.
One of these adjustments has been removed. The remaining adjustment, the one that is based on the
2D bounding boxes of the closed curves, should be sufficient.

Test case for the issue.

(cherry picked from commit 7cb2f40993b9699ca7dc80b5f3c54662d9e345dd)

8 years ago0028222: Intersection of two cylinders fails
nbv [Thu, 15 Dec 2016 14:22:00 +0000 (17:22 +0300)]
0028222: Intersection of two cylinders fails

1. The reason of exception has been eliminated.

2. Algorithm in IntPatch_WLineTool::JoinWLines(...) method has been modified in order to forbid join curves in the point where more than two intersection lines meet. More over, joining is forbidden if local curvature in the connection point is too big (see function CheckArgumentsToJoin(...) in the file IntPatch_WLineTool.cxx).

3. Interface of IntPatch_WLineTool::JoinWLines(...) method has been modified in order to reduce number of arguments.

4. Small corrections in IsSeamOrBound(...) static function has been made. Namely, check has been added if two boundaries are in the same period region but are too far each to other (see IntPatch_WLineTool.cxx, IsSeamOrBound(...) function, line # 532).

5. "Reversed" flag has been made local. Now, it is pure local characteristic: the algorithm decides itself, shall we reverse the argument order. This correction makes the algorithm more commutative (see issue #25404). However, IntPatch_WLineTool::JoinWLines(...) method can return non-commutative result.

6. Algorithm of searching small intersection curves has been improved.

7. New methods have been added in Bnd_Range class.

-----------------------------------------

Some test cases have been adjusted according to their new behavior.

1. tests\bugs\modalg_6\bug26310_3
   tests\bugs\modalg_6\bug26310_4
   tests\bugs\moddata_2\bug235
   tests\perf\modalg\bug26310_1
   tests\bugs\modalg_5\bug24915

Logic of these cases has been changed. Mover over, additional check has been added in "bug26310_1" test case. Therefore, its performance will be slower than on the current MASTER.

2. tests\bugs\modalg_5\bug25292*

Scripts have been rewritten in order to make it more readable. Logic of these cases has not been changed.

8 years ago0028009: [Regression vs OCCT7.0.0] Cut produces not valid shape
nbv [Wed, 2 Nov 2016 12:39:37 +0000 (15:39 +0300)]
0028009: [Regression vs OCCT7.0.0] Cut produces not valid shape

The algorithm in WorkWithBoundaries::BoundaryEstimation(...) did not take into account opposite directions of cylindrical axes (when the angle between them is obtuse). After the fix it does it.

Small correction of test cases for issue CR28009

(cherry picked from commit c9c7286e56612bbb845e63abcaa9b369faf55e33)

8 years ago0027856: Regression vs 6.7.1: General Fuse operation fails to fuse the solids
nbv [Tue, 25 Oct 2016 13:39:13 +0000 (16:39 +0300)]
0027856: Regression vs 6.7.1: General Fuse operation fails to fuse the solids

Method WorkWithBoundaries::BoundaryEstimation(...) has been brought in balance with IsParallel(...) method, which checks if cylinder axes are parallel.

(cherry picked from commit 95f8c6082dae20e53c196418ed9790fe78757109)

8 years agoPatch including (particular) fixes for the issues #23178, #26586, #27766, #26852...
nbv [Tue, 16 May 2017 12:14:50 +0000 (15:14 +0300)]
Patch including (particular) fixes for the issues #23178, #26586, #27766, #26852 and #24023.

8 years ago0027310: Huge tolerance obtained in the result of intersection of two cylindrical...
nbv [Thu, 7 Apr 2016 10:53:57 +0000 (13:53 +0300)]
0027310: Huge tolerance obtained in the result of intersection of two cylindrical faces

Sometimes start point of the intersection line is in the surface boundary strictly. I.e. the parameter of this point in the surface can be equal to both 0 or 2*PI equivalently. It is important to chose correct parameter value.

The algorithm of prediction is based on monotonicity property (see CylCylMonotonicity(...) function in IntPatch_ImpImpIntersection_4.gxx). Now, this function is used wrongly. The fix improves this situation.

Small optimization in the code.
Creation of test cases .

The logic of returning value by the method BoundariesComputing() has been corrected.

(cherry picked from commit 79997052f158c0512ff4d10ecb896e4899d24077)

8 years ago0026884: Cylinder/Cylinder intersection algorithm throws an exception
nbv [Wed, 18 Nov 2015 08:01:12 +0000 (11:01 +0300)]
0026884: Cylinder/Cylinder intersection algorithm throws an exception

Check, if cylinder axes are parallel is made more carefully.
This check is brought to conformity with check if axes are parallel (see constructor AxeOperator::AxeOperator(...) in IntAna_QuadQuadGeo.cxx file)

Test case for issue CR26884

(cherry picked from commit ce48b00930ae801233d44228e5e1f5a193a5de82)

8 years ago0028718: Section result has a break
nbv [Thu, 18 May 2017 12:31:13 +0000 (15:31 +0300)]
0028718: Section result has a break

Fix of the problem.

8 years ago0028683: Wrong result of CUT operation
emv [Tue, 25 Apr 2017 11:39:57 +0000 (14:39 +0300)]
0028683: Wrong result of CUT operation

1. Partial porting of the patches for the issues #0026738 and #0028017:
   Careful treatment of the SD vertices created on the Face/Face intersection stage.

2. Avoid creation of the small section edges.

3. Test case for the issue.

4. Adjusting test cases for current behavior.

8 years ago0028585: Wrong value of area computation
ifv [Thu, 1 Oct 2015 10:48:27 +0000 (13:48 +0300)]
0028585: Wrong value of area computation

Another processing of NaturalRestriction flag for face in algorithm of BRepGProp* classes.

8 years agoFix for the issue #28491
nbv [Tue, 28 Feb 2017 15:13:56 +0000 (18:13 +0300)]
Fix for the issue #28491

8 years ago0028189: Result of Boolean operation is non-manifold wire
emv [Wed, 28 Dec 2016 12:39:00 +0000 (15:39 +0300)]
0028189: Result of Boolean operation is non-manifold wire

1. The result of Boolean operation on the arguments of collection type, containers WIRE/SHELL/COMPSOLID, is now also a collection.
The result of Boolean operation on arguments of non-collection types is now a compound containing the splits of arguments directly, without its enclosure into containers.
Thus, if there were no containers, such as WIRE/SHELL/COMPSOLID, in the input arguments there will be no such containers in the result of BOP.

2. The containers of type WIRE included into result should now also (as the SHELLs) have coherent orientation of its sub-shapes.
For that the new method has been implemented (BOPTools_AlgoTools::OrientEdgesOnWire(TopoDS_Shape&)) which reorients edges of the given shape for correct ordering.

3. The duplicating containers, i.e. containers with the contents completely included in other containers, are now avoided in the result of BOP.

4. Documentation has been updated.

5. New test cases for the issue.

6. Adjusting test cases to current behavior.

8 years agoCorrection for redmine issue #150 - make wire builder more stable.
aml [Thu, 13 Oct 2016 10:01:25 +0000 (13:01 +0300)]
Correction for redmine issue #150 - make wire builder more stable.

9 years ago0027746: Incomplete result of SECTION operation CR27746_CR0_691_FixS
emv [Wed, 3 Aug 2016 07:58:06 +0000 (10:58 +0300)]
0027746: Incomplete result of SECTION operation

1. Partial porting of the fix for the issue #0026560:
Function to compute subshape max tolerance has been added.
Fixed bounding box expanding at Face/Face step of boolean operation.

2. New test cases are created.

9 years ago0027677: Incorrect CUT of a solid by semi-infinite solid
azv [Mon, 18 Jul 2016 12:51:23 +0000 (15:51 +0300)]
0027677: Incorrect CUT of a solid by semi-infinite solid

The problem of incorrect CUT is wrong Pcurve after projection onto cylinder of a small edge orthogonal to cylinder's axis. The result of projection is a line along V direction, but it should be along U.

ProjLib_Cylinder has no specific functionality to build projection in most common case, so it should return "not done" flag to start projection based on curve approximation.

Following changes are done:
1. ProjLib_Cylinder returns isDone=false in the following cases:
  * the projected line is not parallel to cylinder's axis
  * the plane of projected circle is not orthogonal to cylinder's axis
2. Test case added

9 years agoFix for issue #27664
nbv [Wed, 13 Jul 2016 07:09:46 +0000 (10:09 +0300)]
Fix for issue #27664

9 years ago0027371: Regression: BRepExtrema works too much slower in 691 (from 670)
aml [Mon, 18 Apr 2016 04:46:45 +0000 (07:46 +0300)]
0027371: Regression: BRepExtrema works too much slower in 691 (from 670)

Lipschitz constant tuning.
Shubert estimation for minimal value is added.

Test case is added.

9 years ago0027151: Exception is raised during performing command "splitshape" in the Test Harness
gka [Fri, 11 Mar 2016 08:29:21 +0000 (11:29 +0300)]
0027151: Exception is raised during performing command "splitshape" in the Test Harness

Tolerance of vertices's of the degenerated edges are increased
to value of tolerance of the splitting vertex for case when splitting vertex was projected on the degenerated edge.

9 years ago0026619: Tolerances of operands are modified using bop
gka [Fri, 11 Mar 2016 08:01:47 +0000 (11:01 +0300)]
0026619: Tolerances of operands are modified using bop

The fix forces creation of new sub-shapes (vertex, edge) when the tolerance of some sub-shape of an argument is to be increased.

    This new behavior is turned off by default. It can be turned on using two ways:
    1) Setting 'locking' flag of the arguments.
    2) Calling the method SetNonDestructive(Standard_True) of the API classes.

9 years ago0027151: Exception is raised during performing command "splitshape" in the Test Harness
gka [Thu, 25 Feb 2016 13:32:00 +0000 (16:32 +0300)]
0027151: Exception is raised during performing command "splitshape" in the Test Harness

Modifications to avoid exception for case overlapped edges was made.
Returned values of the methods LocOpe_SplitShape:AddOpenWire() and LocOpe_SplitShape:AddClosedWire() were modified from void to boolean in order to avoid raising of the exceptions for cases when result wire can not be built.

9 years agoOld signature of method "reset" is restored to avoid problems with backward compatibi...
aml [Wed, 24 Feb 2016 10:44:57 +0000 (13:44 +0300)]
Old signature of method "reset" is restored to avoid problems with backward compatibility.

9 years ago0027162: Draw command "(2d)extrema" incorrectly represent underlying algorithm results CR27131_FixS
aml [Tue, 16 Feb 2016 12:47:38 +0000 (15:47 +0300)]
0027162: Draw command "(2d)extrema" incorrectly represent underlying algorithm results

Correct handling of infinity solutions added for Curve / Curve case.
Unused code deleted.
Test cases updated to the new behavior.

9 years agoPossibility to freeze Lipchitz constant is added to improve performance.
aml [Mon, 15 Feb 2016 07:42:32 +0000 (10:42 +0300)]
Possibility to freeze Lipchitz constant is added to improve performance.

9 years ago0027131: [Regression to 6.7] DistShapeShape performance loss
aml [Tue, 28 Jul 2015 09:18:04 +0000 (12:18 +0300)]
0027131: [Regression to 6.7] DistShapeShape performance loss

Lipchitz constant approximation and fixes in global optimization algorithm added to improve performance.
Test case added.

Fix backporting:

0026593: Coding rules - revert compatibility of NCollection_CellFilter constructor with old code

Restored old constructor and old behavior where possible.

Minor correction.

0026395: Merge clasees NCollection_CellFilter_NDim and NCollection_CellFilter

Deleted exceed class CellFilterNDim.
Now dimension count used as input parameter in NCollection_CellFilter.

minor corrections.

9 years ago0027119: Regression: Draw command "incmesh" hangs on the attacheced face.
oan [Fri, 5 Feb 2016 12:23:08 +0000 (15:23 +0300)]
0027119: Regression: Draw command "incmesh" hangs on the attacheced face.

BRepMesh_CircleTool: extend radius of circle by quite small value in order to classify points forming inscribed triangle as lying on it. Do not use PConfusion due to false positive result leading algorithm to hanging.

9 years ago0027114: [Regression to 6.7] DistShapeShape does not find a solution edge-face
aml [Fri, 29 Jan 2016 06:11:46 +0000 (09:11 +0300)]
0027114: [Regression to 6.7] DistShapeShape does not find a solution edge-face

Extrema Curve / Surface algorithm changed to perform more accurate search.

test case bug25232_8 - improvement, one additional intersection point is detected now.
test case bug23830 - normal behavior, position of extrema is changed.
Small correction of pro19653 test
test case for original issue added.

9 years agoSmall correction of test case bugs/heal/bug26642 due to shape renaming
apv [Tue, 2 Feb 2016 09:50:55 +0000 (12:50 +0300)]
Small correction of test case bugs/heal/bug26642 due to shape renaming

9 years ago0027110: Regression: Draw command "parameters" can not compute parameter on the line.
ifv [Mon, 1 Feb 2016 08:02:39 +0000 (11:02 +0300)]
0027110: Regression: Draw command "parameters" can not compute parameter on the line.

Useless variable MAXTOLERANCEGEOM is removed in order to allow to place point at any distance from curve/surface.
Algorithm is simplified: particular calculations for analytical geometry are removed, only using of Extrema_... is kept.

9 years agoPatch for issue #26841
nbv [Mon, 21 Dec 2015 10:30:00 +0000 (13:30 +0300)]
Patch for issue #26841

9 years agoSmall correction of qt samples OCCT691-REF V6_9_1
ski [Mon, 28 Sep 2015 13:04:01 +0000 (16:04 +0300)]
Small correction of qt samples

9 years ago0026723: Qt IE sample can not import STEP and IGES files with names containing not...
gka [Fri, 25 Sep 2015 13:30:29 +0000 (16:30 +0300)]
0026723: Qt IE sample can not import STEP and IGES files with names containing not ascii symbols

Added conversion of the names of the imported files in the  Utf8 coding

9 years agoFix samples crash.
isk [Fri, 25 Sep 2015 11:16:24 +0000 (14:16 +0300)]
Fix samples crash.

9 years agoChanging OCCT version from 6.9.1 beta to 6.9.1
bugmaster [Wed, 23 Sep 2015 08:30:15 +0000 (11:30 +0300)]
Changing OCCT version from 6.9.1 beta to 6.9.1

9 years ago0026707: Remove references to "opencascade.org" in documentation
ysn [Tue, 22 Sep 2015 10:16:04 +0000 (13:16 +0300)]
0026707: Remove references to "opencascade.org" in documentation

Links to OCC web sites in documentation are updated in accordance with the new site design.

9 years ago0026632: HLR sample doesn't work with Algo mode
nbv [Tue, 22 Sep 2015 10:35:13 +0000 (13:35 +0300)]
0026632: HLR sample doesn't work with Algo mode

The main reason of the problem is Walking-line contains two equal Walking-points (the segment has null-length both in 3D and 2D).

9 years ago0026701: BOPAlgo_Builder::Perform crash.
isn [Tue, 22 Sep 2015 19:10:56 +0000 (22:10 +0300)]
0026701: BOPAlgo_Builder::Perform crash.

Data race eliminated (PCurves are stored in edges after paralleled calculation)

Add comments and make minor cosmetic changes.

9 years ago0026522: Exception while copying offset on C0 surface
anv [Mon, 21 Sep 2015 12:58:53 +0000 (15:58 +0300)]
0026522: Exception while copying offset on C0 surface

9 years ago0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()
abv [Mon, 21 Sep 2015 03:08:22 +0000 (06:08 +0300)]
0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()

Avoid possible infinite loops in ShapeFix_Wire::FixSelfIntersection() -- when needed, fix is repeated once instead of going back in the loop

9 years agoModification of service files for Voxel demo
bugmaster [Tue, 22 Sep 2015 10:30:36 +0000 (13:30 +0300)]
Modification of service files for Voxel demo

9 years ago0026705: Visualization - OpenGl_Workspace aspect setters are not exported
aba [Fri, 18 Sep 2015 11:07:48 +0000 (14:07 +0300)]
0026705: Visualization - OpenGl_Workspace aspect setters are not exported

9 years agoUpdate samples for VC++ 2013
bugmaster [Fri, 18 Sep 2015 09:46:25 +0000 (12:46 +0300)]
Update samples for VC++ 2013

9 years ago0026532: Meshing of edge with minSize parameter leads to incorrect result
oan [Thu, 17 Sep 2015 11:58:40 +0000 (14:58 +0300)]
0026532: Meshing of edge with minSize parameter leads to incorrect result

Fix missed parameter.

Test case for issue CR26532

9 years ago0026687: SIGSEGV in BRepBuilderAPI_MakeFace
nbv [Thu, 17 Sep 2015 10:52:17 +0000 (13:52 +0300)]
0026687: SIGSEGV in BRepBuilderAPI_MakeFace

1. Check face location has been added.
2. Message, if mkplane command fails, has been added.
3. Test case for this issue has been created.

Changes in accordance with the remark.

Small correction of test case for issue CR26687

9 years ago0026688: Visualization, TKOpenGl - apply transparency within GLSL programs
kgv [Tue, 15 Sep 2015 15:18:03 +0000 (18:18 +0300)]
0026688: Visualization, TKOpenGl - apply transparency within GLSL programs

OpenGl_ShaderManager::PushAspectFace(), setup alpha to Diffuse() component as in FFP.
OpenGl_ShaderManager::stdComputeLighting(), take alpha from material Diffuse component.

9 years ago0026533: Draw command vdisplay requires vclear to update the presentation since OCC...
isk [Tue, 15 Sep 2015 09:06:43 +0000 (12:06 +0300)]
0026533: Draw command vdisplay requires vclear to update the presentation since OCC 6.9.0.
Update documentation related to vdisplay command and similar.

9 years ago0026196: Wrong result obtained by projection algorithm.
aml [Thu, 17 Sep 2015 10:18:00 +0000 (13:18 +0300)]
0026196: Wrong result obtained by projection algorithm.

Improved periodicity handling when trimmed parameters became unclosed or nonperiodic, but underlying geometry closed or periodic.
Added possibility to not perform trim in GeomAdaptor::MakeSurface.

Minor corrections.

Test-case for issue #26196

9 years ago0026683: VRML 2.0: ImageTexture node not written
agv [Wed, 16 Sep 2015 09:55:49 +0000 (12:55 +0300)]
0026683: VRML 2.0: ImageTexture node not written

9 years ago0026616: Memory leak in IntTools_Context::Hatcher
pkv [Mon, 31 Aug 2015 07:36:20 +0000 (10:36 +0300)]
0026616: Memory leak in IntTools_Context::Hatcher

I. New features:
    No new features

II.2. class IntTools_Context
- method:
Geom2dHatch_Hatcher& IntTools_Context::Hatcher
  (const TopoDS_Face& aF)
- method:
IntTools_SurfaceRangeLocalizeData& IntTools_Context::SurfaceData
  (const TopoDS_Face& aF)

The memory allocation is provided using inner allocator of the object.

II. Modified entities:
packages:
IntTools

9 years ago0026691: CMake building procedure should support compiler of version 14.0 of Microsof...
ibs [Tue, 15 Sep 2015 13:56:14 +0000 (16:56 +0300)]
0026691: CMake building procedure should support compiler of version 14.0 of Microsoft Visual C

"vc14" compiler name added to CMake building script

9 years ago0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances
nbv [Tue, 15 Sep 2015 12:45:57 +0000 (15:45 +0300)]
0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances

Algorithm of computation of safe shift value along 2D-line (in order to distance between two points was less than tolerance) has been improved.

Correction of some test cases in accordance with their new behavior.

9 years ago0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although...
ika [Tue, 8 Sep 2015 13:20:42 +0000 (16:20 +0300)]
0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although proceeded in 6.8.0

Take basis surface from trimmed surfaces during IGES writing, because pcurves will be transformed, so trim will be shifted, accorded to new face bounds,
fix updating of seam edge,
change condition of using Segment during exporting periodic BSpline surfaces to IGES (if bounds are not in one period).

Test cases for issue CR26419

9 years ago0026573: IGES file with one entity 128 is not read
ika [Thu, 3 Sep 2015 11:58:25 +0000 (14:58 +0300)]
0026573: IGES file with one entity 128 is not read

Add some workaround to read IGES files with lines, which lengths are less than standard 80.

Test case for issue CR26573

Correction of test cases for issue CR26573

Correction of test case for issue CR26573

9 years ago0026651: IntTools_FClass2d gives incorrect result of classification
ifv [Fri, 11 Sep 2015 11:01:45 +0000 (14:01 +0300)]
0026651: IntTools_FClass2d gives incorrect result of classification

9 years ago0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()
ifv [Thu, 10 Sep 2015 07:18:58 +0000 (10:18 +0300)]
0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()

Incorrect piece of code is removed (not used)

9 years ago0024097: BRepAlgoAPI_Section returns wrong result
abv [Sat, 5 Sep 2015 13:09:48 +0000 (16:09 +0300)]
0024097: BRepAlgoAPI_Section returns wrong result

Test case added: bugs modalg_6 bug24097

9 years ago0026099: Wrong result done by 2d intersection algorithm
nbv [Wed, 9 Sep 2015 07:07:43 +0000 (10:07 +0300)]
0026099: Wrong result done by 2d intersection algorithm

Detection of intersection for almost parallel lines has been improved.

9 years ago0026567: Exception in Boolean intersection command
pkv [Tue, 18 Aug 2015 07:06:11 +0000 (10:06 +0300)]
0026567: Exception in Boolean intersection command

Correcting the usage of NCollection_IncAllocator

9 years agoAdjusting test cases for current state of OCCT
apv [Fri, 11 Sep 2015 10:51:14 +0000 (13:51 +0300)]
Adjusting test cases for current state of OCCT

9 years ago0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face
gka [Thu, 10 Sep 2015 14:42:22 +0000 (17:42 +0300)]
0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face

Modification to support case when edges on face  have incorrect orientation was added.
Modification to support case when wires have intersecting segment was added

Test cases for issue 25553 added; other affected tests corrected (improvements)

Corrected test case

9 years ago0026575: Normal projection of an edge to a face is wrong
mkv [Thu, 10 Sep 2015 13:39:54 +0000 (16:39 +0300)]
0026575: Normal projection of an edge to a face is wrong

9 years ago0026628: Button Erase (Delete where erase algorythm is used) works incorrect
isk [Thu, 10 Sep 2015 14:26:45 +0000 (17:26 +0300)]
0026628: Button Erase (Delete where erase algorythm is used) works incorrect

Update AIS_InteractiveContext::EraseSelected() method.

Fix HLR sample

Fix samples.

9 years ago0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight...
isk [Thu, 14 May 2015 14:04:15 +0000 (17:04 +0300)]
0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight for shaded object

9 years ago0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly...
kgv [Wed, 9 Sep 2015 07:29:43 +0000 (10:29 +0300)]
0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly within OpenGL ES

Use lowp for enumerations / Boolean uniforms.
Define default integer precision to highp in Fragment Shader when available.

9 years ago0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low...
kgv [Wed, 9 Sep 2015 11:24:21 +0000 (14:24 +0300)]
0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low precision of mod() in GLSL

9 years ago0026638: Help of vcaps Draw command mentions wrong argument
mkv [Wed, 9 Sep 2015 16:59:45 +0000 (19:59 +0300)]
0026638: Help of vcaps Draw command mentions wrong argument

9 years ago0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires
jgv [Thu, 10 Sep 2015 13:47:39 +0000 (16:47 +0300)]
0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires

Test case for issue CR26636

9 years ago0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
nbv [Thu, 10 Sep 2015 13:16:55 +0000 (16:16 +0300)]
0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception

Test cases for issue CR26313

9 years ago0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junct...
jgv [Thu, 10 Sep 2015 12:30:55 +0000 (15:30 +0300)]
0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junctions at vertex

Test case for issue CR26173

9 years ago0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()
kgv [Mon, 7 Sep 2015 06:31:35 +0000 (09:31 +0300)]
0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()

9 years ago0026635: UnifySameDomain loses internal edges
msv [Thu, 10 Sep 2015 12:02:41 +0000 (15:02 +0300)]
0026635: UnifySameDomain loses internal edges

Treat internal edges in proper way to save them in the result.

The test "bugs heal bug26489_4" has been modified to reflect the actual behavior.

Test-case for issue #26635

9 years ago0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
isn [Thu, 27 Aug 2015 10:52:14 +0000 (13:52 +0300)]
0026498: BRepOffsetAPI_MakeOffset causes segmentation fault

Test case for issue CR26498

9 years ago0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
abv [Mon, 7 Sep 2015 04:14:41 +0000 (07:14 +0300)]
0026627: [Regression] Shape Healing hangs as of OCC 6.8.0

Check for orientation of the solid corrected to ensure that cycle always finishes.

Test case added: bugs modalg_6 bug26627
Tests boolean volumemaker A3, B5, B7 corrected (improvements)

9 years ago0026647: BRepTools::UVBounds() computes zero range by V
abv [Sun, 6 Sep 2015 13:46:08 +0000 (16:46 +0300)]
0026647: BRepTools::UVBounds() computes zero range by V

Calculation of bounding box on conic 2d curves corrected to work properly if specified parametric range is in negative values.

Test case added

9 years ago0026582: Wrong result obtained by Common operator
pkv [Thu, 3 Sep 2015 12:02:06 +0000 (15:02 +0300)]
0026582: Wrong result obtained by Common operator

class BOPAlgo_WireSplitter
   - static function:
Standard_Real Angle2D (const TopoDS_Vertex& aV,
                         const TopoDS_Edge& anEdge,
                         const TopoDS_Face& myFace,
                         const GeomAdaptor_Surface& aGAS,
                         const Standard_Boolean bIsIN)
The treatment of circles has been chenged to prevent
the loss of accuracy due to small differences in large values.

Small correction of test case for issue CR26582

Test case for issue CR26582

Conflicts:
src/BOPAlgo/BOPAlgo_WireSplitter_1.cxx

9 years ago0026644: ShapeUpgrade_UnifySameDomain - strange behavior
gka [Fri, 11 Sep 2015 08:02:55 +0000 (11:02 +0300)]
0026644: ShapeUpgrade_UnifySameDomain - strange behavior

Modification to keep connectivity for non--manifold shapes during operation ShapeUpgrade_UnifySameDomain

9 years ago0026637: Save function works incorrect in OCAF mfc sample
ski [Thu, 3 Sep 2015 12:29:01 +0000 (15:29 +0300)]
0026637: Save function works incorrect in OCAF mfc sample

Storage format was corrected.

9 years ago0026462: Visualization - selection does not adapt to line width change
vpa [Mon, 31 Aug 2015 07:32:00 +0000 (10:32 +0300)]
0026462: Visualization - selection does not adapt to line width change

- added interface for changing sensitivity of a particular selection through both local and interactive context;
- added corresponding methods for changing sensitivity to SelectMgr_SelectionManager, SelectMgr_Selection and SelectBasics_SensitiveEntity;
- option -setSensitivity was implemented in vaspects Draw command;
- test case for issue #26462

9 years ago0026195: Visualization - optimize selection algorithms
vpa [Sun, 30 Aug 2015 21:07:01 +0000 (00:07 +0300)]
0026195: Visualization - optimize selection algorithms

- initial transformation of triangulation is now applied to selecting frustum;
- switched from NCollection_Vec3 to gp collections to avoid conversions and usage of macros;
- calculation of frustum was refactored to reduce its build time;
- double pixel tolerances for selection were replaced by integer ones;
- switched to splitting along the main axis only in SelectMgr BVH selection primitive sets.

9 years ago0026451: Crash importing STeP file
ika [Thu, 3 Sep 2015 11:36:27 +0000 (14:36 +0300)]
0026451: Crash importing STeP file

Add check for NULL.

Test case for issue CR26451

9 years ago0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
aml [Thu, 4 Jun 2015 11:13:58 +0000 (14:13 +0300)]
0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves

1) Added check for parallel curves.
2) Changed unefficient o(n^2) duplicates deleting algorithm to o(n) algorithm.
3) Deleted useless upper level duplicates deleting algorithm.

Test-case for issue #26075