]> OCCT Git - occt-copy.git/log
occt-copy.git
5 years ago0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires
jgv [Thu, 29 Aug 2019 16:02:25 +0000 (19:02 +0300)]
0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires

Add setting the Closed flag for a new wire

5 years ago0030914: Modeling Algorithms - Improve performance of UnifySameDom algorithm for...
emv [Mon, 26 Aug 2019 13:31:52 +0000 (16:31 +0300)]
0030914: Modeling Algorithms - Improve performance of UnifySameDom algorithm for specific case with many edges

Use cached containers to find the necessary shapes.

5 years ago0030905: Modeling Algorithms - Faulty shapes in UnifySameDomain
emv [Tue, 20 Aug 2019 11:23:29 +0000 (14:23 +0300)]
0030905: Modeling Algorithms - Faulty shapes in UnifySameDomain

Make face FORWARD before adding wire in it.

5 years ago0031153: Non clear highlighting of selected trihedron elements
vsv [Tue, 12 Nov 2019 10:28:20 +0000 (13:28 +0300)]
0031153: Non clear highlighting of selected trihedron elements

5 years agoref to 0029711: General Fuse operation produces invalid result V7_3_0p4
emv [Mon, 23 Sep 2019 08:13:57 +0000 (11:13 +0300)]
ref to 0029711: General Fuse operation produces invalid result

Avoid usage of uninitialized variable.

5 years ago0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
emv [Mon, 3 Jun 2019 08:36:18 +0000 (11:36 +0300)]
0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0

Use FORWARD orientation of edges and face when attaching pcurve from one edge to another.
Test case for the issue.

5 years ago0029711: General Fuse operation produces invalid result
emv [Wed, 16 May 2018 09:12:09 +0000 (12:12 +0300)]
0029711: General Fuse operation produces invalid result

Boolean Operations algorithm improvements:
1. To be able to add/remove elements into the tree of bounding boxes UBTree is replaced with EBTree in Boolean operations.
2. Perform repeated (nested) intersection of sub-shapes of the arguments with vertices which tolerances have been increased during the operation.
3. Edge/Edge and Edge/Face intersection point creation improvement for the cases when intersection point is located close to the edge's boundaries.
4. Forced Edge/Face intersection procedure to ensure common blocks creation.
5. Face/Face intersection post treatment stage improvements.
6. Avoid extension of the planar faces for Plane/Plane intersection.
7. Builder Face algorithm - improve classification of the potentially internal edges relatively new faces by adding filtering by bounding boxes.

Side effect changes:
1. IntTools_ShrunkRange is now keeps the length of the valid range of the edge.
2. The method BOPDS_DS::UpdateEdgeTolerance() has been removed as unused (replaced by the BOPAlgo_PaveFiller::UpdateEdgeTolerance()).

Test case for the issue 0029900.
Test case for the issue 0029711.
Adjustments of the existing test cases.

5 years ago0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal...
kgv [Mon, 26 Aug 2019 08:08:23 +0000 (11:08 +0300)]
0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal value

Map the very upper value (theValue==theMax) to the largest color interval.

5 years ago0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]
msv [Tue, 13 Aug 2019 13:00:48 +0000 (16:00 +0300)]
0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]

The regression caused by the patch for 0030534 has been eliminated. For that the method InsertWiresIntoFaces() has been corrected: the face to which a wire is added is first oriented as forward.

5 years ago0030534: Regression in the tool UnifySameDomain - the shape looses faces
jgv [Fri, 15 Mar 2019 09:55:09 +0000 (12:55 +0300)]
0030534: Regression in the tool UnifySameDomain - the shape looses faces

1. Add method TransformPCurves to ShapeUpgrade_UnifySameDomain - to rotate and translate existing pcurves instead of projecting.
2. Modify method ShapeUpgrade_UnifySameDomain::IntUnifyFaces - now it does not apply ShapeFix to new wires and new faces.
3. In the method UnifyEdges: add merging degenerated edges.

6 years ago0030510: Application Framework - add missing NULL check within TDataStd_RealArray... V7_3_0p3
jfa [Thu, 21 Feb 2019 09:49:05 +0000 (12:49 +0300)]
0030510: Application Framework - add missing NULL check within TDataStd_RealArray::ChangeArray()

6 years agoFix compilation problem
vsr [Thu, 21 Feb 2019 10:37:34 +0000 (13:37 +0300)]
Fix compilation problem
- Disable code introduced by fix for issue 28747, causing compilation failure

6 years ago0030363: BRepLib::SameParameter with option "forced" corrupts valid shape
jgv [Thu, 15 Nov 2018 12:36:22 +0000 (15:36 +0300)]
0030363: BRepLib::SameParameter with option "forced" corrupts valid shape

Method BRepLib::SameParameter has been corrected to synchronize check of resulting tolerance with BRepCheck.

6 years ago0030174: ShapeUpgrade_UnifySameDomain does not unify cylindrical faces
jgv [Thu, 25 Oct 2018 13:30:56 +0000 (16:30 +0300)]
0030174: ShapeUpgrade_UnifySameDomain does not unify cylindrical faces

Hotfix for issue 27271 (avoiding potential seam edges) is deleted.

Correction of test case

6 years ago0030186: BRepOffsetAPI_MakePipe Generated() method produces no results for the spine...
jgv [Mon, 1 Oct 2018 15:18:54 +0000 (18:18 +0300)]
0030186: BRepOffsetAPI_MakePipe Generated() method produces no results for the spine edges

