6 years ago0024927: Getting rid of "Persistent" functionality -- Samples and data
dln [Tue, 26 Aug 2014 12:15:24 +0000 (16:15 +0400)]
0024927: Getting rid of "Persistent" functionality -- Samples and data

Support of old persistence (CSFDB format) is removed from OCCT samples (C#, MFC and Qt)

Motor model from data/csfdb is converted from CSFDB to BRep format and put to data/occ (Motor-c.brep)

6 years ago0024927: Getting rid of "Persistent" functionality -- Tests
dln [Fri, 29 Aug 2014 07:24:24 +0000 (10:24 +0300)]
0024927: Getting rid of "Persistent" functionality -- Tests

All uses of "MDTV-Standard" and "MDTV-Design" in tests changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF".
Formats changed: .std to .cbf, .dxc to .dbf.

Test groups renamed accordingly:
xcaf: brep_to_dxc -> brep_to_xbf, igs_to_dxc -> igs_to_xbf, stp_to_dxc -> stp_to_xbf, dxc -> xbf/A1, dxc_add_CL -> xbf_add_CL
xml: ocaf_std -> ocaf_cbf, xcaf_dxc -> xcaf_xbf

6 years ago0024927: Getting rid of "Persistent" functionality -- Code
abv [Wed, 4 Jun 2014 08:12:21 +0000 (12:12 +0400)]
0024927: Getting rid of "Persistent" functionality -- Code

Brute force removal of standard persistence (ShapeSchema, StdLSchema, StdSchema, XCAFSchema) and all persistence-specific toolkits.

OCAF formats "MDTV-Standard", "MDTV-XCAF" are removed from resource files.

Uses of "MDTV-Standard" are changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF".

6 years ago0025923: Remove small wires on face read from STEP
azn [Thu, 21 May 2015 11:46:00 +0000 (14:46 +0300)]
0025923: Remove small wires on face read from STEP

The analysis of small area in the method ShapeAnalysis_Wire::CheckSmallArea is performed the following way:
- On the fisrt step algorithm produces a rough estimation of part of surface area.
- In a case if obtained estimation is less than tolerance then evaluate real area and comapre this value with tolerance.
- New flag has been added to XSTEPResource/IGES. In a case if flag is true the faces with small 3d area is removed from ShapeFix context.

Test-case for issue #25923 and update test-cases in de group according to the new behavior.

6 years ago0026220: Visualization - In Graphic3d_Structure use single NCollection_IndexedMap...
dbp [Thu, 14 May 2015 09:14:40 +0000 (12:14 +0300)]
0026220: Visualization - In Graphic3d_Structure use single NCollection_IndexedMap instead of NCollection_DataMap and NCollection_Sequence

6 years ago0026199: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence...
dbp [Thu, 21 May 2015 11:30:38 +0000 (14:30 +0300)]
0026199: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence in OpenGl_BVHClipPrimitiveSet to improve performance

This patch improves performance of OpenGl_BVHClipPrimitiveSet. In particular, on the attached test case for 90 000 spheres the results are the following:

1) Master: vdisplay - 55 sec, 5 FPS, 1.4 GB memory, vclear - 180 sec.
2) Branch: vdisplay - 1.3 sec, 5 FPS, 1.4 GB memory, vclear - 90 sec.

So, the patch improves vdisplay in ~40 times, and vclear in ~2 times without extra memory and with no impact on rendering performance. However, the vclear time is still significant. According to profile results, it is due to Graphic3d_Structure::DisconnectAll method.

Test case for issue CR26199

Fix invalid warnings in 'vdefaults' command.

6 years ago0026209: Visualization - provide a method to fit view to the specific bounding box
vpa [Thu, 14 May 2015 16:32:05 +0000 (19:32 +0300)]
0026209: Visualization - provide a method to fit view to the specific bounding box

Methods V3d_View::FitAll and NIS_View::FitAll3d now take arbitrary bounding box as a parameter;
Option -selected added to vfit command to fit only selected entities in Draw;
F key press now fits selected objects if any by default.

6 years ago0026082: When view is resized horizontally the visualization is not scaled
apl [Tue, 19 May 2015 11:19:10 +0000 (14:19 +0300)]
0026082: When view is resized horizontally the visualization is not scaled

6 years ago0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics
abv [Tue, 19 May 2015 04:10:35 +0000 (07:10 +0300)]
0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics

"Static" keyword removed from local variable declarations in IntAna_Int3Pln::Perform()

6 years ago0026201: Wrong processing of dissymetric chamfer: order of chords unjustly changes
jgv [Thu, 21 May 2015 10:56:47 +0000 (13:56 +0300)]
0026201: Wrong processing of dissymetric chamfer: order of chords unjustly changes

Test-case for issue #26201

