6 years ago0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers...
kgv [Wed, 25 Mar 2015 12:54:08 +0000 (15:54 +0300)]
0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers within buffersNoSwap option

6 years ago0025993: References to enums are wrapped wrong in SWIG Java
apn [Tue, 31 Mar 2015 12:12:58 +0000 (15:12 +0300)]
0025993: References to enums are wrapped wrong in SWIG Java

Modified Graphic3d/Graphic3d_GraduatedTrihedron.hxx to prevent using const references to enumerations

6 years agoModified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
apn [Fri, 27 Mar 2015 10:39:33 +0000 (13:39 +0300)]
Modified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
bugs/modalg_4/bug8842_7 - test stable OK (removed TODOs).
bugs/modalg_2/bug453_2 - added ?TODO according to unstable behavior (#25918)
bugs/moddata_1/bug22759 - updated reference data
bugs/vis/bug21091_4 bug21091_5 bug21091_6 bug21091_9 - updated reference data
sewing/tol_100/K1 - added ?TODO according to unstable behavior (test will be removed in #25471)

6 years ago0025150: Java wrapper
ski [Fri, 20 Mar 2015 08:27:57 +0000 (11:27 +0300)]
0025150: Java wrapper

Workaround name conflicts with OCCT methods for Java wrapper compilation

6 years ago0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl
dbp [Tue, 24 Mar 2015 17:30:05 +0000 (20:30 +0300)]
0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl

6 years agoUpdate test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892
apn [Thu, 26 Mar 2015 14:45:32 +0000 (17:45 +0300)]
Update test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892

6 years agoUpdate reference data for test case boolean/bsection/R9
apn [Thu, 26 Mar 2015 14:43:47 +0000 (17:43 +0300)]
Update reference data for test case boolean/bsection/R9

6 years agoSmall correction of test case bugs/modalg_5/bug25416_3 for issue CR25416
mkv [Thu, 26 Mar 2015 13:37:24 +0000 (16:37 +0300)]
Small correction of test case bugs/modalg_5/bug25416_3 for issue CR25416

6 years ago0025987: Integration part of modified unstable test cases
apn [Thu, 26 Mar 2015 12:44:22 +0000 (15:44 +0300)]
0025987: Integration part of modified unstable test cases

Unstable test cases were reviewed
Modified test cases using checktrend command
Modified test cases for Linux platform
Modified test cases for Debug mode

6 years ago0025976: Conversion of an offset face from a spline into a spline face hangs-up the...
ifv [Thu, 26 Mar 2015 12:42:42 +0000 (15:42 +0300)]
0025976: Conversion of an offset face from a spline into a spline face hangs-up the application

Tests-case for issue #25976

6 years ago0025969: Wrong result obtained by 2d classifier algorithm.
pkv [Thu, 26 Mar 2015 12:41:00 +0000 (15:41 +0300)]
0025969: Wrong result obtained by 2d classifier algorithm.

Class IntTools_FClass2d
method:void IntTools_FClass2d::Init(const TopoDS_Face& aFace,const Standard_Real TolUV)
has been changed.
The cases where derivattive angles that are near to PI are considered as a sign to avoid express treatment for that wire

Test case for CR25969

6 years ago0025416: Wrong section curve
nbv [Wed, 25 Mar 2015 06:52:07 +0000 (09:52 +0300)]
0025416: Wrong section curve

1. Restriction line is processed in IntTools_FaceFace with using methods of GeomInt_IntSS class.
2. Check, if Restriction- and Walking-lines (or Restriction-Restriction lines) are coincided, has been added in IntPatch_ImpPrmIntersection.cxx (at that RLine is considered to be isoline only).
3. Check, if RLine and GLine are coincided, has been added in IntPatch_ImpImpIntersection.cxx.
4. Create new class IntPatch_PointLine, which is inherited from IntPatch_Line.
5. The reason of exception (in DEBUG MODE) has been eliminated.

New test cases for issue #25416 were added.

tests/bugs/modalg_5/bug24650 was modified.

6 years ago0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch
Pawel [Tue, 17 Mar 2015 16:43:21 +0000 (17:43 +0100)]
0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch

Corrected logic/formatting discrepancy.

6 years ago0025963: Define HashCode() for an unsigned int within armv7 target
kgv [Mon, 23 Mar 2015 15:37:41 +0000 (18:37 +0300)]
0025963: Define HashCode() for an unsigned int within armv7 target

OSD_EnvironmentIterator - do not use _NSGetEnviron() on iOS.

6 years ago0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice
Pawel [Thu, 26 Mar 2015 12:26:16 +0000 (15:26 +0300)]
0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice

Corrected index assignment.
Minor change in exception message.

6 years ago0025652: Visualization, TKOpenGl - RayTracing initialization failures are not properl...
dbp [Thu, 26 Mar 2015 12:22:12 +0000 (15:22 +0300)]
0025652: Visualization, TKOpenGl - RayTracing initialization failures are not properly reported

Logging of GLSL warnings was added in ray-tracing core.

6 years ago0025951: Exception in intersection operation.
bugmaster [Fri, 20 Mar 2015 10:03:26 +0000 (13:03 +0300)]
0025951: Exception in intersection operation.

The reason of the exception has been eliminated.
Integration of testing case for issue 25951

Adjusting test case for Linux platform

6 years ago0025892: Wrong result obtained by projection algorithm.
aml [Thu, 19 Mar 2015 13:33:43 +0000 (16:33 +0300)]
0025892: Wrong result obtained by projection algorithm.

1) Treatment of case when projection algorithm to BSpline surface return null 2d curve.
2) Changed approximation of next step in default projection algorithm.
3) Special handling of surface of revolution added.

