Changesets: occt

master d5cdd12a

2016-11-03 11:29:56

abv


Committer: abv Details Diff
0027678: Draw User's guide contains wrong example for for-loop

Signs have been restored in draw UG as per its DOC version.
Affected Issues
0027678
mod - dox/user_guides/draw_test_harness/draw_test_harness.md Diff File

master 6bfc2331

2016-11-03 11:20:04

apn

Details Diff
Fixed compilation warnings on vc14 caused by CR27431_5
mod - src/IntPatch/IntPatch_ALineToWLine.cxx Diff File

master 10c5aa00

2016-11-03 11:20:04

abv


Committer: abv Details Diff
Fixed compilation warnings on vc14 caused by CR27431_5
mod - src/IntPatch/IntPatch_ALineToWLine.cxx Diff File

master d5a0d496

2016-11-03 11:18:17

jgv


Committer: apn Details Diff
0027386: BRepOffsetAPI_MakePipeShell does not provide history of generations

The method BRepFill_PipeShell::BuildHistory is redesigned: now it builds generated shapes for sub-edges and sub-vertices of sections.

Correction according to remarks
Fix of regressions
Fix of warnings
Fix of new warnings
mod - src/BRepFill/BRepFill_CompatibleWires.cxx Diff File
mod - src/BRepFill/BRepFill_NSections.cxx Diff File
mod - src/BRepFill/BRepFill_PipeShell.cxx Diff File
mod - src/BRepFill/BRepFill_PipeShell.hxx Diff File
mod - src/BRepFill/BRepFill_Section.cxx Diff File
mod - src/BRepFill/BRepFill_Section.hxx Diff File
mod - src/BRepFill/BRepFill_Section.lxx Diff File
mod - src/BRepFill/BRepFill_SectionLaw.cxx Diff File
mod - src/BRepFill/BRepFill_SectionLaw.hxx Diff File
mod - src/BRepFill/BRepFill_ShapeLaw.cxx Diff File
mod - src/BRepFill/BRepFill_Sweep.cxx Diff File
mod - src/BRepFill/BRepFill_Sweep.hxx Diff File
mod - src/BRepTest/BRepTest_SweepCommands.cxx Diff File
add - tests/bugs/modalg_6/bug27386_1 Diff File
add - tests/bugs/modalg_6/bug27386_2 Diff File
add - tests/bugs/modalg_6/bug27386_3 Diff File
add - tests/bugs/modalg_6/bug27386_4 Diff File
add - tests/bugs/modalg_6/bug27386_5 Diff File
add - tests/bugs/modalg_6/bug27386_6 Diff File
add - tests/bugs/modalg_6/bug27386_7 Diff File
add - tests/bugs/modalg_6/bug27386_8 Diff File

master c2bf27a6

2016-11-03 09:58:25

emv


Committer: apn Details Diff
0028050: Empty result of offset operation in mode complete join type intersection

1. BRepOffset_Inter3d::ConnexIntByInt
Create unique offset edge for each localized part shared between pair of faces of the input shape.

2. Test cases for the issue.
mod - src/BRepOffset/BRepOffset_Inter3d.cxx Diff File
add - tests/offset/shape_type_i_c/XK3 Diff File
add - tests/offset/shape_type_i_c/XK4 Diff File
add - tests/offset/shape_type_i_c/XK5 Diff File
add - tests/offset/shape_type_i_c/XK6 Diff File
add - tests/offset/shape_type_i_c/XK7 Diff File
add - tests/offset/shape_type_i_c/XK8 Diff File
add - tests/offset/shape_type_i_c/XK9 Diff File

master f838dac4

2016-11-02 14:36:18

kgv


Committer: apn Details Diff
0025695: Visualization, AIS_InteractiveContext - define default HilightMode

AIS_InteractiveContext - removed the following unused properties:
- PreSelectionColor(), DefaultColor(), WasCurrentTouched(), ZDetection().
AIS_InteractiveObject - removed unused property SelectionPriority().

Prs3d_Drawer - removed properties HighlightStyle() and SelectionStyle().
Graphic3d_HighlightStyle has been superseded by Prs3d_Drawer
inheriting from new class Graphic3d_PresentationAttributes.

Graphic3d_PresentationAttributes (as Graphic3d_HighlightStyle replacement)
has been extended with new properties:
- ZLayer() defining Z-Layer for highlighting presentation.
- DisplayMode() defining display mode for highlighting.

