]> OCCT Git - occt.git/log
occt.git
17 months ago0033569: Data Exchange, STEP - Crash when reading multi-body file IR-2024-02-02
ichesnok [Thu, 18 Jan 2024 14:41:27 +0000 (14:41 +0000)]
0033569: Data Exchange, STEP - Crash when reading multi-body file

Datum reading changed in ReadDatums() method:
using DatumSystemAP242 (DatumSystem or DatumReference) array
instead of DatumSystem array (DatumReference)

17 months ago0025188: Data Exchange, Step Export - Losing shapes after import
ichesnok [Fri, 19 Jan 2024 15:45:16 +0000 (15:45 +0000)]
0025188: Data Exchange, Step Export - Losing shapes after import

Check on null for description added to WriteStep methods
(for product, product_definition and product_definition_formation)

17 months ago0032980: Data Exchange - STEP import produce a crash
ichesnok [Thu, 18 Jan 2024 13:55:38 +0000 (13:55 +0000)]
0032980: Data Exchange - STEP import produce a crash

Check on null for loop added

18 months ago0033551: Visualization - Add new transform persistence mode to force orthographic... IR-2024-01-19
rodrlyra [Mon, 11 Dec 2023 16:37:36 +0000 (16:37 +0000)]
0033551: Visualization - Add new transform persistence mode to force orthographic projection on object.

The new transform persistence mode, with flag `Graphic3d_TMF_OrthoPers`, can be combined (bitwise OR operation) with the other persistence modes (2D, Trihedron or Zoom/Rotate Persistence) to make objects be rendered with orthographic projection when it is on a view with perspective projection.

If the view already uses orthographic projection, there will be no difference.

This feature was implemented to fix ViewCube being distorted when view with perspective projection changes size.

18 months agoRevert "0033551: Visualization - Add new transform persistence mode to force orthogra... IR-2024-01-12
vglukhik [Mon, 15 Jan 2024 15:15:41 +0000 (15:15 +0000)]
Revert "0033551: Visualization - Add new transform persistence mode to force orthographic projection on object."

This reverts commit 0141024df595cdc8db3004927ca48c249776603b.

18 months ago0033564: Data Exchange, STEP - Making default unit parameter
dpasukhi [Thu, 4 Jan 2024 12:29:53 +0000 (12:29 +0000)]
0033564: Data Exchange, STEP - Making default unit parameter

Updated signature for step makers with units
  to have default unit as a mm (no scaling)

18 months ago0033567: Modeling Data - GeomLib_IsPlanarSurface raises exception SIGFPE Arithmetic...
oan [Fri, 5 Jan 2024 15:44:06 +0000 (15:44 +0000)]
0033567: Modeling Data - GeomLib_IsPlanarSurface raises exception SIGFPE Arithmetic Exception in Release mode

Add protection against zero-division

18 months ago0033551: Visualization - Add new transform persistence mode to force orthographic... IR-2023-12-22
rodrlyra [Mon, 11 Dec 2023 16:37:36 +0000 (16:37 +0000)]
0033551: Visualization - Add new transform persistence mode to force orthographic projection on object.

The new transform persistence mode, with flag `Graphic3d_TMF_OrthoPers`, can be combined (bitwise OR operation) with the other persistence modes (2D, Trihedron or Zoom/Rotate Persistence) to make objects be rendered with orthographic projection when it is on a view with perspective projection.

If the view already uses orthographic projection, there will be no difference.

This feature was implemented to fix ViewCube being distorted when view with perspective projection changes size.

18 months ago0032487: Visualization - synchronize myHasEntityWithPersistence with such entities... CR0-2023-12-22
drochalo [Thu, 26 Oct 2023 10:43:19 +0000 (11:43 +0100)]
0032487: Visualization - synchronize myHasEntityWithPersistence with such entities number

Changed myHasEntityWithPersistence to a counter.
Renamed variable to myNbEntityWithPersistence.
Modified HasEntityWithPersistence() method.
Modified logical test in SelectMgr_ViewerSelector::traverseObject.

18 months agoUpdate version to 7.8.1 dev
dpasukhi [Tue, 26 Dec 2023 08:36:40 +0000 (08:36 +0000)]
Update version to 7.8.1 dev

18 months ago0033557: Coding - Cocoa compilation problem OCCT-780 V7_8_0
dpasukhi [Mon, 18 Dec 2023 11:50:25 +0000 (11:50 +0000)]
0033557: Coding - Cocoa compilation problem

Fixed extern relation for VisTest component on MacOS

19 months ago0033555: Foundation Classes - DEBUG macro leads to compile error IR-2023-12-15
dpasukhi [Thu, 14 Dec 2023 22:56:36 +0000 (22:56 +0000)]
0033555: Foundation Classes - DEBUG macro leads to compile error

Removed incorrect parameter call when DEBUG macro is active

19 months ago0033554: Foundation Classes - Missed hash specialization for enumerations
dpasukhi [Thu, 14 Dec 2023 21:39:25 +0000 (21:39 +0000)]
0033554: Foundation Classes - Missed hash specialization for enumerations