"Period jump" handling evaded in case when curve not computed.

Test cases for issue CR25892

Small correction of test cases fot CR25892

6 years ago0025955: Visualization, AIS_Shape::UnsetColor() - fix storing color in a local variable
Pawel [Tue, 17 Mar 2015 17:27:49 +0000 (18:27 +0100)]
0025955: Visualization, AIS_Shape::UnsetColor() - fix storing color in a local variable

Removed the color declaration overriding another variable.

6 years ago0025907: Optimization of testdiff command
abv [Mon, 9 Mar 2015 11:28:12 +0000 (14:28 +0300)]
0025907: Optimization of testdiff command

- Work with strings optimized in Tcl procedures used in testdiff command
- CPU and memory differences output of testdiff command improved to give relative change in percents
- Cumulative CPU and memory differences are output for test grids
- In HTML output of testdiff command, deviations of memory and CPU measurements greater than 5% are colored (red or green)
- Search of image files in testdiff command corrected to avoid wrong attribution of image file to issues starting with the same first letters; images must start with the test case name, optionally followed by underscore or dash and arbitrary text
- Image_Diff tool optimized for the case if images are exactly the same
- Perf_Meter class output corrected, destructor made non-virtual
- DRAW command diffimage optimized to not save diff files if there is no difference
- Tests User Guide updated according to these changes and actual state

6 years ago0025912: Exception during reading STEP file with GD&T
ika [Thu, 19 Mar 2015 13:10:39 +0000 (16:10 +0300)]
0025912: Exception during reading STEP file with GD&T

add missing "break" statements.

Test case for issue CR25912

6 years ago0025718: Unstable work of tests in bug5805 series
msv [Thu, 19 Mar 2015 13:08:06 +0000 (16:08 +0300)]
0025718: Unstable work of tests in bug5805 series

Force stable work of the algorithm BRepAlgo_Loop by replacing DataMap collections with List and/or IndexedDataMap in order to provide iterations independent on the memory addresses.

Avoid uninitialized fields in default constructor of Extrema_POnSurf.

Mark bad tests as known bad.

6 years ago0025928: Tool for comparing curves
aml [Fri, 13 Mar 2015 10:27:01 +0000 (13:27 +0300)]
0025928: Tool for comparing curves

New commands:
xdistcc - check distance between two 3d curves.
xdistcc2ds - check distance between 3d curve and curve on surface (projected curve).
xdistc2dc2dss - check distance between two curve on surface (projected curves).

This commands are print 3d distance between input objects built on even grid.
It is supposed that curves have same parametrization.

xdistcc curve1 curve2 startParam finishParam [NumberOfSamplePoints]
xdistcc2ds c c2d surf startParam finishParam [NumberOfSamplePoints]
xdistc2dc2dss c2d_1 c2d_2 surf1 surf2 startParam finishParam [NumberOfSamplePoints]

Doxygen documentation about "xdist" family added.

6 years ago0025901: Incorrect work of command OCC181 in test-cases bugs fclasses bug181_1 and...
apn [Wed, 18 Mar 2015 11:43:48 +0000 (14:43 +0300)]
0025901: Incorrect work of command OCC181 in test-cases bugs fclasses bug181_1 and bug181_2

Modified test cases

6 years ago0025933: Visualization - Forward AIS_InteractiveObject::Redisplay() execution to...
vpa [Thu, 19 Mar 2015 13:02:42 +0000 (16:02 +0300)]
0025933: Visualization - Forward AIS_InteractiveObject::Redisplay() execution to AIS_InteractiveContext

AIS_InteractiveObject::Redisplay now redirects the execution to interactive context;
All calls to AIS_InteractiveObject::Redisplay were replaced by AIS_InteractiveContext::Redisplay

Small correction of test case

6 years ago0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
aba [Fri, 6 Mar 2015 09:23:44 +0000 (12:23 +0300)]
0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':

- Graphic3d_CGraduatedTrihedron:  moved to Graphic3d_GraduatedTrihedron, added Graphic3d_AxisAspect for axes parameters
- OpenGl_GraduatedTrihedron: moved to primitive arrays, used Graphic3d_GraduatedTrihedron to store parameters
- ViewerTest: corrected vgraduatedtrihedron, added new parameters
- Graphic3d_ArrayOfPrimitives: added AddVertex (Graphic3d_Vec3)
- Graphic3d_GraphicDriver::GraduatedTrihedronMinMaxValues corrected interface