StdSelect_BRepSelectionTool methods have been corrected to take
SelectMgr_EntityOwner instead of StdSelect_BRepOwner.
StdSelect_Shape - duplicated field myDrawer has been dropped.

AIS_InteractiveObject - myDrawer->Color() is now used instead of myOwnColor,
myDrawer->Transparency() instead of myTransparency
and myDrawer->ZLayer() instead of myZLayer.

PrsMgr_PresentationManager::Unhighlight() now unhighlight all modes.
The method taking Mode as argument has been marked deprecated.

New enumeration Prs3d_TypeOfHighlight has been introduced
defining different highlight types.
AIS_InteractiveObject::HighlightStyle() now takes enumeration argument
and defines different styles for Global and Local selection.

ComesFromDecomposition() property has been moved
from StdSelect_BRepOwner to SelectMgr_EntityOwner.
Affected Issues
0025695
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - samples/mfc/occtdemo/Common/ISession/ISession_Curve.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/ISession_Curve.cpp Diff File
mod - samples/mfc/standard/07_Triangulation/src/ISession_Curve.cpp Diff File
mod - samples/mfc/standard/10_Convert/src/ISession/ISession_Curve.cpp Diff File
mod - samples/mfc/standard/Common/Primitive/Sample2D_Face.cpp Diff File
mod - samples/mfc/standard/Common/Primitive/Sample2D_Face.h Diff File
mod - src/AIS/AIS_Axis.cxx Diff File
mod - src/AIS/AIS_Circle.cxx Diff File
mod - src/AIS/AIS_ColoredShape.cxx Diff File
mod - src/AIS/AIS_ColorScale.cxx Diff File
mod - src/AIS/AIS_ConnectedInteractive.cxx Diff File
mod - src/AIS/AIS_DimensionOwner.cxx Diff File
mod - src/AIS/AIS_DimensionOwner.hxx Diff File
mod - src/AIS/AIS_GlobalStatus.cxx Diff File
mod - src/AIS/AIS_GlobalStatus.hxx Diff File
rm - src/AIS/AIS_GlobalStatus.lxx Diff File
mod - src/AIS/AIS_InteractiveContext.cxx Diff File
mod - src/AIS/AIS_InteractiveContext.hxx Diff File
rm - src/AIS/AIS_InteractiveContext.lxx Diff File
mod - src/AIS/AIS_InteractiveContext_1.cxx Diff File
mod - src/AIS/AIS_InteractiveContext_2.cxx Diff File
mod - src/AIS/AIS_InteractiveObject.cxx Diff File
mod - src/AIS/AIS_InteractiveObject.hxx Diff File
rm - src/AIS/AIS_InteractiveObject.lxx Diff File
mod - src/AIS/AIS_Line.cxx Diff File
mod - src/AIS/AIS_LocalContext.cxx Diff File
mod - src/AIS/AIS_LocalContext.hxx Diff File
mod - src/AIS/AIS_LocalContext_1.cxx Diff File
mod - src/AIS/AIS_LocalStatus.cxx Diff File
mod - src/AIS/AIS_LocalStatus.hxx Diff File
mod - src/AIS/AIS_Manipulator.cxx Diff File
mod - src/AIS/AIS_Manipulator.hxx Diff File
mod - src/AIS/AIS_ManipulatorOwner.cxx Diff File
mod - src/AIS/AIS_ManipulatorOwner.hxx Diff File
mod - src/AIS/AIS_MultipleConnectedInteractive.cxx Diff File
mod - src/AIS/AIS_Plane.cxx Diff File
mod - src/AIS/AIS_PlaneTrihedron.cxx Diff File
mod - src/AIS/AIS_Point.cxx Diff File
mod - src/AIS/AIS_PointCloud.cxx Diff File
mod - src/AIS/AIS_Relation.cxx Diff File
mod - src/AIS/AIS_Shape.cxx Diff File
mod - src/AIS/AIS_TextLabel.cxx Diff File
mod - src/AIS/AIS_Triangulation.cxx Diff File
mod - src/AIS/AIS_Trihedron.cxx Diff File
mod - src/AIS/FILES Diff File
mod - src/Graphic3d/FILES Diff File
mod - src/Graphic3d/Graphic3d_CStructure.hxx Diff File
mod - src/Graphic3d/Graphic3d_HighlightStyle.hxx Diff File
add - src/Graphic3d/Graphic3d_PresentationAttributes.hxx Diff File
mod - src/Graphic3d/Graphic3d_Structure.cxx Diff File
mod - src/Graphic3d/Graphic3d_Structure.hxx Diff File
mod - src/Graphic3d/Graphic3d_ZLayerId.hxx Diff File
mod - src/MeshVS/MeshVS_Mesh.cxx Diff File
mod - src/MeshVS/MeshVS_Mesh.hxx Diff File
mod - src/MeshVS/MeshVS_MeshEntityOwner.cxx Diff File
mod - src/MeshVS/MeshVS_MeshEntityOwner.hxx Diff File
mod - src/MeshVS/MeshVS_MeshOwner.cxx Diff File
mod - src/MeshVS/MeshVS_MeshOwner.hxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_Structure.hxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.hxx Diff File
mod - src/Prs3d/FILES Diff File
mod - src/Prs3d/Prs3d_Drawer.cxx Diff File
mod - src/Prs3d/Prs3d_Drawer.hxx Diff File
add - src/Prs3d/Prs3d_TypeOfHighlight.hxx Diff File
mod - src/PrsMgr/FILES Diff File
mod - src/PrsMgr/PrsMgr_PresentableObject.cxx Diff File
mod - src/PrsMgr/PrsMgr_PresentableObject.hxx Diff File
mod - src/PrsMgr/PrsMgr_Presentation.cxx Diff File
mod - src/PrsMgr/PrsMgr_Presentation.hxx Diff File
rm - src/PrsMgr/PrsMgr_Presentation.lxx Diff File
mod - src/PrsMgr/PrsMgr_PresentationManager.cxx Diff File
mod - src/PrsMgr/PrsMgr_PresentationManager.hxx Diff File
rm - src/PrsMgr/PrsMgr_PresentationManager.lxx Diff File
mod - src/QABugs/QABugs_16.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/QABugs/QABugs_9.cxx Diff File
mod - src/SelectBasics/SelectBasics_EntityOwner.cxx Diff File
mod - src/SelectBasics/SelectBasics_EntityOwner.hxx Diff File
mod - src/SelectMgr/FILES Diff File
mod - src/SelectMgr/SelectMgr_EntityOwner.cxx Diff File
mod - src/SelectMgr/SelectMgr_EntityOwner.hxx Diff File
rm - src/SelectMgr/SelectMgr_EntityOwner.lxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObject.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObject.hxx Diff File
mod - src/StdSelect/FILES Diff File
mod - src/StdSelect/StdSelect_BRepOwner.cxx Diff File
mod - src/StdSelect/StdSelect_BRepOwner.hxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.cxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.hxx Diff File
mod - src/StdSelect/StdSelect_Shape.cxx Diff File
mod - src/StdSelect/StdSelect_Shape.hxx Diff File
rm - src/StdSelect/StdSelect_Shape.lxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
rm - tests/bugs/vis/bug137_4 Diff File
rm - tests/bugs/vis/bug137_5 Diff File
add - tests/bugs/vis/bug25695 Diff File
mod - tests/v3d/materials/bug27818_1 Diff File

