8 years agoAdding test cases
apn [Thu, 20 Jun 2013 08:31:58 +0000 (12:31 +0400)]
Adding test cases

for following issues:

0023823: The result of section operation contains redundant vertex
0023826: Boolean Common between two solids fails
0023884: Boolean Fuse between two faces fails
0023892: Missing intersection curve between two surfaces
0023976: Extremely high memory consumption on boolean operation on 64 bits
0023991: Missing section edge between two faces
0024003: Exception reaised during intersection between two faces

8 years ago0024025: The method Modified2() in BRepAlgoAPI_BooleanOperation should be removed.
emv [Thu, 20 Jun 2013 11:48:11 +0000 (15:48 +0400)]
0024025: The method Modified2() in BRepAlgoAPI_BooleanOperation should be removed.
Removed method BRepAlgoAPI_BooleanOperation::Modified2(const TopoDS_Shape& aS) as it is no longer relevant (in the previous version of BOP it had used History collector to find modified shapes, but there is no such collector in current version of BOP). The replacement for this method is BRepAlgoAPI_BooleanOperation::Modified(const TopoDS_Shape& aS).
Small correction of test case

8 years ago0023998: Bad result of intersection of two faces: curve has a loop
jgv [Thu, 20 Jun 2013 11:46:20 +0000 (15:46 +0400)]
0023998: Bad result of intersection of two faces: curve has a loop
Add test case for this fix

8 years ago0022834: Instable case testing 3d offset algorithm (problem with cone-like surfaces)
mkv [Thu, 20 Jun 2013 08:50:51 +0000 (12:50 +0400)]
0022834: Instable case testing 3d offset algorithm (problem with cone-like surfaces)
Small correction of test case

8 years ago0024031: Depth buffer writes not enabled after rendering a transparent object
san [Mon, 17 Jun 2013 13:09:59 +0000 (17:09 +0400)]
0024031: Depth buffer writes not enabled after rendering a transparent object

Depth buffer writes manipulation made independent from the reflection mode flags
to ensure correct depth buffer operation after rendering transparent object(s).
Coding style improved slightly by using more human-readable variable name for
the reflection mode.

8 years ago0023959: Getting rid of generic classes in Visualization: generic classes were remove...
aba [Thu, 20 Jun 2013 11:28:40 +0000 (15:28 +0400)]
0023959: Getting rid of generic classes in Visualization: generic classes were removed from Prs3d

Errors corrections; DsgPrs_DatumTool class was removed as unused

8 years ago0024030: Undefined reference to `NCollection_IncAllocator::DefaultBlockSize'.
emv [Mon, 17 Jun 2013 10:30:59 +0000 (14:30 +0400)]
0024030: Undefined reference to `NCollection_IncAllocator::DefaultBlockSize'.

8 years agoRenaming shape extension of test case
bugmaster [Fri, 14 Jun 2013 11:05:17 +0000 (15:05 +0400)]
Renaming shape extension of test case

8 years ago0023939: Incorrect circle parameter in IntAna
vro [Fri, 14 Jun 2013 08:14:35 +0000 (12:14 +0400)]
0023939: Incorrect circle parameter in IntAna
Adding testing case

8 years ago0023889: Assignment of function parameter has no effect outside the function.
vro [Thu, 13 Jun 2013 11:38:17 +0000 (15:38 +0400)]
0023889: Assignment of function parameter has no effect outside the function.

Voxel_ROctBoolDS::SetZeroSplitData() is modified to accept an address of a pointer to deleting data.
Removal of a compilation error on Linux.
Compile error on Linux platform was fixed

8 years ago0023939: Incorrect circle parameter in IntAna
pdn [Thu, 13 Jun 2013 11:28:55 +0000 (15:28 +0400)]
0023939: Incorrect circle parameter in IntAna

Fix for circle circle intersection in case of one point touching
Test command added

8 years ago0023894: Voxel_BooleanOperation (Cut) gives incorrect results
Pawel [Thu, 13 Jun 2013 11:19:29 +0000 (15:19 +0400)]
0023894: Voxel_BooleanOperation (Cut) gives incorrect results

Implemented a new method using separating axis theorem to compute triangle-box intersection. Based on the intersection result the decision whether to set the voxel is made.
Adjustment of lines (removal of extra-spaces).
Adding test cases for voxel testing

8 years ago0023995: GeomAPI_ExtremaCurveSurface : wrong result between a curve and a plane
jgv [Thu, 13 Jun 2013 11:14:37 +0000 (15:14 +0400)]
0023995: GeomAPI_ExtremaCurveSurface : wrong result between a curve and a plane
Adding test case for this fix

8 years ago0023706: Cannot project point on curve
nbv [Thu, 13 Jun 2013 11:12:06 +0000 (15:12 +0400)]
0023706: Cannot project point on curve