6 years ago0025910: The material with 0-density causes errors during writing STEP files
drazmyslovich [Thu, 19 Mar 2015 12:52:21 +0000 (15:52 +0300)]
0025910: The material with 0-density causes errors during writing STEP files

- properly process 0-density material - create STEP density structures if and only if the density is > 0
- properly process 0-density material - create STEP density structures if and only if the density is > 0, but preserve the already mapped structures

Test-case for issue #25910

6 years ago0025630: Possible memory leaks in BRepGProp_Vinert and BRepGProp_Sinert
azn [Thu, 19 Mar 2015 12:50:09 +0000 (15:50 +0300)]
0025630: Possible memory leaks in BRepGProp_Vinert and BRepGProp_Sinert

Code refactoring of BRepGProp_Sinert and BRepGProp_Vinert classes.
- All static variables have been removed.
- Common functionality connected with Gauss integration has beem moved from BRepGProp_Sinert and BRepGProp_Vinert classes to the new BRepGProp_Gauss class.

Slight changes in the comments.

Fix compilation error.

Fix Sinert errors. Rebased on new master.

Elimination of constant conditional expression warnings.

Small fix in comment.

6 years ago0025934: Review PERF test group
apn [Fri, 13 Mar 2015 14:26:12 +0000 (17:26 +0300)]
0025934: Review PERF test group

Remove perf subgroups which don't contain meaningful check

6 years ago0025931: Visualization - Possibility to initialize an environment texture by Image_Pi...
san [Fri, 13 Mar 2015 14:17:46 +0000 (17:17 +0300)]
0025931: Visualization - Possibility to initialize an environment texture by Image_PixMap instance

6 years ago0025898: Wrong result obtained by intersection algorithm.
nbv [Thu, 19 Mar 2015 12:45:54 +0000 (15:45 +0300)]
0025898: Wrong result obtained by intersection algorithm.

The reason of the exception has been eliminated.

Test case for issue CR25898

6 years ago0025843: Wire containing degenerated edge is not written to IGES / STEP
ika [Thu, 19 Mar 2015 12:43:17 +0000 (15:43 +0300)]
0025843: Wire containing degenerated edge is not written to IGES / STEP

add check for edges with null 2D and 3D curves for STEP,
for IGES problem exists only with wires, where non-invalid edge is only one, and it is not the last in wire(fixed).

Test case for issue CR25843

6 years agoAdjusting CPU time for Windows platform
mkv [Fri, 13 Mar 2015 13:08:15 +0000 (16:08 +0300)]
Adjusting CPU time for Windows platform

6 years ago0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw...
ibs [Fri, 6 Mar 2015 15:52:30 +0000 (18:52 +0300)]
0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw within disabled immediate update

the superfluous view update of Rotation method removed because of used before Rotate method already does immediate update

6 years ago0025751: Eliminate GCC warning -Wunused-but-set-variable in gp_GTrsf2d.cxx for Androi...
azn [Thu, 12 Mar 2015 09:42:01 +0000 (12:42 +0300)]
0025751: Eliminate GCC warning -Wunused-but-set-variable in gp_GTrsf2d.cxx for Android build

Exception macros conditions have been fixed.

6 years ago0025887: Invalid pipe construction
jgv [Thu, 12 Mar 2015 09:35:33 +0000 (12:35 +0300)]
0025887: Invalid pipe construction

Test-case for issue #25887

6 years ago0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.
szy [Thu, 5 Mar 2015 08:15:30 +0000 (11:15 +0300)]
0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.

6 years ago0025876: Geom2dAPI_InterCurveCurve returns only one intersection point instead of...
msv [Thu, 12 Mar 2015 09:30:18 +0000 (12:30 +0300)]
0025876: Geom2dAPI_InterCurveCurve returns only one intersection point instead of two intersection points

Extend domain of circle to include all possible solutions.

Test case for issue CR25876

Correct test case

Period 'jump" handling algorithm changed.

6 years ago0025858: Incorrect result of open offset on single edge based on BSpline curve
jgv [Thu, 12 Mar 2015 09:27:32 +0000 (12:27 +0300)]
0025858: Incorrect result of open offset on single edge based on BSpline curve

Test-case for issue #25883

6 years ago0025897: Visualization, TKOpenGl - disable FBO blitting after first failure on broken...
kgv [Thu, 5 Mar 2015 15:05:58 +0000 (18:05 +0300)]
0025897: Visualization, TKOpenGl - disable FBO blitting after first failure on broken OpenGL context

OpenGl_Context::init() - detect OpenGL 2.0+ broken context by wrong GLSL version string.
Emit error messages when OpenGL context reports version higher than actually exported.

Improve logic of methods drawing Immediate presentations and swapping the Buffers.
OpenGl_Workspace::myTransientDrawToFront - repair functionality of this flag
to always render Immediate Objects into Back Buffer.
OpenGl_Workspace::myHasFboBlit - add new flag to disable FBO blitting after first failure.