master bc9a61ec

2016-11-02 12:46:52

anv


Committer: apn Details Diff
0028012: Exception while intersecting two surfaces

Test case for issue CR28012
mod - src/IntPatch/IntPatch_PrmPrmIntersection.cxx Diff File
add - tests/bugs/modalg_6/bug28012 Diff File

master 8878d0ec

2016-11-02 12:43:50

msv


Committer: apn Details Diff
0024932: addsweep does not check if the supplied variable contains a shape

Check for null shape has been added in the command addsweep implementation.

// eliminate warning

Test case for issue CR24932
Test case has been corrected.
Affected Issues
0024932
mod - src/BRepTest/BRepTest_SweepCommands.cxx Diff File
add - tests/bugs/modalg_6/bug24932 Diff File

master c9c7286e

2016-11-02 12:39:37

nbv


Committer: apn Details Diff
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
mod - src/IntPatch/IntPatch_ImpImpIntersection_4.gxx Diff File
add - tests/bugs/modalg_6/bug28009_1 Diff File
add - tests/bugs/modalg_6/bug28009_2 Diff File

master e2e0498b

2016-11-02 12:25:36

nbv


Committer: apn Details Diff
0027431: [Regression to 6.9.1] Huge tolerance obtained during intersection of cylinder and sphere