1.   Approximation of derivative (by Taylor-series and by three points).
2.   Some methods (Degree(), GetType(), D0(), D3(), DN()) are added.
3.   Getting of subInterval's boundaries.
4.   Algorithm for checking if 1st derivative is equal to zero is amended.
5.   Cases are controlled when extrema or Project point do not exist.
6.   GetNormal() function for gp_Vec2d was added.
7.   Computing of Value, D0, D1, D2 and D3 for offset curves was changed.
8.   Limitation of tolerance for derivative computing was added.
9.   Methods for computing trihedron in singularity point are added.
10. Test tests/bugs/moddata_3/bug23706 is added.
11. Restriction on the LastParameter for visualization of 3-D curves. Calling PlotCurve(...) function for last interval.
12. LProp package is modified for tangent computing in singularity point (LProp_CLProps, LProp_SLProps).
13. Added test cases for issue.
Deleting bad test cases for this fix

8 years ago0024016: Test case bugs moddata_2 bug324 works not correct after integration of the...
emv [Thu, 6 Jun 2013 08:16:38 +0000 (12:16 +0400)]
0024016: Test case bugs moddata_2 bug324 works not correct after integration of the fix for the issue 0023985.
Do not perform the check for the height of the cylinder (see issue 0023985) for infinite cylinders.

8 years ago0023670: Support for multiple 3D views: edited commands: vinit; added commands: vclos...
aba [Thu, 13 Jun 2013 10:57:07 +0000 (14:57 +0400)]
0023670: Support for multiple 3D views: edited commands: vinit; added commands: vclose, vactivate, vviewlist
bugs/end script was edited to dump results from all opened views; duplicated vinit was deleted from bug625. QABugs::OCC280()
was edited to work with multiviews;ViewerInit() method was corrected. vviewlist command was modificated to output string.
Small corrections
Compile errors were corrected

8 years ago0024018: Voxel_FastConverter::Convert - avoiding unnecessary iterations when using...
Pawel [Thu, 6 Jun 2013 19:58:39 +0000 (21:58 +0200)]
0024018: Voxel_FastConverter::Convert - avoiding unnecessary iterations when using multiple threads

After processing 'end_thread_triangle' the method exits instead of just continuing the iteration.
Formatting adjusted.

8 years ago0024013: Voxel_FastConverter is able to use existing triangulation
Pawel [Thu, 13 Jun 2013 10:45:04 +0000 (14:45 +0400)]
0024013: Voxel_FastConverter is able to use existing triangulation

Added the possibility to use existing triangulation within Voxel_FastConverter.
A grammar mistake is corrected.

8 years ago0023952: Improving thread-safety of intersections, approximations and other modeling...
apn [Wed, 5 Jun 2013 06:34:49 +0000 (10:34 +0400)]
0023952: Improving thread-safety of intersections, approximations and other modeling algorithms

Modified QAcommands OCC23952sweep and OCC23952intersect to prevent exception in appropriate test cases