Fixed problem with missed hash specialization

19 months ago0033553: Foundation Classes - HashUtils compilation problem
dpasukhi [Thu, 14 Dec 2023 10:07:21 +0000 (10:07 +0000)]
0033553: Foundation Classes - HashUtils compilation problem

Updated OptimalSeed template

19 months ago0033552: Foundation Classes - NCollection_BaseMap move ctor clears wrong pointer
Xu Zhongxing [Wed, 13 Dec 2023 06:41:18 +0000 (14:41 +0800)]
0033552: Foundation Classes - NCollection_BaseMap move ctor clears wrong pointer

Replaced correct class member to clear

19 months ago0033542: Visualization, AIS_ViewController - New AIS_DragAction for when drag interac...
rodrlyra [Mon, 4 Dec 2023 17:17:23 +0000 (17:17 +0000)]
0033542: Visualization, AIS_ViewController - New AIS_DragAction for when drag interaction is confirmed

Added AIS_DragAction_Confirmed drag action, which will be called by AIS_ViewController when the drag interaction is confirmed (mouse moved more than click threshold).

19 months ago0033548: Tests - VC142 internal problem for Chamfer functionality IR-2023-12-11
dpasukhi [Mon, 11 Dec 2023 10:00:21 +0000 (10:00 +0000)]
0033548: Tests - VC142 internal problem for Chamfer functionality

Update test cases for Jenkins old compiler. Mark as BAD

19 months ago0033544: Foundation Classes - Fixing compiler problems [HotFix]
dpasukhi [Wed, 6 Dec 2023 10:42:54 +0000 (10:42 +0000)]
0033544: Foundation Classes - Fixing compiler problems [HotFix]

Fixed problem with Clang-16
Fixed problem with SWIG-4
Fixed genproj procedure

19 months agoUpdate OCCT version to 7.8.0 CR0-780-beta
dpasukhi [Mon, 27 Nov 2023 10:07:22 +0000 (10:07 +0000)]
Update OCCT version to 7.8.0

19 months ago0033300: Data Exchange, DE Wrapper - Specialize WS for each transfer process
dpasukhi [Tue, 3 Jan 2023 19:09:28 +0000 (19:09 +0000)]
0033300: Data Exchange, DE Wrapper - Specialize WS for each transfer process

Updated STEP and IGES to personalize own work session

19 months ago0033399: Configuration - Research into opportunities to increase performance
dpasukhi [Thu, 30 Nov 2023 10:29:11 +0000 (10:29 +0000)]
0033399: Configuration - Research into opportunities to increase performance

Implement CMake profiles to modify compiler and linker flags

19 months ago0033540: Data Exchange - Segmentation fault on loading model
ichesnok [Mon, 27 Nov 2023 14:29:00 +0000 (14:29 +0000)]
0033540: Data Exchange - Segmentation fault on loading model

Implemented workaround to avoid crash on out-of-ISO files

19 months ago0033483: Data Exchange - Static_Interface local instance for the model
ichesnok [Mon, 25 Sep 2023 10:23:08 +0000 (11:23 +0100)]
0033483: Data Exchange - Static_Interface local instance for the model

StepData_StepParameters class created and used instead of Interface_Static

19 months ago0033474: Data Exchange - Implement stream reading into RWMesh interface
ichesnok [Tue, 12 Sep 2023 10:58:55 +0000 (11:58 +0100)]
0033474: Data Exchange - Implement stream reading into RWMesh interface

Stream usage as parameter

19 months ago0033531: Configuration - Rework DataExchange ToolKits organization
dpasukhi [Sun, 19 Nov 2023 11:09:33 +0000 (11:09 +0000)]
0033531: Configuration - Rework DataExchange ToolKits organization

Integrated DE plugin functionality.
Reworked DE components:
 - TKDESTEP: Handling STEP file format.
 - TKDEOBJ: Handling OBJ file format.
 - TKDEIGES: Handling IGES file format.
 - TKDEGLTF: Handling GLTF file format.
 - TKDEVRML: Handling VRML file format.
 - TKDEPLY: Handling PLY file format.
 - TKDESTL: Handling STL file format.
Reworked DE DRAW components:
  TKXSDRAWSTEP: Container for DE command to work with STEP.
  TKXSDRAWOBJ: Container for DE command to work with OBJ.
  TKXSDRAWIGES: Container for DE command to work with IGES.
  TKXSDRAWGLTF: Container for DE command to work with GLTF.
  TKXSDRAWVRML: Container for DE command to work with VRML.
  TKXSDRAWPLY: Container for DE command to work with PLY.
  TKXSDRAWSTL: Container for DE command to work with STL.
TKXSDRAW rework to be base DRAW plugin to keep DE session and utils.
Updated documentation
Updated samples