The root of the problem is incorrect processing of cases when intersection line goes through the apex(es) of sphere. The fix improves this situation. The algorithm is taken from DecomposeResult(...) function (see IntPatch_ImpPrmIntersection.cxx file). Before the fix, faltering steps were done to solve this problem. As result, it worked in some particular cases. Now, its possibilities have been extended significantly.

Following changes have been made in the fix:

1. Class IntPatch_ALineToWLine has been rewritten cardinally. It touches as interfaces of existing methods as adding/removing some methods/fields. Correction touches both cases: going through seam of Cone/Sphere and through pole(s) of sphere. Old interface did not allow making some actions with analytical line (ALine), e.g. splitting it on several Walking-lines (WLine).

2. Restriction-line support has been removed from Implicit-Implicit intersection result (see IntPatch_Intersection::GeomGeomPerfom(...) method). It connects with the fact that the intersection algorithm itself returns precise intersection line in analytical cases (in compare with parametric intersector). Therefore, we do not need in additional (restriction) line.

3. New class IntPatch_SpecialPoints has been added. This class contains methods to add some special points (such as apex of cone, pole of sphere, point on surface boundary etc.) in intersection line (IntPatch_PointLine). It is based on the static functions, which already exist in IntPatch_ImpPrmIntersection.cxx file (these functions have been moved to the new class).

4. Method IntPatch_WLineTool::ExtendTwoWlinesToEachOther(...) has been renamed to IntPatch_WLineTool::ExtendTwoWLines(...). It is connected with changing main idea of the method. Now it allows extending WLine to the surface boundary or to the singular point (if it is possible): cone apex, sphere pole etc. Interface of this method has been corrected, too. At that, old functionality (extending to each other) has been kept. For implementation of this algorithm, new enumeration "IntPatchWT_WLsConnectionType" has been created.

5. Method IntPatch_PointLine::CurvatureRadiusOfIntersLine(...) has been added. See IntPatch_PointLine.hxx for detail information. It allows correct step computing depended on the local curvature of the intersection line. This method uses geometrical properties of intersected surfaces to compute local curvature. Therefore, it can be applied in wide range of cases even if the intersection curve is not represented in explicit form (e.g. in case of param-param-intersection).

6. Method IntSurf::SetPeriod(...) has been created.

7. Additional check has been added in Draft_Modification::Perform() method for better choice of correct fragment of intersection line for processing DRAFT operation.

8. New overload method IntPatch_Point::SetValue() has been added.

9. Some refactoring of the code has been made.

Creation of test case for issue #27431.

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

tests\bugs\modalg_4\bug62
It is really IMPROVEMENT (but fortuitous).

tests\bugs\modalg_5\bug25838
The behavior of this test has been reverted to the state before fixing the issue #27341. Main problem has not been fixed in #27341. It was fortuitous improvement.

tests\bugs\moddata_2\bug565
Quality of intersection curve was not checked. And the curve is bad on both MASTER and FIX. Input data are really wrong: plane-like-cone. However, on the MASTER, four intersection curves (the quality is insignificant) are expected. On the fix, not empty intersection result is expected simply.

tests\boolean\volumemaker\A8
Differences in images and CPU is expected. Difference in images is expected to be fixed in the issue #26020. Now, we should apply this behavior.
Much CPU time is spent by IntTools_FaceFace::ComputeTolReached3d(...) and GeomInt_IntSS::BuildPCurves(...) methods calling. These methods are not touched by the algorithm. It is the result of change of intersection curve(s) form. However, the new Curve(s) seems to be valid and can be applied. As result, new behavior can be applied, too.

tests\boolean\volumemaker\F8
tests\boolean\volumemaker\F9
tests\boolean\volumemaker\G5
tests\boolean\volumemaker\G6
CPU difference is expected. Much CPU time is spent by IntPatch_PointLine::CurvatureRadiusOfIntersLine(...) method calling. This method is really new (it does not exist on the MASTER) and is really useful. Therefore, we should apply new behavior.

tests\boolean\volumemaker\G1
CPU difference is expected. Much CPU time is spent by IntTools_WLineTool::DecompositionOfWLine(...) and IntTools_FaceFace::ComputeTolReached3d(...) methods calling. These methods are not touched by the algorithm. It is the result of change of intersection curve(s) form. However, the new Curve(s) seems to be valid and can be applied. As result, new behavior can be applied, too.