Add method BuildHistory providing history for sub-shapes of profile and spine to BRepFill_Pipe.

6 years ago0030204: BRepOffsetAPI_MakePipeShell crash
jgv [Fri, 12 Oct 2018 10:02:34 +0000 (13:02 +0300)]
0030204: BRepOffsetAPI_MakePipeShell crash

Add protection from type mismatch while ensuring Same Parameter on U-edges

6 years ago0030354: BOP Cut doesn't modify the attached face V7_3_0p2
nbv [Fri, 9 Nov 2018 07:22:55 +0000 (10:22 +0300)]
0030354: BOP Cut doesn't modify the attached face

The reason of this problem is in wrong work of classifier algorithm (see the message ~0080992 to the issue #30354). Therefore, the algorithm of IntTools_FClass2d class has been improved. Namely, now orientation of the polygon is computed from area-criterion instead of angle. As result, some simplification of the method IntTools_FClass2d::Init(...) has been made.

<!break>

1. New constructor has been added to the class CSLib_Class2d. It allows applying TColgp_SequenceOfPnt2d.

2. DRAW-commands "addpolygonnode" and "polygonprops" have been created. They are covered by the test case "tests/geometry/2dpolygon/A1".

3. New method Poly::PolygonProperties(...) has been created. See help for detailed information.

4. New testgrid "lowalgos classifier" has been created.

6 years ago0030143: Foundation Classes - provide operator[] alias for NCollection_Array1, NColle...
kgv [Mon, 17 Sep 2018 10:14:00 +0000 (13:14 +0300)]
0030143: Foundation Classes - provide operator[] alias for NCollection_Array1, NCollection_Vector

6 years ago0029807: [Regression to 7.0.0] Impossible to cut cone from prism V7_3_0p1
nbv [Fri, 25 May 2018 08:05:58 +0000 (11:05 +0300)]
0029807: [Regression to 7.0.0] Impossible to cut cone from prism

The algorithm has been improved for the cases when the intersection line goes through the cone apex.

<!break>

1. All special points are put to the ALine forcefully (if they are true intersection point). Currently this step has not been implemented yet.

2. Now the tolerance of IntPatch_Point (put into ALine) is computed in order to cover the distance between it and the correspond ALine.

3. Test cases have been created.

4. Procedure of trimming IntAna_Curve has been improved.

5. Criterion when the discriminant of IntAna_Curve can be considered to be equal to 0 has been improved.

6. Methods IntAna_Curve::FindParameter(...) (and IntPatch_ALine::FindParameter(...)) currently returns list of all parameters corresponding the given point (IntAna_Curve can be self-interfered curve). Before the fix, this method always returned only one (randomly chosen) parameter.

7. Interfaces of the following methods have been changed: IntAna_Curve::FindParameter(...), IntPatch_ALine::FindParameter(...), IntPatch_ALine::ChangeVertex(...), IntPatch_SpecialPoints::AddPointOnUorVIso(...), IntPatch_SpecialPoints::AddSingularPole(...), IntPatch_WLineTool::ExtendTwoWLines().

8. Following methods have been added: IntAna_Quadric::SpecialPoints(...), IntPatch_ALineToWLine::GetSectionRadius(...), IntPatch_SpecialPoints::ProcessSphere(...), IntPatch_SpecialPoints::ProcessCone(...), IntPatch_SpecialPoints::GetTangentToIntLineForCone(...).

------------------
1) tests/boolean/volumemaker/C5
   tests/boolean/volumemaker/C6
   tests/boolean/volumemaker/E7

They are real IMPROVEMENTS. In the FIX (in compare with MASTER), section result between pairs of faces f2&f6 (C5), f3&f7 (C6) and f1&f5 (E7) is closed. Separated test cases have been created in order to focus on the problem with section. Bug #28503 has been fixed.

Correction in test cases.

6 years ago0028949: BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
jgv [Thu, 13 Sep 2018 13:17:21 +0000 (16:17 +0300)]
0028949: BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges

Add history for subshapes of spine: edges and vertices. Each edge of spine generates a shell. Each vertex of spine generates a set of edges and, possibly, faces (in the case of Round Corner).

(cherry picked from commit fcad97e74bdd3a96f0467188f5468b70cb0e2c81)

6 years ago0029573: ConcatenateWireC0 crashes on two edges wire
ifv [Fri, 27 Jul 2018 07:21:43 +0000 (10:21 +0300)]
0029573: ConcatenateWireC0 crashes on two edges wire

Wrong setting first/last vertices is fixed
Test case added

(cherry picked from commit 73a7509fde0e4a3cd4bee5f6b462f7000e0d6499)

6 years ago0028085: Incorrect result of CUT operation
nbv [Tue, 17 Jul 2018 09:32:14 +0000 (12:32 +0300)]
0028085: Incorrect result of CUT operation

Before the fix, small arc of circle returned as intersection result. It was connected with the fact that the circle always was limited in 0 and 2*PI points. Currently the bounds of the circle (retrieved as an intersection curve) are computed from the real domain of the arguments (there is not a snap to the fixed 0 and 2*PI points).

(cherry picked from commit 94783b5111cbefcedf4f6eae72e7cd3b78c7b13b)

6 years ago0027928: BOP common produces empty compound
emv [Wed, 29 Aug 2018 06:08:13 +0000 (09:08 +0300)]
0027928: BOP common produces empty compound