6 years ago0026163: Visualization - AIS_Shape::SetWidth() should not overwrite the free boundary...
apl [Mon, 18 May 2015 17:11:22 +0000 (20:11 +0300)]
0026163: Visualization - AIS_Shape::SetWidth() should not overwrite the free boundary color

6 years ago0026226: Can't compile and run OCC mfs samples
ski [Tue, 19 May 2015 07:54:14 +0000 (10:54 +0300)]
0026226: Can't compile and run OCC mfs samples

Files ISession2D_SensitiveCurve.h and ISession2D_SensitiveCurve.cpp were removed from mfc Geometry sample.
Output directory for mfcsample project was changed from lib/libd to bin/bind.

6 years ago0026197: Incomplete intersection curve
nbv [Thu, 21 May 2015 10:47:55 +0000 (13:47 +0300)]
0026197: Incomplete intersection curve

Correct the algorithm to get right Start point for extension of the walking line.

Test case for issue CR26197

Correction of test case bugs/modalg_6/bug26197

6 years ago0025763: SSP sample is unable to build the proper surface on the given cloud of points
anv [Mon, 23 Mar 2015 08:23:49 +0000 (11:23 +0300)]
0025763: SSP sample is unable to build the proper surface on the given cloud of points

Some improvements to work with periodic splines

6 years ago0025148: Visualization - drop TKNIS toolkit
kgv [Mon, 29 Sep 2014 07:17:42 +0000 (10:17 +0300)]
0025148: Visualization - drop TKNIS toolkit

TKNIS toolkit and related DRAW stuff removed

6 years ago0026203: Foundation Classes - provide method ::Swap() for NCollection_IndexedMap...
dbp [Mon, 18 May 2015 12:42:30 +0000 (15:42 +0300)]
0026203: Foundation Classes - provide method ::Swap() for NCollection_IndexedMap and NCollection_IndexedDataMap to transpose map elements

Add new tests in group "perf ncollection".

6 years ago0026217: Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS
vpa [Wed, 13 May 2015 09:30:38 +0000 (12:30 +0300)]
0026217: Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS

Inclusion detection for filled sensitive circles was corrected

6 years ago0026224: Wrong result obtained by Common operator.
pkv [Thu, 21 May 2015 09:56:26 +0000 (12:56 +0300)]
0026224: Wrong result obtained by Common operator.

class BOPTools_AlgoTools2D
 - method:
Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
(const TopoDS_Edge& aE2,
const TopoDS_Edge& aE1,
const TopoDS_Face& aF,
const Handle(IntTools_Context)& aCtx)
has been changed.
The treatment of the curves that need to be reversed has been modified
taking into account reversed parameter

Test case for issue CR26224

6 years ago0026218: Wrong result done by General Fuse algorithm
emv [Thu, 21 May 2015 09:52:03 +0000 (12:52 +0300)]
0026218: Wrong result done by General Fuse algorithm

class BOPAlgo_PaveFiller
1. method
  void BOPAlgo_PaveFiller::MakeBlocks()
 Update of FaceInfo IN information before filling the maps.

2. methods
  void BOPAlgo_PaveFiller::UpdateFaceInfo
    (BOPDS_DataMapOfPaveBlockListOfPaveBlock& theDME,
     const BOPCol_DataMapOfIntegerInteger& theDMV)

  void BOPAlgo_PaveFiller::ProcessExistingPaveBlocks
    (const Standard_Integer theInt,
     const BOPDS_IndexedMapOfPaveBlock& aMPBOnIn,
     const BOPCol_DataMapOfIntegerListOfInteger& aDMBV,
     BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks& aMSCPB,
     BOPCol_DataMapOfShapeInteger& aMVI,
     BOPDS_MapOfPaveBlock& aMPB)

  Small changes in treatment of existing pave blocks when making new ones from intersection curves.

Test case for issue CR26218

Correction of test case for issue CR26218

6 years agoUpdate of testing cases for Debian 7.0 64 bit
apn [Fri, 15 May 2015 12:30:41 +0000 (15:30 +0300)]
Update of testing cases for Debian 7.0 64 bit

6 years ago0025750: Coding rules - eliminate GCC warning -Wunused-but-set-variable in OSD_signal...
ibs [Wed, 13 May 2015 08:59:36 +0000 (11:59 +0300)]
0025750: Coding rules - eliminate GCC warning -Wunused-but-set-variable in OSD_signal.cxx for Android build

Move variable aSigInfo to the proper scope.

6 years ago0026192: Porting testing database on Debian70 64bit
apn [Thu, 14 May 2015 14:33:55 +0000 (17:33 +0300)]
0026192: Porting testing database on Debian70 64bit

Modified test cases for platform Debian70 64bit

Changed todo mapping for Debian70-64