19 months ago0033425: Configuration - Implement JeMalloc memory manager
dpasukhi [Wed, 22 Nov 2023 11:49:24 +0000 (11:49 +0000)]
0033425: Configuration - Implement JeMalloc memory manager

Integrated CMake procedure to choose MMGR
Default MMGE is Native

19 months ago0033529: Data Exchange, Step - Move on IncAllocator functionality
dpasukhi [Mon, 13 Nov 2023 21:46:25 +0000 (21:46 +0000)]
0033529: Data Exchange, Step - Move on IncAllocator functionality

Update allocation mechanism for StepParser
Decrease the table size for parsing

19 months ago0033370: Foundation Classes - Moving into STL and Boost functionality
dpasukhi [Sat, 5 Aug 2023 16:53:19 +0000 (17:53 +0100)]
0033370: Foundation Classes - Moving into STL and Boost functionality

NCollection containers update:
  - NCollection_Array1 - updated functionality
  - NCollection_Array2 - NCollection_Array1 as a wrapper for 2array
  - NCollection_Vector -> NCollection_DynamicArray was renamed and reworked.
TCollection:
  - Use static empty string to avoid allocations on empty string
 NCollection allocators update:
  - NCollection_Allocator - allocator that used Standard::Allocate
  - NCollection_OccAllocator - allocator-wrapper that used OCC BaseAllocator objects
  - NCollection_IncAllocator - rework to increase performance
Standard:
  - Rework functionality to use different allocation libs
  - Implement basic of new way to wrap allocations tools
  - Define 4 ways to allocation (defines in configure stage)
 Additional changes:
  - Hash function uses std::hash functionality
   - size_t as a hash value
  - New HashUtils with Murmur and FVN hash algo for x32 and x64
  - Deprecated _0.cxx and .gxx DE classes reorganized
  - Create own utility for std memory
  - Update Standard_Transient to be more platform-independent
 Math TK changes:
  - math_Vector -> match_BaseVector<>
    - Buffer decreased to cash 32 elements instead of 512

19 months ago0033521: Visualization - possibility to redefine rotation persistence in Graphic3d_Tr... CR0-WEEK-48 IR-2023-11-30
rodrlyra [Fri, 3 Nov 2023 15:25:49 +0000 (15:25 +0000)]
0033521: Visualization - possibility to redefine rotation persistence in Graphic3d_TransformPers

Added virtual function to Graphic3d_TransformPers that allows overriding rotation persistence behavior on application level.

20 months ago0033491: Data Exchange, Step Import - Incorrect import of ComplexTriangulatedFace IR-2023-11-10
ichesnok [Mon, 25 Sep 2023 10:04:05 +0000 (11:04 +0100)]
0033491: Data Exchange, Step Import - Incorrect import of ComplexTriangulatedFace

Reading and writing of triangle_strips and triangle_fans has been corrected in RWStepVisual_RWComplexTriangulatedFace.cxx file. And corresponding corrections have been added to other files.

20 months ago0033515: Modeling Algorithm - BRepExtrema_DistShapeShape poduces wrong result IR-2023-11-03
akaftasev [Wed, 25 Oct 2023 11:32:49 +0000 (12:32 +0100)]
0033515: Modeling Algorithm - BRepExtrema_DistShapeShape poduces wrong result

Changed redundant square operation

21 months ago0032666: Data Exchange - Cannot write STEP file from an XCAF document containing... CR0-WEEK-43 IR-2023-10-27
dorlov [Mon, 21 Nov 2022 18:13:43 +0000 (18:13 +0000)]
0032666: Data Exchange - Cannot write STEP file from an XCAF document containing only triangulations in the faces

Added support of reading and writing of the triangulated_surface_set.
Prevented creation of tesselated geometry under the schemas different from AP242DIS.
test step_read corrected, switched parameter write.step.schema to AP242DIS in begin and back to AP214CD at the end

21 months ago0033486: Data Exchange - Mistake in processing of the oriented dimensions IR-2023-09-22
ika [Thu, 21 Sep 2023 13:01:59 +0000 (14:01 +0100)]
0033486: Data Exchange - Mistake in processing of the oriented dimensions

Remove using the array member's number instead of array member.

21 months ago0033470: Application Framework - TDataStd_NamedData HasSmth() methods return true...
ika [Thu, 7 Sep 2023 14:02:05 +0000 (15:02 +0100)]
0033470: Application Framework - TDataStd_NamedData HasSmth() methods return true for empty containers.

Add checks for empty containers.

21 months ago0033484: Data Exchange, Step Import - Pretessellated geometry is translated incompletely
anv [Fri, 15 Sep 2023 05:15:34 +0000 (06:15 +0100)]
0033484: Data Exchange, Step Import - Pretessellated geometry is translated incompletely

Added proper translation for TessellatedCurveSet and ComplexTriangulatedSurfaceSet.

22 months ago0033426: Data Exchange, VRML - Impossible to import VRML V1 CR0-WEEK-37 IR-2023-09-15
ichesnok [Mon, 24 Jul 2023 08:43:30 +0000 (09:43 +0100)]
0033426: Data Exchange, VRML - Impossible to import VRML V1