BOPTools_AlgoTools::ComputeState - increase the chance of correct classification of the face relatively solid by classifying the point located inside that face instead of the point taken near the edge of that face.
Test case for the issue.

(cherry picked from commit 56062e13f2f4852de3904b5529aabc3ca78713ba)

7 years agoCorrection of corrupted png file CR0-OCCT730 V7_3_0
bugmaster [Mon, 28 May 2018 10:39:20 +0000 (13:39 +0300)]
Correction of corrupted png file

7 years agoRaise OCCT version up to 7.3.0 (comment out "beta")
abv [Fri, 25 May 2018 15:52:41 +0000 (18:52 +0300)]
Raise OCCT version up to 7.3.0 (comment out "beta")

7 years ago0029669: Crash on opening a document with same Ocaf attributes with different IDs
abv [Fri, 25 May 2018 18:26:45 +0000 (21:26 +0300)]
0029669: Crash on opening a document with same Ocaf attributes with different IDs

Added protection against clash of attributes with the same GUID when more than one attribute of the same type but with different GUIDs are stored in the file.
If attribute with default GUID has already been read, then adding next empty attribute of the same type (done at start of its reading) will fail; in such case another attempt is made with Null GUID.

7 years ago0029816: Add possibility to get/set shape presentations for GD&T label through one...
isn [Tue, 13 Mar 2018 13:22:28 +0000 (16:22 +0300)]
0029816: Add possibility to get/set shape presentations for GD&T label through one function

new methods GetGDTPresentations(.) and GetGDTPresentations(.) for Dimension Tool

7 years ago0029407: Generating static libraries on macOS
apn [Fri, 25 May 2018 15:23:01 +0000 (18:23 +0300)]
0029407: Generating static libraries on macOS

Update "Building with Xcode" documentation

7 years ago0029266: Configuration - CMake install does not copy pdb files in Debug mode due...
apn [Thu, 24 May 2018 13:54:00 +0000 (16:54 +0300)]
0029266: Configuration - CMake install does not copy pdb files in Debug mode due to the changes in 0028287

Define variable "OCCT_INSTALL_BIN_LETTER" only if compiler is some version of Microsoft Visual C.

7 years ago0029791: Visualization - Wrong result of SelectMgr_RectangularFrustum::IsClipped
kgv [Thu, 24 May 2018 17:10:32 +0000 (20:10 +0300)]
0029791: Visualization - Wrong result of SelectMgr_RectangularFrustum::IsClipped

SelectMgr_RectangularFrustum::computeClippingRange() fix skipping depth range starting behind the ray.

7 years ago0029715: Mesh - Estimate the grid size of the acceleration structure by the complexit...
drazmyslovich [Mon, 23 Apr 2018 13:04:29 +0000 (16:04 +0300)]
0029715: Mesh - Estimate the grid size of the acceleration structure by the complexity of the face

The circles acceleration structure sizes are estimated using the required deflection and the complexity of the face.

7 years ago0029640: OCAF - add information on replacement of CDM_MessageDriver in upgrade guide.
abv [Thu, 24 May 2018 15:43:22 +0000 (18:43 +0300)]
0029640: OCAF - add information on replacement of CDM_MessageDriver in upgrade guide.

Information on replacement of CDM_MessageDriver by Message_Messenger is added in the upgrade guide.
This replacement is recorded as rename in upgrade.dat

7 years ago0029621: Application Framework - Impossible to attach existing tessellation to XCAFDo...
snn [Wed, 11 Apr 2018 13:19:07 +0000 (16:19 +0300)]
0029621: Application Framework - Impossible to attach existing tessellation to XCAFDoc_Note

- XCAFNoteObjects_NoteObject transfer object for note's auxiliary data was added. It contains the following fields:
  text and attachment positions, note plane and tesselated presentation
- GetObject/SetObject methods were added to XCAFDoc_Note attribute. The following sub-labels were added to handle transfer object:
  1 - text position
  2 - note plane
  3 - attachment point
  4 - tesselated presentation
- documentation updated

Off-topic: procedure genproj now gives meaningful error message if new package is added but not listed in UDLIST

7 years ago0029811: Tests - unstable tests demo\draw\binpersist_* due to usage of the same tempo...
kgv [Thu, 24 May 2018 09:47:28 +0000 (12:47 +0300)]
0029811: Tests - unstable tests demo\draw\binpersist_* due to usage of the same temporary file name

7 years ago0029800: Upgrade Guide - TInspector correction documentation
nds [Thu, 24 May 2018 04:20:02 +0000 (07:20 +0300)]
0029800: Upgrade Guide - TInspector correction documentation

TInspector documentation is updated

7 years ago0029775: Modeling Data - BRepAdaptor_CompCurve Parameterization Is Incorrect
Benjamin Bihler [Wed, 16 May 2018 09:59:15 +0000 (11:59 +0200)]
0029775: Modeling Data - BRepAdaptor_CompCurve Parameterization Is Incorrect

Added wire connectivity requirement to class documentation of
BRepAdaptor_CompCurve.

7 years ago0029754: Coding Rules - replace Standard_Integer with Graphic3d_ZLayerId for consistency
kgv [Mon, 14 May 2018 05:54:08 +0000 (08:54 +0300)]
0029754: Coding Rules - replace Standard_Integer with Graphic3d_ZLayerId for consistency