6 years ago0026202: Wrong result of chamfer on cylindrical surface: wrong value of chord
jgv [Thu, 14 May 2015 14:03:42 +0000 (17:03 +0300)]
0026202: Wrong result of chamfer on cylindrical surface: wrong value of chord

Test case for issue CR26202

6 years ago0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded...
msv [Fri, 8 May 2015 12:44:48 +0000 (15:44 +0300)]
0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded curve

Description of the method ShapeConstruct_ProjectCurveOnSurface::Perform has been updated to actual state.

6 years agoIncrementation of OCCT version up to 7.0.0dev
bugmaster [Thu, 14 May 2015 11:56:36 +0000 (14:56 +0300)]
Incrementation of OCCT version up to 7.0.0dev

6 years ago0025490: Error appears trying to start QT OCCT sample OCCT690-REF V6_9_0
ski [Fri, 8 May 2015 09:54:51 +0000 (12:54 +0300)]
0025490: Error appears trying to start QT OCCT sample

Separate msvc.bat files were created for each qt sample to avoid errors.

6 years ago0026139: AIS_InteractiveContext::Display performance regression
vpa [Fri, 8 May 2015 10:44:02 +0000 (13:44 +0300)]
0026139: AIS_InteractiveContext::Display performance regression

Regression with VIS tests in release mode was fixed

6 years ago0026194: Sometimes "testgrid" command runs every test many times
apn [Thu, 7 May 2015 08:31:24 +0000 (11:31 +0300)]
0026194: Sometimes "testgrid" command runs every test many times

Added check for equal test directories in variable CSF_TestScriptsPath.

6 years agoIncrementation of OCCT version up to 6.9.0
bugmaster [Thu, 7 May 2015 12:45:47 +0000 (15:45 +0300)]
Incrementation of OCCT version up to 6.9.0

6 years ago0026139: AIS_InteractiveContext::Display performance regression
vpa [Thu, 7 May 2015 15:39:36 +0000 (18:39 +0300)]
0026139: AIS_InteractiveContext::Display performance regression

NCollection_Sequence in SelectMgr_SensitiveEntitySet was replaced by indexed data map

6 years ago0026029: Visualization - Poor performance of connected objects
dbp [Thu, 7 May 2015 15:20:27 +0000 (18:20 +0300)]
0026029: Visualization - Poor performance of connected objects

Fix performance issue with SelectMgr_SelectableObjectSet.

6 years agoUpdate of unstable Boolean test cases
apn [Thu, 7 May 2015 14:32:58 +0000 (17:32 +0300)]
Update of unstable Boolean test cases

6 years ago0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing...
abv [Thu, 7 May 2015 05:53:38 +0000 (08:53 +0300)]
0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing selections [only with TBB]

Remove classes Select3D_ISensitivePointSet and Select3D_BoundarySensitivePointSet; use Select3D_SensitivePoly directly for boundary selection.
Make last argument in Select3D_SensitiveFace non-default to ensure that value is always explicitly specified by the caller.
Inherit SelectMgr_FrustumBuilder from Standard_Transient to use normal Handle instead of NCollection_Handle.

Add test case bugs/vis/bug26146.

6 years ago0026147: Visualization - restore the ability to pick only fully included objects...
vpa [Thu, 7 May 2015 15:53:21 +0000 (18:53 +0300)]
0026147: Visualization - restore the ability to pick only fully included objects in rectangular selection

2 modes of rectangular selection are available: inclusion-only and overlap-allowing;
The modes can be switched using method AllowOverlapDetection from StdSelect_ViewerSelector3d;
BVH for sensitive entities now builds if there is more than max number of leafs in collection;
Added option -allowoverlap to command vselect;
Interactive rectangular selection in Draw is now available in 2 modes:
- if the user starts selection from upper corners, only fully included objects will be selected;
- if the user starts selection from lower corners, both partially and fully overlapped objects will be selected.

6 years ago0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll...
apl [Thu, 7 May 2015 12:00:23 +0000 (15:00 +0300)]
0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll() of Graphic3d_Camera is not enough

Partial fix: increased epsilon to value reported in #0025670

6 years ago0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and...
apn [Thu, 7 May 2015 12:33:10 +0000 (15:33 +0300)]
0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and Linux platform

Deleted variable "res" which appears during loading draw

6 years ago0026159: Visualization - revise tolerance implementation for selection
vpa [Wed, 6 May 2015 12:35:36 +0000 (15:35 +0300)]
0026159: Visualization - revise tolerance implementation for selection

Max tolerance is now applied to all objects and entities by default;
if there is an entity with a lower tolerance, selecting frustum will be recalculated for it.
The ability to set sensitivity for each entity individually is moved to protected section of SelectBasics_SensitiveEntity
SetPixelTolerance from AIS_InteractiveContext now sets custom tolerance that is applied to all sensitives.
Added -unset option to vselprecision command to disable custom tolerances.
Test case for issue #26159