6 years ago0025841: Incorrect edge displaying
aml [Thu, 12 Mar 2015 09:21:29 +0000 (12:21 +0300)]
0025841: Incorrect edge displaying

Handling of too big step changed.
Test-case for issue #25841

Small correction in test-case

6 years ago0025886: Wrong result obtained by projection algorithm
aml [Thu, 12 Mar 2015 09:18:49 +0000 (12:18 +0300)]
0025886: Wrong result obtained by projection algorithm

Usage of current iteration approximation added if necessary.

Test-case for issue #25886

6 years ago0025674: Debug dev guide: misprint in Saving and dumping shapes and geometric objects...
ysn [Thu, 12 Mar 2015 09:10:34 +0000 (12:10 +0300)]
0025674: Debug dev guide: misprint in Saving and dumping shapes and geometric objects section

Documentation changes and improvements suggested in bugs 25674, 25702 and 25882.
Some corrections for new content in debug.md

6 years agoEliminating problem of TKOpenGl compilation
bugmaster [Thu, 5 Mar 2015 14:11:08 +0000 (17:11 +0300)]
Eliminating problem of TKOpenGl compilation

6 years ago0025854: Visualization, TKOpenGl - add option to request Core profile 3.2+
kgv [Thu, 5 Mar 2015 13:00:51 +0000 (16:00 +0300)]
0025854: Visualization, TKOpenGl - add option to request Core profile 3.2+

OpenGl_Caps::contextCompatible - new option to request compatibility/core OpenGL profile.
OpenGl_Window - request core profile when requested (WGL and Cocoa).
OpenGl_Context::CheckExtension() - retrieve extensions using glGetStringi().
OpenGl_Context::init() - set backward-compatible functions to NULL within core profile:
core11, core15, core20, core32back, core33back, core41back, core42back, core43back, core44back.
OpenGl_Context::BindDefaultVao() - create default VAO required for core profile.
OpenGl_Context::ReadGlVersion() - make method public.
OpenGl_ShaderManager - create programs using GLSL version 150 when available.
OpenGl_VertexBuffer, OpenGl_ShaderProgram, OpenGl_ShaderObject - use
functions set from core profile instead of compatibility.

TKOpenGl - escape deprecated functionality with runtime checks.

Command vcaps - add option -compatibleProfile to request core/compatibility profile.
NIS_View - prevenr rendering within Core profile (unsupported).

Test case for issue CR25854

Aspect_GraphicCallbackStruct::IsCoreProfile - add new field to the struct for NIS

6 years ago0025540: Visualization - discretization of the circle differs in shaded and wireframe...
osa [Thu, 5 Mar 2015 11:05:11 +0000 (14:05 +0300)]
0025540: Visualization - discretization of the circle differs in shaded and wireframe modes.

1. "HilightDrawer" were added to SelectMgr_SelectableObject.
2. Static drawer in StdSelect_Shape was replaced by class member. It's value is taken from special HilightDrawer of Selectable() object.
3. Computed relative deflection is stored as absolute deflection to be used for sub-shapes.
4. The ColoredShape object was updated to use for sub-shapes relative deflection computed for main shape.
5. Test case was added.

Tuning of test-case bug25532

6 years ago0025501: TNaming::Displace calls itself recursively with default parameter.
szy [Wed, 4 Mar 2015 11:58:37 +0000 (14:58 +0300)]
0025501: TNaming::Displace calls itself recursively with default parameter.

Patch to fix misprint in method Displace ().

6 years ago0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes
pkv [Thu, 5 Mar 2015 12:02:49 +0000 (15:02 +0300)]
0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes

class IntTools_FaceFace
    - method:
 void IntTools_FaceFace::Perform(const TopoDS_Face& aF1,
                                const TopoDS_Face& aF2)
The treatment of infinite planes was corrected.

Test case for issue CR25818

6 years ago0025858: Incorrect result of open offset on single edge based on BSpline curve
jgv [Thu, 5 Mar 2015 11:59:21 +0000 (14:59 +0300)]
0025858: Incorrect result of open offset on single edge based on BSpline curve

Test cases for issue CR25858

6 years ago0025861: Wrong result obtained by projection algorithm.
aml [Thu, 5 Mar 2015 11:56:28 +0000 (14:56 +0300)]
0025861: Wrong result obtained by projection algorithm.

Handling of trimmed analytical surfaces added in extrema PS.

New draw-command and test case for issue CR25861

Correction of test case for issue CR25861

6 years ago0025013: ShapeFix_Wire tweaks for better results
ika [Thu, 5 Mar 2015 11:52:06 +0000 (14:52 +0300)]
0025013: ShapeFix_Wire tweaks for better results

Recalculate of tolerance before edge cutting

Test case for issue CR25013

add try to increase tolerance before splitting in singularity during PCurve adding.

Correction of test cases for issue CR25013