7 years ago0029139: Overview contains old screenshots of occt
ysn [Mon, 21 May 2018 11:18:12 +0000 (14:18 +0300)]
0029139: Overview contains old screenshots of occt

Numbers and screenshots have been updated in the overview to correspond to V7.3.0.

7 years ago0029784: Crash at STEP file reading with enabled sub-shapes
gka [Mon, 21 May 2018 13:09:28 +0000 (16:09 +0300)]
0029784: Crash at STEP file reading with enabled sub-shapes

In the method STEPCAFControl_Reader::ExpandShell protection for case when entity ""Connected_Face_Set" contains not only "FACE" entities ( for example "VERTEX_POINT" entities) was added.

7 years ago0029790: Upgrade Guide - problematic grammar and formatting
ysn [Mon, 21 May 2018 13:24:44 +0000 (16:24 +0300)]
0029790: Upgrade Guide - problematic grammar and formatting

Grammar errors and formatting issues have been fixed.

7 years ago0029755: Proofread changes in the user guides from v7.2 to v7.3
ysn [Fri, 11 May 2018 12:17:12 +0000 (15:17 +0300)]
0029755: Proofread changes in the user guides from v7.2 to v7.3

Recent modifications and additions in the user and dev guides have been reviewed (except for upgrade.md and inspector.md).

7 years ago0029764: Foundation Classes, TColStd_MapIteratorOfPackedMapOfInteger - workaround...
kgv [Mon, 14 May 2018 12:33:55 +0000 (15:33 +0300)]
0029764: Foundation Classes, TColStd_MapIteratorOfPackedMapOfInteger - workaround Visual Studio Linker bug with enabled CLI

7 years ago0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
kgv [Mon, 14 May 2018 16:25:16 +0000 (19:25 +0300)]
0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping

OpenGl_Structure::Render(), added missing check for disabled state of the plane.
vclipplane command has been extended with new option -setOverrideGlobal.

7 years ago0029746: Modeling Algoriothms - declare Boolean operation classes in BRepAlgo package...
msv [Thu, 10 May 2018 08:50:03 +0000 (11:50 +0300)]
0029746: Modeling Algoriothms - declare Boolean operation classes in BRepAlgo package as deprecated

The API classes in the package BRepAlgo providing access to old Boolean operations (Fuse, Common, Cut, Section) are marked as deprecated.
Corresponding classes from the package BRepAlgoAPI should be used instead.

7 years ago0026493: BRepProj_Projection failed to project a wire on a shell
emv [Wed, 25 Apr 2018 06:33:50 +0000 (09:33 +0300)]
0026493: BRepProj_Projection failed to project a wire on a shell

Problem is fixed by the fix for the issue #0028599 (porting of the BRepProj_Projection to modern Boolean Operations algorithm)
Thus, only test case is integrated here.

7 years ago0029724: Visualization - add AIS_InteractiveContext::ClearDetected() undoing MoveTo...
kgv [Wed, 25 Apr 2018 08:38:11 +0000 (11:38 +0300)]
0029724: Visualization - add AIS_InteractiveContext::ClearDetected() undoing MoveTo() dynamic highlighting

Introduced new method AIS_InteractiveContext::ClearDetected() allowing
to reset the list of detected objects and clear dynamically highlighted
entity under mouse cursor after previous AIS_InteractiveContext::MoveTo().

vmoveto command has been extended with new argument -reset.

7 years ago0029744: Visualization - SelectMgr_ViewerSelector::PickedPoint() returns wrong 3D...
kgv [Tue, 8 May 2018 12:32:16 +0000 (15:32 +0300)]
0029744: Visualization - SelectMgr_ViewerSelector::PickedPoint() returns wrong 3D point for objects with transformation persistence

SelectMgr_RectangularFrustum::DetectedPoint() now takes into account myScale.

7 years ago0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object...
nds [Wed, 16 May 2018 14:06:10 +0000 (17:06 +0300)]
0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object not activated in given mode leads to crash

7 years ago0029743: Samples - Inspector tool - crash by selecting TNaming_UsedShapes tree item
nds [Tue, 8 May 2018 14:55:09 +0000 (17:55 +0300)]
0029743: Samples - Inspector tool - crash by selecting TNaming_UsedShapes tree item

- TNaming_UsedShapes is corrected to do not call methods of empty TopoDS_Shape
- TNaming_NamedShape is corrected to have not NULL TNaming_RefShape even if TopoDS_Shape is NULL(TNaming_Builder::Delete).
- DFBrowserPane presentation tree item for this is corrected in the same way and obsolete methods of processing SortedReferences are removed.

7 years ago0029749: Samples - Inspector tool - remove "modified" column in TNaming_NamedShape...
nds [Thu, 10 May 2018 03:53:15 +0000 (06:53 +0300)]
0029749: Samples - Inspector tool - remove "modified" column in TNaming_NamedShape presentation

7 years ago0029748: Samples - Inspector tool - use recently opened files in TInspectorEXE
nds [Tue, 8 May 2018 17:21:08 +0000 (20:21 +0300)]
0029748: Samples - Inspector tool - use recently opened files in TInspectorEXE

- recently files using in open file dialog
- correction of TInspectorEXE title to show opened file path by Start

7 years ago0029781: Samples - Inspector tool - history tree model is not set into external callb...
nds [Thu, 17 May 2018 06:29:04 +0000 (09:29 +0300)]
0029781: Samples - Inspector tool - history tree model is not set into external callback in VInspector