6 years ago0026165: Visualization, TKOpenGl - fix FBO blitting on some mobile devices
kgv [Wed, 6 May 2015 13:05:47 +0000 (16:05 +0300)]
0026165: Visualization, TKOpenGl - fix FBO blitting on some mobile devices

OpenGl_Texture::Init() - initialize FBO textures with GL_TEXTURE_WRAP_ set to GL_CLAMP_TO_EDGE,
since some devices do not support GL_REPEAT (which is default) in such combination.
OpenGl_Font::createTexture() - define texture parameters explicitly.

OpenGl_FrameBuffer::Init() create Depth render buffer object instead of texture
on devices which do not support GL_DEPTH24_STENCIL8.

6 years ago0025271: Wrong result obtained by solid classifier algorithm
mkv [Thu, 7 May 2015 13:25:02 +0000 (16:25 +0300)]
0025271: Wrong result obtained by solid classifier algorithm

Shape name was corrected

6 years ago0025825: Draw Harness, XSDRAWSTLVRML - drop command tovrml and XSDRAWSTLVRML_ToVRML
ski [Wed, 6 May 2015 11:22:49 +0000 (14:22 +0300)]
0025825: Draw Harness, XSDRAWSTLVRML - drop command tovrml and XSDRAWSTLVRML_ToVRML

Command tovrml was eliminated.

6 years ago0026172: Visualization, AIS_LocalContext - locally selected object should not stay...
apl [Wed, 6 May 2015 09:06:54 +0000 (12:06 +0300)]
0026172: Visualization, AIS_LocalContext - locally selected object should not stay in the viewer after deactivation in the local context

Fix for AIS_LocalContext::ClearOutdatedSelection()
Added test case bugs/vis/bug26172

6 years ago0025890: Intersection algorithm produces curves overlaped
nbv [Thu, 7 May 2015 13:14:09 +0000 (16:14 +0300)]
0025890: Intersection algorithm produces curves overlaped

1. Function IntImp_Int2S::ChangePoint() has been added (see cdl for detail information).
2. Attempt to forbidden break WLine if it goes along surface boundary.

Code optimization.

2nd optimization

Test case for issue CR25890

6 years ago0025737: GCPnts_TangentialDeflection does not produce points to approximate a knee
mkv [Wed, 6 May 2015 15:45:31 +0000 (18:45 +0300)]
0025737: GCPnts_TangentialDeflection does not produce points to approximate a knee

6 years ago0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow
abv [Wed, 6 May 2015 03:20:29 +0000 (06:20 +0300)]
0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow

Unused methods RemoveSmallFaces() and SplitFaces() are removed.

6 years ago0026177: Coding rules - eliminate -Wdeprecated-register CLang warnings
kgv [Thu, 30 Apr 2015 14:19:19 +0000 (17:19 +0300)]
0026177: Coding rules - eliminate -Wdeprecated-register CLang warnings

6 years ago0026167: Coding rules - eliminate -Wlogical-not-parentheses CLang warnings in GeomToStep
kgv [Thu, 30 Apr 2015 10:26:01 +0000 (13:26 +0300)]
0026167: Coding rules - eliminate -Wlogical-not-parentheses CLang warnings in GeomToStep

6 years ago0026155: TNaming, CurrentShape: order of shapes in Modification compound is unpredictable
apl [Tue, 28 Apr 2015 09:11:10 +0000 (12:11 +0300)]
0026155: TNaming, CurrentShape: order of shapes in Modification compound is unpredictable

CurrentShape(): replace TopTools_MapOfShapes with TopTools_IndexedMapOfShape
Added case: tests/bugs/caf/bug26155

6 years ago0026148: BRep_Tool::IsClosed failed to judge a closed edge on Poly_Triangulation.
msv [Thu, 30 Apr 2015 09:37:07 +0000 (12:37 +0300)]
0026148: BRep_Tool::IsClosed failed to judge a closed edge on Poly_Triangulation.

The method signature has been changed by adding an argument TopLoc_Location.

6 years ago0026145: Geometry Sample crashes
ski [Tue, 5 May 2015 16:42:21 +0000 (19:42 +0300)]
0026145: Geometry Sample crashes

Unacceptable usage of quantity coefficient was removed.

6 years ago0026128: Visualization, TKOpenGl - fix misprint in external GLX context initialization
solomin_s [Wed, 6 May 2015 14:05:39 +0000 (17:05 +0300)]
0026128: Visualization, TKOpenGl - fix misprint in external GLX context initialization

OpenGl_Window, GLX - push warning about missing caps in window Visual.
Allow initialization of alien GLX context.

