occt.git
7 years ago0023340: The values of different enum types are compared: switch(ENUM_TYPE_A) { case...
Pawel [Fri, 20 Jul 2012 14:56:01 +0000]
0023340: The values of different enum types are compared: switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. StepToTopoDS.cxx

Corrected the used enumeration type.

7 years ago0023325: Always getting the transparency of the back face
Pawel [Wed, 18 Jul 2012 10:53:47 +0000]
0023325: Always getting the transparency of the back face

Added the 'breaks' in the affected 'switch' statement.

7 years ago0023319: Typo in AIS_ConcentricRelation.cxx line 156
Pawel [Wed, 18 Jul 2012 10:42:02 +0000]
0023319: Typo in AIS_ConcentricRelation.cxx line 156

Checking if the 'Vertex2' (NOT 'Vertex1') is on plane in order to project it.

7 years ago0023320: The body of 'OpenCollector' function is fully equivalent to the body of...
Pawel [Wed, 18 Jul 2012 10:43:54 +0000]
0023320: The body of 'OpenCollector' function is fully equivalent to the body of 'CloseCollector' function

When opening the collector setting the corresponding flag to Standard_False.

7 years ago0023326: The 'aSibling' pointer was utilized before it was verified against nullptr...
Pawel [Wed, 18 Jul 2012 12:50:45 +0000]
0023326: The 'aSibling' pointer was utilized before it was verified against nullptr. ldom_element.cxx

Verifying pointer against NULL before accessing it.

7 years ago0023317: Using the iteration variable in the inner and outer loop in GGraphic2d_SetOf...
Pawel [Wed, 18 Jul 2012 08:48:50 +0000]
0023317: Using the iteration variable in the inner and outer loop in GGraphic2d_SetOfCurves.cxx

Replaced the iteration variable for the internal loop.

7 years ago0023318: If statement equal to else statement in AIS_ConcentricRelation.cxx, lines...
Pawel [Wed, 18 Jul 2012 10:40:06 +0000]
0023318: If statement equal to else statement in AIS_ConcentricRelation.cxx, lines 108-115

Corrected the else-clause.

7 years ago0023277: Buffer underflow using memset in osd_path.cxx
Pawel [Fri, 13 Jul 2012 13:40:22 +0000]
0023277: Buffer underflow using memset in osd_path.cxx

The parameter used in memset matches the buffer size.

7 years ago0023322: Identical sub-expressions 'MyCView.Orientation.ViewReferencePoint.y != float...
Pawel [Wed, 18 Jul 2012 10:48:11 +0000]
0023322: Identical sub-expressions 'MyCView.Orientation.ViewReferencePoint.y != float (Y)'

Changed the duplicate 'y' to 'z'.

7 years ago0023315: Duplicate comarison in an if-clause ib Prs2d_ToleranceFrame.cxx
Pawel [Wed, 18 Jul 2012 08:44:57 +0000]
0023315: Duplicate comarison in an if-clause ib Prs2d_ToleranceFrame.cxx

Testing the length of 'myTxt2'  instead of 'myTxt1' twice.

7 years ago0023342: Changing of OCCT tests according to integration of 23.07.2012
vtn [Mon, 23 Jul 2012 11:53:47 +0000]
0023342: Changing of OCCT tests according to integration of 23.07.2012

Tests are changed according to current state of OCCT.

7 years ago0023280: Pointer to local array is stored outside the scope of this array.
Pawel [Fri, 13 Jul 2012 14:29:20 +0000]
0023280: Pointer to local array is stored outside the scope of this array.

Moved the array 'buff' so it can be visible while 'str' still refers to it.

7 years ago0023273: Avoid failures due to datadir commend when data files are not present
vtn [Fri, 20 Jul 2012 13:37:21 +0000]
0023273: Avoid failures due to datadir commend when data files are not present

Fix for #23273 issue.
Fix for #23273 issue (boolean/013/R9).
Modifications of tests according to #23260 issue.
Attempt to protect against hang-ups due to waiting for standard input
change of behaviour of offset/shape_type_i/D7 case.
Attempt to protect against hang-ups during initialization of menu in batch mode.
increase cpulimit for parallel incmesh.
#23260 is fixed. count_parallel is not needed anymore.
Deleted unused code.
change of behaviour of offset/shape_type_i/D7 case.
The fix was incorrect.
Second attempt to protect against hang-ups during initialization of menu in batch mode
correction of tests in order to awoid instability.
Elapsed time changed to CPU user time is performance tests.
Processing of errors on Windows.
Stop cpulimit killer if armed by test, after the test is completed

7 years ago0023260: Regression: Instability in parallel incmesh on Linux.
dbv [Fri, 20 Jul 2012 13:18:29 +0000]
0023260: Regression: Instability in parallel incmesh on Linux.

Added protection to the function which may have data race (according to the valgrind report).
Added protection to the BRepMesh_FastDiscretFace::RestoreStructureFromTriangulation function
Slight reordering to optimize use of mutex (lock once)
Now Standard_Mutex::SentryNested are created as named object.
Map inside TopTools_MutexForShapeProvider now store Handle_TopoDS_TShape as a key instead of TopoDS_Shape

7 years ago0023244: Bug of BRepClass_FaceClassifier: it does not take into account the tolerance
jgv [Fri, 20 Jul 2012 13:12:28 +0000]
0023244: Bug of BRepClass_FaceClassifier: it does not take into account the tolerance

7 years ago0023224: Empty result done by intersection algorithm
ama [Mon, 16 Jul 2012 15:13:20 +0000]
0023224: Empty result done by intersection algorithm

Remove the cutting of the original surface from IntCurveSurface_Inter to see how much it affects the correctness of the algorithm.

7 years ago0023265: cppcheck warning: Mismatching allocation and deallocation
Pawel [Thu, 12 Jul 2012 09:43:42 +0000]
0023265: cppcheck warning: Mismatching allocation and deallocation

Use pairs: new - delete (new - delete [] for arrays), malloc - free

7 years ago0023264: cppcheck warning: Logical conjunction always evaluates to false
Pawel [Thu, 12 Jul 2012 08:17:38 +0000]
0023264: cppcheck warning: Logical conjunction always evaluates to false

Replaced the '&&' operator with '||'. Otherwise the logical conjunction always evaluates to false.

7 years ago0023279: Accessing NULL pointer
Pawel [Fri, 13 Jul 2012 14:14:38 +0000]
0023279: Accessing NULL pointer

Assuring the pointer is not 'NULL'.

7 years ago0023259: MSVC: C4101 warning - unreferenced local variable
Pawel [Wed, 11 Jul 2012 12:11:56 +0000]
0023259: MSVC: C4101 warning - unreferenced local variable

Removed unreferenced variables

7 years ago0023278: Buffer underflow using memset in osd_host.cxx
Pawel [Fri, 13 Jul 2012 14:00:52 +0000]
0023278: Buffer underflow using memset in osd_host.cxx

Zero memory uses the size of the array.

7 years ago0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to...
Pawel [Mon, 16 Jul 2012 10:34:22 +0000]
0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to the left and to the right of the '-' operator"

Changed the redundant curve type Geom(2d)_BSplineCurve to Geom(2d)_BezierCurve.

7 years ago0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to...
Pawel [Mon, 16 Jul 2012 11:22:07 +0000]
0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to the left and to the right of the '-' operator"

The expression
Abs(PEP1.U()-PEP1.U())
changed to
Abs(PEP1.U()-PEP2.U())
In this case the points are equal and so the points number can be reduced to '1'.

7 years ago0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx
Pawel [Tue, 17 Jul 2012 13:31:40 +0000]
0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx

Verifying both affected indexes instead of one.

7 years ago0023308: A typo in if-clause, in TopOpeBRepDS_EXPORT.cxx
Pawel [Tue, 17 Jul 2012 14:08:11 +0000]
0023308: A typo in if-clause, in TopOpeBRepDS_EXPORT.cxx

Corrected typo in the if-clause.

7 years ago0023313: Return Standard_False in case of an unsupported case in IntAna_Curve.cxx
Pawel [Tue, 17 Jul 2012 15:38:18 +0000]
0023313: Return Standard_False in case of an unsupported case in IntAna_Curve.cxx

Return Standard_False in case of unsupported case.

7 years ago0023303: Expression always true in ShapeFix_Face.cxx
Pawel [Tue, 17 Jul 2012 12:43:45 +0000]
0023303: Expression always true in ShapeFix_Face.cxx

The two corrected if-clause conditions were always true.

In FixSmallAreaWire where the documentation says: "Detects wires with small area (that is less than 100*Precision::PConfusion(). Removes these wires if they are internal." and the bugfix conforms to this.

For 'NeedCheckSplitWire' option in the Perform method the same assumption is made although no documentation on this could be found.

7 years ago0023304: Copying constructor fails to copy both 'myIndx' variables.
Pawel [Tue, 17 Jul 2012 13:07:03 +0000]
0023304: Copying constructor fails to copy both 'myIndx' variables.

Copy constructor corrected.

7 years ago0023311: Duplicated check in if-clause in ChFi2d_Builder_0.cxx
Pawel [Tue, 17 Jul 2012 14:58:53 +0000]
0023311: Duplicated check in if-clause in ChFi2d_Builder_0.cxx

Verifying that the second provided edge is neither a line nor a circle.

7 years ago0023307: Same variable value verified twice in TopOpeBRepTool_TOOL.cxx
Pawel [Tue, 17 Jul 2012 13:46:18 +0000]
0023307: Same variable value verified twice in TopOpeBRepTool_TOOL.cxx

Checking both variable values: onf, onl.

7 years ago0023300: ShapeFix_EdgeProjAux.cxx: line 283 - identical sub-expression in 'if-clause'
Pawel [Tue, 17 Jul 2012 12:23:53 +0000]
0023300: ShapeFix_EdgeProjAux.cxx: line 283 - identical sub-expression in 'if-clause'

Verifying also the last parameter in the if-clause.

7 years ago0023299: ShapeCustom_BSplineRestriction.cxx: line 732 - identical sub-expression...
Pawel [Tue, 17 Jul 2012 12:21:01 +0000]
0023299: ShapeCustom_BSplineRestriction.cxx: line 732 - identical sub-expression in 'if-clause'

Verifying both affected variables in the if-clause.

7 years ago0023301: Comparing variable to itself in ShapeUpgrade_WireDivide.cxx
Pawel [Tue, 17 Jul 2012 12:26:22 +0000]
0023301: Comparing variable to itself in ShapeUpgrade_WireDivide.cxx

Fixing self-comparison.

7 years ago0023276: Add generated files to .gitignore
abv [Tue, 17 Jul 2012 13:26:25 +0000]
0023276: Add generated files to .gitignore

Directories for generated files (projects, Visual Studio artifacts, Emacs backup files, test results) are added to .gitignore
Suppressed generated files.
Allow to use bat, sh, am, m4 and ac files in subdirectories.

7 years ago0023268: cppcheck warning: Using size of pointer WIDTHMAP instead of size of its...
Pawel [Thu, 12 Jul 2012 11:13:58 +0000]
0023268: cppcheck warning: Using size of pointer WIDTHMAP instead of size of its data.

Using the size of the array in bytes.

7 years ago0023261: Checking handle value against NULL
Pawel [Fri, 13 Jul 2012 13:31:19 +0000]
0023261: Checking handle value against NULL

Checking handles using the IsNull() method.
Minor correction of compilation error (missing parentheses in function call)

7 years ago0023258: Missing parenthesis
Pawel [Wed, 11 Jul 2012 10:43:07 +0000]
0023258: Missing parenthesis

Missing parenthesis added.

7 years ago0023250: Missing include in OSD_MemInfo.cxx
kgv [Wed, 11 Jul 2012 06:35:19 +0000]
0023250: Missing include in OSD_MemInfo.cxx

Function getpid() declared in "unistd.h" header on POSIX-compliant systems.
Fix compilation error with gcc 4.7 on Linux.

7 years ago0023253: Additional viewer 3d draw-commands vleft, vfront, ...
vro [Tue, 10 Jul 2012 07:21:58 +0000]
0023253: Additional viewer 3d draw-commands vleft, vfront, ...

New draw-commands vleft, vright, vbottom, vback and vfront.

7 years ago0023248: Wrong result done by solid classifier algorithm for infinite point
pkv [Fri, 6 Jul 2012 09:52:43 +0000]
0023248: Wrong result done by solid classifier algorithm for infinite point

7 years ago023263: Incorrect results displaying of QA command BUC60811 using "printf"
apn [Thu, 12 Jul 2012 14:00:17 +0000]
023263: Incorrect results displaying of QA command BUC60811 using "printf"

Modified command BUC60811

7 years ago0023201: Projection algorithm produces wrong results.
jgv [Thu, 5 Jul 2012 21:35:34 +0000]
0023201: Projection algorithm produces wrong results.

7 years ago0023257: Missing return statement
Pawel [Wed, 11 Jul 2012 10:12:29 +0000]
0023257: Missing return statement

Added missing return statement

7 years ago0023251: Crash during reading materials from STEP file for case when name of material...
gka [Mon, 9 Jul 2012 13:52:35 +0000]
0023251: Crash during reading materials from STEP file for case when name of material is not set.

Fix for case when materials in STEP file was written invalid way

7 years ago0023003: Photos of AIS Viewer are corrupted on Windows if tests are executed remotely
abv [Fri, 13 Jul 2012 12:09:09 +0000]
0023003: Photos of AIS Viewer are corrupted on Windows if tests are executed remotely

Default position of 3d viewer window created by vinit command is set to the right-left corner of the screen (0,0) to avoid problems on small screens, e.g. dummy remote desktops

Default position of 3d viewer window created by vinit command is set to be close to the right-left corner of the screen (0,0) to avoid problems on small screens, e.g. dummy screens of remote desktops

7 years ago0023226: Extend OpenGl_Context to store map of shared GPU resources
kgv [Fri, 13 Jul 2012 11:51:16 +0000]
0023226: Extend OpenGl_Context to store map of shared GPU resources

OpenGl_Resource was slightly corrected and OpenGl_Element was extended
with Release method to manage GPU resources.

OpenGl_PrimitiveArray now uses new OpenGl_VertexBuffer class (requires OpenGL 1.5+).
Strange workarounds for feedback mode were removed.

OpenGl_Context now provides access to shared GPU resources
and manages resources queue for delayed release
(replaces functionality of removed OpenGl_ResourceCleaner).
Loaded GL_ARB_texture_buffer_object and GL_ARB_draw_instanced extensions.

Global maps of views, workspaces and structures
were moved to OpenGl_GraphicDriver members.
UserDrawCallback() function moved to OpenGl_GraphicDriver methods.

Aspect_GraphicCallbackStruct now holds handle of OpenGl_Context
instead of system-dependent pointers to GL context definition.

New classes NCollection_Vec2, NCollection_Vec3 and NCollection_Vec4
implements interface to low-level data (points, vertices, colors) in GLSL-style.
Removed EnableVBO argument from vdrawparray Draw Harness command
Corrected compilation errors
Fixed wrong argument in Index VBO initialization
Fixed several cases of incorrect memory management in TKV3d

Visual3d_ViewManager::Remove()
Destroy structures before last view removed for correct GPU resources management.

Graphic3d_Structure::GraphicClear()
Remove groups to avoid usage of dead OpenGl_Group pointers.

V3d_View::Remove()
Fixed mistake in #0000280 patch.
Small correction
Fixed OCC280 test command

Replace removed view within created one in ViewerTest EventManager.
ViewerTest, do not create unused 3D view

In current design NIS_View always created and used for both - NIS objects and AIS objects.

7 years ago0023087: Upgrade of the OCCT test system
vtn [Fri, 13 Jul 2012 07:42:23 +0000]
0023087: Upgrade of the OCCT test system

Integration of new occt testing system

7 years ago0023123: Bug/Regression in visualization of XDE documents in shaded mode
dbv [Tue, 3 Jul 2012 14:55:57 +0000]
0023123: Bug/Regression in visualization of XDE documents in shaded mode

Added new group creation before adding styled item in XCAFPrs_AISObject::Compute

7 years ago0022850: Not stable fix 22735
dbv [Fri, 6 Jul 2012 12:08:21 +0000]
0022850: Not stable fix 22735

Class TopTools_MutexForShapeProvider has been created
Class contain methods:
TopTools_MutexForShapeProvider::CreateMutexesForSubShapes - Creates and associates mutexes with each sub-shape of type theType in theShape.
TopTools_MutexForShapeProvider::CreateMutexForShape - Creates and associates mutex with theShape
TopTools_MutexForShapeProvider::GetMutex - Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL.

Added method RemoveAllMutexes to TopTools_MutexForShapeProvider
Assign operator in MutexProvider, constructor and operator and assign operator in Standard_Mutex now private
Replaced TopExp_Explorer with TopoDS_Iterator to avoid cyclic dependence

7 years ago0023157: Exception reading STEP file in Debug mode
szv [Tue, 15 May 2012 10:38:08 +0000]
0023157: Exception reading STEP file in Debug mode

Unsafe Debug printout was removed.

7 years ago0023219: Triangulation is not built on a planar face
oan [Fri, 6 Jul 2012 11:59:17 +0000]
0023219: Triangulation is not built on a planar face

7 years ago0023218: Wrong value of tolerance for the intersection curve.
pkv [Fri, 6 Jul 2012 11:55:23 +0000]
0023218: Wrong value of tolerance for the intersection curve.

7 years ago0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++
dbv [Mon, 25 Jun 2012 07:31:40 +0000]
0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++

7 years ago0023175: Failed to segment a periodic B-Spline when parameter coincides with existing...
dbv [Thu, 21 Jun 2012 13:17:14 +0000]
0023175: Failed to segment a periodic B-Spline when parameter coincides with existing knot

7 years ago0023238: TKOpenGl glext header conflicts with system headers
kgv [Tue, 3 Jul 2012 12:45:17 +0000]
0023238: TKOpenGl glext header conflicts with system headers

7 years ago0023227: New Draw Harness command to estimate current geometry complexity of OpenGL...
kgv [Wed, 27 Jun 2012 12:41:03 +0000]
0023227: New Draw Harness command to estimate current geometry complexity of OpenGL scene

New command vfeedback proposed to capture GL info using GL_FEEDBACK functionality

7 years ago0023195: A method ShapeFix_Face::FixPeriodicDegeneratedMode() is not implemented
vro [Thu, 7 Jun 2012 12:08:37 +0000]
0023195: A method ShapeFix_Face::FixPeriodicDegeneratedMode() is not implemented

Implementation of the method ShapeFix_Face::FixPeriodicDegeneratedMode().

7 years ago0023197: Draw executable do not detect update of environment variables on Windows.
abv [Thu, 28 Jun 2012 13:48:50 +0000]
0023197: Draw executable do not detect update of environment variables on Windows.

New DRAW commands dgetenv and dsetenv are added, allowing to query and set environment variables as defined in C subsystem, from Tcl.

On Windows, special handler is armed in DrawDefaults providing automatic update of C environment when Tcl environment (array env) is modified. Note that this is not needed on Linux (Tcl does this internally).

Fixed problem with "array get env" command.

Added comments to _update_c_env proc.

7 years ago0023152: Possibility to have echo of DRAW commands in log file
abv [Thu, 28 Jun 2012 13:46:43 +0000]
0023152: Possibility to have echo of DRAW commands in log file

Two commands are added in DRAW:

decho: allows switch on/off echo of commands and their results. When echo is on, all commands implemented as OCCT DRAW C procedures will be echoed to standard output, along with their result. This can be useful to trace process of execution of script evaluated by 'source' command.

dlog: implements off-screen log for recording DRAW commands and their output for further processing in Tcl script (mainly for use in automatic tests). Run this command without arguments to get help.
Added ios::sync_with_stdio() call to Draw::BasicCommands.
Correction for compilation on Linux

7 years ago0023186: Unable to display Graphic3d_ArrayOfPoints after migrating from OCCT 6.5.2
san [Fri, 22 Jun 2012 07:33:53 +0000]
0023186: Unable to display Graphic3d_ArrayOfPoints after migrating from OCCT 6.5.2

GL_NONE replaced with PARRAY_DRAW_MODE_NONE to disambiguate with GL_POINTS
DRAW_MODE_NONE constant moved into OpenGl_PrimitiveArray class to avoid potential name collisions

7 years ago0023156: Image_PixMap::PixelColor() extended to return alpha value
vro [Fri, 22 Jun 2012 07:29:55 +0000]
0023156: Image_PixMap::PixelColor() extended to return alpha value

Implemented new method to provide access to alpha value in image.

Implemented new vreadpixel Draw Harness command to read
specified pixel value from 3D view.
vdump command - added result checks
Corrected misprint

7 years ago0023185: DrawAppliInit must be loaded from current directory
abv [Fri, 22 Jun 2012 07:19:15 +0000]
0023185: DrawAppliInit must be loaded from current directory

1. File src/DrawResources/DrawAppliInit removed;
   code loading QA commands moved from DrawAppliInit to DrawDefaults (temporarily)

2. In src/DrawResources/DrawDefaults:
   - change of tcl_precision removed (following advise in Tcl 8.5 documentation)
   - code loading file init.tcl removed as obsolete
   - if environment variable CSF_DrawAppliInit is defined, it is assumed to
     be the name of the application-defined file to load; otherwise
     it is searched as file DrawAppliInit in current directory

DrawAppliInit removed from FILES

7 years ago0023162: BRepOffsetAPI_MakePipeShell works wrong
eap [Fri, 22 Jun 2012 07:01:13 +0000]
0023162: BRepOffsetAPI_MakePipeShell works wrong
In ComputeOrigin(), superpose wire origins before checking distance between vertices
Fix for wires of one edge

7 years agoWrong bounding box for edge on periodic B-Spline with target
Roman Lygin [Sun, 20 May 2012 05:33:02 +0000]
Wrong bounding box for edge on periodic B-Spline with target
range beyond own range.
Improved consistency of 2D case with 3D

7 years ago0023101: TKOpenGl possible glext header conflicts
kgv [Fri, 15 Jun 2012 07:56:23 +0000]
0023101: TKOpenGl possible glext header conflicts

Fixed glext header conflict with system X11 gl.h on Mac OS X
System header provide syntactically different typedefs for some OpenGL functions (GLenum vs. GLint).
Fixed misprint in comments

7 years ago0023040: Annoying warnings in NCollection_Vector
kgv [Sat, 9 Jun 2012 04:38:40 +0000]
0023040: Annoying warnings in NCollection_Vector

Fixed initialization order of class members in constructors

7 years ago0023134: Updating Tutorial sample source code
dbv [Fri, 4 May 2012 15:26:16 +0000]
0023134: Updating Tutorial sample source code

7 years ago0023192: Regression in writestl command
szv [Wed, 6 Jun 2012 08:28:45 +0000]
0023192: Regression in writestl command

Processing of arguments in 'writestl' command is corrected

7 years ago0023188: Regression in SCATexturedShape in SSP sample
san [Tue, 5 Jun 2012 16:32:09 +0000]
0023188: Regression in SCATexturedShape in SSP sample

OpenGl_View::RedrawLayer2d()
- lighting and 1D/2D texturing disabled so as
not to interfere with layer drawing, layer items should enable
textures if necessary and disable them at the end;
- French comments removed;
- redundant lighting state changes removed

OpenGl_GraphicDriver::BeginLayer()
- useless code enabling 2D textures removed

7 years ago0023182: During STEP translation isn't checked for validity flag IsClosed
ama [Fri, 8 Jun 2012 08:37:19 +0000]
0023182: During STEP translation isn't checked for validity flag IsClosed

Added check for consistency properties of closure and existence of free boundaries in shell (modified ShapeFix_Shell::Perform()
Added new message in SHMessage/SHAPE.us)

7 years ago0023174: BRepLib_MakeFace(Wire) creates an invalid face on a wire of cylinder bottom
eap [Fri, 8 Jun 2012 08:34:06 +0000]
0023174: BRepLib_MakeFace(Wire) creates an invalid face on a wire of cylinder bottom
Is2DClosed() added to reject an improper existing surface
Add OnlyClosed=Standard_False argument
Call BRepLib_FindSurface with OnlyClosed=Standard_True
fix Is2DClosed() to check intermediate points of wire in 2D
fix Is2DClosed() - correct tolerance used for the last point
fix Is2DClosed() - correct getting 2d points to compare

7 years ago0022914: Incorrect name LRELASE is used in *.pro files
bugmaster [Mon, 4 Jun 2012 12:31:21 +0000]
0022914: Incorrect name LRELASE is used in *.pro files

7 years ago0023170: Bug of creating a full sphere face
abv [Thu, 24 May 2012 05:51:11 +0000]
0023170: Bug of creating a full sphere face

Method ElSLib::SphereVIso() is protected against creation of circle with negative radius when |V| > PI/2; now the circle on analytic continuation of sphere behind poles is returned in this case (thus always with positive or zero radius)

7 years ago0023172: Added workaround for BUGs in Intel OpenGL drivers
kgv [Thu, 24 May 2012 06:03:23 +0000]
0023172: Added workaround for BUGs in Intel OpenGL drivers

Check GL context already bound before wglMakeCurrent() call.

7 years ago0022884: The attached face cannot be displayed in shading mode
oan [Fri, 25 May 2012 12:17:12 +0000]
0022884: The attached face cannot be displayed in shading mode

BRepMesh_Delaun class has been corrected
Extended checking of segments intersection
SquareModulus is used
Detail checking of intersection
Zero division checking
Right segment intersection in MeshPolygon + coding standard
eliminating the test variable
Cleaning up the polygon from internal triangles

7 years ago0023158: ApproxInt_PrmPrmSvSurfaces raises FPE (division by zero) signal
vsr [Thu, 17 May 2012 06:24:01 +0000]
0023158: ApproxInt_PrmPrmSvSurfaces raises FPE (division by zero) signal

Prevent division by zero in ApproxInt_PrmPrmSvSurfaces::Compute

7 years ago0023160: Cut operation with the attached shapes produces a not correct result.
emv [Fri, 18 May 2012 08:31:31 +0000]
0023160: Cut operation with the attached shapes produces a not correct result.

7 years ago0023021: MeshVS_DataSource::GetNormalsByElement returns Standard_False and gives...
Pawel [Fri, 13 Apr 2012 11:38:52 +0000]
0023021: MeshVS_DataSource::GetNormalsByElement returns Standard_False and gives no result even when all normals are OK

If all normals are correctly computed using GetNodeNormal the variable 'res' is never set to Standard_True and the normals are not passed to the variable 'Normals' that is supposed to hold the result of the computation.

7 years ago0023047: Behaviour of XDE sample is non-stable
dbv [Fri, 25 May 2012 11:00:08 +0000]
0023047: Behaviour of XDE sample is non-stable
Changed behavior of XCAFDoc_ShapeTool::RemoveShape(const TDF_Label& L) function. Now if L is a location for a shape then function will also removes the label with a shape.
Added Boolean argument to the XCAFDoc_ShapeTool::RemoveShape function which allow to choose either to delete an instance or a complete shape. (Standard_True by default, removes complete shape).

7 years agoCorrection of compilation error
bugmaster [Mon, 21 May 2012 07:20:39 +0000]
Correction of compilation error

7 years ago0023136: Increase visibility of DRAW samples
abv [Fri, 18 May 2012 11:05:29 +0000]
0023136: Increase visibility of DRAW samples

Tcl samples moved from src/DrawResources to samples/tcl.
Scripts VisualisationDemo.tcl and ModelingDemo.tcl fixed to work on Windows.
File wing.brep moved from src/DrawResources to data/occ, and DataExchangeDemo.tcl corrected.
OCAFDemo.tcl removed, as it has little sense and referred data files are lost
Added sample Tcl script creating a model defined on the 'Open CASCADE challenge' web page

7 years ago0023148: Error in stepstrcmp
gka [Fri, 11 May 2012 12:59:04 +0000]
0023148: Error in stepstrcmp

Fix for reading complex entities in STEP reader

7 years ago0022903: DeviationAngle from AIS_InteractiveContext returns constant value
Pawel [Mon, 16 Apr 2012 13:12:07 +0000]
0022903: DeviationAngle from AIS_InteractiveContext returns constant value
Returning myDefaultDrawer->DeviationAngle() instead of a constant value

7 years ago0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last...
jgv [Sat, 12 May 2012 11:28:11 +0000]
0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve

7 years ago0023151: Add command line option to DRAWEXE to execute specified command
abv [Fri, 11 May 2012 10:29:52 +0000]
0023151: Add command line option to DRAWEXE to execute specified command

New command line option -c added to DRAWEXE: if it is given, the following arguments are considered as commands to be executed by DRAW after start.
When options -f or -c are used, DRAW exits after completion of the script unless option -i is given.
Option -l is removed as obsolete (not needed anymore due to appearance of option -v).
Option -h (or --help) is added, giving help on command options.
Reporting of unrecognized options added.
On Windows, when run in interactive mode, extended error reporting in case of DLL loading problems activated.

7 years ago0023100: Wrong adjustment of p-curves on a cylinder
pkv [Thu, 12 Apr 2012 04:20:32 +0000]
0023100: Wrong adjustment of p-curves on a cylinder

7 years ago0022939: Make B-Spline internal cache thread-safe to be used in multy-threaded mode
abv [Fri, 4 May 2012 11:51:20 +0000]
0022939: Make B-Spline internal cache thread-safe to be used in multy-threaded mode

Internal cache in classes implementing b-spline curves and surface in Geom and Geom2d packages is protected from possible concurrency by mutex (added as a class field in each instance).

7 years ago0023131: Unhandled case in void CSLib::Normal(...)
abv [Fri, 4 May 2012 08:18:10 +0000]
0023131: Unhandled case in void CSLib::Normal(...)

Case of extrema failure is handled together with case of no solutions found.
Local variable Vsuiv is initialized by zero to avoid compiler warning.

7 years ago0023114: Extrema algorithm throws the exception.
pkv [Tue, 17 Apr 2012 07:15:26 +0000]
0023114: Extrema algorithm throws the exception.

7 years ago0022826: Increasiong of perfomance of fixes applied during translation of STEP files.
ama [Mon, 16 Apr 2012 08:17:31 +0000]
0022826: Increasiong of perfomance of fixes applied during translation of STEP files.
Modification draw command "proj" and class GeomAPI_ProjectPointOnSurf: adding the ability to use UBTree algorithm to find projection in Extrema_GenExtPS.

7 years ago0022883: Extrema can not find projection of 3D point on surface.
ama [Sat, 5 May 2012 13:04:19 +0000]
0022883: Extrema can not find projection of 3D point on surface.

Optimization of process of surface discretization: increase the number of parametric points in case of a complex surface geometry (BSpline and Bezier surfaces).
Small correction process of building subgrid in Extrema_GenExtPS::FindSolution().
Minor corrections (formatting, duplicate statements)

7 years ago0023103: Regression in bsection
pkv [Fri, 20 Apr 2012 04:00:49 +0000]
0023103: Regression in bsection

7 years ago0023029: split shape algorithm works incorrectly in some cases
epa [Sat, 5 May 2012 12:32:03 +0000]
0023029: split shape algorithm works incorrectly in some cases

Correct handling of periodic bsplines in extrema. If range of edge is out of the period, interval boundaries should be recomputed
Face orientation is changed to forward for simplification of wires collection regressions were fixed
Bounding box for periodic splines is corrected

7 years ago0023071: Comparison of file extension is case sensitive
szy [Sat, 5 May 2012 12:26:50 +0000]
0023071: Comparison of file extension is case sensitive

Fix makes a temporary copy of the filename and its extension and converts both to lowercase for comparison.

7 years ago0023124: Porting products samples on OCCT 6.5.3
bugmaster [Mon, 30 Apr 2012 10:12:13 +0000]
0023124: Porting products samples on OCCT 6.5.3
Removed redundant scripts from samples/qt/Common and samples/qt/Interface folders
Fixed Linux scripts for Tutorial and ImportExport samples

7 years agoAdding missing EOL at the end of file
bugmaster [Wed, 25 Apr 2012 13:33:13 +0000]
Adding missing EOL at the end of file

7 years ago0023095: Porting demo and samples on OCCT 6.5.3 V6_5_3
bugmaster [Tue, 24 Apr 2012 13:47:31 +0000]
0023095: Porting demo and samples on OCCT 6.5.3

Fix for paths in *.vcproj files in MFC sample
Fixed scripts for QT samples on Linux platform

7 years agoCorrection of files of qt samples for generation VS projects
dbv [Mon, 23 Apr 2012 07:57:19 +0000]
Correction of files of qt samples for generation VS projects

7 years ago0023095: Porting demo and samples on OCCT 6.5.3
dbv [Sat, 21 Apr 2012 09:47:03 +0000]
0023095: Porting demo and samples on OCCT 6.5.3

7 years ago0023115: Polygon offset doesn't applied in Viewer3D sample
san [Fri, 20 Apr 2012 06:27:13 +0000]
0023115: Polygon offset doesn't applied in Viewer3D sample

Graphic3d_AspectFillArea3d: use Aspect_POM_Fill polygon offset mode by default

Graphic3d_Group: disable texture mapping if invalid texture ID is specified

AIS_InteractiveObject: remove Fill() method, polygon offset parameters
should be applied explicitly in Compute() method or by SetPolygonOffsets()

AIS_TexturedShape: Compute() now takes polygon offsets into account