- AIS_InteractiveContex and VInspector_ViewModelHistory are set into VInspector_CallBack
- minor correction of displaySelectedPresentations () to Hide/Show(by popup menu) any AIS_InteractiveObject, not only AIS_Shape (e.g. AIS_Trihedron)

7 years ago0029747: Samples - Inspector tool - start DFBrowser inside FuncDemo qt sample
nds [Tue, 8 May 2018 16:56:11 +0000 (19:56 +0300)]
0029747: Samples - Inspector tool - start DFBrowser inside FuncDemo qt sample

new Model->DFBrowser action to start Inspector tool with active DFBrowser plugin filled by the sample OCAF application.
To update content of the DFBrowser, use <F5> shortcut.

7 years ago0029735: Draw Harness - command to set 2D mode for viewer in ViewerTest package
nds [Tue, 8 May 2018 16:17:09 +0000 (19:17 +0300)]
0029735: Draw Harness - command to set 2D mode for viewer in ViewerTest package

vinit command has been extended with new option -2d_mode.
Added new command v2dmode to switch On/Off the mode.

7 years ago0029741: Samples - Inspector tool - wide icon size in table of TNamingNamedShape...
nds [Mon, 7 May 2018 12:40:18 +0000 (15:40 +0300)]
0029741: Samples - Inspector tool - wide icon size in table of TNamingNamedShape attribute in DFBrowser plugin

7 years ago0029733: TInspector can't open several cbf files
nds [Tue, 8 May 2018 12:33:20 +0000 (15:33 +0300)]
0029733: TInspector can't open several cbf files

The issue is not reproduced anymore. The integration contains DRAW test for described functionality.

7 years ago0029739: Draw Harness - vdonly does not hide displayed objects
nds [Mon, 7 May 2018 11:20:38 +0000 (14:20 +0300)]
0029739: Draw Harness - vdonly does not hide displayed objects

7 years ago0029737: Data Exchange - Revert optimization in XCAF for format compability
ika [Mon, 7 May 2018 08:51:58 +0000 (11:51 +0300)]
0029737: Data Exchange - Revert optimization in XCAF for format compability

Revert changes from 0029338, which were affected on order of GDT attribute sublabels.

7 years ago0029701: BRepTools::Update(Face) unexpectedly updates UV points of pcurve
emv [Thu, 19 Apr 2018 13:31:19 +0000 (16:31 +0300)]
0029701: BRepTools::Update(Face) unexpectedly updates UV points of pcurve

The method *BRepTools::UpdateFaceUVPoints* has been modified to resets the UV points of the edge to the bounding points of the parametric curve of the edge on the face.

Test cases for the issue.

Adjust test cases heal split_angle_advanced ZC3, ZE6, ZE9 for current behavior as they show less faulty shapes now.
Adjust test case bugs modalg_6 bug21246 as it works correctly now.

7 years ago0029730: OCAF User's Guide correction for case of attributes with User defined GUID
szy [Fri, 27 Apr 2018 12:02:32 +0000 (15:02 +0300)]
0029730: OCAF User's Guide correction for case of attributes with User defined GUID

Added description of attributes usage with User defined GUID

7 years ago0029655: [Regression to 6.9.1] Distance between cylinder and straight line
ifv [Mon, 2 Apr 2018 14:05:51 +0000 (17:05 +0300)]
0029655: [Regression to 6.9.1] Distance between cylinder and straight line

Trimming line by corner points of surface bounding box is added to reduce rang of line
Test case added

7 years ago0029698: Regression vs 7.2.0: Common operation raises FLT_INVALID_OPERATION exception
emv [Mon, 16 Apr 2018 12:21:35 +0000 (15:21 +0300)]
0029698: Regression vs 7.2.0: Common operation raises FLT_INVALID_OPERATION exception

When checking if the split edge is oriented as the original one (BOPTools_AlgoTools::IsSplitToReverse()) the tangent vectors should be computed for both edges at the same point. This point is taken on the split edge and projected on the original edge.
The fix is intended to ensuring that the reference point will be taken inside the valid range of the split edge (i.e. not covered by the tolerance spheres of its bounding vertices) and the projection of this point on the original edge will be successful. Moreover, several sampling points are now taken on the split edge and processed until first valid point is found.

If requested (by a not null pointer) all *BOPTools_AlgoTools::IsSplitToReverse()* methods are now return the error status of the check. Before using the returned flag, the calling program should check this error status. For successful check the error status should be equal to zero.

New warning *BOPAlgo_AlertUnableToOrientTheShape* is now returned in the algorithms in Boolean component in case the check for correct shape orientation failed.

Test case for the issue.

7 years ago0029695: Shape Healing - infinite loop in ShapeFix_IntersectionTool
gka [Mon, 16 Apr 2018 08:58:43 +0000 (11:58 +0300)]
0029695: Shape Healing - infinite loop in ShapeFix_IntersectionTool

Avoid splitting of wrong edge in ShapeFix_IntersectionTool.
Added protection for case when index of edge to be split is out of range.

Added test bugs heal bug29695

7 years agoIncrement of OCCT version up to 7.3.0beta V7_3_0_beta
bugmaster [Fri, 13 Apr 2018 09:37:14 +0000 (12:37 +0300)]
Increment of OCCT version up to 7.3.0beta

7 years ago0029682: Boolean intersection with fuzzy-option hangs
nbv [Mon, 9 Apr 2018 13:05:30 +0000 (16:05 +0300)]
0029682: Boolean intersection with fuzzy-option hangs