VrmlData_ShapeNode creating (for vrml v1 case) was added

22 months ago0033351: Data Exchange, Step - Improvement for thread safety of the STEP translator CR0-WEEK-36 IR-2023-09-08
ichesnok [Tue, 28 Mar 2023 12:29:44 +0000 (13:29 +0100)]
0033351: Data Exchange, Step - Improvement for thread safety of the STEP translator

Local StepData_Factors object usage for each session
Static variables isolated

22 months ago0033183: Data Exchange - Lose texture after saving XBF file
ichesnok [Thu, 31 Aug 2023 14:56:33 +0000 (15:56 +0100)]
0033183: Data Exchange - Lose texture after saving XBF file

Texture reading and writing changed in VisMaterial drivers

22 months ago0033450: Modeling algorithm - HLR algorightm stucks
akaftasev [Thu, 31 Aug 2023 11:42:05 +0000 (12:42 +0100)]
0033450: Modeling algorithm - HLR algorightm stucks

Selecting the middle point between XInf and XSup leads situation, where X values almost does not change.
To prevent this situation, select shifted point instead of middle.

22 months ago0033449: Modeling Algorithm - Crash in BRepTools_GTrsfModification::NewTriangulation... IR-2023-09-01
akaftasev [Tue, 29 Aug 2023 12:18:39 +0000 (13:18 +0100)]
0033449: Modeling Algorithm - Crash in BRepTools_GTrsfModification::NewTriangulation() method

Changed iteration limits from theTriangulation->NbTriangles() to theTriangulation->NbNodes()
Provided modification of the normals only with rotation (gp_GTrsf::Form() == gp_Other  leads to crash)

22 months ago0033446: Modeling Alghorithms - Creating offset with one of the degenerated edge... CR0-WEEK-34 IR-2023-08-25
akaftasev [Tue, 8 Aug 2023 11:52:12 +0000 (12:52 +0100)]
0033446: Modeling Alghorithms - Creating offset with one of the degenerated edge leads to crash

Added condition to prevent out of range error

23 months ago0033445: Coding - Changing binary XOR in boolean expression CR0-WEEK-32 IR-2023-08-11
akaftasev [Mon, 7 Aug 2023 08:58:01 +0000 (09:58 +0100)]
0033445: Coding - Changing binary XOR in boolean expression

Changed binary XOR to the ternary operator.

23 months ago0033420: Modeling Algorithm - Missing inner part after offset operation CR0-WEEK-31 IR-2023-08-04
akaftasev [Tue, 4 Jul 2023 13:23:22 +0000 (14:23 +0100)]
0033420: Modeling Algorithm - Missing inner part after offset operation

Added condition to not remove face image, consisting only of invalid edges for artifactically invalid face.
This face image should be connected with other image faces minimum through the edge.

23 months ago0033436: Data Exchange, DE_Wrapper - DEXCAFCascade_ConfigurationNode::BuildProvider...
oan [Thu, 27 Jul 2023 15:18:59 +0000 (16:18 +0100)]
0033436: Data Exchange, DE_Wrapper - DEXCAFCascade_ConfigurationNode::BuildProvider() not initialize provider

Pass pointer to DEXCAFCascade_ConfigurationNode to DEXCAFCascade_Provider;
Remove forcible manual reset of Provider's node in DE_Wrapper::FindProvider() to verify that all specializations of configuration node work properly without necessity of workarounds.

23 months ago0033421: Modeling Algorithms - ShapeUpgrade_UnifySameDomain throws exception
akaftasev [Tue, 1 Aug 2023 12:10:47 +0000 (13:10 +0100)]
0033421: Modeling Algorithms - ShapeUpgrade_UnifySameDomain throws exception

In method ShapeUpgrade_UnifySameDomain::IntUnifyFaces() the searched edge is finally checked that it is not empty before accessing it.

23 months ago0031217: Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when...
akaftasev [Tue, 1 Aug 2023 13:00:20 +0000 (14:00 +0100)]
0031217: Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and SectionAxis

Added protection from crashes when IsParallel

23 months ago0033398: Modeling Algorithms - ShapeUpgrade_UnifySameDomain throws exception on speci...
akaftasev [Tue, 1 Aug 2023 14:05:10 +0000 (15:05 +0100)]
0033398: Modeling Algorithms - ShapeUpgrade_UnifySameDomain throws exception on specific STEP model

Added additional checking in static method FindCoordBounds to avoid processing null pcurves

23 months ago0026578: Modeling Algorithm - Exceptions in offset operation with intersection
akaftasev [Wed, 2 Aug 2023 11:36:55 +0000 (12:36 +0100)]
0026578: Modeling Algorithm - Exceptions in offset operation with intersection

Added test cases

23 months ago0032681: Data Exchange - Missed dimension after STEP export
ichesnok [Thu, 23 Mar 2023 09:54:10 +0000 (09:54 +0000)]
0032681: Data Exchange - Missed dimension after STEP export