Correction of misprinting

6 years ago0026121: Visualization - revise implementation of point sets used in Select3D_Sensiti...
vpa [Thu, 30 Apr 2015 15:08:55 +0000 (18:08 +0300)]
0026121: Visualization - revise implementation of point sets used in Select3D_SensitiveFace

Code duplication was eliminated by removing constructors with handle input arrays

6 years ago0026118: Implement FastSewing algorithm
nbv [Wed, 6 May 2015 13:58:48 +0000 (16:58 +0300)]
0026118: Implement FastSewing algorithm

1. Develop special sewing algorithm.
2. DRAW-command "fastsewing" has been created (see help for detail information).
3. BRepLib::EnsureNormalConsistency() method has been added (see help for detail information).
4. DRAW-command correctnormals has been created (see help for detail information).

Test cases for this issue.

Correction of elapsed time in test-cases

6 years ago0026010: [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes
mkv [Thu, 30 Apr 2015 15:45:09 +0000 (18:45 +0300)]
0026010: [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes

6 years ago0025844: Command checkshape does not detect error for case when degenerated edge...
mkv [Thu, 30 Apr 2015 15:03:47 +0000 (18:03 +0300)]
0025844: Command checkshape does not detect error for case when degenerated edge does not contain geometric representation.

6 years ago0025713: CMake configuring procedure should allow to build OCCT as static libraries
ibs [Fri, 16 Jan 2015 09:15:11 +0000 (12:15 +0300)]
0025713: CMake configuring procedure should allow to build OCCT as static libraries

BUILD_LIBRARY_TYPE variable added

6 years ago0025390: Redesign of Technical Overview
ysn [Thu, 30 Apr 2015 12:58:34 +0000 (15:58 +0300)]
0025390: Redesign of Technical Overview

Technical overview refactored; text duplicating information contained in user guides removed.
Some images are regenerated for better presentation.
Problems with formatting and section tags corrected in user guides.

6 years ago0025050: Shape can not be stored to VRML format
mkv [Thu, 30 Apr 2015 14:09:43 +0000 (17:09 +0300)]
0025050: Shape can not be stored to VRML format

6 years ago0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
isk [Tue, 5 May 2015 08:06:29 +0000 (11:06 +0300)]
0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext

AIS_TextLabel - new public class to display simple text labels (based on MyTextClass private class from Draw Harness).
ViewerTest::Display() - add more reliable replacement for VDisplayAISObject() with no viewer update flag.

vdrawtext command redesign:
- Use new AIS_TextLabel class instead of private MyTextClass.
- Take object name and allow to clear labels from the Viewer.
- Use parameter name + parameter value syntax instead of strict list of mandatory arguments.
- Use [0; 1] range for colors and accept names.
- Drop redundant argument "isMultiByte".
- Support argument -noupdate to skip Viewer update.

Update test cases to new syntax of vdrawtext.

6 years agoModification due to behavior changes after integration for issues CR26138 and CR24923
apv [Tue, 5 May 2015 12:31:21 +0000 (15:31 +0300)]
Modification due to behavior changes after integration for issues CR26138  and CR24923

6 years agoUpdate overview for OCCT 6.9.0
bugmaster [Tue, 5 May 2015 11:31:07 +0000 (14:31 +0300)]
Update overview for OCCT 6.9.0

6 years ago0025670: Incorrect sprops/vprops/lprops check in heal drop_small_solids test cases
apn [Thu, 23 Apr 2015 09:32:53 +0000 (12:32 +0300)]
0025670: Incorrect sprops/vprops/lprops check in heal drop_small_solids test cases

Procedure cmpprops in tests/heal/drop_small_solids/end is modified to correctly access top-level variables

6 years ago0026138: Problems with writing periodic BSplines into IGES
ika [Thu, 30 Apr 2015 14:04:07 +0000 (17:04 +0300)]
0026138: Problems with writing periodic BSplines into IGES

Remove making BSpline surfaces rational,
Add shifting of pcurves on periodic BSpline surfaces,
Add cutting of segment from such surfaces.
Add additional check for need of make segment

Update of test-cases according to the new behavior

6 years ago0024923: BRepMesh_CircleTool produces bad circles
drazmyslovich [Thu, 30 Apr 2015 13:41:54 +0000 (16:41 +0300)]
0024923: BRepMesh_CircleTool produces bad circles

Calculate radius of circumcircle as maximum difference between its center and vertices or reference triangle.
Draw test command OCC25547 has been implemented.
Small optimizations for speed.

Update of test-cases according to the new behaviour

Update of test-cases in group mesh

6 years ago0026021: Integration boolean test cases
apn [Thu, 30 Apr 2015 11:59:15 +0000 (14:59 +0300)]
0026021: Integration boolean test cases

Added subgroups volumemaker, gdml_private and gdml_public

Moved scripts from public repository ti test cases

Added more TODOs to unstable test cases

Small corrections for unstable test cases

6 years ago0026157: NCollection, TCollection packages - IndexedMap, IndexedDataMap ::Substitute...
apl [Thu, 30 Apr 2015 11:55:07 +0000 (14:55 +0300)]
0026157: NCollection, TCollection packages - IndexedMap, IndexedDataMap ::Substitute() do not allow passing equal key for the same index

cosmetic remarks from msv

6 years ago0026009: Wrong result of the test blend bfuseblend B7
jgv [Thu, 30 Apr 2015 11:46:18 +0000 (14:46 +0300)]
0026009: Wrong result of the test blend bfuseblend B7

Correction to avoid infinite loop

Minor correction

Update of test-case for issue #26009

Fix of compiler's warning

6 years ago0025880: fuzzy booleans with multiple tools
pkv [Thu, 30 Apr 2015 11:41:27 +0000 (14:41 +0300)]
0025880: fuzzy booleans with multiple tools

New features:
class BOPTools_AlgoTools2D
 Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
   (const TopoDS_Edge& aEold,
    const TopoDS_Edge& aEnew,
    const TopoDS_Face& aF,
    const Handle(IntTools_Context)& aCtx)
has been added.

  To attach P-Curve on surface of the face <aF>  from the edge <aEold>
   to the edge <aEnew>
   It returns 0 in case of success.

1. class BOPTools_AlgoTools
 Standard_Boolean BOPTools_AlgoTools::IsSplitToReverse
  (const TopoDS_Face& theFSp,
   const TopoDS_Face& theFSr,
   Handle(IntTools_Context)& theContext)

The condition for a point on the surface of a face has been changed.

2. class BOPAlgo_PaveFiller
 void BOPAlgo_PaveFiller::MakePCurves()

The treatment of E/E common bocks has been changed
to use mechanism of attacment P-Curves [ I.1 ]

Test case for issue CR25880

6 years ago0026152: Wrong result obtained by projection algorithm.
mkv [Wed, 29 Apr 2015 16:43:42 +0000 (19:43 +0300)]
0026152: Wrong result obtained by projection algorithm.

Test cases for issue CR26152

6 years ago0026130: PCurve creation failure
mkv [Wed, 29 Apr 2015 16:55:41 +0000 (19:55 +0300)]
0026130: PCurve creation failure

6 years ago0025908: BSpline (U2 < U1) in HLRBRep_HLRToShape
msv [Thu, 30 Apr 2015 11:22:56 +0000 (14:22 +0300)]
0025908: BSpline (U2 < U1) in HLRBRep_HLRToShape

Test case for issue CR25908

6 years ago0025971: Near B-Spline knots get merged after saving/restoring (exporting/importing)
Roman Lygin [Thu, 30 Apr 2015 11:17:13 +0000 (14:17 +0300)]
0025971: Near B-Spline knots get merged after saving/restoring (exporting/importing)

Precision used to consider B-Spline knots identical is restricted to be not less than Precision::PConfusion() in Geom2d_BSplineCurve::Segment().

Affected tests updated (improvements)

Test case for issue CR25971

6 years ago0021727: BRepBuilderAPI_Copy (and possibly other similar tools) create new shape...
ink [Thu, 30 Apr 2015 11:09:32 +0000 (14:09 +0300)]
0021727: BRepBuilderAPI_Copy (and possibly other similar tools) create new shape in Frozen state

Set the value of flag Frozen to false for shape created in BRepTools_Modifier. If shape is not newly created then value of flag Frozen don't changed.

Test-case for issue #21727

6 years ago0025619: CAST analysis: Avoid classes with a non-empty destructor and not implementin...
azn [Fri, 19 Dec 2014 09:06:11 +0000 (12:06 +0300)]
0025619: CAST analysis: Avoid classes with a non-empty destructor and not implementing both an assignment operator and a copy constructor

- Fix compilation errors.
- Branch has been rebased on new master.

0025619: CAST analysis: Avoid classes with a non-empty destructor and not implementing both an assignment operator and a copy constructor

The problem has been removed from following classes:
- tsee_entity
- Select3D_PointData
- Standard_MMgrFactory
- ProjLib_OnSurface
- BinomAllocator
- OSD_PerfMeter
- StorageInfo
- OpenGl_UnpackAlignmentSentry
- IntPatch_InfoPD
- TableauRejection
- Draw_View
- BOPTest_Session
- BOPCol_MemBlock
- BSB_T3Bits
- NCollection_Handle::Ptr
- Buffer (from Standard_Boolean Message_MsgFile::LoadFile (const Standard_CString))

6 years ago0024161: boolean operation hanging
nbv [Thu, 30 Apr 2015 10:57:03 +0000 (13:57 +0300)]
0024161: boolean operation hanging

The reason of hanging has been eliminated.

Test case for issue CR24161

Small correction of test case for this issue

6 years ago0025937: Failed Cut Edge or Face by HalfSpace.
pkv [Thu, 30 Apr 2015 10:49:25 +0000 (13:49 +0300)]
0025937: Failed Cut Edge or Face by HalfSpace.

Addressing the causes of warnings.

Test cases for issue CR25937

6 years ago0026112: Exception is raised during perform of General Fuse operation
emv [Thu, 30 Apr 2015 10:31:47 +0000 (13:31 +0300)]
0026112: Exception is raised during perform of General Fuse operation

class BOPAlgo_WireSplitter
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA)

Protection from null vector.

Test case for issue CR26112

6 years ago0026069: Coding Rules - eliminate new warnings about redundant const qualifier in...
vpa [Wed, 22 Apr 2015 22:12:55 +0000 (01:12 +0300)]
0026069: Coding Rules - eliminate new warnings about redundant const qualifier in SelectMgr

SelectMgr_SensitiveEntity is now inherited from Standard_Transient;
Redundant const type qualifiers were removed from selection classes.

6 years ago0026081: Visualization, TKOpenGl - rebuild vertex attributes in order to not render...
dbp [Thu, 16 Apr 2015 13:03:55 +0000 (16:03 +0300)]
0026081: Visualization, TKOpenGl - rebuild vertex attributes in order to not render large index arrays in OpenGL ES

6 years ago0026064: distmini of two edges locks up
abv [Wed, 15 Apr 2015 19:40:58 +0000 (22:40 +0300)]
0026064: distmini of two edges locks up

Method Extrema_GenExtCC::Perform() refactored to avoid very inefficient (O(N^2)) algorithm of removal of duplicate points at the end. Instead, duplications are checked when new points are added.

Fields are initialized in constructors of the class Extrema_GenExtCC; unused instances of generic classes (duplications) ELCC and ELCC2d removed.

Test case bugs/modalg_6/bug26064 added.

6 years ago0025653: DRAW doesn't use installed 3rdparty libraries from its library folder locate...
ibs [Wed, 24 Dec 2014 09:57:17 +0000 (12:57 +0300)]
0025653: DRAW doesn't use installed 3rdparty libraries from its library folder located in install folder

6 years ago0026087: Review of changes introduced into documentation since ver. 68
ysn [Tue, 28 Apr 2015 16:58:00 +0000 (19:58 +0300)]
0026087: Review of changes introduced into documentation since ver. 68

Proofreading of documentation changes that were not verified earlier and some date- and version- related changes in the overview.

6 years agoCorrection of test-cases according to OCC23150 requirements (new format of checknbsha... V6_9_0_beta2
mkv [Fri, 24 Apr 2015 11:56:15 +0000 (14:56 +0300)]
Correction of test-cases according to OCC23150 requirements (new format of checknbshapes command).

6 years agoUpdated script so it creates bottle using fuse operation between body and thread.
apn [Fri, 24 Apr 2015 10:25:46 +0000 (13:25 +0300)]
Updated script so it creates bottle using fuse operation between body and thread.

6 years agoUpdated test case so that the output of each "dump" is checked against toroidal surfa...
apn [Fri, 24 Apr 2015 10:18:48 +0000 (13:18 +0300)]
Updated test case so that the output of each "dump" is checked against toroidal surface type (SurfaceOfRevolution is considered as an error).

6 years ago0026025: Visualization, TKOpenGl - stereoscopic output does not work
kgv [Wed, 15 Apr 2015 13:25:38 +0000 (16:25 +0300)]
0026025: Visualization, TKOpenGl - stereoscopic output does not work

OpenGl_View::Render() - pass target FBO as parameter.
OpenGl_Context - revise Read/Write buffers management logic, taking into account FBOs.

Graphic3d_Camera::UpdateProjection() - setup LProjection and RProjection
the same as MProjection in case of Projection_MonoLeftEye/Projection_MonoRightEye
for API consistency.

6 years ago0026080: Wrong result obtained by General Fuse operator.
pkv [Thu, 23 Apr 2015 15:01:16 +0000 (18:01 +0300)]
0026080: Wrong result obtained by General Fuse operator.

class IntTools_FClass2d
- method:
 TopAbs_State IntTools_FClass2d::Perform
 (const gp_Pnt2d& _Puv,
 const Standard_Boolean RecadreOnPeriodic) const
 has been changed.
 The value of tolerance
For the value of tolerance for classification,
the minimum (among UResolution, VResolution) value is used.

Test case for issue CR26080

6 years ago0025372: Visualization, TKOpenGl - suppress annoying verbose messages from NVIDIA...
isz [Sat, 18 Apr 2015 08:58:51 +0000 (11:58 +0300)]
0025372: Visualization, TKOpenGl - suppress annoying verbose messages from NVIDIA OpenGL driver

OpenGl_GlCore42 - drop functions unrelated to OpenGL 4.2 core functionality

6 years ago0026061: TNaming_Selector crash in select method.
szy [Thu, 23 Apr 2015 14:28:40 +0000 (17:28 +0300)]
0026061: TNaming_Selector crash in select method.

TNaming_Selector crash in select method.

TNaming_Localizer is protected from not expected input arguments.

Test case for issue CR26061

6 years ago0024285: Updates of PLib::EvalPolynomial for code acceleration
azv [Tue, 20 Jan 2015 14:06:03 +0000 (17:06 +0300)]
0024285: Updates of PLib::EvalPolynomial for code acceleration

Functions PLib::EvalPolynomial and PLib::NoDerivativeEvalPolynomial are refactored to allow generation of faster code:
1. Iteration by degree is made in outer loop
2. Avoided pointer arithmetic
3. Recursive templates are used to expand loop by dimension in specific cases (1-15)

6 years ago0026098: The result of General Fuse operation is self-interfered shape
emv [Thu, 23 Apr 2015 13:59:22 +0000 (16:59 +0300)]
0026098: The result of General Fuse operation is self-interfered shape

class BOPTools_AlgoTools
method static Standard_Real IntersectCurves2d(const gp_Pnt& aPV,
                                const TopoDS_Face& aF,
                                const Handle(Geom_Surface)& aS,
                                const TopoDS_Edge& aE1,
                                const TopoDS_Edge& aE2)
Check the validity of the 2d intersection before applying the result.

Test case for issue CR26098

6 years ago0025705: BRepOffsetAPI_MakeOffset regression in 0025298
jgv [Fri, 17 Apr 2015 12:30:05 +0000 (15:30 +0300)]
0025705: BRepOffsetAPI_MakeOffset regression in 0025298

6 years ago0024011: Can't offset a wire on face
apn [Wed, 22 Apr 2015 11:50:33 +0000 (14:50 +0300)]
0024011: Can't offset a wire on face

Added test case bugs/modalg_6/bug24011

6 years ago0021624: BRepFeat_SplitShape produce invalid shape
apn [Mon, 20 Apr 2015 14:57:07 +0000 (17:57 +0300)]
0021624: BRepFeat_SplitShape produce invalid shape

Added test case bugs/modalg_6/bug21624

6 years ago0021351: Fail to compute derivatives of offset surface on trimmed surfaces on offsets...
apn [Mon, 20 Apr 2015 13:54:46 +0000 (16:54 +0300)]
0021351: Fail to compute derivatives of offset surface on trimmed surfaces on offsets on CN surfaces

Added test case bugs/modalg_6/bug21351

6 years ago0022793: Boolean cut operation hangs computer
mkv [Thu, 16 Apr 2015 12:53:07 +0000 (15:53 +0300)]
0022793: Boolean cut operation hangs computer
Test case for issue CR22793

6 years ago0026120: Visualization - segmentation fault in AIS_Selection
vpa [Wed, 22 Apr 2015 11:25:31 +0000 (14:25 +0300)]
0026120: Visualization - segmentation fault in AIS_Selection

Added NULL-pointer checks

6 years ago0026076: Visualization - empty bounding box of a shape after closing local context
vpa [Fri, 17 Apr 2015 17:12:29 +0000 (20:12 +0300)]
0026076: Visualization - empty bounding box of a shape after closing local context

Fixed handling of invalid bounding boxes;
Links related to temporary objects are now removed from selection structures;
Test case for issue #26076

6 years ago0026109: Visualization - add ChangeAxisAspect(int) method to Graphic3d_GraduatedTrihedron
vsr [Mon, 20 Apr 2015 12:21:23 +0000 (15:21 +0300)]
0026109: Visualization - add ChangeAxisAspect(int) method to Graphic3d_GraduatedTrihedron

6 years ago0026028: Option for drawing MeshVS_Mesh as closed object
dbv [Thu, 16 Apr 2015 15:59:44 +0000 (18:59 +0300)]
0026028: Option for drawing MeshVS_Mesh as closed object

MeshVS_MeshPrsBuilder::DrawArrays now sets IsClosed flag to group according to MeshVS_DA_SupressBackFaces attribute in MeshVS_Drawer

6 years ago0025767: "vdisplay" command rises exception
apn [Mon, 20 Apr 2015 16:27:19 +0000 (19:27 +0300)]
0025767: "vdisplay" command rises exception

Added test case bugs/vis/bug25767