6 years ago0023200: Visualization - prevent multiple triangulating of a shape that already has...
osa [Thu, 5 Mar 2015 11:48:42 +0000 (14:48 +0300)]
0023200: Visualization - prevent multiple triangulating of a shape that already has been triangulated

Add new flag IsAutoTriangulated to Prs3d_Drawer. It is True by default.
If this flag is True automatic re-triangulation with deflection-check logic will be applied.
Else this feature will be disable and triangulation is expected to be computed by application itself.

Change the syntax of vdefalts command.
Add new parameter -autoTriang for check of AutoTriangulated functionality.

Adjust camera position in test case bugs/xde/bug23969

6 years ago0025860: Buffer overrun in TopTools_ShapeSet::Read
msv [Mon, 2 Mar 2015 13:06:30 +0000 (16:06 +0300)]
0025860: Buffer overrun in TopTools_ShapeSet::Read

Avoid out of array bounds read/write.

6 years ago0025808: Visualization - Initialization of Prs3d_PointAspect by custom Graphic3d_Aspe...
asl [Thu, 5 Mar 2015 11:39:03 +0000 (14:39 +0300)]
0025808: Visualization - Initialization of Prs3d_PointAspect by custom Graphic3d_AspectMarker3d

the constructor accepting the Graphic3d_AspectMarker3d is implemented

constructor with graphic3d aspect and SetAspect() method are implemented for other aspect classes

patch for non-initialized class fields

6 years ago0025849: Warnings on OCCT and PRODUCTS in 64-bit
apn [Fri, 20 Feb 2015 15:30:35 +0000 (18:30 +0300)]
0025849: Warnings on OCCT and PRODUCTS in 64-bit

Fix warnings.

6 years ago0024898: Test "bugs modalg_1 buc60782_1" is incorrect
ski [Wed, 21 Jan 2015 08:53:27 +0000 (11:53 +0300)]
0024898: Test "bugs modalg_1 buc60782_1" is incorrect

Test case was corrected.

6 years ago0025552: Visualization - provide the way to hide the object in specified view of...
kgv [Thu, 5 Mar 2015 10:50:47 +0000 (13:50 +0300)]
0025552: Visualization - provide the way to hide the object in specified view of the viewer

Add test case bugs/vis/bug25552
OpenGl_GraphicDriver - do not use View and Workspace identifiers on level of entire Driver

6 years ago0025867: Visualization, TKOpenGl - fix misprint in transformation persistence math
kgv [Thu, 5 Mar 2015 10:45:38 +0000 (13:45 +0300)]
0025867: Visualization, TKOpenGl - fix misprint in transformation persistence math

Added test case

6 years ago0025773: Visualization - remove AIS_Drawer class and transfer its Link() logic to...
osa [Mon, 2 Mar 2015 13:17:29 +0000 (16:17 +0300)]
0025773: Visualization - remove AIS_Drawer class and transfer its Link() logic to Prs3d_Drawer

6 years ago0025853: Edges disappear or reappear when displaying new edges
apn [Tue, 3 Mar 2015 10:35:57 +0000 (13:35 +0300)]
0025853: Edges disappear or reappear when displaying new edges

Added test case bugs/vis/bug25853

6 years ago0025765: Coding rules - clean up code from obsolete macro checks
apn [Tue, 24 Feb 2015 16:27:20 +0000 (19:27 +0300)]
0025765: Coding rules - clean up code from obsolete macro checks

Unused code paths (including definition of these macros and meaningless comments) were eliminated.

6 years agoUpdate for difference of behavior between 32 and 64 bit
mkv [Fri, 27 Feb 2015 13:51:08 +0000 (16:51 +0300)]
Update for difference of behavior between 32 and 64 bit

6 years ago0025847: Wrong result obtained by General Fuse operator.
pkv [Thu, 26 Feb 2015 10:39:13 +0000 (13:39 +0300)]
0025847: Wrong result obtained by General Fuse operator.

I. New features:
   No new features.

II. Changes:
II.1. class  BOPAlgo_PaveFiller
- method:
 void BOPAlgo_PaveFiller::PerformEE()
 has been changed.
 Intended set of VE interferences has been refined
 to avoid unwanted overlaps of pave blocks

- method:
 void BOPAlgo_PaveFiller::ForceInterfVE(const Standard_Integer nV,
                                       Handle(BOPDS_PaveBlock)& aPB,
                                       BOPDS_MapOfPaveBlock& aMPBToUpdate)
 The initialization of increment of VE interferences has been added.

- method:
 Standard_Boolean BOPAlgo_PaveFiller::ForceInterfVF
  (const Standard_Integer nV,
   const Standard_Integer nF)
 The initialization of increment of VF interferences has been added.

III. Modified entities:

Test case for issue CR25847

6 years ago0017129: ShapeFix projector makes 2d curves with oscillations
aml [Thu, 26 Feb 2015 10:29:35 +0000 (13:29 +0300)]
0017129: ShapeFix projector makes 2d curves with oscillations