Changed level of detalisation (TopAbs_EDGE -> TopAbs_VERTEX by default)

2 years ago0032879: Visualization, AIS_ViewController - define separate gesture mappings for... CR0-WEEK-30 IR-2023-07-28
sshutina [Mon, 17 Jul 2023 22:14:55 +0000 (23:14 +0100)]
0032879: Visualization, AIS_ViewController - define separate gesture mappings for dragging

Fixed problem of usage of objects dragging during zoom and pan
Added new draw command to change gesture for muse buttons
Added test

2 years ago0033419: Tests - Updating test case data CR0-WEEK-27
dkulikov [Tue, 4 Jul 2023 09:29:13 +0000 (10:29 +0100)]
0033419: Tests - Updating test case data

Filenames in bug33414 are updated.

2 years ago33343: Documentation, Overview - Incorrect doxygen syntax
btokarev [Mon, 19 Jun 2023 14:41:36 +0000 (15:41 +0100)]
33343: Documentation, Overview - Incorrect doxygen syntax

Removed inclusions of empathized *text* from the titles
Text empathizers re-implemented
Reverted to no empathize style

2 years ago0033414: Modeling Algorithms - Access violation during executing BRepAlgoAPI_Section... CR0-WEEK-26 IR-2023-06-30
dkulikov [Thu, 22 Jun 2023 15:54:21 +0000 (16:54 +0100)]
0033414: Modeling Algorithms - Access violation during executing BRepAlgoAPI_Section::Build()

Crush occurred due to the fields
IntTools_SurfaceRangeLocalizeData::myUParams,
IntTools_SurfaceRangeLocalizeData::myVParams
and IntTools_SurfaceRangeLocalizeData::myGridPoints not being checked
for NULL in some cases.
Missing checks are added.

2 years ago0031956: Visualization - provide Image_AlienPixMap::Save() writing into a memory...
mzernova [Fri, 19 Nov 2021 07:11:21 +0000 (07:11 +0000)]
0031956: Visualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file

Added two new Image_AlienPixMap::Save() overloads, taking std::ostream or memory buffer arguments.

2 years ago0033391: Coding - Clearing old definition way for strcasecmp CR0-WEEK-22 CR0-WEEK-23 CR0-WEEK-24 IR-2023-06-02 IR-2023-06-16
dpasukhi [Mon, 22 May 2023 11:53:10 +0000 (12:53 +0100)]
0033391: Coding - Clearing old definition way for strcasecmp

Removed artifacts for strcasecmp definitions

2 years ago0033372: Visualization - Compilation of git master fails against vtk 9.2.6
dpasukhi [Fri, 19 May 2023 20:04:43 +0000 (21:04 +0100)]
0033372: Visualization - Compilation of git master fails against vtk 9.2.6

Fixed compilation on vtk 9.2.6.
Resolved name collisions with X11 headers

2 years ago0033390: Coding - Debug version of OCCT does not compile CR0-WEEK-21 IR-2023-05-26
akaftasev [Mon, 22 May 2023 11:00:32 +0000 (12:00 +0100)]
0033390: Coding - Debug version of OCCT does not compile

Deleted code for OCCT_DEBUG was returned and added under macros OCCT_DEBUG

2 years ago0033379: Coding - Processing Clang-15 warnings CR0-WEEK-20 IR-2023-05-19
dpasukhi [Wed, 17 May 2023 19:45:06 +0000 (19:45 +0000)]
0033379: Coding - Processing Clang-15 warnings

Fixed warning generated by Clang++-15

2 years ago0033375: Coding - Static Analyzing processing. Performance
dpasukhi [Sat, 6 May 2023 22:56:45 +0000 (22:56 +0000)]
0033375: Coding - Static Analyzing processing. Performance

Performance update applied:
  - moving to const reference as much as possible
Result of CLANG_TIDY (static analyzing filter: perform*)

2 years ago0033361: Modeling Algorithm - Fuse operation generates incomplete result
akaftasev [Wed, 12 Apr 2023 13:05:50 +0000 (14:05 +0100)]
0033361: Modeling Algorithm - Fuse operation generates incomplete result

Added additional check of Face-Face intersection to avoid missing section edges because of sequence of Face-Face interference processing

2 years ago0033378: Configuration - Moving ExpToCas into separate module
dpasukhi [Mon, 15 May 2023 07:11:45 +0000 (08:11 +0100)]
0033378: Configuration - Moving ExpToCas into separate module

Moved ExpToCasExe and its DLL to new module - DETools
Created new module - DETools to keep tools to DE
Changed definition of main of ExpToCasExe to not const parameter
FlexLexer.h moved to general location into TKernel

2 years ago0030066: Data Exchange - Fail to load VRML from ArcGIS
ichesnok [Mon, 27 Mar 2023 08:37:44 +0000 (09:37 +0100)]
0030066: Data Exchange - Fail to load VRML from ArcGIS