tests\bugs\modalg_6\bug26619
Differences in images is expected. The test keeps its BAD status on the FIX. But the result on the fix is nearer to expected than on the MASTER. Issue #27014 is still actual. As before, it is not clear, why the number of entities is different. The number of section curves has not been changed. Interfered entities are the same as on the MASTER.

tests\bugs\modalg_5\bug25319_1(2)
The reason is described in the issue 0027896.

Small correction in the test case
mod - src/Draft/Draft_Modification_1.cxx Diff File
mod - src/ElCLib/ElCLib.hxx Diff File
mod - src/GeomInt/GeomInt_IntSS.cxx Diff File
mod - src/GeomInt/GeomInt_IntSS_1.cxx Diff File
mod - src/IntAna/IntAna_Curve.cxx Diff File
mod - src/IntPatch/FILES Diff File
mod - src/IntPatch/IntPatch_ALineToWLine.cxx Diff File
mod - src/IntPatch/IntPatch_ALineToWLine.hxx Diff File
mod - src/IntPatch/IntPatch_ImpPrmIntersection.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_Point.hxx Diff File
mod - src/IntPatch/IntPatch_Point.lxx Diff File
mod - src/IntPatch/IntPatch_PointLine.cxx Diff File
mod - src/IntPatch/IntPatch_PointLine.hxx Diff File
add - src/IntPatch/IntPatch_SpecialPoints.cxx Diff File
add - src/IntPatch/IntPatch_SpecialPoints.hxx Diff File
add - src/IntPatch/IntPatch_SpecPntType.hxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.hxx Diff File
mod - src/IntSurf/IntSurf.cxx Diff File
mod - src/IntSurf/IntSurf.hxx Diff File
mod - src/IntTools/IntTools_FaceFace.cxx Diff File
mod - src/IntTools/IntTools_Tools.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_LineInter.cxx Diff File
mod - tests/bugs/modalg_4/bug62 Diff File
mod - tests/bugs/modalg_4/bug826 Diff File
mod - tests/bugs/modalg_4/bug826_1 Diff File
mod - tests/bugs/modalg_5/bug25292_33 Diff File
mod - tests/bugs/modalg_5/bug25292_34 Diff File
mod - tests/bugs/modalg_5/bug25319_1 Diff File
mod - tests/bugs/modalg_5/bug25319_2 Diff File
mod - tests/bugs/modalg_5/bug25838 Diff File
mod - tests/bugs/modalg_6/bug27282_2 Diff File
mod - tests/bugs/modalg_6/bug27302 Diff File
add - tests/bugs/modalg_6/bug27431 Diff File
mod - tests/bugs/moddata_2/bug565 Diff File
mod - tests/bugs/moddata_3/bug23981 Diff File

master baed6838

2016-11-02 09:56:30

abv


Committer: abv Details Diff
0028040: Foundation Classes, Message_Printer - handle Standard_CString messages as UTF-8
mod - src/Message/Message_Printer.cxx Diff File

master be70005c

2016-11-02 09:50:02

kgv


Committer: apn Details Diff
0028039: Coding rules, TObj - pass file name by reference Affected Issues
0028039
mod - src/TObj/TObj_Application.cxx Diff File
mod - src/TObj/TObj_Application.hxx Diff File
mod - src/TObj/TObj_Model.cxx Diff File
mod - src/TObj/TObj_Model.hxx Diff File

master a0ad45bf

2016-11-02 07:59:39

msv


Committer: apn Details Diff
0027802: [Regression to 7.0] Solid classifier raises exception ConstructionError

Test case has been created.
Affected Issues
0027802
add - tests/bugs/modalg_6/bug27802 Diff File

master 9c86076b

2016-11-01 18:36:24

abv


Committer: abv Details Diff
0028036: Visualization, AIS_ColoredShape - handle correctly nested compounds within Shaded display mode

AIS_ColoredShape::Compute() now parses nested compounds in two passes
to handle complex cases with compounds used for grouping styles.
Affected Issues
0028036
mod - src/AIS/AIS_ColoredShape.cxx Diff File
mod - src/AIS/AIS_ColoredShape.hxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.hxx Diff File
mod - src/XCAFPrs/XCAFPrs.cxx Diff File
add - tests/bugs/vis/bug28036_1 Diff File
add - tests/bugs/vis/bug28036_2 Diff File