Algorithm of step re-computation has been improved.

7 years ago0029604: Uniform mechanism providing History of shape's modifications for OCCT algori...
emv [Wed, 21 Mar 2018 13:59:29 +0000 (16:59 +0300)]
0029604: Uniform mechanism providing History of shape's modifications for OCCT algorithms in DRAW

Implementation of the mechanism for unification of the history commands for all OCCT algorithms.
The following Draw commands should be used to track the history of shapes modifications of any operation:
- modified - to find the shapes modified from the given shape in the given history.
- generated - to find the shapes generated from the given shape in the given history.
- isdeleted - to check if the given shape has been deleted during operation.

The mechanism allows fast & easy enabling of the DRAW history support for the algorithms supporting the history on the API level (i.e. the algorithm should have the methods Modified(), Generated() and IsDeleted()).
To enable the draw history support it is necessary to store the history of the algorithm into the session. For instance:

TopTools_ListOfShape Objects = ...; // Objects
TopTools_ListOfShape Tools = ...; // Tools

BRepAlgoAPI_Cut aCut(Objects, Tools); // Boolean cut operation

BRepTest_Objects::SetHistory(Objects, aCut); // Store the history for the Objects (overwrites the history in the session)
BRepTest_Objects::AddHistory(Tools, aCut);   // Add the history for the Tools

To get the stored history in draw the command "savehistory" should be used. It saves the history kept in session into a Drawable object with the given name:

# perform cut
bcut r s1 s2

# save history of cut
savehistory cut_history

explode s1 f
modified m cut_history s1_1

The Draw History commands of the following algorithms have been removed:
- Boolean Operations;
- Defeaturing;
- Unify same domain;
- Sweep;
- Thrusections;

All these algorithms have been switched to support the new Draw history mechanism.

The Fillet and Blend algorithms have been also enabled to support history commands.

7 years ago0029532: BOPCol containers used in the OCCT 720 do not support in the current develop...
nbv [Fri, 2 Mar 2018 09:03:09 +0000 (12:03 +0300)]
0029532: BOPCol containers used in the OCCT 720 do not support in the current development version.

The file upgrade.dat has been updated.

7 years ago0029639: CMake - rename options for building samples
nds [Thu, 12 Apr 2018 03:24:42 +0000 (06:24 +0300)]
0029639: CMake - rename options for building samples

- BUILD_SAMPLES_MFC instead of BUILD_MODULE_MfcSample
- BUILD_SAMPLES_QT instead of BUILD_MODULE_QtSample
- sub-folder "mfc" of Samples folder in VStudio for mfc samples
- qt processing of *.ts resource files is corrected to avoid excessive projects creation under Samples folder in VStudio

7 years ago0029684: Configuration: modification of build Inspector tool standalone on occt
nds [Thu, 12 Apr 2018 03:56:58 +0000 (06:56 +0300)]
0029684: Configuration: modification of build Inspector tool standalone on occt

- samples/tools/TStandalone is removed, to build Inspector out of OCCT, CMake should use tools/CMakeLists.txt fileName
- samples/tools/TInspectorEXE is moved to tools/TInspectorEXE
- TInspectorAPI_Version.hxx provides compilation inspector with earlier version of OCCT.

7 years ago0029688: Regression vs 7.2.0: Wrong result of CUT operation
emv [Wed, 11 Apr 2018 09:22:29 +0000 (12:22 +0300)]
0029688: Regression vs 7.2.0: Wrong result of CUT operation

Boolean Operations - when splitting the face by the intersections with other arguments check if the face (e.g. really thin one) can be split by a vertex. In this case avoid simple face reconstruction and use the BuilderFace algorithm to split the face.
Test case for the issue.

7 years ago0029674: Improvements in Inspector tool
nds [Fri, 23 Mar 2018 13:08:11 +0000 (16:08 +0300)]
0029674: Improvements in Inspector tool

- preferences for dock windows geometry, tree view columns and current view projection;
- ViewControl package for common functionality between plugins;
- processing Location and Orientation for external TopoDS_Shape object
- 'F5' key to update content of each plugin
- visibility column in tree view (used now only in ShapeView)
- properties child item for context (presents tree of current Filters of context)

7 years agoRevert "0029369: ShapeFix_Face algorithm does not heal properly the face lying on...
jgv [Wed, 11 Apr 2018 09:28:04 +0000 (12:28 +0300)]
Revert "0029369: ShapeFix_Face algorithm does not heal properly the face lying on a surface of revolution"

This reverts commit 7d13fd8ea30857c226a777879e1302a38f67cf6f.

7 years ago0029651: ViewerTest - vtexture command crashes IR-2018-04-10
san [Tue, 27 Mar 2018 08:54:12 +0000 (11:54 +0300)]
0029651: ViewerTest - vtexture command crashes

Missing null check added

Add test case bugs/vis/bug29651

7 years ago0029452: Application Framework - Failed to read an Ocaf XML document with 1.#QNAN...
szy [Mon, 12 Mar 2018 14:50:08 +0000 (17:50 +0300)]
0029452: Application Framework - Failed to read an Ocaf XML document with 1.#QNAN value.