Fixed VrmlData_Scene::readHeader method

2 years ago0033318: Data Exchange - Modifying the BRep flag after exporting the shape
ichesnok [Thu, 23 Mar 2023 20:06:06 +0000 (20:06 +0000)]
0033318: Data Exchange - Modifying the BRep flag after exporting the shape

Fixed condition for setting 'checked' flag

2 years ago0033369: Modeling Algorithms - BRepBuilderAPI_Transform makes invalid shape after...
anv [Fri, 28 Apr 2023 03:26:11 +0000 (04:26 +0100)]
0033369: Modeling Algorithms - BRepBuilderAPI_Transform makes invalid shape after transformation

Added check to avoid setting parametric boundaries to infinity.

2 years ago0033382: Configuration - Installation issue for debug mode for static build
dpasukhi [Tue, 16 May 2023 12:48:11 +0000 (13:48 +0100)]
0033382: Configuration - Installation issue for debug mode for static build

Updated install command to handle BUILD_SHARED_LIBS configuration

2 years ago0033350: Data Exchange, Step Import - Improving parsing performance IR-2023-05-12
dpasukhi [Wed, 22 Mar 2023 18:22:44 +0000 (18:22 +0000)]
0033350: Data Exchange, Step Import - Improving parsing performance

Improved performance of parser by disable checking for eof (20% parsing time)
Changed step parser's record to keep last one to fast insert into end.

2 years ago0033377: Data Exchange - STEPCAFControl_Reader crash in OCC 7.7.0
dpasukhi [Wed, 10 May 2023 18:26:55 +0000 (19:26 +0100)]
0033377: Data Exchange - STEPCAFControl_Reader crash in OCC 7.7.0

Added checking for null object for STEPCAFControl_Reader::SettleShapeData

2 years ago0033366: Documentation - Add description of BRepAlgoAPI_Algo::Shape() CR0-WEEK-16 IR-2023-04-21
msmediasofts [Tue, 28 Mar 2023 09:25:14 +0000 (11:25 +0200)]
0033366: Documentation - Add description of BRepAlgoAPI_Algo::Shape()

Added description of BRepAlgoAPI_Algo::Shape()

2 years ago0031777: Visualization - improve SelectMgr_EntityOwner to process selection scheme IR-2023-04-14
mzernova [Tue, 7 Feb 2023 02:17:58 +0000 (02:17 +0000)]
0031777: Visualization - improve SelectMgr_EntityOwner to process selection scheme

The selection scheme has been propagated to Owner object interface, and the
AIS_Selection::Select() method has been replaced to unify the logic.

2 years ago0023638: Data Exchange - Reading IGES file produced invalid shape CR0-WEEK-13 IR-2023-03-31
dorlov [Fri, 13 Jan 2023 13:25:17 +0000 (13:25 +0000)]
0023638: Data Exchange - Reading IGES file produced invalid shape

Removed double healing of Iges group entities
Added ShapeBuild_ReShape member to the IGESData_IGESModel class, shapes which are registered in ShapeBuild_ReShape class does not process to healing

2 years ago0033327: Data Exchange, IGES Import - SubfigureDef can't read string CR0-WEEK-12 IR-2023-03-24
dpasukhi [Thu, 9 Mar 2023 17:08:39 +0000 (17:08 +0000)]
0033327: Data Exchange, IGES Import - SubfigureDef can't read string

Fixed problem with texted types
Added checking for null string for subfigure via XCAF transferring

2 years ago0033337: DRAW - Can't load plugins on Linux OS
dpasukhi [Thu, 9 Mar 2023 16:24:11 +0000 (16:24 +0000)]
0033337: DRAW - Can't load plugins on Linux OS

WSL 2 have windows FileSystem and as a result we have \r symbols before \n
For this cases we can just remove \r\n (\n is a last symbol) for the node value.

2 years ago0033331: Data Exchange, Step Import - Unsupported Representation Items
dpasukhi [Mon, 20 Feb 2023 12:45:48 +0000 (12:45 +0000)]
0033331: Data Exchange, Step Import - Unsupported Representation Items

Fixed problem with iteration on Null RI

2 years ago0033345: Coding - Memory allocation operators got inaccessible IR-2023-03-17
anv [Thu, 16 Mar 2023 21:21:40 +0000 (21:21 +0000)]
0033345: Coding - Memory allocation operators got inaccessible

Macros was moved back to public.

2 years ago0033340: Modeling Algorithm - Improve memory management performance in the `PaveFiller`
akaftasev [Fri, 3 Mar 2023 15:43:40 +0000 (18:43 +0300)]
0033340: Modeling Algorithm - Improve memory management performance in the `PaveFiller`

Changed NCollection_BaseAllocator to NCollection_IncAllocator in BOPAlgo_PaveFiller::MakeBlocks()

2 years ago0033092: Data Exchange, Documentation - Implementation of DE_Wrapper documentation
dpasukhi [Mon, 28 Nov 2022 12:58:04 +0000 (12:58 +0000)]
0033092: Data Exchange, Documentation - Implementation of DE_Wrapper documentation