Usage of Projlib added in case of uneven points distribution.
Test cases are updated to the new behavior.
Test cases for issue CR17129

Correction of test case for issue CR17129

6 years ago0025842: Wrong intersection 2D-curves obtained for pair of faces.
aml [Thu, 26 Feb 2015 10:08:43 +0000 (13:08 +0300)]
0025842: Wrong intersection 2D-curves obtained for pair of faces.

Handling of degenerated parametrization (like sphere) added in IWalker.

Minor corrections.

Test case for issue CR25842

Correction of test case for issue CR25842

6 years ago0025851: Visualization, TKOpenGl - do not use FBO cache when GLSL is unavailable
kgv [Fri, 20 Feb 2015 17:01:46 +0000 (20:01 +0300)]
0025851: Visualization, TKOpenGl - do not use FBO cache when GLSL is unavailable

6 years ago0025828: BRepAlgoAPI_Section fails for a solid and a face depending on order of arguments
nbv [Thu, 26 Feb 2015 06:32:29 +0000 (09:32 +0300)]
0025828: BRepAlgoAPI_Section fails for a solid and a face depending on order of arguments

If Walking-lines are coincided we kept line, which contains more points or has more length (because it is more precisely, most likely).

Test cases for issue CR25828
Some test cases were changed

6 years ago0025687: Visualization, XCAF - eliminate visual artifacts at the edges of faces
ibs [Thu, 26 Feb 2015 09:50:32 +0000 (12:50 +0300)]
0025687: Visualization, XCAF - eliminate visual artifacts at the edges of faces

AIS_ColoredShape::Compute() - improve logic to split input shape into Closed and Open volumes
with back-face culling enabled when possible.

Change last argument of method StdPrs_ShadedShape::Add() from boolean to enumeration StdPrs_Volume
which controls parsing of Closed/Open volumes within input shape.
Make method StdPrs_ShadedShape::ExploreSolids() public.

Extend Draw Harness command vaspects with option -setvisibility to hide subshape (using AIS_ColoredShape).
Add new test cases bugs/bis/bug25687_1 and bugs/bis/bug25687_2.

the logic of bindSubShapes method clarified



AIS_ColoredShape::dispatchColors considers the colors of displayed shapes in connection with specific priority

the color of specific shape can be exported from several ways: the color of this shape, the color of a compound containing this shape. The highest priority has the color of shape than the one of the compound. The color with highest priority will be displayed.

This patch accounts for the highest priority of the shape color.

For example: w - wire has GREEN color; e - edge has RED color; "w" contains "e"; all edges of "w" will be displayed in GREEN color except "e" edge, it will be displayed in RED color

Added sample generating model of Intel i7-4790 CPU on which the problem can be reproduced

6 years ago0025747: Bad IGES file after import and export with different units
dbv [Thu, 26 Feb 2015 09:47:41 +0000 (12:47 +0300)]
0025747: Bad IGES file after import and export with different units

- Fixed ellipse curve radius scale
- Fixed hyperbola curve radius scale
- Fixed plane surface scale
- Fixed cylindrical, conical, spherical, toroidal radius and axis scale

Test case for issue CR25747

6 years ago0025246: Make methods Intervals and NbIntervals const in Adaptor3d_Curve and it desce...
aml [Thu, 26 Feb 2015 09:44:01 +0000 (12:44 +0300)]
0025246: Make methods Intervals and NbIntervals const in Adaptor3d_Curve and it descendants

Qualifier "const" added to NbIntervals and Intervals functions.

Fixed Standard_OVERRIDE macro description
Removed obsolete method declaration from Standard_Transient.cdl

6 years agoSmall update of pro file
bugmaster [Wed, 25 Feb 2015 09:46:07 +0000 (12:46 +0300)]
Small update of pro file

6 years agoAdjusting testing cases
bugmaster [Fri, 20 Feb 2015 14:17:34 +0000 (17:17 +0300)]
Adjusting testing cases

1. bugs modalg_4 bug697_2 bug697_4 bug697_7 bug697_8 - unstable test cases after fix 25735
Its will be checked and modified during work with performance (issue 24232).

2. bugs mesh bug25364 was tuned for 64-bit Windows.

3. de step_1 ZQ2 fails (64-bit only). Issue 25848 was registered.

4. de step_3 D8 shows improvement (no checkape error) in 64-bit only, this is after 22598 and  issue 25797 was registered for that.

5. draft angle G8 improvement (algorithm produces some shape, but fails on checkshape).

6. perf ncollection A1 was tuned for 64-bit Windows.

7. de step_1 R9 - update reference data (according to 25176)

6 years agoAdding 64 bit configuration
bugmaster [Fri, 20 Feb 2015 11:23:58 +0000 (14:23 +0300)]
Adding 64 bit configuration

6 years ago0025091: Visualization - use FBO for layer with immediate objects
kgv [Thu, 29 Jan 2015 13:01:07 +0000 (16:01 +0300)]
0025091: Visualization - use FBO for layer with immediate objects