master 1475265b

2016-11-01 12:14:35

kgv


Committer: apn Details Diff
0028035: Visualization - V3d_Trihedron::compute() endlessly creates new graphic groups

V3d_Trihedron::compute() now reuses existing groups in the structure
and resets the flag myToCompute.
Affected Issues
0028035
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/V3d/V3d_Trihedron.cxx Diff File

master 579f2938

2016-11-01 10:43:56

pdn


Committer: apn Details Diff
0028034: Application Framework - stack overflow in LDOM destructor
mod - src/LDOM/LDOM_MemManager.cxx Diff File

master 434ffc09

2016-10-31 14:08:37

osa


Committer: apn Details Diff
0028031: Visualization, TKV3d - do not use height/width ratio of window during V3d_View::FitAll()
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File

master a3d4053c

2016-10-31 13:34:15

vpa


Committer: apn Details Diff
0027868: Visualization - AIS_InteractiveContext::Remove() might keep removed object in selection list

- AIS_InteractiveContext::unhighlightOwners is corrected to handle all objects in selection regardless of owner's selection state
mod - src/AIS/AIS_InteractiveContext.cxx Diff File

master b2134621

2016-10-31 08:54:54

ski


Committer: apn Details Diff
0028027: Configuration - option BUILD_RESOURCES does not work on CMake 2.8

CMake command "string (APPEND ...)" was replaced by SET equivalent to support CMake 2.8
Affected Issues
0028027
mod - adm/cmake/occt_resources.cmake Diff File

master 9c189bd8

2016-10-29 08:23:05

azv


Committer: apn Details Diff
0028028: Solid becomes invalid after scaling

The shape after scaling contains PCurves with incorrect parametrization, because of too large tolerance given.

1. Set Precision::PConfution() as a tolerance for GeomLib::SameRange.
2. Do not take into account tolerances of vertices while calculating tolerance of transformed PCurve for edge.
3. Test case bugs/modalg_6/bug28028
mod - src/BRepTools/BRepTools_TrsfModification.cxx Diff File
add - tests/bugs/modalg_6/bug28028 Diff File

master ff1541f1

2016-10-28 15:20:03

msv


Committer: apn Details Diff
0026673: BOPTools_AlgoTools::ComputeVV incorrectly checks two vertices for intersection

Test case has been created.
Affected Issues
0026673
add - tests/bugs/modalg_6/bug26673 Diff File

master 4a6d2783

2016-10-28 12:51:58

ika


Committer: apn Details Diff
0028014: PMIVis - some tolerances are attached to points out of the models

Fix a misprint.
mod - src/XCAFDoc/XCAFDoc_GeomTolerance.cxx Diff File

master d4507e82

2016-10-28 12:03:38

vpa


Committer: apn Details Diff
0027008: Visualization - polygonal selection algorithm does not work with MeshVS_Mesh

- correct calculation of normals for SelectMgr_TriangularFrustum;
- test case for issue 0027008
Affected Issues
0027008
mod - src/SelectMgr/SelectMgr_TriangularFrustum.cxx Diff File
add - tests/bugs/vis/bug27008 Diff File

master ee5befae

2016-10-28 11:29:58

ski


Committer: apn Details Diff
0027258: Configuration - generate built-in replacement for mandatory resource files

Generation of header files from resource files was added to CMake and genproj procedures.

Message_MsgFile has been extended with new method ::LoadFromString()
for loading messages from embedded resources.
Message_MsgFile::LoadFromString() is now a preferred way
for loading message resources by application
as alternative to environment variables.

TObje/TObj.msg is now embedded into TObj_Application.cxx.
TObj_Application now loads its global messages
on instantiation of the first class instance.

UnitsAPI/Lexi_Expr.dat now completely embedded into Units_Lexicon.cxx.
UnitsAPI/Units.dat now embedded into Units_UnitsDictionary.cxx
but can be regenerated from resource file.
The definition of the following units have been removed:
benne à charbon, calorie (diététique).

Unused message files XSMessage/IGES.us and IGES.fr have been removed.
Related code IGESData.cxx has been removed as well.

XSMessage/XSTEP.us is now embedded into Interface_StaticStandards.cxx
and used for fallback initialization in case when file resources
defined by CSF_XSMessage environment variable are missing.

