]> OCCT Git - occt.git/log
occt.git
4 months ago[bos #42181] Fatal error in Fuse selection NCollection_DataMap::Find CR0_fix_selection
jfa [Fri, 14 Jun 2024 12:32:10 +0000 (13:32 +0100)]
[bos #42181] Fatal error in Fuse selection NCollection_DataMap::Find

5 months agoTesting - WebAssembly build validation #256
Pasukhin Dmitry [Fri, 14 Feb 2025 16:08:45 +0000 (17:08 +0100)]
Testing - WebAssembly build validation #256

Add WebAssembly build workflow for Ubuntu and update CMake warnings for OpenGL usage
Add workaround for platform-specific macros setup before project command
Update CMake configuration for Emscripten and Android toolchains;
Disable default features for vcpkg manifest
Update GitHub workflows to support multiple build types and improve compiler flag handling
Disabled DETools module for Emscripten support in CMake configuration

5 months agoData Exchange - IGES Import Degenerated BSpline crash #368
Pasukhin Dmitry [Fri, 14 Feb 2025 13:13:53 +0000 (14:13 +0100)]
Data Exchange - IGES Import Degenerated BSpline crash #368

Degenerated bspline leads to null dereference
Fix BSpline curve check and improve exception handling in TransferBSplineCurve

5 months agoCMake - Disable building Overview by default #369
Pasukhin Dmitry [Fri, 14 Feb 2025 10:47:45 +0000 (11:47 +0100)]
CMake - Disable building Overview by default #369

Updated default behavior to not build documentation
  when find doxygen (in case of windows it ofter exist in env variables).
Fixed issue when not defined BUILD_DOC_Overview, but found doxygen cmake issue.

5 months agoTesting - Update GH testing to filter completed reference branch testing #365
Pasukhin Dmitry [Thu, 13 Feb 2025 10:24:12 +0000 (11:24 +0100)]
Testing - Update GH testing to filter completed reference branch testing #365

5 months agoCoding - Initialize member variables with default values #362
Pasukhin Dmitry [Wed, 12 Feb 2025 14:26:00 +0000 (15:26 +0100)]
Coding - Initialize member variables with default values #362

Clang-tidy applying rule for cppcoreguidelines-pro-type-member-init.
Updated: TKernel and TKMath
Update constructor in some classes instead of direct initialization
Refactor Bnd_BoundSortBox and Bnd_Box constructors to initialize member variables directly

5 months agoData Exchange - Step Import metadata crash protecting #357
Pasukhin Dmitry [Wed, 12 Feb 2025 14:25:19 +0000 (15:25 +0100)]
Data Exchange - Step Import metadata crash protecting #357

Fix null checks and improve attribute handling in STEPCAFControl_Reader

5 months agoDocumentation - Fix various typos found in codebase #361
luzpaz [Tue, 11 Feb 2025 12:38:56 +0000 (07:38 -0500)]
Documentation - Fix various typos found in codebase #361

Found via `codespell -q 3 -S "*.fr" -L aadd,abnd,abord,acount,adn,afile,aline,alo,alocation,alog,als,anc,ane,anid,anormal,anout,ans,anumber,aother,aparent,apoints,aprogram,asender,asign,asnd,ba,bbuild,bloc,bord,bu,caf,cas,childrens,childs,classe,clen,commun,cylindre,don,dout,dum,ede,entites,fo,fonction,guid,hist,identic,ii,indx,inout,invalide,ist,iterm,llength,lod,mape,modeling,methode,mye,myu,nam,nd,nin,normale,normales,ons,parametre,parametres,periode,pres,reste,resul,secont,serie,shs,slin,som,somme,syntaxe,sur,te,thei,theis,ther,theres,thes,thev,thex,thet,tol,transfert,va,vas,verifie,vertexes,weight`

5 months agoCoding - Bump version to 7.9.0.beta2 #359 V7_9_0_beta2
dpasukhi [Mon, 10 Feb 2025 20:27:33 +0000 (20:27 +0000)]
Coding - Bump version to 7.9.0.beta2 #359

5 months agoData Exchange, Step Import - Disable Product Metadata mode by default #358
Pasukhin Dmitry [Mon, 10 Feb 2025 19:39:41 +0000 (20:39 +0100)]
Data Exchange, Step Import - Disable Product Metadata mode by default #358

Add default initialization for myProductMetaMode in STEPCAFControl_Reader

5 months agoData Exchange - STEP Export ignore write schema #355
Pasukhin Dmitry [Mon, 10 Feb 2025 15:26:39 +0000 (16:26 +0100)]
Data Exchange - STEP Export ignore write schema #355

Refactor StepData_StepModel constructor and initialization logic for write unit

5 months agoTesting - Samples build on GH #331
Pasukhin Dmitry [Sun, 9 Feb 2025 23:00:37 +0000 (00:00 +0100)]
Testing - Samples build on GH #331

Add GitHub Action to build CSharp sample on Windows
Add MFC and Qt sample build actions
Improve CASROOT assignment logic in env.build.sh and env.install.sh for better compatibility with binary directories

5 months agoTesting - Update GH Action for 7.9.0 #340
Pasukhin Dmitry [Sun, 9 Feb 2025 21:20:05 +0000 (22:20 +0100)]
Testing - Update GH Action for 7.9.0 #340

Update CAD files with new public data
Update 3rd-party archives with new versions of dependencies
Disable signal catching in bug28054_2

5 months agoCoding - Refactor ShapeHealingMap to NCollection #346
Pasukhin Dmitry [Sat, 8 Feb 2025 21:01:14 +0000 (22:01 +0100)]
Coding - Refactor ShapeHealingMap to NCollection #346

Update container type to OCCT to avoid allocation on creating.
Refactor shape processing parameter handling to use XSAlgo_ShapeProcessor for consistency.

5 months agoDocumentation - Fix various typos found in codebase #350
luzpaz [Sat, 8 Feb 2025 09:44:51 +0000 (04:44 -0500)]
Documentation - Fix various typos found in codebase #350

5 months agoData Exchange - Fix GLTF Export for vertices and edges #348
Zernova Marina [Fri, 7 Feb 2025 16:06:47 +0000 (16:06 +0000)]
Data Exchange - Fix GLTF Export for vertices and edges #348

Only free vertices and edges are exported now

5 months agoData Exchange, GLTF Import - Fix visualization of colors #347
Zernova Marina [Fri, 7 Feb 2025 10:13:54 +0000 (10:13 +0000)]
Data Exchange, GLTF Import - Fix visualization of colors #347

Fixed issue with material color space

5 months agoConfiguration - regression in wasm build #342
oan [Tue, 4 Feb 2025 16:30:14 +0000 (16:30 +0000)]
Configuration - regression in wasm build #342

Quick fix absent definitions

5 months agoData Exchange - Schema missed during export #343
Pasukhin Dmitry [Tue, 4 Feb 2025 16:27:16 +0000 (17:27 +0100)]
Data Exchange - Schema missed during export #343

Refactor model creating to apply schema based on DE parameters.
New model creating stage no more inject header info.

5 months agoData Exchange - Fix GLTF Export Materials for edges #341
Zernova Marina [Tue, 4 Feb 2025 09:22:45 +0000 (09:22 +0000)]
Data Exchange - Fix GLTF Export Materials for edges #341

Fixed issue with edge colors

5 months agoData Exchange - RWMesh_CafReader deferred loading issue for no faces #339
Zernova Marina [Mon, 3 Feb 2025 22:29:33 +0000 (22:29 +0000)]
Data Exchange - RWMesh_CafReader deferred loading issue for no faces #339

Fixed issue when trying to apply deferred loading for edges or vertexes.

5 months agoConfiguration - TCL OCCT version extraction issue #337
Pasukhin Dmitry [Mon, 3 Feb 2025 22:25:29 +0000 (23:25 +0100)]
Configuration - TCL OCCT version extraction issue #337

Enhance version detection in OCCDoc_DetectCasVersion
Refactor documentation build workflow and integrate into multiplatform CI

5 months agoCoding - Bump version to 7.9.0.beta1 #335 V7_9_0_beta1
dpasukhi [Mon, 3 Feb 2025 13:35:09 +0000 (13:35 +0000)]
Coding - Bump version to 7.9.0.beta1 #335

5 months agoCoding - Update method guards for consistency #333
Pasukhin Dmitry [Mon, 3 Feb 2025 11:16:00 +0000 (12:16 +0100)]
Coding - Update method guards for consistency #333

Apply new regex replacement with method's guards in .cxx
Update GH workflow with style checking

5 months agoTesting - Marking failed code formatting #332
Pasukhin Dmitry [Mon, 3 Feb 2025 09:26:58 +0000 (10:26 +0100)]
Testing - Marking failed code formatting #332

5 months agoGLTF Import - Edge and Vertex support #242
mzernova [Sun, 5 Jan 2025 22:47:18 +0000 (22:47 +0000)]
GLTF Import - Edge and Vertex support #242

Added functionality to import Points and Lines from GLTF format

5 months agoGLTF Export - Edge and Vertex support #243
mzernova [Sun, 5 Jan 2025 22:43:23 +0000 (22:43 +0000)]
GLTF Export - Edge and Vertex support #243

Added functionality to export TopoDS_Vertex and TopoDS_Edge to GLTF format

5 months agoTesting - Inspector building on GH #329
Pasukhin Dmitry [Sun, 2 Feb 2025 15:35:20 +0000 (16:35 +0100)]
Testing - Inspector building on GH #329

Add GitHub Actions for TInspector build and clang-format check
Reorganize QT search to work with native Linux packages
Reorganize build-and-test workflow to have actions

5 months agoTesting - Disable summarization on cancellation #330
Pasukhin Dmitry [Sun, 2 Feb 2025 10:34:32 +0000 (11:34 +0100)]
Testing - Disable summarization on cancellation #330

5 months agoTesting - Summary image diff keeping #326
Pasukhin Dmitry [Sat, 1 Feb 2025 19:57:50 +0000 (20:57 +0100)]
Testing - Summary image diff keeping #326

Add script to clean unused test images and update workflow to include it

5 months agoVisualization - Add test for flipped view #328
Zernova Marina [Sat, 1 Feb 2025 19:56:25 +0000 (19:56 +0000)]
Visualization - Add test for flipped view #328

Test case for #312

5 months agoVisualization - flat skin for AIS_Manipulator presentation #321
Zernova Marina [Sat, 1 Feb 2025 17:20:22 +0000 (17:20 +0000)]
Visualization - flat skin for AIS_Manipulator presentation #321

Created flat skin for AIS_Manipulator presentation
Added "-flat" option to vmanipulator command
Added functionality to transform the manipulator depending on the camera rotation.
Added local transformation for Graphic3d_Group.
Added RecomputeTransformation method to PrsMgr_PresentableObject.
When overloading this method, you can set a transformation for an object depending on the rotation of the camera.
v3d/manipulator/flat: test case added

5 months agoData Exchange - StepExport non-manifold missed parameter #324
Pasukhin Dmitry [Sat, 1 Feb 2025 17:17:46 +0000 (18:17 +0100)]
Data Exchange - StepExport non-manifold missed parameter #324

Added missed configuration for non-manifold topology writing

5 months agoTesting - GH Summary disabling for cancellation #325
Pasukhin Dmitry [Sat, 1 Feb 2025 17:17:21 +0000 (18:17 +0100)]
Testing - GH Summary disabling for cancellation #325

5 months agoConfiguration - Git commit info missed #323
Pasukhin Dmitry [Sat, 1 Feb 2025 17:16:58 +0000 (18:16 +0100)]
Configuration - Git commit info missed #323

Fixed issue with missed git info as a part of dev version.
Add option to enable/disable git hash extraction in version string.

5 months agoData Exchange, Step Import - Adding product attributes to metadata #315
Dmitrii Kulikov [Sat, 1 Feb 2025 17:16:21 +0000 (17:16 +0000)]
Data Exchange, Step Import - Adding product attributes to metadata #315

Product attributes metadata for step files is now handled during import.
Attribute ReadProductMetadata is added to DESTEP_Parameters.
Method STEPCAFControl_Reader::ReadMetadata() is partially refactored.
Metadata tests for STEP are updated with new data.
Metadata tests for GLTF are updated with new data (since original
metadata in those tests is acquired from STEP files).

5 months agoFoundation Classes - BVH surface area calculation for transformed boxes #322
oan [Sat, 1 Feb 2025 00:22:19 +0000 (00:22 +0000)]
Foundation Classes - BVH surface area calculation for transformed boxes #322

BVH::SurfaceCalculator::Area() fails to calculate area of transformed box.
Use absolute values of intermediate calculations to
  compute surface area of a box, so they do not diminish each other.

5 months agoTesting - Marking Win retesting failed #314
Pasukhin Dmitry [Fri, 31 Jan 2025 23:04:55 +0000 (00:04 +0100)]
Testing - Marking Win retesting failed #314

5 months agoConfiguration - Version detection on MacOS #313
Pasukhin Dmitry [Fri, 31 Jan 2025 23:04:27 +0000 (00:04 +0100)]
Configuration - Version detection on MacOS #313

Improve version extraction and add error handling for missing version file

5 months agoConfiguration - Message about compiler limitation #311
Pasukhin Dmitry [Fri, 31 Jan 2025 23:04:01 +0000 (00:04 +0100)]
Configuration - Message about compiler limitation #311

Build System - Add compiler version checks for C++17 support

5 months agoCoding, Emscripten - fix runtime crashes on WASM64 (-sMEMORY64=1) #320
Kirill Gavrilov [Fri, 31 Jan 2025 21:06:18 +0000 (21:06 +0000)]
Coding, Emscripten - fix runtime crashes on WASM64 (-sMEMORY64=1) #320

by explicitly casting between BigInt and Number within EM_JS() blocks.

5 months agoConfiguration, TKV3d - remove redundant dependency from OpenGL #319
Kirill Gavrilov [Sat, 3 Aug 2024 07:06:06 +0000 (10:06 +0300)]
Configuration, TKV3d - remove redundant dependency from OpenGL #319

5 months agoVisualization, OpenGl_GraduatedTrihedron - fix misprint in drawing line within OOZ_XO...
Kirill Gavrilov [Thu, 26 Oct 2023 18:14:23 +0000 (21:14 +0300)]
Visualization, OpenGl_GraduatedTrihedron - fix misprint in drawing line within OOZ_XOZ orientation #318

5 months agoData Exchange, XCAFDoc_ColorTool::AddColor() - fix generated HEX name of a color...
Kirill Gavrilov [Wed, 25 Oct 2023 12:53:18 +0000 (15:53 +0300)]
Data Exchange, XCAFDoc_ColorTool::AddColor() - fix generated HEX name of a color #317

Quantity_ColorRGBA::ColorToHex() is now used for consistent HEX formatting of RGBA colors.

5 months agoVisualization, Aspect_OpenVRSession - fix JSON file path when it is located relative...
Kirill Gavrilov [Wed, 25 Oct 2023 12:31:14 +0000 (15:31 +0300)]
Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative to executable #316

5 months agoVisualization - Implement interface to change myToFlipOutput of OpenGl_View #312
Zernova Marina [Fri, 31 Jan 2025 13:44:31 +0000 (13:44 +0000)]
Visualization - Implement interface to change myToFlipOutput of OpenGl_View #312

5 months agoConfiguration - Static library warning #310
Pasukhin Dmitry [Fri, 31 Jan 2025 13:37:12 +0000 (14:37 +0100)]
Configuration - Static library warning #310

Add warning message about LGPL 2.1 licensing limitations for static linking

5 months agoConfiguration - Version information update #308
Pasukhin Dmitry [Fri, 31 Jan 2025 13:17:38 +0000 (14:17 +0100)]
Configuration - Version information update #308

Refactor version handling to use version.cmake and update related scripts.
Created new symbols to extract information by C function

5 months agoVisualization - AIS_Manipulator is unusable when attaching to objects with Graphic3d_...
Zernova Marina [Fri, 31 Jan 2025 11:26:31 +0000 (11:26 +0000)]
Visualization - AIS_Manipulator is unusable when attaching to objects with Graphic3d_TMF_ZoomPers #309

Recalculation of manipulator position if attached object has zoom transform persistence
  as well as set its anchor point in Transformation.

5 months agoData Exchange - Step thread safety improvement #307
Dmitrii Kulikov [Thu, 30 Jan 2025 17:42:07 +0000 (17:42 +0000)]
Data Exchange - Step thread safety improvement #307

Mutex is added to XSControl_WorkSession to prevent data races
  during reading and writing.
Tests are added to check the behavior of STEP readers/writers in
  multithreading environment.

5 months agoModeling - Degenerated curve on offset #301 deg_curve_offset
dpasukhi [Tue, 28 Jan 2025 16:37:58 +0000 (16:37 +0000)]
Modeling - Degenerated curve on offset #301

Skip degenerated curves in BRepOffset_Tool::TryProject to improve robustness

5 months agoModeling - Add boundary check in BRepFill_Filling to handle empty boundaries #300
dpasukhi [Tue, 28 Jan 2025 16:29:56 +0000 (16:29 +0000)]
Modeling - Add boundary check in BRepFill_Filling to handle empty boundaries #300

5 months agoModeling - Add warning for incomplete wire detection in WireFromList #299
dpasukhi [Tue, 28 Jan 2025 15:49:11 +0000 (15:49 +0000)]
Modeling - Add warning for incomplete wire detection in WireFromList #299

5 months agoModeling - Enhance intersection handling for closed curves in IntPatch_Intersection...
dpasukhi [Tue, 28 Jan 2025 12:21:26 +0000 (12:21 +0000)]
Modeling - Enhance intersection handling for closed curves in IntPatch_Intersection #298

5 months agoModeling - Add closed state handling in BRepLib_MakeEdge #297
dpasukhi [Tue, 28 Jan 2025 12:17:02 +0000 (12:17 +0000)]
Modeling - Add closed state handling in BRepLib_MakeEdge #297

5 months agoModeling - Resetting Plane YVector #296
dpasukhi [Tue, 28 Jan 2025 12:11:53 +0000 (12:11 +0000)]
Modeling - Resetting Plane YVector #296

Fix calculation of myOY in GeomPlate_BuildAveragePlane to use cross product with OZ

5 months agoModeling - NURB Convert fix for degenerated #295
dpasukhi [Tue, 28 Jan 2025 10:41:23 +0000 (10:41 +0000)]
Modeling - NURB Convert fix for degenerated #295

Fix logic for processing degenerated edges in NewPolygon function

5 months agoDocumentation - Update links in README #293
dpasukhi [Mon, 27 Jan 2025 12:36:10 +0000 (12:36 +0000)]
Documentation - Update links in README #293

5 months agoRevert "Configuration - Single config lib direct linking #289"
dpasukhi [Sun, 26 Jan 2025 18:29:45 +0000 (18:29 +0000)]
Revert "Configuration - Single config lib direct linking #289"

This reverts commit 81a807b6cf5704f39379fc7bcabd6a61a63c7eed.

5 months agoConfiguration - Single config lib direct linking #289
dpasukhi [Sun, 26 Jan 2025 13:04:23 +0000 (13:04 +0000)]
Configuration - Single config lib direct linking #289

Enhance PROCESS_CSF_LIBRARIES function to track last detected library for improved directory handling

5 months agoCoding - Add .git-blame-ignore-revs for global formatting #288
dpasukhi [Sun, 26 Jan 2025 10:59:36 +0000 (10:59 +0000)]
Coding - Add .git-blame-ignore-revs for global formatting #288

5 months agoCoding - Apply .clang-format formatting #286
dpasukhi [Sat, 25 Jan 2025 20:15:22 +0000 (20:15 +0000)]
Coding - Apply .clang-format formatting #286

Update empty method guards to new style with regex (see PR).
Used clang-format 18.1.8.
New actions to validate code formatting is added.
Update .clang-format with disabling of include sorting.
  It is temporary changes, then include will be sorted.
Apply formatting for /src and /tools folder.
The files with .hxx,.cxx,.lxx,.h,.pxx,.hpp,*.cpp extensions.

5 months agoData Exchange - Losing attributes on NonManifold STEP #284 step_losing_attrs
dpasukhi [Fri, 24 Jan 2025 01:20:44 +0000 (01:20 +0000)]
Data Exchange - Losing attributes on NonManifold STEP #284

Move step related processing from XSBase to STP module.
Added history apply after reading of NonManifold

5 months agoData Exchange - Clear up Step from Static_Interface #283
dpasukhi [Thu, 23 Jan 2025 23:40:47 +0000 (23:40 +0000)]
Data Exchange - Clear up Step from Static_Interface #283

Remove unused Interface_Static includes
Update SchemaName method signatures

5 months agoData Exchange - DE Wrapper Shape Healing Parameters #282
dpasukhi [Thu, 23 Jan 2025 22:50:41 +0000 (22:50 +0000)]
Data Exchange - DE Wrapper Shape Healing Parameters #282

Propagate shape healing parameters to STP and IGES nodes.
Update naming to avoid misunderstanding.

5 months agoData Exchange - Update Readers with ShapeHealing parameters #247
dkulikov [Fri, 20 Dec 2024 14:31:04 +0000 (14:31 +0000)]
Data Exchange - Update Readers with ShapeHealing parameters #247

All instances of using XSAlgo_AlgoContainer are replaced with
XSAlgo_ShapeProcessor.

Parameters for XSAlgo_ShapeProcessor operations are now can be passes
via the updated interface of respective classes.

Staqtic function to read processing parameters from file is added to
XSAlgo_ShapeProcessor.

5 months agoCoding - Fix draco buffer index out of bounds
Elias Cohenca [Thu, 23 Jan 2025 00:25:08 +0000 (02:25 +0200)]
Coding - Fix draco buffer index out of bounds

Fixed an exception where the bufferIndex is out of bounds.
Happens when Draco compression is combined with SetMergeFaces.

5 months agoConfiguration - fix jemalloc installation #281
Elias Cohenca [Wed, 22 Jan 2025 19:28:29 +0000 (21:28 +0200)]
Configuration - fix jemalloc installation #281

5 months agoTesting - Update retest artifact uploading #272
dpasukhi [Sun, 19 Jan 2025 23:03:16 +0000 (23:03 +0000)]
Testing - Update retest artifact uploading #272

Add "bugs moddata_1 bug20627" to ignore in linux related to
  performance issue.

5 months agoTesting - Retesting step for GH Actions #268
dpasukhi [Sun, 19 Jan 2025 17:55:15 +0000 (17:55 +0000)]
Testing - Retesting step for GH Actions #268

Adding new step to retest result per each job line.
Rework logic to minimize retesting.
Creating base for splitting into actions.
Adding new TCL command to clear up test folder from skipped

5 months agoTesting - Add cpulimit to address critical issue on Ubuntu #267
dpasukhi [Fri, 17 Jan 2025 19:20:01 +0000 (19:20 +0000)]
Testing - Add cpulimit to address critical issue on Ubuntu #267

5 months agoTesting - Update path for propeller script in video recorder tests #266
dpasukhi [Fri, 17 Jan 2025 18:40:49 +0000 (18:40 +0000)]
Testing - Update path for propeller script in video recorder tests #266

5 months agoTesting - Fix loading order of OCAF and XDE in bug tests #265
dpasukhi [Fri, 17 Jan 2025 18:34:14 +0000 (18:34 +0000)]
Testing - Fix loading order of OCAF and XDE in bug tests #265

GNU compiler have some optimization leads to multiple definitions
  of static global objects.
In case of static linking there are no possible issues, but in case of plug-in
  application can have multiple definitions of single object.

5 months agoTesting - Specify test result folder #264
dpasukhi [Fri, 17 Jan 2025 17:17:07 +0000 (17:17 +0000)]
Testing - Specify test result folder #264

Update build-and-test workflow to specify output directories for test results

5 months agoCoding - Move StepData_ConfParameters to DESTEP package #261
dpasukhi [Thu, 16 Jan 2025 23:09:25 +0000 (23:09 +0000)]
Coding - Move StepData_ConfParameters to DESTEP package #261

Replace StepData_ConfParameters with DESTEP_Parameters across multiple files.
New location will help to keep any translate related stuff in one place for high level usage.

5 months agoCoding - Separate DE Wrapper's plugins to own packages #260
dpasukhi [Fri, 17 Jan 2025 15:29:17 +0000 (15:29 +0000)]
Coding - Separate DE Wrapper's plugins to own packages #260

Reorganize DE Wrapper classes to have single style and logic.
Each TKDE* will have own DE*_Provider and DE*_ConfigurationNode
DE* package will have all necessary classes and enums inside instead of another places.

5 months agoTesting - Update file handling outside catch block #263
dpasukhi [Fri, 17 Jan 2025 13:58:14 +0000 (13:58 +0000)]
Testing - Update file handling outside catch block #263

5 months agoTesting - Update dependencies to include additional font packages #262
dpasukhi [Fri, 17 Jan 2025 11:33:03 +0000 (11:33 +0000)]
Testing - Update dependencies to include additional font packages #262

6 months agoCoding - Isolate long attached comments for clang-format #259
dpasukhi [Thu, 16 Jan 2025 20:15:29 +0000 (20:15 +0000)]
Coding - Isolate long attached comments for clang-format #259

Automatically update code with clang-format disabling for avoiding formatting.
You can check the python script in GitHub PR

6 months agoData Exchange - STP provider missed parameters #257
dpasukhi [Wed, 15 Jan 2025 16:31:15 +0000 (16:31 +0000)]
Data Exchange - STP provider missed parameters #257

Update STEPCAFControl_Provider and StepData_ConfParameters for improved parameter handling.
Update the default write parameters for WriteMode_Assembly to auto

6 months agoCoding - Add clang-format configuration #246
dpasukhi [Mon, 6 Jan 2025 12:35:56 +0000 (12:35 +0000)]
Coding - Add clang-format configuration #246

New clang-format configuration added to determinate code style.
The default version is 16.
Extend CMake to copy config file to build root.
Method/function separator deprecation:
  In case if function/method has declaration in header,
    definition must not have related comment.
    Only //==== [100 chars] ==== is allowed as a not connected
    separator.
  In case if function/method has  NOT declaration in header,
    definition must have related comment in doxygen style:
    // Descriptions
    // @param
    // @return
    Or just function/method separator:
    //==== [100 chars] ====
  All old separators with no description must be replaced to
    //==== [100 chars] ====

6 months agoFoundation Classes - Standard_Type destructor static_assert #255
dpasukhi [Mon, 13 Jan 2025 15:29:41 +0000 (15:29 +0000)]
Foundation Classes - Standard_Type destructor static_assert #255

Fix assertion logic in Standard_Type destructor for registry unbinding

6 months agoTesting - MinGW build validation #253
dpasukhi [Fri, 10 Jan 2025 23:29:32 +0000 (23:29 +0000)]
Testing - MinGW build validation #253

Add MinGW build validation workflow for Windows
Fix MinGW freetype linkings

6 months agoTesting - MSVC build validation #252
dpasukhi [Fri, 10 Jan 2025 22:23:23 +0000 (22:23 +0000)]
Testing - MSVC build validation #252

Add MSVC and Clang build validation workflow for Windows

6 months agoTesting - Ubuntu build validation #251
dpasukhi [Thu, 9 Jan 2025 22:37:07 +0000 (22:37 +0000)]
Testing - Ubuntu build validation #251

Add GitHub Actions workflow for Ubuntu build validation
TODO: check static build with VTK support

6 months agoConfiguration - Headers are missed during installing #250
dpasukhi [Thu, 9 Jan 2025 17:56:45 +0000 (17:56 +0000)]
Configuration - Headers are missed during installing #250

Regression after #223
Fix regex in OCCT header files installation to include files with xx at the end

6 months agoConfiguration - Library CSF directory separation #248
dpasukhi [Thu, 9 Jan 2025 15:01:45 +0000 (15:01 +0000)]
Configuration - Library CSF directory separation #248

Refactor jemalloc CMake processing to handling in CMake scripts

6 months agoCoding - Deprecate Handle_* type usage #240
dpasukhi [Sun, 5 Jan 2025 12:41:34 +0000 (12:41 +0000)]
Coding - Deprecate Handle_* type usage #240

Handle_* require special processing in Windows
  and it is already not needed for VS15+
In 7.9 dev will be reorginized to use typedef even for MSVC.
In  8.0 will be fully removed.

6 months agoFoundation Classes - TopoDS_Shape accept scaling by default #239
dpasukhi [Sat, 4 Jan 2025 22:28:01 +0000 (22:28 +0000)]
Foundation Classes - TopoDS_Shape accept scaling by default #239

Refactor Location and Move methods to validate transformations.
New default value to raise exception is false.

6 months agoCoding - Remove static global variables #238
dpasukhi [Sat, 4 Jan 2025 21:39:32 +0000 (21:39 +0000)]
Coding - Remove static global variables #238

Refactor IGES Protocols to eliminate redundant type registrations

6 months agoFoundation Classes - Standard_Type avoiding C++ RTTI #236
dpasukhi [Sat, 4 Jan 2025 16:15:53 +0000 (16:15 +0000)]
Foundation Classes - Standard_Type avoiding C++ RTTI #236

Refactor OCCT RTTI to not keep reference to std::type_info.
Deep copy is returned as before version 7.8.0.
Keep only owning information about classes.

6 months agoFoundation Classes - Standard_Type Instance reorganization #235
dpasukhi [Sat, 4 Jan 2025 16:15:53 +0000 (16:15 +0000)]
Foundation Classes - Standard_Type Instance reorganization #235

Refactor Standard_Type to have inline instances.
Now types are stored directly in classes.

6 months agoFoundation Classes - Optimize IsKind operation #234
dpasukhi [Sat, 4 Jan 2025 12:38:42 +0000 (12:38 +0000)]
Foundation Classes - Optimize IsKind operation #234

Refactor Standard_Type::SubType methods for improved clarity and performance

6 months agoDRAW - Static plugin factory refactor #233
dpasukhi [Sat, 4 Jan 2025 11:35:31 +0000 (11:35 +0000)]
DRAW - Static plugin factory refactor #233

Reorganize Static plug-in mapping to be more transparent.

6 months agoFoundation Classes - Update type declaration #232
dpasukhi [Sat, 4 Jan 2025 11:06:47 +0000 (11:06 +0000)]
Foundation Classes - Update type declaration #232

Refactor type handling in BinMDataStd and Interface modules;
update RTTI implementations in StepVisual and XCAFDoc

6 months agoCoding - Moving to use IsKind by type #224
dpasukhi [Sun, 29 Dec 2024 14:16:37 +0000 (14:16 +0000)]
Coding - Moving to use IsKind by type #224

Refactor AIS_InteractiveContext and MeshVS_Mesh to use STANDARD_TYPE for type checks;
deprecate old FindBuilder method

6 months agoCoding - Disable exporting internal RWStep* includes #223
dpasukhi [Sun, 29 Dec 2024 11:20:53 +0000 (11:20 +0000)]
Coding - Disable exporting internal RWStep* includes #223

Refactor header file extensions from .hxx to .pxx and update include statements.
Enable handling by IDE gxx and pxx extensions as a cpp header files.
Introduce Standard_HIDDEN to hide symbols

6 months agoCoding - Combining multiple gxx IntWalk and IntPatch #222
dpasukhi [Sat, 28 Dec 2024 23:20:35 +0000 (23:20 +0000)]
Coding - Combining multiple gxx IntWalk and IntPatch #222

Refactor IntWalk and IntPatch to remove unused gxx files
  and combine to one with refactoring

6 months agoCoding - Refactor TopoDS.hxx #221
dpasukhi [Sat, 28 Dec 2024 21:39:33 +0000 (21:39 +0000)]
Coding - Refactor TopoDS.hxx #221

Remove TopoDS.lxx and move inline definition to declarations.
Refactor TopoDS.hxx with more detailed description.

6 months agoCoding - Remove unused source files and clean up header includes #220
dpasukhi [Sat, 28 Dec 2024 21:14:47 +0000 (21:14 +0000)]
Coding - Remove unused source files and clean up header includes #220