6 years ago0025701: Problem with the symmetry of fillet on two perpendicular cylinders
jgv [Thu, 19 Feb 2015 13:09:37 +0000 (16:09 +0300)]
0025701: Problem with the symmetry of fillet on two perpendicular cylinders

Test case for issue CR25701

6 years ago0024646: Wrong result done by Boolean Operation algorithm
emv [Thu, 19 Feb 2015 13:07:21 +0000 (16:07 +0300)]
0024646: Wrong result done by Boolean Operation algorithm

1. class BOPAlgo_PaveFiller
   method void BOPAlgo_PaveFiller::PerformEF()
   Do not create intersection vertices in case if it lies ON the boundary of the face.
2. class IntTools_Context
   New method
    Standard_Boolean IntTools_Context::IsPointInFace
        (const gp_Pnt& aP,
         const TopoDS_Face& aF,
         const Standard_Real aTol)
   has been implemented to check if the point IN the face.
3. class IntTools_EdgeFace
    void IntTools_EdgeEdge::FindBestSolution(const Standard_Real aT11,
                                         const Standard_Real aT12,
                                         const Standard_Real aT21,
                                         const Standard_Real aT22,
                                         Standard_Real& aT1,
                                         Standard_Real& aT2)
   Treatment of the touching cases.

Test cases for issue CR24646

Correction of test cases for issue CR24646

6 years ago0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type...
mkv [Thu, 19 Feb 2015 12:18:26 +0000 (15:18 +0300)]
0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type Intersection

Test case for issue CR25729

6 years ago0025753: BRepOffsetAPI_ThruSections fails for a case with open sections
jgv [Thu, 19 Feb 2015 12:42:27 +0000 (15:42 +0300)]
0025753: BRepOffsetAPI_ThruSections fails for a case with open sections

Test cases for issue CR25753

Deleting ttest cases for issue CR25753

6 years ago0025136: Visualization - fix multiple Aspect_ColorScale usage issues
isz [Thu, 19 Feb 2015 09:53:55 +0000 (12:53 +0300)]
0025136: Visualization - fix multiple Aspect_ColorScale usage issues

Update documentat if the class.
SetColor() and SetLabel() now work with 0-based index.
SetColor() now checks length of myColors.
Remove methods GetCurrentColor() and GetCurrentLabel().
Methods GetColor() and GetLabel() now can be used to get user-specified and default colors / labels.
Round down IntervNumber in FindColor().
DrawScale() - show labels even for one interval.

Redesign Draw Harness command vcolorscale, provide new options.
Update test cases which use vcolorscale command.

6 years ago0025823: Self Intersecting wire translated from STEP file
akz [Thu, 19 Feb 2015 12:14:11 +0000 (15:14 +0300)]
0025823: Self Intersecting wire translated from STEP file

The number of points to divide the edge curve on a segments to compute a
boundary box does not provide a good tolerance. So a resultant boundary
box has an incorrect bounds. As a result the intersection near to a
tangent of curve does not detected.

Test case for issue CR25823

6 years ago0025806: Stack overflow during meshing
oan [Thu, 19 Feb 2015 12:10:25 +0000 (15:10 +0300)]
0025806: Stack overflow during meshing

Test-case for issue #25806

6 years ago0025824: Infinite presentations should be excluded when computing gravity center...
vsr [Thu, 12 Feb 2015 13:42:58 +0000 (16:42 +0300)]
0025824: Infinite presentations should be excluded when computing gravity center of the view scene

6 years ago0025838: Wrong result obtained by General Fuse operator.
pkv [Thu, 19 Feb 2015 12:02:32 +0000 (15:02 +0300)]
0025838: Wrong result obtained by General Fuse operator.

class BOPTools_AlgoTools
   Standard_Boolean BOPTools_AlgoTools::GetFaceOff
  (const TopoDS_Edge& theE1,
   const TopoDS_Face& theF1,
   BOPTools_ListOfCoupleOfShape& theLCSOff,
   TopoDS_Face& theFOff,
   Handle(IntTools_Context)& theContext)
   has been changed.
   The comparison of the angles done with the angular tolerance value

Test case for issue CR25838

6 years ago0025819: Bad result of BOP cut on valid shapes
nbv [Thu, 19 Feb 2015 12:00:01 +0000 (15:00 +0300)]
0025819: Bad result of BOP cut on valid shapes

1. Algorithm of adjusting parameter to the surface boundaries has been changed.
2. Control First and Last parameters in BRepLib_CheckCurveOnSurface::Compute() function.

Test cases for issue CR25819

6 years ago0025803: Defective tests contaminating current directory
apn [Thu, 19 Feb 2015 11:57:12 +0000 (14:57 +0300)]
0025803: Defective tests contaminating current directory

Test cases save results in directory pointed by ${imagedir} Tcl variable. File names are initialized in scripts and passed to DRAW command as argument.
Tests User Guide was updated.

Remarks were corrected

