isk [Thu, 30 Jun 2016 12:25:43 +0000 (15:25 +0300)]
0027655: Visualization - AIS_Triangulation disappears after setting non-zero transparency
Add a new methods in AIS_Triangulation: SetTransparency, UnsetTransparency, HasVertexColor, updatePresentation.
Add a new methods in Graphic3d_ArrayOfPrimitives: AddVertex(gp_Pnt, Graphic3d_Vec4ub) and SetVertexColor(Standard_Integer, Graphic3d_Vec4ub).
Type of color of array in AIS_Triangulation is Graphic3d_Vec4ub now.
bugmaster [Fri, 10 Jun 2016 07:12:22 +0000 (10:12 +0300)]
0027127: Implementation of compilation of OCCT Products samples on all platforms under support in Jenkins test system.
Update mfc samples for current state of OCCT
Removing vc8 and vc9 from environment
Update qt samples for compilation with QT5
Update OCCT qt pro files system
Removing from projects files FWOSPlugin.lib.
ski [Mon, 27 Jun 2016 11:53:53 +0000 (14:53 +0300)]
0027639: Add possibility to build OCCT 7X without TCL/TK
draw.bat/sh files will not be generated/installed to binary/install directories if DRAWEXE toolkit is excluded from build.
ifv [Tue, 26 Apr 2016 12:00:29 +0000 (15:00 +0300)]
0027352: Optimal axis-aligned bounding box for a shape
Add method for exact calculation of bounding boxes
Modifications made according to remarks.
Small correction of test case for issue CR27352
Small correction of test cases for issue CR27352
Avoid warning on VS2015
msv [Thu, 10 Mar 2016 09:58:44 +0000 (12:58 +0300)]
0027245: DRAW command to test binary persistence for shapes
- Added new static methods Read and Write in BinTools class to store/retrieve a shape in binary format.
- Added new draw commands "binsave" and "binrestore"
- Added test cases to test the new methods.
- Updated documantation with desription of the new BinTools class methods and corresponding BRepTools class methods.
oan [Wed, 22 Jun 2016 15:20:15 +0000 (18:20 +0300)]
0027595: Mesh - faces without triangulations due to gp_VectorWithNullMagnitude exception
Zero magnitude check has been added before gp::Vec::Angle() usage
kgv [Sun, 26 Jun 2016 17:10:35 +0000 (20:10 +0300)]
0027643: Coding rules - eliminate GCC warning -Wmaybe-uninitialized
isk [Thu, 23 Jun 2016 12:01:34 +0000 (15:01 +0300)]
0027629: Visualization - apply a correct model-world matrix to normals in fixed function pipeline with enabled zoom persistence.
Small correction of test case for issue CR27629
isn [Fri, 17 Jun 2016 11:50:50 +0000 (14:50 +0300)]
0027357: Geom2dGcc_Circ2d2TanOn: check status of sub-algorithms to avoid exceptions
Additional checks for underlying algorithms have been added
test case
get rid of the warning
kgv [Wed, 20 Apr 2016 07:45:32 +0000 (10:45 +0300)]
0027401: Configuration, Plugin - allow using statically linked plugins
CMake script now defines OCCT_NO_PLUGINS for static builds,
so that linking with OCAF plugins does not lead to duplicated symbols.
abv [Mon, 20 Jun 2016 03:53:14 +0000 (06:53 +0300)]
0025812: Replace dynamic loading mechanism of OCAF persistence with dynamic-link one
Fields to store cached instances of reader and writer drivers for each format are added in CDF_Application.
Method DefineFormat() is added in TDocStd_Application, allowing defining format completely by single call, including drivers to be used for persistence.
All OCAF driver packages provide static method DefineFormat() that defines standard OCAF persistence format supported by corresponding package; these methods are called in DRAW to enable all persistence by default.
DRAW commands (except TObj-specific ones) now use single instance of OCAF Application, returned by DDocStd::GetApplication(). Other instances are eliminated, as well as method DDocStd::Find(const Handle(TDocStd_Application)&).
Method MessageDriver() and relevant field are moved to TDocStd_Application from its descendants.
Method CDF_Application::ReaderFromFormat() is made virtual to allow its redefinition in descendants.
Creation of storage driver is moved from PCDM::StorageDriver() to new virtual method CDF_Application::WriterFromFormat().
The code loading driver as plugin is retained in both these methods for compatibility.
Test command OCC24925 is converted to use virtual methods instead of defining plugin resource.
Migration table for old OCAF types is hard-coded in Storage_Schema::CheckTypeMigration().
Removed obsolete and unused items:
- FWOSPlugin library (driver is created directly)
- Methods in classes CDM_Document dealing with unused parameters of format
- DRAW command OCC23010 for testing non-reproducible issue #23010
- Methods PCDM::StorageDriver(), PCDM::FindStorageDriver()
- Method Formats() from CDF_Application and descendants
- Methods LoadExtensions and SchemaName from PCDM_StorageDriver
- Method Plugin::AdditionalPluginMap()
- Method BinLDrivers_DocumentStorageDriver::SchemaName()
- Method CDF_Application::DefaultExtension(), Reader(), FindReader(), FindReaderFromFormat()
- Method CDF_Store::Check()
Timo Roth [Wed, 18 May 2016 07:43:10 +0000 (09:43 +0200)]
0027610: Some spelling mistakes in documentation of "Building with CMake"
Spelling corrected in documentation of "Building with CMake"
dbp [Mon, 20 Jun 2016 16:43:44 +0000 (19:43 +0300)]
0027590: Visualization, Ray Tracing - port to quad BVH trees (QBVH)
In frames of this issue binary BVH tree produced by building algorithms was collapsed into 4-ary BVH (QBVH).
The BVH traversal code in GLSL was modified to process such trees correctly.
This allows to implore thread coherence, decrease BVH memory consumption (~2 times), and use traversal stack of the half size.
As a result, ray tracing scalability is improved, as well as rendering performance. For various setups, speedup is 12-18%.
aml [Tue, 24 May 2016 07:57:30 +0000 (10:57 +0300)]
0027529: Invalid result of CUT operation
Test case is added.
kgv [Mon, 20 Jun 2016 06:51:56 +0000 (09:51 +0300)]
0027617: Visualization, TKOpenGl - apply highlighting color without disabling lighting
Update colors in test cases
kgv [Mon, 20 Jun 2016 16:10:51 +0000 (19:10 +0300)]
0026885: Visualization - drop redundant aspects from structure level
Graphic3d_CStructure and OpenGl_Structure do not store structure aspects anymore.
Graphic3d_Structure, Prs3d_Presentation - structure aspect methods have been removed.
AIS_InteractiveObject::SetAspect() - globalChange argument has been removed.
Undocumented test methods V3d::DrawSphere(), ::SetPlane(), ::PickGrid() have been removed.
kgv [Mon, 20 Jun 2016 14:40:48 +0000 (17:40 +0300)]
0027622: Data Exchange - STL file having less than 4 triangles cannot be read
Drop minimum file size check from RWStl::ReadBinary().
Test case for issue #27622
san [Mon, 20 Jun 2016 16:17:56 +0000 (19:17 +0300)]
0027624: ViewerTest - vdrawtext command ignores text display options
vdrawtext command was corrected to set the specified text display type
regardless of other options.
ika [Mon, 6 Jun 2016 08:59:06 +0000 (11:59 +0300)]
0027532: Errors on reading stp-file
The cause of errors is a non alphabetical order of complex entity, which do not affect export.
Move messages to debug mode.
Replace fail by warning.
Correction of test case bugs/vis/bug23153 according to the new behavior
abv [Fri, 17 Jun 2016 08:36:49 +0000 (11:36 +0300)]
0024553: Deleting obsolete/unused ".gxx" files from "GCPnts"
Extension of files GXX is changed to "pxx" to avoid them to be copied to inc folder.
Code of inline functions contained in LXX files is merged to HXX files, LXX files are removed.
ika [Thu, 16 Jun 2016 13:06:53 +0000 (16:06 +0300)]
0026786: Segmentation violation exception raised if a shape to be fixed is null
Add check for null shape.
kgv [Thu, 16 Jun 2016 09:44:18 +0000 (12:44 +0300)]
0027608: Tests - drop useless performance comparison from perf/fclasses/handle
Correction of test case perf/fclasses/handle according to the current behavior
Timo Roth [Wed, 15 Jun 2016 08:04:44 +0000 (11:04 +0300)]
0027568: Exception is thrown when a degenerated edge is added to a wire
Test cases for issue CR27568
Other methods of BRep_Tool corrected to ensure that output arguments are always initialized
oan [Wed, 27 Apr 2016 11:10:15 +0000 (14:10 +0300)]
0027239: Meshing algorithm creates wrong Triangulation
Do not insert consequent duplicating nodes in PolygonOnTriangulation.
Small correction of test case bugs/mesh/bug27239
vpa [Thu, 16 Jun 2016 13:30:11 +0000 (16:30 +0300)]
0027612: Visualization, AIS_InteractiveContext - handle SelectMgr_EntityOwner::IsForcedHilight() flag in neutral point
- the check for IsForcedHilight was added to interactive context
kgv [Thu, 16 Jun 2016 09:58:05 +0000 (12:58 +0300)]
0027606: Visualization - view is blocking when MSAA has been overridden in graphics driver settings
OpenGl_View::blitBuffers() - try disabling MSAA on glBlitFramebuffer() failure
kgv [Thu, 16 Jun 2016 11:06:53 +0000 (14:06 +0300)]
0027566: Configuration - define Handle_ as non-template class for compatibility with C++/CLI
For MSVC compiler (version 12 and above), Handle_Class types are defined as true classes (inheriting corresponding opencascade::handle<Class>) to allow using them in "public" statement of C++/CLI language, to make these classes recognizable by other C++/CLI libraries.
Code to test operations with Handle_ class is added to QAHandleOps test command
vpa [Thu, 16 Jun 2016 11:38:19 +0000 (14:38 +0300)]
0027611: Visualization - provide an interface to access selection frustum center points from SelectBasics level
- getters for rectangular frustum center points were added to SelectBasics_SelectingVolumeManager
ysn [Thu, 16 Jun 2016 15:02:27 +0000 (18:02 +0300)]
0027542: Documentation - minor corrections in upgrade guide
Remarks implemented.
Checked new entries in the document.
vpa [Thu, 9 Jun 2016 16:02:49 +0000 (19:02 +0300)]
0027523: Visualization - selection owner contains obsolete shape
- remove check for selection activation in SelectMgr_SelectionManager::RecomputeSelection;
- given selection mode is now handled properly and single selection mode can be recomputed;
- test case for issue #27523.
Small correction of test case for issue CR27523
bugmaster [Thu, 23 Jun 2016 14:45:15 +0000 (17:45 +0300)]
0027631: license.md duplicated in the current master HEAD
ifv [Mon, 25 Jan 2016 13:35:17 +0000 (16:35 +0300)]
0027108: GCPnt_TangentialDeflection does not respect linear deflection
Modification of algorithm in order to prevent violation of angular and curvature deflection condition for smooth intervals of curve.
Modification of algorithm for calculation of maximal deflection in command crvtpoints, crvpoints (CR25649)
Elementary bug fixing in algorithm GCPnts_UniformDeflection.gxx
Modification of test cases in order to set new reference parameters of shape triangulations
Some tests:
bugs modalg_2 bug397
mesh standard_incmesh C7, V3
mesh standard_incmesh_parallel C7, V3
mesh standard_mesh C7, V3
mesh standard_shading V3
were modified by TODO with reference bug 27226, because some problems in meshing algorithm (package BRepMesh) were discovered when tessellation of edges was changed. These problems cannot be solved by modification of GCPnts_TangentialDeflection algorithm. New issue #27226 was created, see bugtracker for details.
Correction of test data
Test case for issue #27108
Modification of algorithm for improving performance
Correction of test cases
Martin Siggel [Thu, 28 Apr 2016 11:33:57 +0000 (14:33 +0300)]
0027447: Add support for long IGES entity names
Adding support for long IGES names.
The method IGESCAFControl_Writer::WriteNames is now extended
to also write IGES 406 / 15 name entities containing the full label name.
Test case for issue #27447
apl [Wed, 15 Jun 2016 11:05:01 +0000 (14:05 +0300)]
0027601: TKV3d, AIS_RubberBand - polygonal selection mode invokes an exception with convex fill area
Corrected allocation of primitive array for triangles.
kgv [Tue, 14 Jun 2016 11:02:27 +0000 (14:02 +0300)]
0027596: Visualization, StdPrs_WFShape - pack isolines into single group of primitives
StdPrs_ShadedShape, computeFaceBoundaries() now does not create additional temporary buffer for edges.
StdPrs_Isolines::AddOnTriangulation() now reconstacts polylines from segments projected onto triangulation.
StdPrs_WFShape::Add() now packs isolines into single group in presentation (instead of per-face group).
Even more - StdPrs_WFShape now groups lines with the same aspects.
Prs3d_Drawer::UIsoAspect(), ::VIsoAspect(), ::VIsoAspect() - default width
has been changed from 0.5 to 1.0.
apl [Fri, 10 Jun 2016 13:35:00 +0000 (16:35 +0300)]
0027591: TKViewerTest, ViewerTest_CmdParser regression - methods ArgVec3f, ArgVec3d return inccorect values
Fix regression in methods ViewerTest_CmdParser::ArgVec3f, ::ArgVec3d, ::ArgVec, ::ArgPnt.
isn [Thu, 9 Jun 2016 14:30:26 +0000 (17:30 +0300)]
0027391: BRepLib::EnsureNormalConsistency() raises exception in case of asynchronious PolygonOnTriangulation problem
additional check have been added to BRepLib::EnsureNormalConsistency() func.
Any edges with two adjacent faces will be skipped (while updating of their normals) if the number of discretization points (nodes) will be different for each of this faces on this edge.
test case
abv [Tue, 14 Jun 2016 12:05:10 +0000 (15:05 +0300)]
0027602: gp_TrsfForm.hxx - wrong comment to enum
Comment is corrected
abv [Tue, 14 Jun 2016 12:09:01 +0000 (15:09 +0300)]
0027599: Test "demo samples snowflake" does not clear internal data after execution
Useless save command is removed
aml [Thu, 9 Jun 2016 11:38:04 +0000 (14:38 +0300)]
0027569: [Regression in 6.9.0] Projecting a curve hangs
Parameterization speed is taken into account to avoid ProjLib projector usage in case of bad input data.
Test case is added.
Test cases correction.
ika [Thu, 9 Jun 2016 13:48:53 +0000 (16:48 +0300)]
0027329: Export to STEP failure
Do ProcessShape for non-manifold too,
Add binding of already written shared faces to STEP entity for non-manifold.
Minor correction of test case bugs/step/bug27329
apl [Fri, 10 Jun 2016 12:36:19 +0000 (15:36 +0300)]
0027592: TKV3d, AIS_RubberBand - SWIG error for method void virtual ComputeSelection
Commit modifies "AIS_RubberBand.hxx" header file.
- Adds declaration of handle.
- Puts virtual & void modifiers of ComputeSelection method in common order.
nbv [Wed, 8 Jun 2016 14:42:18 +0000 (17:42 +0300)]
0027581: Logical error in Bnd_Box(2d)::SquareExtent() method.
Code in method SquareExtent has been corrected.
isk [Wed, 8 Jun 2016 11:33:49 +0000 (14:33 +0300)]
0027579: Visualization, TKOpenGl - skip FSAA flag within Path Tracing
jgv [Mon, 6 Jun 2016 15:58:40 +0000 (18:58 +0300)]
0027557: Unstable HLR tests
The following modifications were done for stability:
- Precision::PConfusion() was set as parameter of Classifier instead of 0.0
- Coinciding vertices of outlines are united to exclude neighborhood of common vertex from curve-curve intersection
- Draw command "hlrin3d" was modified to prevent exception
Minor corrections
Corrections of test cases for issue CR27557
aml [Fri, 3 Jun 2016 17:08:00 +0000 (20:08 +0300)]
0027565: [Regression to OCCT 7.0.0] Number of Intersections Is Wrong
Incorrect tolerance management is fixed.
Test case is added.
ski [Thu, 2 Jun 2016 14:41:17 +0000 (17:41 +0300)]
0027513: Configuration, CMake - Option INSTALL_TBB does not install tbbmalloc.dll
Installation of tbbmalloc.dll was corrected.
nbv [Mon, 11 Apr 2016 08:12:45 +0000 (11:12 +0300)]
0026747: Some constructors of gp_Parab2d class contain redundant parameters
1. Useless constructors have been deleted.
2. Value returned by gp_Parab2d::Directrix() method has been corrected to exclude reversing the directrix.
3. Documentation of gp_Parab2d class has been updated (in hxx-file).
4. Upgrade Guide has been updated according to corrections made in this issue.
Creation of test cases for this issue.
aba [Wed, 1 Jun 2016 15:37:51 +0000 (18:37 +0300)]
0027536: Visualization - incorrect behavior of zoom persisted objects
1) Zoom persistence mode now fixes object in pixel coordinates and is independent on view size
2) Used gp_GTrsf instead of gp_Trsf SelectMgr_ViewerSelector to store Graphic3d_Mat4d
3) Zoom persisted objects changed behavior (become bigger) therefore test cases were updated according to new state.
4) Corrected scale for rectangular frustum
Updated test for manipulator
kgv [Fri, 3 Jun 2016 12:35:52 +0000 (15:35 +0300)]
0027562: Coding - avoid exporting of inline methods
kgv [Tue, 31 May 2016 13:18:36 +0000 (16:18 +0300)]
0027555: Visualization, AIS_Shape - own deviation coefficient change is not considered by Wireframe presentation mode
aml [Thu, 2 Jun 2016 07:22:10 +0000 (10:22 +0300)]
0027015: Sewing returns invalid shape if some faces are nearly plane cones
Interpolation state check is fixed to mark as valid only ordered sequences of poles.
Refactoring of Approx_SameParameter.cxx.
Test case is added.
Test cases are updated to the new behavior.
Update of testing cases
aml [Thu, 26 May 2016 17:08:48 +0000 (20:08 +0300)]
0027544: problem compiling OCCT with gcc version 4.8.2 gives error 'array subscript is above array bounds'
Possible out of borders problem is fixed.
Benjamin Bihler [Wed, 1 Jun 2016 11:24:23 +0000 (13:24 +0200)]
0027491: GeomAdaptor_Curve Is Not Thread-Safe (Anymore?)
Added hint about BSpline cache and missing thread-safety to adaptor classes.
ski [Tue, 5 Apr 2016 09:38:53 +0000 (12:38 +0300)]
0027344: Configuration, CMake: bugs with detecting third-party products
Information messages for TCL/TK search are corrected.
Compile definitions were added to OpenCASCADEConfig.cmake file
azv [Tue, 24 May 2016 12:12:01 +0000 (15:12 +0300)]
0027481: [Regression to OCCT 6.6.0] Modeling Algorithms - incorrect CUT on two solids
* Test case has been added
* Adjust mesh characteristics in test cases according to changes in issue #27537
azv [Tue, 24 May 2016 11:01:10 +0000 (14:01 +0300)]
0027537: GCPnts_TangentialDeflection produces incorrect number of sample points for circular edge
* Round up number of sample points to satisfy deflection.
* Test case added
kgv [Tue, 31 May 2016 10:24:49 +0000 (13:24 +0300)]
0027549: Visualization, OpenGl_View - drop confusing misnamed methods Width() and Height()
emv [Fri, 27 May 2016 08:19:25 +0000 (11:19 +0300)]
0027540: Run-to-run differences in the 3D Offset algorithm
Calculating the offset vertices by the superposition of intersection vertices
between pairs of edges (BRepOffset_Inter2d::FuseVertices()).
To obtain stable result when calculating the superposition of vertices
they are sorted (BOPTools_AlgoTools::MakeVertex()).
The support of vertices has been added in nexplode command.
Small correction of tests cases for issue CR27540
apl [Fri, 27 May 2016 10:15:40 +0000 (13:15 +0300)]
0027038: Visualization - add new presentation for object manipulation
AIS_Manipulator class has been created to provide interactive services for manipulating with mouse local transformations of other interactive objects.
The class features three kinds of transformation modes for attached objects:
- translation of through axis
- scaling within axis
- rotation around axis
For more details please have a look at description of the class in reference manual or in header file.
The patch includes DRAW test workbench for evaluating the AIS_Manipulator features.
Clang warning (override)
kgv [Fri, 27 May 2016 13:00:05 +0000 (16:00 +0300)]
0027522: Foundation Classes, FSD_BinaryFile - incorrect size check in a stream
FSD_BinaryFile::ReadExtendedString() now compares read bytes, not symbols.
kgv [Fri, 27 May 2016 12:43:55 +0000 (15:43 +0300)]
0027545: Coding - remove unused field in V3d_View::myCamera
msv [Fri, 13 May 2016 13:46:47 +0000 (16:46 +0300)]
0027492: Change error messages highlighting to make them readable in HTML report
gka [Mon, 16 May 2016 14:10:14 +0000 (17:10 +0300)]
0027520: Operation "splitshape" in the Test Harness give invalid result on the attached case.
The new method has been added in the class BRepFeat_SplitShape for addition of the sequence of the splitting edges or wires for the whole initial shape without specification of the edge->face, edge->edge mapping.
The procedure of collecting wires has been corrected so as not to take into account the distance in 2D space between adjacent edges having a common vertex.
New category of tests "bugs/splitshape" has been added to non-regression data base.
Test cases for issue CR27520
Remove compilation warnings.
Add dependence of TKFeat on TKShHealing in EXTERNLIB in order to build with genproj.
duv [Wed, 25 May 2016 14:00:59 +0000 (17:00 +0300)]
0027374: Visualization - optimize management of the scene bounding box
OpenGl_View now caches bounding boxes per Z-layer (instead of bounding box of entire scene in Graphic3d_CView).
Redundant invalidation of cached scene bounding box is now avoided in case
when new presentation attributes are assigned to the graphic structure.
Add a new methods ConsiderZoomPersistenceObjects() and considerZoomPersistenceObjects() in the Graphic3d_CView, OpenGl_View and OpenGl_Layer classes.
Call ConsiderZoomPersistenceObjects() in the V3d_View::FitMinMax method.
std::numeric_limits<T>::lowest() fix
aml [Wed, 25 May 2016 09:19:24 +0000 (12:19 +0300)]
0027341: Incorrect exact HLR results
- removal of excess interferences in case of simple hiding face
- correct processing of boundary edges coinciding with outlines
- change of API for testing Draw Command
- correction of Draw command "build3d"
- test cases are added.
Linux reference data is changed.
Partially fixed
0027340: Insufficient exact HLR speed
Number of samples in PolyPoly intersection algorithm tuned in each instance of generic class.
Default number of the samples in Geom2dAdaptor is changed according to the Adaptor2d_Curve2d class.
Minimal number of points in case of B-Spline is changed.
Minimal number of samples support is added in intersection algorithms.
vpa [Fri, 20 May 2016 16:42:09 +0000 (19:42 +0300)]
0027317: Some visualisation tests failed because of exceptions generated by FP signals.
- missing implementation of CenterOfGeometry method was added in MeshVS_CommonSensitiveEntity;
- a check to prevent float overflow was added to OpenGl_BVHClipPrimitiveSet::Center.
msv [Wed, 25 May 2016 16:23:52 +0000 (19:23 +0300)]
0027541: ShapeFix_ComposeShell allows usage of uninitialized value of the field myInvertEdgeStatus
Initialize all fields of the class in the constructor.
mgn [Tue, 24 May 2016 14:43:32 +0000 (17:43 +0300)]
0027538: Visualization, AIS_InteractiveContext::Display() - do not erase previous display mode.
AIS_InteractiveContext::Display() does not erases old presentation modes of interactive object anymore giving us performance benefit AIS_InteractiveContext::Display() is used. Instead, the method marks them hidden in the same way as AIS_InteractiveContext::SetDisplayMode() and ::UnsetDisplayMode().
vpa [Mon, 23 May 2016 16:08:24 +0000 (19:08 +0300)]
0027477: Visualization - Select3D_SensitiveCircle always return infinite depth value in boundary mode
- unnecessary re-initialization of pick result was removed from Select3D_SensitiveCircle;
- test case for issue #27477
ski [Fri, 20 May 2016 08:31:27 +0000 (11:31 +0300)]
0026512: Build fails with VTK 6.2 and OpenGL2 Rendering Backend
Support of VTK with OpenGL2 Rendering Backend was added.
aml [Thu, 19 May 2016 09:54:18 +0000 (12:54 +0300)]
0025623: Some tests become worse after 22598 fix
Tolerance of line / line analytical intersection is fixed.
Test cases are updated to the new behavior.
Update of test case according to the current behavior
msv [Fri, 20 May 2016 08:36:11 +0000 (11:36 +0300)]
0027521: Standard_ConstructionError when trying to use unifySameDom into a shape
Correct the algorithm in the function MergeEdges in ShapeUpgrade_UnifySameDomain.cxx so as to take into account the orientation of the next edge added to the chain.
Test cases for issue CR27521
kgv [Sun, 1 May 2016 14:12:47 +0000 (17:12 +0300)]
0027458: Configuration, genproj.tcl - add -rpath-link option to linker in Code::Blocks project
aml [Fri, 13 May 2016 10:36:33 +0000 (13:36 +0300)]
0026938: Boolean operations fail between two ellipsoids
Treatment for single singular point is added.
Test cases are updated to the new behavior.
New test cases are added,
Message of "bad" state is corrected.
aml [Sat, 20 Feb 2016 08:54:44 +0000 (11:54 +0300)]
0027194: Possible division by zero in IntPatch_WLineTool
Correct handling for division by zero is added. This prevents exception when FPE is enabled
kgv [Sun, 15 May 2016 13:41:30 +0000 (16:41 +0300)]
0027499: Configuration, CMake - add option INSTALL_NAME_DIR on OS X
kgv [Tue, 17 May 2016 18:22:54 +0000 (21:22 +0300)]
0027510: Visualization, OpenGl_Window - do not ignore backing store resize on OS X
aml [Tue, 17 May 2016 04:24:57 +0000 (07:24 +0300)]
0027493: [Regression relative to OCCT 7.0.0] Extrema_ExtCC does not set flag "IsParallel" equal to true for the overlapped curves
Check for infinite solutions now starts from two solutions.
Test case is added.
kgv [Mon, 16 May 2016 04:39:14 +0000 (07:39 +0300)]
0027505: Visualization, Font_FontMgr - do not look for fonts.dir on OS X
Font_FontMgr::InitFontDataBase() now uses the same approach on OS X as on Android
ignoring fonts.dir files which are non used on these systems.
msv [Wed, 4 May 2016 16:18:12 +0000 (19:18 +0300)]
0027466: The algorithm Extrema_GenLocateExtPS gives incorrect result
Euclidean distance criteria is added for local point / surface extrema.
Classes representing objective criteria are renamed to be consistent.
Local extrema usage is updated according to new behavior.
Test case is added.
Misprint correction.
msv [Wed, 4 May 2016 01:12:28 +0000 (04:12 +0300)]
0027490: BRepMesh: Reduce number of memory allocations
1) Reduce the number of calls to malloc by grouping requests to larger blocks. To achieve this goal, the following ways are used:
- Containers of types sequence, list and map are initialized with an instance of NCollection_IncAllocator, at this taking care of the time of life of allocated objects, so that not to occupy huge amount of memory.
- Allocation of several arrays having the same and short life time is changed so that to allocate a buffer array of necessary size and to place arrays in this buffer.
2) In BRepMesh_FastDiscretFace, optimize the function filterParameters so that to avoid excess memory allocations.
3) In NCollection_CellFilter, change declaration of the method Reset to accept array by reference rather than by value.
4) Add Allocator() method in map, sequence and vector collection classes by analogy with list collection.
5) Correct the size of block for IncAllocator for x64 platform. In order free-ed block to be returned to the system its size should be at least 1024K on x64 and 512K on x86. This allows to retain free virtual space almost to the state before algorithm run.
6) Decrease amount of memory zeroed by calloc. For that, reduce theIncrement parameter of the embedded vectors of the classes NCollection_UBTreeFiller and BRepMesh_VertexInspector to default value 256.
7) Avoid computing bounding box when not necessary (if no relative deflection is used)
8) Cycles by wires of face using TopExp_Explorer are converted to use TopoDS_Iterator instead.
9) BRepMesh_FastDiscret::Add optimized to avoid storing sequences of faces and edges
10) The tests "mesh standard_* W7" are corrected to accept the new behavior. Earlier the following error took place:
Not connected mesh inside face 9
{12 13}
Now this error was replaced with another one:
free nodes (in pairs: face / node):
{9 12}
Actually it is not a regression, rather improvement, if we look at the snapshot.
11) Change other test cases to their actual state.
bugmaster [Thu, 12 May 2016 15:14:18 +0000 (18:14 +0300)]
Adjusting testing cases for current state of OCCT
gka [Tue, 10 May 2016 17:02:50 +0000 (20:02 +0300)]
0027169: Suspitious behavior of importing names during STEP import
In order to avoid using empty strings in the names of the assemblies in the XCAF document after reading step file for cases when description or name is defined by only 1 space character method TCollection_AsciiString::Length()
was replaced on the method TCollection_AsciiString::UsefullLength().
Test case for issue CR27169
Eliminating warning
abv [Tue, 26 Apr 2016 18:24:27 +0000 (21:24 +0300)]
0027432: Null Handle Access When Creating AIS_Trihedron
Debug-only "RaiseIf" is replaced by simple "if" to have exceptional situation handled correctly in Release mode.
Mention mandatory variable CSF_ShadersDirectory in porting notes for OCCT 6.9.0
Test cases for issue CR27432
Deleting test cases for issue CR27432
ssv [Thu, 5 May 2016 15:01:02 +0000 (18:01 +0300)]
0027463: BRepTools_ReShape ends up with empty shapes
Add check on empty topological containers.
Add empty shapes to the replacement map.
Add Draw command for Re-Shape.
Add a test grid for reshape with a single use case for starters.
anv [Fri, 29 Apr 2016 10:51:18 +0000 (13:51 +0300)]
0027476: Code alignment for ShapeFix_ComposeShell
anv [Fri, 29 Apr 2016 09:31:22 +0000 (12:31 +0300)]
0027331: Not valid result on translating the file
Added processing of a short segments of a seam edge.
Test case added.
aml [Fri, 6 May 2016 11:57:20 +0000 (14:57 +0300)]
0027475: Incomplete direction for Powell method in math_GlobOptMin
Directions are changed to be valid orthogonal set.
msv [Fri, 29 Apr 2016 16:31:13 +0000 (19:31 +0300)]
0027454: Application hangs while opening a non-OCAF XML file
1) Add protection against accessing null pointer in PCDM_ReadWriter::FileFormat.
2) In LDOM_XmlReader::ReadRecord, take into account that the character '>' can have no special meaning (e.g., in a text), and we must read the data behind this character to complete the current tag reading. This treatment concerns the mode of work when myTagPerStep is true.
3) Create a test case of reading of XML file not related to OCAF document.
Test case was added.
aml [Thu, 5 May 2016 10:55:20 +0000 (13:55 +0300)]
0027467: Modeling Algorithms - class Extrema_ExtCC2d does not find extremum between two intersecting lines
Line / line analytic treatment is added for 2d case.
Test case is added.
kgv [Wed, 4 May 2016 09:52:58 +0000 (12:52 +0300)]
0027460: Data Exchange - restore method XSControl_WorkSession::MapReader()
apn [Wed, 4 May 2016 11:13:02 +0000 (14:13 +0300)]
0027463: Checkprops can not be used with several properties
Added possibility to use several properties in one checkprops command
Modified test cases according to changes in checkprops command
Benjamin Bihler [Thu, 28 Apr 2016 11:18:35 +0000 (14:18 +0300)]
0027433: Opening/Saving OCAF Documents With Own Document Format Does Not Work
Modified Load(...) method of Resource_Manager.cxx to print file names correctly.
Removed appending (empty) file name to directory name, since this is not
necessary and leads to a Standard_OutOfRange failure in TCollection_AsciiString.
Appending file name is done, but only if the name is not empty.
Added test case
jgv [Thu, 5 May 2016 12:47:43 +0000 (15:47 +0300)]
0027468: Incorrect processing of some cases by HLR algorithm
Incorrect work of HLR algorithm caused by usage of wrong tolerances, wrong sampling of 2d curve and some other bugs are fixed.
Test cases for issue CR27341
ika [Mon, 25 Apr 2016 06:51:57 +0000 (09:51 +0300)]
0027455: Implementation of connection points
Add Import/Export connection points.
Make some improvements in STEP reading in collections shapes, to which dimension is attached.
Update tests.
oan [Thu, 28 Apr 2016 16:07:15 +0000 (19:07 +0300)]
0027442: Rotation sweep can't be rendered in 3D
Do not insert internal nodes for Cylinder in case if it is less than
DefFace value or in case of long cylinder with small radius due to protection against overflow during casting to integer.
Small correction of shape name in test case for issue CR27442
kgv [Sat, 30 Apr 2016 14:12:57 +0000 (17:12 +0300)]
0027424: Configuration, genconf.tcl - add missing option to enable TKD3DHost in configurator
kgv [Sat, 30 Apr 2016 15:57:17 +0000 (18:57 +0300)]
0026846: Configuration, genproj.tcl - create hardlinks instead for header redirection
Build guides updated accordingly
Update genconf screenshot for Linux
Benjamin Bihler [Tue, 10 May 2016 17:59:55 +0000 (20:59 +0300)]
0027478: Configuration - avoid inclusion of Xlib.h within Graphic3d_GraphicDriver.hxx
Replace Aspect_DisplayConnection.hxx inclusion by forward declaration.