Implement new user-guide documentation for DE Wrapper

2 years ago0033264: Modeling Algorithms - Result of section operation is incomplete
akaftasev [Mon, 6 Mar 2023 20:16:01 +0000 (23:16 +0300)]
0033264: Modeling Algorithms - Result of section operation is incomplete

Test case added.

2 years ago0033263: Modeling Algorithms - BRepFilletAPI_MakeFillet doesn't work for current... IR-2023-02-10
akaftasev [Thu, 9 Feb 2023 15:36:01 +0000 (18:36 +0300)]
0033263: Modeling Algorithms - BRepFilletAPI_MakeFillet doesn't work for current parameters

Do not calculate edge state if there are more than 4 G1 connections for currect vertex.

2 years ago0030292: Modeling Algorithms - BRepBndLib should avoid using Poly_Polygon3D when...
akaftasev [Mon, 6 Feb 2023 11:17:10 +0000 (14:17 +0300)]
0030292: Modeling Algorithms - BRepBndLib should avoid using Poly_Polygon3D when called with useTriangulation set to false

BRepBndLib.cxx : treatment of useTriangulation is modified according to specified behavior of algorithm
BRepTest_CurveCommands.cxx : creation edge from polygon3d is added in Draw command mkedge.

2 years ago0030055: BRepOffset_MakeOffset throws "TopoDS_Vertex hasn't gp_Pnt" in intersection...
akaftasev [Mon, 6 Feb 2023 11:15:35 +0000 (14:15 +0300)]
0030055: BRepOffset_MakeOffset throws "TopoDS_Vertex hasn't gp_Pnt" in intersection mode

Diagnostic of mixed connectivity of faces along common edge is added.
If algorithm finds such pair of faces, it stops working with special error code.

2 years ago0033317: Data Exchange, Step Export - Ignoring color attached to the reference shape... IR-2023-02-03
dpasukhi [Thu, 26 Jan 2023 15:24:07 +0000 (15:24 +0000)]
0033317: Data Exchange, Step Export - Ignoring color attached to the reference shape label

Fixed problem with pure referencing.
  To export reference label to step we convert it to the assembly with one part.
  All attributes attached to the label should be moved to the new part.
  For working with it new map contains only pure reference labels, that converted to the part
  was implemented to the STEPCAFControl_Writer.
Updated code style of the STEPCAFControl_Writer
Improved ability to export labels from different documents
Removed OCCT_Debug macros to print in Trace gravity

2 years ago0027848: Visualization - sensitivity of lines is too high
mzernova [Tue, 22 Nov 2022 11:30:24 +0000 (11:30 +0000)]
0027848: Visualization - sensitivity of lines is too high

Improved objects sorting by depth.

The sensitivity calculation for the manipulator has been changed.
Now the sensitivity of the elements of the manipulator depends on its size.

Also fixed the problem of erroneous selection of unfilled circles (SelectMgr_Frustum<N>::hasCircleOverlap() function).

Test case vselect/bugs/bug27848 added.

2 years ago0030828: Data Exchange - The commands getting shapes from XCAF document should be...
dorlov [Thu, 19 Jan 2023 16:20:59 +0000 (16:20 +0000)]
0030828: Data Exchange - The commands getting shapes from XCAF document should be available in C++

Added two new overloaded methods XCAFDoc_ShapeTool::GetOneShape: one returns TopoDS_Shape from TDF_LabelSequence and the other from a sequence of all top-level shapes which are free

2 years ago0032570: Visualization, AIS_AnimationObject - define rotation around axis
mzernova [Mon, 27 Dec 2021 23:57:13 +0000 (23:57 +0000)]
0032570: Visualization, AIS_AnimationObject - define rotation around axis

When using AIS_AnimationObject, linear interpolation is performed from one gp_Trsf transformation to another.
But when an object rotates around a specific axis, the object moves not along a linear trajectory,
but along a circle. Therefore, a separate class AIS_AnimationAxisRotation was created that
allows to animate rotation around a specific axis.

Test case tests/v3d/bugs/bug32570 was added.

2 years ago0033307: Data Exchange, Step Import - Crash after reading empty edge loop
dpasukhi [Wed, 11 Jan 2023 11:29:08 +0000 (11:29 +0000)]
0033307: Data Exchange, Step Import - Crash after reading empty edge loop

Fixed problem with empty edge list in the edge loop, mark as a fail entity in this case

2 years ago0033320: Data Exchange - Reading of a VRML file with a long line fails IR-2023-01-27
vro [Tue, 24 Jan 2023 09:48:33 +0000 (09:48 +0000)]
0033320: Data Exchange - Reading of a VRML file with a long line fails

Implement rolling back input stream to split on possible logical parts by comma or space.