Method XmlObjMgt::GetReal() is improved to (a) recognize NAN and infinity written by old MSVC runtime (like 1.#QNAN and 1.#INF) and (b) detect situation when there are some trailing non-space symbols after the real value, returning False in such case.

Reading of real-valued attributes (single real, array, list) from OCAF XML format is improved to create valid attribute even if parsing of (some) members fails; warning is generated instead of error in such case.

Added test bugs caf bug29452

7 years ago0029574: Protection of attributes retrieval against zero ID in Ocaf XML.
szy [Mon, 19 Mar 2018 15:43:04 +0000 (18:43 +0300)]
0029574: Protection of attributes retrieval against zero ID in Ocaf XML.

//Impacts attributes supporting user defined IDs.

7 years ago0029680: Tests - command checkprops does not work for negative values
abv [Sun, 8 Apr 2018 15:52:31 +0000 (18:52 +0300)]
0029680: Tests - command checkprops does not work for negative values

DRAW command checkprops is corrected to handle properly negative reference values.

Test case offset faces_face_i E5 is corrected (improvement due to #28903)

7 years ago0029591: Improvements in the class BRepOffset_Tool
jgv [Fri, 23 Mar 2018 13:08:11 +0000 (16:08 +0300)]
0029591: Improvements in the class BRepOffset_Tool

- Add the flag ExtensionMode in the method BRepOffset_Tool::EnLargeFace, defining the mode of extension of the surface of the face. Old behavior is to be remained the default one.

- Fix wrong building of extended face on a closed surface. Now, if the face is closed in U direction (like cylinder) but the seam edge is shifted from 0 position, the resulting extended face has properly connected seam edge.

- Add new public static method BRepTools::DetectClosedness(), which checks whether a face is closed in U and V directions.

7 years ago0029663: Exception in BRepFill_PipeShell algorithm
nbv [Thu, 29 Mar 2018 14:49:54 +0000 (17:49 +0300)]
0029663: Exception in BRepFill_PipeShell algorithm

BRepFill_Sweep algorithm is improved to handle cases when generated revolution surface has degenerated point in the middle.

Added test bugs modalg_7 bug29663

TODO added in test bugs modalg_1 bug1477_11: here two additional self-intersecting faces are now created, previously missing from the result.

7 years ago0029659: Samples - Image is not displayed in Viewer2d MFC sample
kgv [Sun, 8 Apr 2018 09:54:21 +0000 (12:54 +0300)]
0029659: Samples - Image is not displayed in Viewer2d MFC sample

Fixed wrong Display Mode assigned to Sample2D_Image presentation.

7 years ago0029658: Samples - light is not updated while moving mouse within Viewer3d MFC sample
kgv [Sun, 8 Apr 2018 09:43:24 +0000 (12:43 +0300)]
0029658: Samples - light is not updated while moving mouse within Viewer3d MFC sample

Adding missing Viewer redraw calls.

7 years ago0028934: Coding - Eliminate compiler warnings in OCCT samples
nds [Wed, 4 Apr 2018 03:25:02 +0000 (06:25 +0300)]
0028934: Coding - Eliminate compiler warnings in OCCT samples

- covering Qt warnings for compilation under MSVC 2013 and greater
- avoid warning about 'M_PI'(and others) redefinition warning of math.h: includes of QtWidgets should follow after other includes.

7 years ago0029643: Samples: create .bat files for building AndroidQt sample on Windows platform
apn [Mon, 26 Mar 2018 10:10:59 +0000 (13:10 +0300)]
0029643: Samples: create .bat files for building AndroidQt sample on Windows platform

Create environment (genproj.bat, msvc.bat, etc) for building AndroidQt sample on Windows platform (as well as it's done in other OCCT Qt samples)

7 years ago0029668: Configuration: build Inspector aplication independently on BUILD_MODULE_QtSa...
nds [Mon, 2 Apr 2018 11:17:44 +0000 (14:17 +0300)]
0029668: Configuration: build Inspector aplication independently on BUILD_MODULE_QtSamples state

7 years ago0029606: [Regression vs 7.0] BRepClass3d_SolidClassifier classifies the point as...
ifv [Wed, 28 Mar 2018 14:00:50 +0000 (17:00 +0300)]
0029606: [Regression vs 7.0] BRepClass3d_SolidClassifier classifies the point as IN while it is ON

Simple treatment of some analytical cases when curve is parallel or belongs surface is added in curve - face/surface intersection algorithm
Treatment such cases is added in classifier algorithm
Test case added

7 years ago0029667: Visualization, TKV3d - User-defined texture coordinates corrupted by StdPrs_...
san [Fri, 30 Mar 2018 13:38:34 +0000 (16:38 +0300)]
0029667: Visualization, TKV3d - User-defined texture coordinates corrupted by StdPrs_ShadedShape

Add protection in fillTriangles() against void UV range of a face.

7 years ago0029650: Data Exchange - possible exception in shape tool
ika [Tue, 27 Mar 2018 08:17:54 +0000 (11:17 +0300)]
0029650: Data Exchange - possible exception in shape tool

7 years ago0029633: Data Exchange - access violation in StepVisual_PresentationStyleAssignment...
ika [Fri, 23 Mar 2018 15:12:00 +0000 (18:12 +0300)]
0029633: Data Exchange - access violation in StepVisual_PresentationStyleAssignment while translating STEP file

Add several checks for null.

7 years ago0029599: Data Exchange - Incorrect expand compound method in XDE
ika [Fri, 16 Mar 2018 13:18:10 +0000 (16:18 +0300)]
0029599: Data Exchange - Incorrect expand compound method in XDE

Improve processing of subshapes in ShapeTool
Fix sharing and calculating location for subshapes
Switch off autonaming for expand

7 years ago0029525: PMI dimension names
snn [Mon, 26 Feb 2018 12:16:18 +0000 (15:16 +0300)]
0029525: PMI dimension names

Implemented semantic PMI names translation from STEP to XCAF in OCCT:
- [Get/Set]SemanticName functions added to XCAFDimTolObjects_*Object classes
- X[Get/Set]GDTSemanticName draw commands added
- test case added

7 years ago0029660: Misprint in BuildEdge(...) static function of BRepFill_Sweep.cxx file
nbv [Thu, 29 Mar 2018 07:43:30 +0000 (10:43 +0300)]
0029660: Misprint in BuildEdge(...) static function of BRepFill_Sweep.cxx file

Misprint has been eliminated.

7 years ago0029646: Boolean Operations algorithm produces a face with self-intersecting wire
emv [Mon, 26 Mar 2018 12:06:18 +0000 (15:06 +0300)]
0029646: Boolean Operations algorithm produces a face with self-intersecting wire

Boolean operations - Allow repeated intersection of edges to find the coinciding pairs.
Previously, only the edges rejected by bounding boxes classification has been additionally checked on coincidence. The current patch removes this filter allowing all edges with coinciding vertices to be checked on coincidence.

Adjustment of the test cases for current behavior:
1. The following cases are improvements:
boolean volumemaker A8
bugs modalg_1 buc60703_1
bugs modalg_1 buc60703_2
bugs modalg_1 buc60703_4
bugs modalg_6 bug26789_1
bugs modalg_6 bug26789_2
bugs modalg_7 bug26883_4
bugs modalg_7 bug27948

2. bugs modalg_7 bug29580_1 is modified to extend the validity checks.

7 years ago0029394: IESample contains strange STEP reading code
Benjamin Bihler [Tue, 19 Dec 2017 10:12:32 +0000 (11:12 +0100)]
0029394: IESample contains strange STEP reading code

All STEP roots are transferred first and then all shapes are read.
The resulting sequence is not discarded and recreated.

7 years ago0028903: BRepOffset_MakeOffset produces invalid shape (thickshell) in Intersection...
jgv [Tue, 23 Jan 2018 14:54:06 +0000 (17:54 +0300)]
0028903: BRepOffset_MakeOffset produces invalid shape (thickshell) in Intersection mode

1. Method BRepOffset_Tool::Inter3D is modified: now selection of proper edges is performed here, they are not concatenated into one edge if they go through a vertex on a boundary.

2. Method BRepOffset_Inter3d::ConnexIntByInt is modified: selection of edges is eliminated.

3. Method BRepOffset_Inter2d::ConnexIntByInt is corrected to be able to process seam edges correct.

7 years ago0029597: Data Exchange - unable to read VRML2 file
akz [Fri, 5 Aug 2016 08:24:58 +0000 (11:24 +0300)]
0029597: Data Exchange - unable to read VRML2 file

VrmlData_Scene::createNode() now handles Collision item.
VrmlData_ArrayVec3d::ReadArray() now handles a case with omitted brackets.

Added test bugs xde bug29597

7 years ago0027736: Samples - rectangle selection issues within MFC sample Viewer3d
kgv [Sun, 25 Mar 2018 08:53:09 +0000 (11:53 +0300)]
0027736: Samples - rectangle selection issues within MFC sample Viewer3d

CViewer3dView, CAnimationView3D, COCCDemoView now use AIS_RubberBand.

7 years ago0027618: Visualization - selection returns entity overlapped by another entity on...
kgv [Sun, 25 Mar 2018 17:41:41 +0000 (20:41 +0300)]
0027618: Visualization - selection returns entity overlapped by another entity on border cases

SelectMgr_ViewerSelector::updatePoint3d() - scale tolerance according to Camera defintion.
SelectMgr_RectangularFrustum::segmentSegmentDistance() now uses gp::Resolution() instead of Precision::Confusion().

7 years ago0028097: Test system does not recognize 'fail...' messages as errors
apn [Thu, 15 Mar 2018 14:13:16 +0000 (17:13 +0300)]
0028097: Test system does not recognize 'fail...' messages as errors

Test parse rules are improved to recognize messages with word 'fail' or 'failure' as errors.
Test cases are corrected accordingly (TODO or REQUIRED statements added where fail messages were not noticed previously).

7 years ago0029064: Copying of empty NCollection map takes excessive memory
isn [Mon, 15 Jan 2018 17:29:14 +0000 (20:29 +0300)]
0029064: Copying of empty NCollection map takes excessive memory

Avoid resizing of NCollection maps in Assign() methods if source map is empty

7 years ago0029611: Misprint in the formula of Hessian computation in the file GeomLib_CheckCurv...
nbv [Thu, 22 Mar 2018 06:53:48 +0000 (09:53 +0300)]
0029611: Misprint in the formula of Hessian computation in the file GeomLib_CheckCurveOnSurface.cxx

The formula of Hessian computation has been corrected

7 years ago0029526: Test Harness command "ReadIges" does not support "read.iges.onlyvisible...
gka [Tue, 27 Feb 2018 10:50:47 +0000 (13:50 +0300)]
0029526: Test Harness command "ReadIges" does not support "read.iges.onlyvisible" mode

Modification Test Harness command "ReadIges" to take into account value of the parameter "read.iges.onlyvisible" was made.