6 years ago0025816: IGES export - edges within compound are lost if BREP mode (IGES 5.1) is...
abv [Tue, 10 Feb 2015 19:50:51 +0000 (22:50 +0300)]
0025816: IGES export - edges within compound are lost if BREP mode (IGES 5.1) is used

Enable writing wires, edges, and vertices inside compound in IGES in BREP mode.
Create IGES group for compound even if it contains single shape.

6 years ago0025720: Incorrect code of math classes can lead to unpredicted behavior of algorithms
azn [Thu, 22 Jan 2015 12:19:05 +0000 (15:19 +0300)]
0025720: Incorrect code of math classes can lead to unpredicted behavior of algorithms

The calling of virtual methods has been removed from constructors & destructors:


6 years agoAdjusting testing case due to changes in algorithm behavior.
mkv [Fri, 13 Feb 2015 14:21:53 +0000 (17:21 +0300)]
Adjusting testing case due to changes in algorithm behavior.

6 years agoAdjusting new testing cases
bugmaster [Fri, 13 Feb 2015 14:00:52 +0000 (17:00 +0300)]
Adjusting new testing cases

6 years ago0025699: Crash while importing STeP file
akz [Fri, 13 Feb 2015 13:34:08 +0000 (16:34 +0300)]
0025699: Crash while importing STeP file

1) Try-catch block was added on a StepToTopoDS_TranslateEdgeLoop::Init() to
catch Standard_ConstructionError during the Curve conversion.

2) Checks of BSpline curve degree added to prevent construction error when converting edges to BSpline_Curve.
3) Warning message was added in case of incorrect curve definition.

Correct of the test cases according to the new error message added with fix


Modified test cases according to new reference data

6 years ago0025779: Unable to compile math package in WOK
azn [Mon, 9 Feb 2015 08:05:45 +0000 (11:05 +0300)]
0025779: Unable to compile math package in WOK

Source files for math cdl-classes have been recovered.

6 years ago0025822: Visualization, TKOpenGl - front material should be used instead of back...
kgv [Thu, 12 Feb 2015 12:49:22 +0000 (15:49 +0300)]
0025822: Visualization, TKOpenGl - front material should be used instead of back material within distinguish mode turned off

add test case v3d/glsl/distinguish_off

6 years ago0025624: Visualization - selection is incorrect in perspective mode in a specific...
vpa [Thu, 12 Feb 2015 08:48:05 +0000 (11:48 +0300)]
0025624: Visualization - selection is incorrect in perspective mode in a specific case

Corrected computation of picking line for perspective camera;
Test case for issue 25624.

6 years ago0024255: Regressions in test cases on OCCT vc9 win64 Release
ifv [Thu, 12 Feb 2015 11:38:39 +0000 (14:38 +0300)]
0024255: Regressions in test cases on OCCT vc9 win64 Release

Updated test-cases from branch CR24255_3

0024255: Regressions in test cases on OCCT vc9 win64 Release

Small refactoring.

Fix for CASE bugs modalg_5 bug25298_09: FAILED (error)

Test-cases correction (bugs modalg_5 bugs25804_1, bug25704_2)

6 years ago0025772: Boolean operation produces invalid result after patch for 0025416
nbv [Thu, 5 Feb 2015 14:12:21 +0000 (17:12 +0300)]
0025772: Boolean operation produces invalid result after patch for 0025416

Test case for this issue was added

6 years ago0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type...
ifv [Thu, 12 Feb 2015 09:18:56 +0000 (12:18 +0300)]
0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type Intersection

Test case for issue CR25729

6 years ago0025814: Visualization, Prs3d_WFShape::AddPolygon() - always use polygonal representa...
osa [Wed, 11 Feb 2015 13:14:05 +0000 (16:14 +0300)]
0025814: Visualization, Prs3d_WFShape::AddPolygon() - always use polygonal representation from edge regardless from requested deflection

6 years ago0025757: distmini returns wrong solution for ellipse/vertex
aml [Thu, 12 Feb 2015 09:14:27 +0000 (12:14 +0300)]
0025757: distmini returns wrong solution for ellipse/vertex

Analytical handling of degenerated cases added.

Test case for issue CR25757

Correction of test case for issue CR25757

6 years ago0024881: Wrong status returned by ShapeFix_Wire::FixGaps3d () operation
akz [Thu, 12 Feb 2015 09:08:05 +0000 (12:08 +0300)]
0024881: Wrong status returned by ShapeFix_Wire::FixGaps3d () operation

The reason of FAIL status of FixGaps3d is that the trying to convert
curves to BSplines on valid edges (both adjacent points saticfy a
precision) leads to skipping of the convertation and gives wrong status.

Check of the gap on adjacent points before try ro convert curves was added.

Test-case for issue #24881

6 years ago0025810: Exception in extrema operation.
aml [Thu, 12 Feb 2015 09:04:55 +0000 (12:04 +0300)]
0025810: Exception in extrema operation.

Fixed computation of number of analytic intersection points.

Test case for issue CR25810