2 years ago0033312: Data Exchange - NULL-dereference in StepToTopoDS_TranslateShell::Init() IR-2023-01-20
dorlov [Thu, 12 Jan 2023 11:39:07 +0000 (11:39 +0000)]
0033312: Data Exchange - NULL-dereference in StepToTopoDS_TranslateShell::Init()

The condition "if" was changed to opposite

2 years ago0033311: Modeling Algorithm - No results of thrusection algorithm
akaftasev [Mon, 16 Jan 2023 11:05:53 +0000 (14:05 +0300)]
0033311: Modeling Algorithm - No results of thrusection algorithm

Changed default value of myPercent

2 years ago0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system...
oan [Mon, 16 Jan 2023 13:19:06 +0000 (16:19 +0300)]
0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system memory, etc)

Added test case

2 years ago0033305: Coding - BOPTools_PairSelector::Clear method uses "Clear" instead of "clear...
rodrlyra [Thu, 12 Jan 2023 16:43:29 +0000 (16:43 +0000)]
0033305: Coding - BOPTools_PairSelector::Clear method uses "Clear" instead of "clear" on std::vector

2 years ago0033306: Modeling Algorithm - Crash in TrimEdge() method IR-2023-01-13
akaftasev [Wed, 4 Jan 2023 11:47:00 +0000 (14:47 +0300)]
0033306: Modeling Algorithm - Crash in TrimEdge() method

Added condition to not cut the edges by closely located parameters

2 years ago0033298: Modeling Algorithm - Offset operation gives wrong result CR0-WEEK-1 IR-2023-01-06
akaftasev [Wed, 21 Dec 2022 19:11:49 +0000 (22:11 +0300)]
0033298: Modeling Algorithm - Offset operation gives wrong result

Process only those images of the faces, if one if them has anInsideEdges/anInsideVertices and the other is not.

2 years ago0033227: Modeling Algorithm - BOPAlgo_BuilderSolid generates incomplete result
akaftasev [Thu, 22 Dec 2022 14:09:54 +0000 (17:09 +0300)]
0033227: Modeling Algorithm - BOPAlgo_BuilderSolid generates incomplete result

Deleted outer loop for shells.
Added additional check of edges orientation for RefineShell().

2 years ago0033304: Modeling Data - Floating point signal when converting a B-spline curve to...
msv [Tue, 27 Dec 2022 19:19:11 +0000 (22:19 +0300)]
0033304: Modeling Data - Floating point signal when converting a B-spline curve to analytical form

Protect the static function ConicDefinition from calling sqrt with negative argument.

2 years ago0033247: Modeling Algorithm - BOP report small edges problem and produce empty result CR0-WEEK-51 IR-2022-12-23
akaftasev [Fri, 9 Dec 2022 11:01:08 +0000 (14:01 +0300)]
0033247: Modeling Algorithm - BOP report small edges problem and produce empty result

Build shifted pcurve for ellipse and circle cases.

2 years ago0033265: Modeling Algorithms - Boolean operation hangs on the attached shapes IR-2022-12-16
akaftasev [Fri, 9 Dec 2022 16:32:00 +0000 (19:32 +0300)]
0033265: Modeling Algorithms - Boolean operation hangs on the attached shapes

Added test case.

2 years ago0033244: Modeling Algorithms - Surface-surface intersection produces the double curves CR0-WEEK-50
ifv [Tue, 6 Dec 2022 07:12:22 +0000 (10:12 +0300)]
0033244: Modeling Algorithms - Surface-surface intersection produces the double curves

IntAna_QuadQuadGeo.cxx - estimation of angular tolerance is added for case cone-cone

tests/lowalgos/intss/bug33244 - new test case added

2 years ago0030781: Sweep algorithm creates non-planar edges (orig. BOPAlgo_MakerVolume fails... CR0-WEEK-49 IR-2022-12-11
ifv [Fri, 2 Dec 2022 08:47:37 +0000 (11:47 +0300)]
0030781: Sweep algorithm creates non-planar edges (orig. BOPAlgo_MakerVolume fails to build a solid)

BRepFill/BRepFill_AdvancedEvolved.cxx - estimation of angular tolerance is added in method GetLids()

tests/evolved/voluved/bug30781 - new test added

2 years ago0033246: Data Exchange, DE Wrapper - Checking license leads to performance problem
dpasukhi [Fri, 2 Dec 2022 09:14:38 +0000 (09:14 +0000)]
0033246: Data Exchange, DE Wrapper - Checking license leads to performance problem

ReWork UpdateLoad functionality:
UpdateLoad calls only if provider is found.
UpdateLoad calls only for chosen type of translation (read/write)
Add new method to UpdateLoad all registered nodes.

2 years ago0031919: Modeling Algorithms - General Fuse raises exception on attempt to imprint...
nunomsil [Wed, 7 Dec 2022 14:45:36 +0000 (14:45 +0000)]
0031919: Modeling Algorithms - General Fuse raises exception on attempt to imprint a contour to a shell

Exception no longer occurs in current version. However, fuzzyvalue should be set to 1 for the result of the operation to make sense (result of common is 1 wire). Test case added