SHMessage/SHAPE.us is now embedded into ShapeExtend.cxx
and used for fallback initialization in case when file resources
defined by CSF_XHMessage environment variable are missing.
Duplicating code has been removed from ShapeProcess_OperLibrary.cxx.

Shaders/Declarations.glsl and Shaders/DeclarationsImpl.glsl
are now embedded into OpenGl_ShaderProgram.cxx.
CSF_ShadersDirectory is no more required for using OCCT 3D Viewer.

Ray-Tracing GLSL programs from Shaders are now embedded into OpenGl_View_Raytrace.cxx.
File resources are still used instead of embedded programs
when CSF_ShadersDirectory is defined, but this functionality
is intended for OCCT development.

Enumeration Graphic3d_ShaderProgram::ShaderName_Phong
demonstrating custom GLSL program usage has been removed.
Affected Issues
0027258
mod - adm/cmake/occt_macros.cmake Diff File
add - adm/cmake/occt_resources.cmake Diff File
mod - adm/cmake/vardescr.cmake Diff File
mod - adm/genproj.tcl Diff File
mod - adm/RESOURCES Diff File
mod - adm/templates/env.bat Diff File
mod - adm/templates/env.bat.in Diff File
mod - adm/templates/env.sh Diff File
mod - adm/templates/env.sh.in Diff File
mod - adm/templates/header.in Diff File
mod - CMakeLists.txt Diff File
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - dox/overview/overview.md Diff File
mod - samples/java/jniviewer/jni/Android.mk Diff File
mod - samples/java/jniviewer/jni/OcctJni_Viewer.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff File
mod - src/IGESData/IGESData.cxx Diff File
mod - src/Interface/Interface_StaticStandards.cxx Diff File
mod - src/Message/Message_MsgFile.cxx Diff File
mod - src/Message/Message_MsgFile.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff File
mod - src/Shaders/FILES Diff File
mod - src/Shaders/RaytraceBase.fs Diff File
mod - src/Shaders/RaytraceRender.fs Diff File
mod - src/Shaders/RaytraceSmooth.fs Diff File
add - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx Diff File
add - src/Shaders/Shaders_Declarations_glsl.pxx Diff File
add - src/Shaders/Shaders_Display_fs.pxx Diff File
add - src/Shaders/Shaders_PathtraceBase_fs.pxx Diff File
add - src/Shaders/Shaders_RaytraceBase_fs.pxx Diff File
add - src/Shaders/Shaders_RaytraceBase_vs.pxx Diff File
add - src/Shaders/Shaders_RaytraceRender_fs.pxx Diff File
add - src/Shaders/Shaders_RaytraceSmooth_fs.pxx Diff File
mod - src/ShapeExtend/ShapeExtend.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_OperLibrary.cxx Diff File
mod - src/SHMessage/FILES Diff File
add - src/SHMessage/SHMessage_SHAPE_us.pxx Diff File
mod - src/TObj/FILES Diff File
mod - src/TObj/TObj_Application.cxx Diff File
add - src/TObj/TObj_TObj_msg.pxx Diff File
mod - src/TObjDRAW/TObjDRAW.cxx Diff File
mod - src/Units/Units.cxx Diff File
mod - src/Units/Units_Lexicon.cxx Diff File
mod - src/Units/Units_Lexicon.hxx Diff File
mod - src/Units/Units_UnitsDictionary.cxx Diff File
mod - src/Units/Units_UnitsDictionary.hxx Diff File
mod - src/Units/Units_UnitsLexicon.cxx Diff File
mod - src/Units/Units_UnitsLexicon.hxx Diff File
mod - src/UnitsAPI/FILES Diff File
rm - src/UnitsAPI/Lexi_Expr.dat Diff File
mod - src/UnitsAPI/Units.dat Diff File
mod - src/UnitsAPI/UnitsAPI.cxx Diff File
add - src/UnitsAPI/UnitsAPI_Units_dat.pxx Diff File
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff File
mod - src/XSMessage/FILES Diff File
rm - src/XSMessage/IGES.fr Diff File
rm - src/XSMessage/IGES.us Diff File
add - src/XSMessage/XSMessage_XSTEP_us.pxx Diff File
mod - src/XSMessage/XSTEP.us Diff File

master 30f5e1a7

2016-10-28 11:28:42

apn

Details Diff
Modify test case v3d/raytrace/bug25221 according to new draw commands.
mod - tests/v3d/raytrace/bug25221 Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 108 109 110 111 112 113 114 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last