8 years ago0024004: Initialization of arrays TPoints, TEdges, TTriangles of the class IntPolyh_M...
emv [Thu, 30 May 2013 06:19:57 +0000 (10:19 +0400)]
0024004: Initialization of arrays TPoints, TEdges, TTriangles of the class IntPolyh_MaillageAffinage by exact values
This commit implements two ideas for current version of OCCT:
1. Initialization of the arrays of the class IntPolyh_MaillageAffinage by exact values. The idea suggested by Roman Lygin (http://opencascade.blogspot.fr/2008/12/why-are-boolean-operations-so-sloooooow.html [^]);
2. Optimizing for loops. The idea has been taken from OCE (https://github.com/tpaviot/oce/commit/7b19650b2902305709c5124823bd4b81331353f7 [^]).

8 years ago0023988: Force use of reentrant mode
szv [Fri, 24 May 2013 05:26:45 +0000 (09:26 +0400)]
0023988: Force use of reentrant mode

Reentrant mode switch is eliminated

8 years ago0024010: Voxel_DS: getting the origin point of a voxel
Pawel [Thu, 6 Jun 2013 06:21:21 +0000 (10:21 +0400)]
0024010: Voxel_DS: getting the origin point of a voxel
A method obtaining the voxel origin added.
1. (xc, yc, zc) is renamed to (x0, y0, z0)
2. The method GetCenter() calls now the method GetOrigin() internally to reduce amount of code and increase readability.

8 years ago0023501: Redundant triangulation cleaning/generation (1) in AIS_Shape.cxx
Pawel [Thu, 6 Jun 2013 06:13:30 +0000 (10:13 +0400)]
0023501: Redundant triangulation cleaning/generation (1) in AIS_Shape.cxx
Cleaning triangulation only if the AIS_Shape has either (1) OwnDeviationAngle and
the values 'newangle' and 'prevangle' are different or (2) OwnDeviationCoefficient and the values 'newcoeff' and 'prevcoeff' are different
Found similar problems in further code portions and corrected them.
The same faulty condition found in XCAFPrs_AISObject.cxx

8 years agoAdjusting testing cases for current state of OCCT
apn [Mon, 3 Jun 2013 10:45:39 +0000 (14:45 +0400)]
Adjusting testing cases for current state of OCCT

8 years agoUpdate source code
bugmaster [Fri, 31 May 2013 16:04:11 +0000 (20:04 +0400)]
Update source code

8 years ago0023935: Compiler warnings on returning Handle from C functions in OCAF schemas
vro [Fri, 31 May 2013 13:29:27 +0000 (17:29 +0400)]
0023935: Compiler warnings on returning Handle from C functions in OCAF schemas

The warning 4190 is disabled because a C++ object calling from C section is manipulating only in C++ (outside of C section).
Second attempt to remove the warning: extern "C" is removed - everything works fine. But I tested it only on Windows.
Removed "Create##schema" method at all: without "extern "C"" it is useless. Checked that in OCCT and Samples this method is unused.

"new ##Schema" is used instead (like in StdDrivers.cxx, for an example). Also this approach is advised in Storage_Schema.cdl:
     --   For example, if ShapeSchema is the class
     -- inheriting from Storage_Schema and containing
     -- the description of your application data schema,
     -- you create a storage/retrieval algorithm as follows:
     -- Handle(ShapeSchema) s = new
     -- ShapeSchema;

8 years ago0023985: There is no section between attached faces.
emv [Fri, 31 May 2013 13:17:34 +0000 (17:17 +0400)]
0023985: There is no section between attached faces.
Added new parameter for checking whether the plane and cylinder are parallel - the height of the cylinder.
This parameter is needed for the cases when angle between AXIS and plane's normal is very close to PI,
but the "height" is big enough that point, translated from intersection point between cylinder's axis and plane
on the "height" distance in the direction of cylinder's axis, does not belong to the plane.
Such plane and cylinder cannot be considered as parallel.
Add test case for this fix

8 years ago0023945: GeomAdaptor_Surface fails to compute the first derivatives on the surface...
ifv [Fri, 31 May 2013 13:13:38 +0000 (17:13 +0400)]
0023945: GeomAdaptor_Surface fails to compute the first derivatives on the surface of the attached face
Add test case for this fix
Add new draw-command OCC23945 for testing this fix
Add new draw-command for testing tis fix

8 years ago0023982: Wire explorer raises exception
ifv [Fri, 31 May 2013 13:10:17 +0000 (17:10 +0400)]
0023982: Wire explorer raises exception
Add test case for this fix

8 years ago0023970: Ignore dot-paths when searching for data files
abv [Fri, 17 May 2013 16:24:26 +0000 (20:24 +0400)]
0023970: Ignore dot-paths when searching for data files

8 years ago0023952: Improving thread-safety of intersections, approximations and other modeling...
Roman Lygin [Fri, 31 May 2013 13:04:58 +0000 (17:04 +0400)]
0023952: Improving thread-safety of intersections, approximations and other modeling algorithms

AdvApp2Var_SysBase::mcrgene_ size reduced from 1000 to 32 elements, and each element reworked into typed structure.
fixed IntAna_Curve.cxx to prevent access to #NAN# SigneSqrtDis
fixed alignment of doubles by 8 bytes, and minor corrections
Minor correction: static const N given more specific name (MAX_ALLOC_NB)
Added QAcommands OCC23952sweep and OCC23952intersect
Added test cases bugs/modalg_5/bug23952_1 bug23952_2

8 years ago0023944: Typo in ShapeCustom_RestrictionParameters leading to wrong approximation...
Roman Lygin [Fri, 31 May 2013 12:58:07 +0000 (16:58 +0400)]
0023944: Typo in ShapeCustom_RestrictionParameters leading to wrong approximation results
Add test case for this fix

8 years ago0023996: Width 50 given in format string (no. 2) is larger than destination buffer...
Pawel [Mon, 27 May 2013 09:06:42 +0000 (11:06 +0200)]
0023996: Width 50 given in format string (no. 2) is larger than destination buffer 'vale[50]'

Increased the size of the destination buffer to avoid possible overflow.

8 years ago0023965: Making unnecessary copies of TopoDS_Face in Voxel_FastConverter when checkin...
Pawel [Wed, 15 May 2013 15:24:43 +0000 (17:24 +0200)]
0023965: Making unnecessary copies of TopoDS_Face in Voxel_FastConverter when checking triangulation

Using reference of TopoDS_Face instead of a copy.
Checking if the obtained triangulation is not Null before continuing.

8 years ago0023966: Voxel_FastConverter performs unnecessary triangulation.
Pawel [Wed, 15 May 2013 15:53:23 +0000 (17:53 +0200)]
0023966: Voxel_FastConverter performs unnecessary triangulation.

Avoiding creating new triangulation in case a triangulation with a deflection value not greater than the one specified exists.

8 years ago0022831: Regression in boolean Cut - wrong result ( 6.5.2).
abv [Thu, 23 May 2013 10:57:11 +0000 (14:57 +0400)]
0022831: Regression in boolean Cut - wrong result ( 6.5.2).
Adding testing case

8 years ago0023946: Uninitialized variable aNewEdge3 used
abv [Tue, 7 May 2013 08:04:21 +0000 (12:04 +0400)]
0023946: Uninitialized variable aNewEdge3 used

Code for creation of extra edges in BRepMesh (special case) corrected

8 years ago239343: OCC fails to work with offset surfaces with singularities
Roman Lygin [Thu, 23 May 2013 10:52:21 +0000 (14:52 +0400)]
239343: OCC fails to work with offset surfaces with singularities
Add test cases for this fix

8 years ago0023850: TDataStd_ByteArray is too slow on storage on disk
vro [Thu, 23 May 2013 08:09:09 +0000 (12:09 +0400)]
0023850: TDataStd_ByteArray is too slow on storage on disk

Optimization of a byte-array for XML persistence (binary persistence is ok).
A possible bug is corrected (size of an array is extended a little).
Same improvement for storage of a TDataStd_TreeNode.
Improvement of speed of storage of several Ocaf attributes in XML file format.
Also, format of storage of a double value is extended to keep 17 digits after a decimal point (it was used only 15 digits before).
Several draw-commands are added to manipulate the basic Ocaf attributes:
A test-script for OCAF document successfully saved and opened from disk in XML file format.
+ 1 is added to keep '\0'
Removed several spaces in source files.
PLib_LocalArray is renamed to NCollection_LocalArray and became a template. It is used as a local array for Standard_Character in XML OCAF drivers, and as a local array of Standard_Real in PLib package.
Small correction of test case for this fix

8 years ago0023901: Memory leaks in tests.
omy [Thu, 23 May 2013 08:02:14 +0000 (12:02 +0400)]
0023901: Memory leaks in tests.
1. Removed cyclic reference. Removed field myCommonBlock from BOPDS_PaveBlock;
2. Added data map myMapPBCB in BOPDS_DS. It contains pairs (PaveBlock, CommonBlock);
3. All methods about common block have been shifted from BOPDS_PaveBlock to BOPDS_DS;
4. Test case bugs moddata_2 pro19422_2 has been rewritten to build the correct result.
Test case corrected (TODO removed)

8 years ago0023904: Multiple warning on Windows x86_64 target concerning WinAPI usage
kgv [Tue, 16 Apr 2013 09:03:05 +0000 (13:03 +0400)]
0023904: Multiple warning on Windows x86_64 target concerning WinAPI usage

8 years ago0023933: Self intersection reported after Fuse operation.
emv [Thu, 23 May 2013 07:55:08 +0000 (11:55 +0400)]
0023933: Self intersection reported after Fuse operation.

Additional check has been added in IntTools_BeanFaceIntersector::FastComputeExactIntersection() to prevent
creating an Edge/Face intersection for the case when edge lies on the surface of the face, but not on the face itself.
Adding test case for this fix

8 years agoAdjusting testing cases for current state of OCCT
apn [Fri, 17 May 2013 08:29:32 +0000 (12:29 +0400)]
Adjusting testing cases for current state of OCCT

8 years ago0023906: Performance of the projection algorithm in some cases became lower after...
emv [Thu, 16 May 2013 13:55:09 +0000 (17:55 +0400)]
0023906: Performance of the projection algorithm in some cases became lower after integration of the fix for the bug 0022610.
New search algorithm Extrema_ExtAlgo_Tree used in projection algorithm in Boolean Operations.
Extrema is set to search only min distance.
Add test case for this fix
Draw command projponf has been modified to provide possibility to change the default parameters of Extrema_ExtPS algorithm:
projponf f pnt [extrema flag: -min/-max/-minmax] [extrema algo: -g(grad)/-t(tree)]
-min - Extrema_ExtFlag_MIN;
-max - Extrema_ExtFlag_MAX;
-minmax - Extrema_ExtFlag_MINMAX (default);
-g - Extrema_ExtAlgo_Grad (default);
-t - Extrema_ExtAlgo_Tree;
projponf f pnt -min  - the parameters are Extrema_ExtFlag_MIN and Extrema_ExtAlgo_Grad;
projponf f pnt -t  - the parameters are Extrema_ExtFlag_MINMAX and Extrema_ExtAlgo_Tree;
projponf f pnt -min -t  - the parameters are Extrema_ExtFlag_MIN and Extrema_ExtAlgo_Tree;

8 years ago0023949: OCC IncAllocator allocates second and further blocks with different size...
pdn [Wed, 8 May 2013 11:49:25 +0000 (15:49 +0400)]
0023949: OCC IncAllocator allocates second and further blocks with different size then first one

NCollection_IncAllocator tuned to allocate blocks of equal size to reduce fragmentation and increase chances for block reuse

8 years ago0023938: Crash at StepToTopoDS_TranslateEdgeLoop::Init() &StepToTopoDS_TranslateEdge...
ika [Tue, 14 May 2013 10:29:28 +0000 (14:29 +0400)]
0023938: Crash at StepToTopoDS_TranslateEdgeLoop::Init() &StepToTopoDS_TranslateEdge::Init()
necessary checks were added

8 years ago0023960: Particular ViewerTest commands lack self-description
kgv [Wed, 15 May 2013 12:13:58 +0000 (16:13 +0400)]
0023960: Particular ViewerTest commands lack self-description

8 years ago0023748: Bad monitoring of intermediate results in offset commands
nbv [Thu, 16 May 2013 07:46:21 +0000 (11:46 +0400)]
0023748: Bad monitoring of intermediate results in offset commands

8 years ago0023953: Avoid unjustified use of $CASROOT and exporting to GIF in tests
abv [Sat, 11 May 2013 07:04:14 +0000 (11:04 +0400)]
0023953: Avoid unjustified use of $CASROOT and exporting to GIF in tests

Function locate_data_file is used instead of direct path in 3rdparty fonts tests
DE tests changed to produce PNG images

8 years ago0022766: Wrong results done by several algorithms for the case of intersection betwee...
ifv [Thu, 16 May 2013 07:38:13 +0000 (11:38 +0400)]
0022766: Wrong results done by several algorithms for the case of intersection between a surface of revolution and a plane
Add test case for this fix

8 years ago0023903: Invalid result of pipe operation on closed path
skv [Thu, 16 May 2013 07:35:11 +0000 (11:35 +0400)]
0023903: Invalid result of pipe operation on closed path
Add test case for this fix

8 years ago0023402: Issue in BRepAlgoAPI_Common - SOLID and FACE
bugmaster [Mon, 29 Apr 2013 12:13:25 +0000 (16:13 +0400)]
0023402: Issue in BRepAlgoAPI_Common - SOLID and FACE

Added test case bugs/modalg_5/bug23402

Rebased on current state of master

8 years ago0023771: Writing offset-based surfaces of revolution to IGES
ika [Thu, 16 May 2013 07:14:51 +0000 (11:14 +0400)]
0023771: Writing offset-based surfaces of revolution to IGES

Parameter to write offset curves like b-splines was added
Change function, which convert offset curves to b-splines
Added test command "test_offset"
Added test cases bugs/xde/bug23771_1 bug23771_2

8 years ago0023486: Remove obsolete image manipulation classes
kgv [Sat, 20 Apr 2013 07:25:18 +0000 (11:25 +0400)]
0023486: Remove obsolete image manipulation classes

Remove AlienImage package. Clean up Image package.

8 years ago0023912: TDataStd_ExtStringArray::Value() returns a copy of TCollection_ExtendedStrin...
vro [Thu, 16 May 2013 07:07:43 +0000 (11:07 +0400)]
0023912: TDataStd_ExtStringArray::Value() returns a copy of TCollection_ExtendedString, but it might return a reference.

Since now TDataStd_ExtStringArray::Value() returns a constant reference to the string value.
Also, a draw-command GetExtStringArray is modified to manipulate with the string by a constant reference.
Added test case bugs/caf/bug23912

8 years ago0023917: Primitive Array with reserved but unused Edges array drawn corrupted from VBO
kgv [Fri, 19 Apr 2013 12:33:05 +0000 (16:33 +0400)]
0023917: Primitive Array with reserved but unused Edges array drawn corrupted from VBO

8 years ago0023920: Change use of static variables in Message package to prevent data races...
Roman Lygin [Sun, 21 Apr 2013 05:28:54 +0000 (09:28 +0400)]
0023920: Change use of static variables in Message package to prevent data races in Shape Healing

8 years agoUpdate of testing cases for current state of OCCT
bugmaster [Mon, 29 Apr 2013 12:13:25 +0000 (16:13 +0400)]
Update of testing cases for current state of  OCCT

8 years agoChanging OCC_VERSION_DEVELOPMENT to dev
bugmaster [Mon, 29 Apr 2013 08:19:45 +0000 (12:19 +0400)]

8 years ago0023919: Redefine operator* to Handle_Standard_{Transient|Persistent} subclasses
Roman Lygin [Sun, 21 Apr 2013 05:15:00 +0000 (09:15 +0400)]
0023919: Redefine operator* to Handle_Standard_{Transient|Persistent} subclasses

8 years ago0023916: Test artifacts in current directory
apn [Fri, 26 Apr 2013 11:33:30 +0000 (15:33 +0400)]
0023916: Test artifacts in current directory

Improvements to prevent producing artifacts (files) in current directory
Modified QA command OCC7141 to save file in specific location

8 years ago0023915: Redundant header inclusion
dbv [Fri, 19 Apr 2013 08:42:51 +0000 (12:42 +0400)]
0023915: Redundant header inclusion
Removed redundant inclusion

8 years ago0023843: scanf without field width limits can crash with huge input data.
omy [Fri, 26 Apr 2013 11:29:28 +0000 (15:29 +0400)]
0023843: scanf without field width limits can crash with huge input data.

Corrected width specifiers and use of buffer arrays in *printf and *scanf functions.
Removed unreferenced variable warning.
Got rid of compiler warning (returning address of local variable or temporary).

8 years agoAdjusting testing case for testing on Debian60 64bit
git [Tue, 23 Apr 2013 09:54:52 +0000 (13:54 +0400)]
Adjusting testing case for testing on Debian60 64bit

8 years agoUpdate of License version. V6_6_0
bugmaster [Mon, 22 Apr 2013 11:23:09 +0000 (15:23 +0400)]
Update of License version.

8 years agoFixing path to xsd file in tests of _xml grids in xml group
abv [Mon, 22 Apr 2013 02:30:50 +0000 (06:30 +0400)]
Fixing path to xsd file in tests of _xml grids in xml group

8 years agoChanging OCCT version from 6.6.0 beta to 6.6.0
bugmaster [Thu, 18 Apr 2013 15:15:18 +0000 (19:15 +0400)]
Changing OCCT version from 6.6.0 beta to 6.6.0

8 years agoAvoid adding CASROOT to CSF_TestDataPath which leads to long time spent unnecessarily...
abv [Fri, 19 Apr 2013 03:35:45 +0000 (07:35 +0400)]
Avoid adding CASROOT to CSF_TestDataPath which leads to long time spent unnecessarily by locate_data_file

8 years agoUpdate of test cases that are crashed by cpulimit command
apn [Thu, 18 Apr 2013 14:53:05 +0000 (18:53 +0400)]
Update of test cases that are crashed by cpulimit command

8 years ago0023905: Clean obsolete test commands
abv [Thu, 18 Apr 2013 14:41:45 +0000 (18:41 +0400)]
0023905: Clean obsolete test commands

In parallel mode, limit number of jobs in the queue to avoid slowdown occurring with long queues
Obsolete DRAW tools removed
Improvement of processing of test log:
- log is collected as list and not as string for better performance
- short table of test cases (TOC) is added in HTML log
- algorithm to combine test cases in one row in HTML log is improved to avoid long lines (group bugs)
Parse rules corrected to ignore irrelevant debug messages, and to correctly report tests 3rdparty export as skipped or BAD when Gl2Ps is missing or is built in incompatible mode on windows
Tests corrected to pass in Debug mode on Windows

8 years ago0023909: FPE in BSplSLib::RationalDerivative
abv [Thu, 18 Apr 2013 07:39:40 +0000 (11:39 +0400)]
0023909: FPE in BSplSLib::RationalDerivative

Avoid use of array out of its bounds in BSplSLib::RationalDerivative().

In addition, Resource_Manager is fixed to allow saving with empty resource map (test bugs fclasses bug181_1).

8 years agoCorrection bugs xde group
apn [Thu, 18 Apr 2013 13:07:11 +0000 (17:07 +0400)]
Correction bugs xde group

8 years agoAdjusting testing cases for current state of OCCT
apn [Thu, 18 Apr 2013 09:40:05 +0000 (13:40 +0400)]
Adjusting testing cases for current state of OCCT

8 years agoSmall correction
aba [Wed, 17 Apr 2013 14:49:56 +0000 (18:49 +0400)]
Small correction

8 years ago0023901: Memory leaks in tests
omy [Wed, 17 Apr 2013 13:15:29 +0000 (17:15 +0400)]
0023901: Memory leaks in tests
Removed a field from BOPDS_PaveBlock that contained  the BOPDS_PaveBlock object itself.
Function RealPaveBlock() now returns a const handle, not a const reference to handle.
Removed const modifier because function now returns an object, not a reference to it.

8 years ago0022590: Migration to FreeImage - revision of Xw and WNT packages
kgv [Wed, 17 Apr 2013 12:36:16 +0000 (16:36 +0400)]
0022590: Migration to FreeImage - revision of Xw and WNT packages

Clean up Xw package from outdated and unused functionality
Adjusting test case for current state of master

8 years ago0023830: BRepExtrema_DistShapeShape does not find intersection of face with edge
abk [Wed, 17 Apr 2013 11:33:27 +0000 (15:33 +0400)]
0023830: BRepExtrema_DistShapeShape does not find intersection of face with edge

Data member myIsDivergent was added to class math_FunctionSetRoot.
The member is initialized in method Perform start by Standard_False. The member is changed in the method to Standard_True if an approximation point is located outside of search set.

Method IsDivergent was added to class math_FunctionSetRoot.
The method returns value of myIsDivergent.

Parameter theStopOnDivergent with default value Standard_False was added to
a constructor and method Perform of class math_FunctionSetRoot.
The parameter shows whether return from method Perform if myIsDivergent
became Standard_True.

Class Extrema_GenExtCS was optimized for dynamic memory consumption:
the class surface values are not stored now.

Method Perform of class Extrema_GenExtCS was improved for local extreme
search in case of iteration algorithm divergence. Size of the algorithm
grid cell for initial approximation is reduced by 2 in the case. The count
of the reduces is limited.
Build fix in *.cdl.
Case of extrusion was carried out of the repeat loop.

Division method of the 3-dimensional grid (curve param, surface first
param, surface second param) by two was replaced by method of moving the

The moving method is about two times faster than division method.
Now grid moving method is depending on some average linear sizes of the curve and the surface.
In case (theStopOnDivergent && myIsDivergent) method math_FunctionSetRoot::Perform sets Done to Standard_False and discard it's last solution.
Test case for the bug fix.
Test case correction
Initial approximation was corrected for search of maximum in Extrema_GenExtCS::Perform.
Test case bugs moddata_3 bug23830 was formatted.

8 years ago0023765: The result of section operation contains redundant vertex.
pkv [Wed, 17 Apr 2013 11:29:29 +0000 (15:29 +0400)]
0023765: The result of section operation contains redundant vertex.
Adding test case for this fix
Modified test cases regarding to 23765

8 years agoCR23683: Geom_BSplineSurface incorrectly determines continuity for periodic cases
Roman Lygin [Wed, 17 Apr 2013 11:26:49 +0000 (15:26 +0400)]
CR23683: Geom_BSplineSurface incorrectly determines continuity for periodic cases
Add a checking into files Geom_OffsetSurface.cxx, Geom_OffsetCurve.cxx, Geom2d_OffsetCurve.cxx , which try to make continuity of bspline surfaces and curves more than C0 to build offset.
Delete duplicate code and checkings
Prevent change of offset curve / surface when exception is raised due to attempt to set new C0 basis curve / surface
Added new QA command OCC23683. Added test case bugs/moddata_3/bug23683

8 years ago0023891: Function fsameparameter throws an exception.
pkv [Mon, 15 Apr 2013 14:22:32 +0000 (18:22 +0400)]
0023891: Function fsameparameter throws an exception.
Added test cases bugs modalg_5/bug23891_1/bug23891_2/bug23891_3/bug23891_4

8 years ago0023881: BRepAlgoAPI_Section HasAncestorFaceOn1 returned False on the boundary(6...
emv [Mon, 15 Apr 2013 14:19:01 +0000 (18:19 +0400)]
0023881: BRepAlgoAPI_Section HasAncestorFaceOn1 returned False on the boundary(6.6.0 beta).
The methods HasAncestorFaceOn1() and HasAncestorFaceOn1() return true only in the case when their first argument is the new edge built from intersection curve and not an existing common edge.
PCurveOn1() and PCurveOn2() have been removed.
Methods PCurveOn1() and PCurveOn2() removed from BRepAlgo_Section class.
Added test case bugs/modalg_5/bug23881

8 years ago0023895: XCAF document does not store names for subfigures from IGES files
dbv [Mon, 15 Apr 2013 14:14:16 +0000 (18:14 +0400)]
0023895: XCAF document does not store names for subfigures from IGES files
Fixed names for subfigures
Added test case bugs/xde/bug23895

8 years ago0023879: Test cases update for Mac OS X platform
dbv [Fri, 5 Apr 2013 09:46:37 +0000 (13:46 +0400)]
0023879: Test cases update for Mac OS X platform

8 years ago0023709: Redesign of hlrtest command: vhlr and vhlrtype commands were added; hlr...
aba [Mon, 15 Apr 2013 14:06:26 +0000 (18:06 +0400)]
0023709: Redesign of hlrtest command: vhlr and vhlrtype commands were added; hlr type changing was added to AIS_Shape, AIS_Drawer and Prs3d_Drawer
QuickHLR and ExactHLR items removed from AIS_DisplayMode enumeration as unused.
Minor coding style and CDL documentation corrections applied.
Compiler error in AIS_Shape::SetTypeOfHLR() corrected
Corrections in HLR algorithm.
Compiler error in AIS_Shape::TypeOfHLR() corrected
Added test cases bugs vis bug23709_1/bug23709_2/bug23709_3/bug23709_4

8 years agoUpdating test cases for 23828 issue to mark them as known on Mac OS X platform.
dbv [Mon, 15 Apr 2013 09:57:08 +0000 (13:57 +0400)]
Updating test cases for 23828 issue to mark them as known on Mac OS X platform.

8 years agoAdjusting testing case for current state of OCCT
kgv [Mon, 15 Apr 2013 07:56:29 +0000 (11:56 +0400)]
Adjusting testing case for current state of OCCT

8 years ago0023883: Bound color in the primitive array do not work when displayed using VBO
kgv [Fri, 12 Apr 2013 12:36:20 +0000 (16:36 +0400)]
0023883: Bound color in the primitive array do not work when displayed using VBO
Added test case bugs vis bug23883

8 years ago0023885: Inclusion of X11 header should be protected with macro
dbv [Fri, 12 Apr 2013 09:44:46 +0000 (13:44 +0400)]
0023885: Inclusion of X11 header should be protected with macro
X11 headers inclusions have been protected with macro
Remarks fix

8 years ago0023882: Memory leak is reported on BOP in test bugs fclasses bug7287_5.
emv [Wed, 10 Apr 2013 11:05:50 +0000 (15:05 +0400)]
0023882: Memory leak is reported on BOP in test bugs fclasses bug7287_5.
Test cases which check Boolean Operation algorithm on memory leaks have been rewritten to test the whole algorithm and not a part of it.

8 years ago0023853: BOP regression (2) - BRepAlgoAPI_Cut.
omy [Fri, 12 Apr 2013 09:29:02 +0000 (13:29 +0400)]
0023853: BOP regression (2) - BRepAlgoAPI_Cut.
Changed the way of finding the angle between the faces.
New static functions:
GetFaceDir - builds direction for the face;
FindPointInFace - finds the point in the face in bi normal direction.

New square values have been set in the following test cases:
boolean bopcommon_complex J1
bugs modalg_2 bug202085_6
"TODO" marks have been removed from these cases.
Added test cases bugs modalg_5 bug23853

8 years ago0023876: New Boolean Operation algorithm works incorrect with cylinder made by revolu...
omy [Fri, 12 Apr 2013 09:26:04 +0000 (13:26 +0400)]
0023876: New Boolean Operation algorithm works incorrect with cylinder made by revolution and torus.
Added treatment for surfaces periodic in the V parametric direction.
Added test case bugs modalg_5/bug23876

8 years ago0023512: Incorrect triangulation on revolution shape
oan [Fri, 12 Apr 2013 09:24:07 +0000 (13:24 +0400)]
0023512: Incorrect triangulation on revolution shape

Added test cases bugs/modalg_5/bug23512_1 bug23512_2
Moved test cases for issue 23512 moved to folder bugs/mesh. Square checking is made in END file

8 years ago0023818: Extend OSD_MemInfo to report C heap statistics
omy [Fri, 12 Apr 2013 09:21:13 +0000 (13:21 +0400)]
0023818: Extend OSD_MemInfo to report C heap statistics
A new counter MemHeapUsage was added to OSD_MemInfo class to examine program heap size
DRAW command meminfo got new option -h (--heap ) to use new counter data
The following testcases were changed to use new option -h of DRAW command meminfo
myCounters[MemHeapUsage] now will always be refilled every time the OSD_MemInfo::Update() function is called.
Fixed testcases to use meminfo -h instead of meminfo -w to detect memory leaks more properly.

8 years agoTest parsing rules fixed to correctly report tests failed due to missing data file...
abv [Mon, 8 Apr 2013 02:58:26 +0000 (06:58 +0400)]
Test parsing rules fixed to correctly report tests failed due to missing data file as SKIPPED, broken by integration of #23439

8 years ago0023439: Integration of test grid "xigs" into the new testing system
ika [Fri, 5 Apr 2013 12:09:52 +0000 (16:09 +0400)]
0023439: Integration of test grid "xigs" into the new testing system
Loop back tests for iges and step files with possibility of generation of reference data.
Clean up of test scripts (removal of obsolete code, adding comments, corrected formatting)
two fixes were done (same like bug 23722 and bug 23736)
Cancelling checking for number of warnings
rewrite some test scripts in cause of this and fix 23794
Tolerance checking was weakened.
Fix to check instability on Linux (bug 23822) was added.
TODO messages was added to tests which have different results on Windows and Mandriva2010
Ability to update this TODO in regeneration mode was added.
Add fix to bug 23852
Test groups were recomposed.
'dataexch' was renamed to 'de'.
CPU limit was decreased from 2000 sec. to 1500 sec.

8 years ago0023877: Errors in MFC sample HLR
aba [Fri, 5 Apr 2013 09:22:54 +0000 (13:22 +0400)]
0023877: Errors in MFC sample HLR

8 years ago0023875: Integration of grid "nam" into the new testing system
apn [Fri, 5 Apr 2013 07:23:22 +0000 (11:23 +0400)]
0023875: Integration of grid "nam" into the new testing system

Added testgroup caf nam

8 years ago0023872: Remove outdated classes OpenGl_Polygon and OpenGl_Polyline
kgv [Sat, 30 Mar 2013 15:31:06 +0000 (19:31 +0400)]
0023872: Remove outdated classes OpenGl_Polygon and OpenGl_Polyline

8 years ago0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm.
jgv [Fri, 5 Apr 2013 06:35:38 +0000 (10:35 +0400)]
0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm.
Adding test cases for this fix
Test cases correction
Correction of instability.

8 years ago0023282: Wrong triangulation on cone
mkv [Wed, 3 Apr 2013 13:12:53 +0000 (17:12 +0400)]
0023282: Wrong triangulation on cone
Adding test cases for this fix