]> OCCT Git - occt.git/log
occt.git
7 months agoGLTF Import - Metadata support #184 CR0_dkulikov
dkulikov [Mon, 9 Dec 2024 17:06:33 +0000 (17:06 +0000)]
GLTF Import - Metadata support #184

Limited support of metadata import is added to RWGltf_GltfJsonParser.
Following Json data types are currently supported: int32, double, string,
array of int32, array of double, array of strings, Json object.
Notable unsupported types are: binary data, array of Json objects.
Metadata is processed for nodes and meshes.
Tests "gltf_export" are updated with import testing and renamed to "gltf".

Method RWGltf_GltfJsonParser::gltfParseSceneNode() is slightly
refactored: parsing of transformations and transformation matrices is
moved into separate functions.

7 months agoVisualization - Selection does not work for simple shape #182
mzernova [Thu, 18 Jul 2024 23:16:11 +0000 (00:16 +0100)]
Visualization - Selection does not work for simple shape #182

Fixed direction calculation for Select3D_SensitiveCylinder created from Geom_CylindricalSurface

7 months agoDocumentation - Enhance comments in StlAPI_Reader.hxx #180
dkulikov [Thu, 5 Dec 2024 14:59:16 +0000 (14:59 +0000)]
Documentation - Enhance comments in StlAPI_Reader.hxx #180

Update comments to clarify STL file reading inefficiencies

7 months agoCoding - Missing include in TopoDSToStep_Builder.hxx #179
dpasukhi [Wed, 4 Dec 2024 17:26:08 +0000 (17:26 +0000)]
Coding - Missing include in TopoDSToStep_Builder.hxx #179

7 months agoConfiguration - Remove package precompiled definitions from CMake #174
dpasukhi [Sun, 1 Dec 2024 18:01:03 +0000 (18:01 +0000)]
Configuration - Remove package precompiled definitions from CMake #174

7 months agoConfiguration - Update minimum CMake version to 3.10 #169
dpasukhi [Sun, 24 Nov 2024 19:06:02 +0000 (19:06 +0000)]
Configuration - Update minimum CMake version to 3.10 #169

7 months agoConfiguration - Removing '.gxx' from installation #165
dpasukhi [Mon, 18 Nov 2024 12:11:18 +0000 (12:11 +0000)]
Configuration - Removing '.gxx' from installation #165

Refactor file extension filters in CMake and QMake configurations.
Gxx extension used as a "old-way-template" to repeat .cxx content.
Marking gxx as a source file instead of header.
Moving to absolute path for the gxx integrations.

7 months agoTesting - GH Enabling multiprocessor testing on Win #162
dpasukhi [Sun, 17 Nov 2024 20:27:39 +0000 (20:27 +0000)]
Testing - GH Enabling multiprocessor testing on Win #162

tcl threads required VC C++ 2010 redistribution package for run-time.
Downloading dll helps to start testing in multiprocessor env

7 months agoDocumentation - Update parameter annotations for consistency #161
dpasukhi [Sun, 17 Nov 2024 20:22:51 +0000 (20:22 +0000)]
Documentation - Update parameter annotations for consistency #161

Reorganized style for param to the next templates:
 - "@param theParameter description ..."
 - "@param[in] theParameter description ..."
 - "@param[out] theParameter description ..."
 - "@param[in][out] theParameter description ..."
 The replacement was with keeping spacing, no removing of extra spaces.
In some files '/' was used instead of '@', that was not updated yet.

7 months agoCoding - PCH improvements #160
dpasukhi [Sat, 16 Nov 2024 19:05:55 +0000 (19:05 +0000)]
Coding - PCH improvements #160

Refactor precompiled headers and improve Windows compatibility.
Extend TKernel, TKMath and TKBRep pch with more usage headers.
Implement PCH for TKDEIGES, TKDESTEP, TKMesh, and TKXSBase.

8 months agoConfiguration - Optimize include copy logic #155
dpasukhi [Thu, 14 Nov 2024 21:44:31 +0000 (21:44 +0000)]
Configuration - Optimize include copy logic #155

Avoiding re-copying the existed header file.

8 months agoCoding - Update env.sh to handle aarch64 #158
dpasukhi [Thu, 14 Nov 2024 07:43:25 +0000 (07:43 +0000)]
Coding - Update env.sh to handle aarch64 #158

Fix architecture check to include aarch64 in build and install scripts

8 months agoCoding - Compiling issue on aarch64 #157
dpasukhi [Thu, 14 Nov 2024 07:41:02 +0000 (07:41 +0000)]
Coding - Compiling issue on aarch64 #157

Enumerator value evaluates to -1, which cannot be narrowed to type 'char' [-Wc++11-narrowing]

8 months agoTesting - Limit for MacOS on GH #149
dpasukhi [Tue, 5 Nov 2024 19:57:10 +0000 (19:57 +0000)]
Testing - Limit for MacOS on GH #149

Limit MacOS for testing only "caf basic" to view only DRAW status.
Simplify cmake install operation for each job

8 months agoTesting - Update tests with direct VIS loading #148
dpasukhi [Tue, 5 Nov 2024 19:45:59 +0000 (19:45 +0000)]
Testing - Update tests with direct VIS loading #148

XShow and XDisplay XDE require VISUALIZATION for correct work.
In some scenario DRAWEXE can generate a duplicates of the internal static singletons.
This means each dynamic library will have their own instance of the static singleton.
Update all direct library loading to use the XDE plugin mechanism.
This will ensure that the XDE plugin is loaded only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen

8 months agoTesting - Removing direct DCAF loading #147
dpasukhi [Tue, 5 Nov 2024 16:56:11 +0000 (16:56 +0000)]
Testing - Removing direct DCAF loading #147

DCAF require VISUALIZATION for correct work.
  In some scenario DRAWEXE can generate a dublicates of the
  internal static singletons. This means each dynamic library
  will have their own instance of the static singleton.
Update all direct library loading to use the DCAF plugin
  mechanism. This will ensure that the DCAF plugin is loaded
  only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen

8 months agoConfiguration - MinGW Clang build support #144
dpasukhi [Sun, 3 Nov 2024 20:14:36 +0000 (20:14 +0000)]
Configuration - MinGW Clang build support #144

Clang with GNU needs the same compiler flags as for GCC.
Refactor compiler flag to be more flexible.

8 months agoTesting - Update GH Win Jobs with Mesa3D #143
dpasukhi [Sun, 3 Nov 2024 12:25:05 +0000 (12:25 +0000)]
Testing - Update GH Win Jobs with Mesa3D #143

Extend GH actions on windows with mesa3D

8 months agoTesting - Disable GH master summarizing #138
dpasukhi [Thu, 31 Oct 2024 21:53:57 +0000 (21:53 +0000)]
Testing - Disable GH master summarizing #138

Disable GH action for summarize on master branch

8 months agoFoundation Classes - AsciiString RemoveAll do not trunk the string #136
dpasukhi [Thu, 31 Oct 2024 21:19:54 +0000 (21:19 +0000)]
Foundation Classes - AsciiString RemoveAll do not trunk the string #136

Updated RemoveAll to trunk the string and
  reuse single method for case sensitive and not sensitive

8 months agoConfiguration - Update optimization flag to O3 #132
dpasukhi [Wed, 30 Oct 2024 09:27:58 +0000 (09:27 +0000)]
Configuration - Update optimization flag to O3 #132

By Default CMake was used O3 in release mode.
It means on production mode we override from O3 to O2.

8 months agoTesting - GH Actions RefMan on Windows #131
dpasukhi [Wed, 30 Oct 2024 08:41:48 +0000 (08:41 +0000)]
Testing - GH Actions RefMan on Windows #131

The RefMan doc generation is OS depended.
All previous versions were generated on Win.

8 months agoConfiguration - Second installation failed #129
dpasukhi [Mon, 28 Oct 2024 15:52:38 +0000 (15:52 +0000)]
Configuration - Second installation failed #129

After first installation, second will be failed
Regression after#97

8 months agoDocumentation - Issue template simplification #127
dpasukhi [Mon, 28 Oct 2024 12:18:17 +0000 (12:18 +0000)]
Documentation - Issue template simplification #127

Combine the templates into group with bug and feature

8 months agoCoding - GH Issue templates #125
dpasukhi [Sun, 27 Oct 2024 17:22:45 +0000 (17:22 +0000)]
Coding - GH Issue templates #125

Add new issue templates for DRAW, Mesh, Coding, Build,
  Samples, Testing, Modeling, and Configuration

8 months agoTesting - Update GH test compare handling #124
dpasukhi [Sun, 27 Oct 2024 16:52:29 +0000 (16:52 +0000)]
Testing - Update GH test compare handling #124

Extend workflow to work on master
Extend the retention days for summary for 2 weeks

8 months agoDocumentation - Add Contribution guidelines #121
dpasukhi [Sat, 26 Oct 2024 21:36:04 +0000 (22:36 +0100)]
Documentation - Add Contribution guidelines #121

8 months agoTesting - Extend GH Actions to compare results #119
dpasukhi [Sat, 26 Oct 2024 21:07:56 +0000 (22:07 +0100)]
Testing - Extend GH Actions to compare results #119

Implement new logic to compare test result with target branch.
The compare results  are stored in single archive contained .html file per job.
Tests results stored as an artefact per job separately.
Extend the jobs with new 3rd-party and new use_* flags

8 months agoConfiguration - Extend support Ubuntu packages #118
dpasukhi [Sat, 26 Oct 2024 20:59:54 +0000 (21:59 +0100)]
Configuration - Extend support Ubuntu packages #118

Draco, vtk and openvr now can be used from ubuntu packages
Fixed issue for Clang with msvc lib detection

8 months agoTesting - Upgrading action script versions #111
dpasukhi [Sun, 20 Oct 2024 20:09:14 +0000 (21:09 +0100)]
Testing - Upgrading action script versions #111

Fixing dependabot alert issue with version upgrade

8 months agoTests - DRAWEXE Testing integration into GH #109
dpasukhi [Sun, 20 Oct 2024 14:08:26 +0000 (15:08 +0100)]
Tests - DRAWEXE Testing integration into GH #109

Introduced a comprehensive multi-platform build and
  test workflow for OCCT, supporting Windows, macOS, and Linux.
Added a new workflow for automated documentation building.
Reorganized a code analysis workflow using CodeQL
  and Microsoft C++ Code Analysis.

8 months agoConfiguration - Update optimization flags for release build #108
dpasukhi [Sun, 20 Oct 2024 14:03:00 +0000 (15:03 +0100)]
Configuration - Update optimization flags for release build #108

8 months agoCoding - OpenVR module compilation fail #107
dpasukhi [Sun, 20 Oct 2024 13:58:41 +0000 (14:58 +0100)]
Coding - OpenVR module compilation fail #107

Compilation failed with Clang on OpenVR module

8 months agoConfiguration - Production build type for linux #106
dpasukhi [Sat, 19 Oct 2024 16:04:53 +0000 (17:04 +0100)]
Configuration - Production build type for linux #106

Fixed problem with not relevant flags and missed C language flags.

8 months agoConfiguration - JeMalloc from default package #105
dpasukhi [Sat, 19 Oct 2024 16:02:13 +0000 (17:02 +0100)]
Configuration - JeMalloc from default package #105

Fixed issue with jemalloc from ubuntu, debian and etc default packages

8 months agoTests - Action to build Refman doc #103
dpasukhi [Sat, 19 Oct 2024 14:07:38 +0000 (15:07 +0100)]
Tests - Action to build Refman doc #103

Add GitHub Actions workflow for building OCCT refman documentation

9 months agoConfiguration - Option to disable PCH after enabling #102 IR-2024-10-11
dpasukhi [Sun, 13 Oct 2024 09:02:57 +0000 (09:02 +0000)]
Configuration - Option to disable PCH after enabling #102

After enabling PCH it was not possible to disable back.
New CMake feature used for disabling

9 months agoConfiguration - CLang-cl msvc support #101
dpasukhi [Sat, 12 Oct 2024 21:52:11 +0000 (22:52 +0100)]
Configuration - CLang-cl msvc support #101

Update compiler flags and env.bat to work with clang-cl

9 months agoConfiguration - Restoring VTK toolkit processing #99
dpasukhi [Sat, 12 Oct 2024 18:15:44 +0000 (18:15 +0000)]
Configuration - Restoring VTK toolkit processing #99

Migration to PCH breaks some VTK search functionality.
Fixed non-unique package name caching

9 months ago0033565: Configuration - JeMalloc process different build types
dpasukhi [Sat, 12 Oct 2024 17:26:39 +0000 (17:26 +0000)]
0033565: Configuration - JeMalloc process different build types

Accept only static build of JeMalloc

9 months agoConfiguration - custom.bat/sh disappearance #97
dpasukhi [Sat, 12 Oct 2024 16:14:06 +0000 (16:14 +0000)]
Configuration - custom.bat/sh disappearance #97

Fixed issue when  custom.bat/sh not regeneration in build directory
  in case when exists in install directory.

9 months agoConfiguration - CMake extension with PCH and symlink #90
dpasukhi [Mon, 7 Oct 2024 22:04:51 +0000 (22:04 +0000)]
Configuration - CMake extension with PCH and symlink #90

Removed cotire PCH
Integrated native PCH by CMake with the same BUILD_USE_PCH flag
Added new option to avoid extra files in 'build/include' folder and replace it by symlink
  Symlink creates link to the origin file, it has some benefits from debug and build side.
The CMake parameter for symlink is 'BUILD_INCLUDE_SYMLINK'

9 months agoCoding - GCC13 warning suppressing #96
dpasukhi [Sat, 12 Oct 2024 16:26:32 +0000 (16:26 +0000)]
Coding - GCC13 warning suppressing #96

9 months agoCoding - Non-dependency include update #89
dpasukhi [Mon, 7 Oct 2024 21:55:58 +0000 (21:55 +0000)]
Coding - Non-dependency include update #89

Removed or reorganized include that are not a part of the project dependency.
The new file for typedef is added because Select is not direct dependency.

9 months agoCoding - Reorganize code with constexpr #85 IR-2024-10-04
dpasukhi [Sat, 28 Sep 2024 21:19:40 +0000 (21:19 +0000)]
Coding - Reorganize code with constexpr #85

Continue rework Precision.hxx and Standard type definitions

9 months agoData Exchange, Gltf Export - Metadata support #79
ika [Mon, 30 Sep 2024 11:12:05 +0000 (12:12 +0100)]
Data Exchange, Gltf Export - Metadata support #79

Add supporting of metadata key-value export into extras section of each node.

9 months ago0033813: Data Exchange - Implementing common logic for scaling during Write procedure IR-2024-09-27
dpasukhi [Sat, 28 Sep 2024 18:49:22 +0000 (18:49 +0000)]
0033813: Data Exchange - Implementing common logic for scaling during Write procedure

Fixed inconsistency of tests.
'IGES.OCC.write.unit no more' used.

9 months agoData Exchange, Step Export - Crash on PCurve processing #80
dkulikov [Fri, 27 Sep 2024 17:17:55 +0000 (17:17 +0000)]
Data Exchange, Step Export - Crash on PCurve processing #80

Crash in TopoDSToStep_MakeStepFace::Init() that occured due to attempt
to copy null Geom2d_Curve is fixed.

9 months ago0033498: Data Exchange, Step Export - Meshed pretessellated geometry is skipped on...
dkulikov [Fri, 27 Sep 2024 14:14:57 +0000 (14:14 +0000)]
0033498: Data Exchange, Step Export - Meshed pretessellated geometry is skipped on write

Processing of complex_triangulated_surface_set is added to
  STEPCAFControl_GDTProperty::GetTessellation().
Processing of tessellated_curve_set is refactored and moved to a
  separate function.

Problems related to normals list are fixed in
RWStepVisual_RWComplexTriangulatedSurfaceSet::WriteStep():
  Normals list is now checked for nullptr. It is a valid situation that
  occurs when complex_triangulated_surface_set in STEP file has no
  normals.
  Traversing of normals list is performed in correct order. Previously
  rows and columns were switched, which led to crashes or incorrect data.

9 months agoCoding - GitIgnore update with .cache #84
dpasukhi [Sat, 28 Sep 2024 15:54:21 +0000 (15:54 +0000)]
Coding - GitIgnore update with .cache #84

Updated .gitignore

9 months agoDocumentation - Update the main ReadMe #81
dpasukhi [Thu, 26 Sep 2024 15:20:08 +0000 (15:20 +0000)]
Documentation - Update the main ReadMe #81

ReadMe was moved to markdown format.
Updated a links to the resources

9 months ago0033828: Modeling Algorithms - GCPnts_QuasiUniformDeflection returns very different...
jfa [Tue, 17 Sep 2024 16:51:36 +0000 (17:51 +0100)]
0033828: Modeling Algorithms - GCPnts_QuasiUniformDeflection returns very different results under small change in deflection

9 months ago0033813: Data Exchange - Implementing common logic for scaling during Write procedure
anv [Wed, 28 Aug 2024 03:23:16 +0000 (04:23 +0100)]
0033813: Data Exchange - Implementing common logic for scaling during Write procedure

Implementation of common logic for OCCT formats.

9 months ago0027410: Data Exchange, Iges Import - Possible resource leak when parsing an invalid...
dkulikov [Wed, 25 Sep 2024 08:57:29 +0000 (08:57 +0000)]
0027410: Data Exchange, Iges Import - Possible resource leak when parsing an invalid file

fclose() call is added before early return statement in igesread() function.

9 months ago0033723: Configuration - Removing Genproj and Update files
dpasukhi [Sun, 22 Sep 2024 17:48:43 +0000 (17:48 +0000)]
0033723: Configuration - Removing Genproj and Update files

Cleaning repo from not maintaining functionality - genproj and wok
Only 'gendoc' functionality kept.
TODO: migrate gendoc to cmake

9 months ago0033487: Data Exchange, Step Import - Unresolved reference crashes
dkulikov [Mon, 23 Sep 2024 13:59:28 +0000 (13:59 +0000)]
0033487: Data Exchange, Step Import - Unresolved reference crashes

Fixed crash in STEPConstruct_Styles::GetColors() due to nullptr
  dereferencing when source step file has missing
  FILL_AREA_STYLE_COLOUR entities.

9 months agoTesting, GitHub - Marking warnings as errors #73 IR-2024-09-20
dpasukhi [Sun, 22 Sep 2024 12:33:29 +0000 (12:33 +0000)]
Testing, GitHub - Marking warnings as errors #73

Windows, Linux builds now starts checking the warning.
  In warning case the job will be failed.
MacOS having too much warnings related with sprintf.
Linux Clang having a problem with Flex and Bison.

TODO: Fix the warnings for MacOS and Linux Clang.

9 months ago0033665: Data Exchange, Step Import - TransferRoots crashes for invalid STEP files
dkulikov [Sun, 22 Sep 2024 12:33:29 +0000 (12:33 +0000)]
0033665: Data Exchange, Step Import - TransferRoots crashes for invalid STEP files

Fixed exception in RWStepShape_RWEdgeCurve::Check() thrown when trying
    to access step entity in Interface_EntityIterator with zero entities.
Fixed a crash in StepToTopoDS_TranslateFace::Init() caused by
    dereferencing nullptr.
RWStepShape_RWEdgeCurve and RWStepShape_RWEdgeCurve are refactored.
Test bug33665 is added to check the fixed behavior.

9 months agoCoding - Reorganize code with constexpr #68
dpasukhi [Sun, 22 Sep 2024 12:33:29 +0000 (12:33 +0000)]
Coding - Reorganize code with constexpr #68

After rework Precision.hxx some local
  variables can be marked as constexpr

10 months ago0033765: Data Exchange, IGES Export - Missing Model Curves in transfer cache IR-2024-09-13
dpasukhi [Tue, 10 Sep 2024 18:15:18 +0000 (18:15 +0000)]
0033765: Data Exchange, IGES Export - Missing Model Curves in transfer cache

Curve list should be not unique, list is recommended.
One curve can be used by multiple edges.

10 months ago0033806: Shape Healing - ShapeCustom optimization while rebuilding compounds
oan [Mon, 26 Aug 2024 18:39:42 +0000 (19:39 +0100)]
0033806: Shape Healing - ShapeCustom optimization while rebuilding compounds

Avoid double binding of shapes to context.
Take all changes into account by reshape

10 months agoCoding - Precision.hxx file optimization
dpasukhi [Wed, 11 Sep 2024 15:13:10 +0000 (15:13 +0000)]
Coding - Precision.hxx file optimization

Precision.hxx optimized to have compiler-time
  constants for the most common floating-point values.
Reorganized code to avoid static jumping for parametric.

10 months agoCoding - Resolving C26439 & type formatting warnings
dpasukhi [Tue, 10 Sep 2024 17:40:12 +0000 (17:40 +0000)]
Coding - Resolving C26439 & type formatting warnings

Sprintf  with %s always convert values into char*, not safety from int.
Move operators and constructors can be marked as noexcept

10 months agoCoding - Resolving C6319 warning
dpasukhi [Mon, 9 Sep 2024 19:14:00 +0000 (19:14 +0000)]
Coding - Resolving C6319 warning

Use of the comma-operator in a tested expression
  causes the left argument to be ignored when it has no side-effects.

10 months agoCoding - Resolving C26498 warning
dpasukhi [Mon, 9 Sep 2024 18:23:10 +0000 (18:23 +0000)]
Coding - Resolving C26498 warning

C26498 - marking variables constexpr to improve performance

10 months agoCoding - Resolving C6287 & C6282 warnings
dpasukhi [Mon, 9 Sep 2024 18:57:50 +0000 (18:57 +0000)]
Coding - Resolving C6287 & C6282 warnings

Removing redundant code and incorrect operator

10 months agoCoding - Resolving C6263 warnings
dpasukhi [Mon, 9 Sep 2024 18:46:32 +0000 (18:46 +0000)]
Coding - Resolving C6263 warnings

Reorganizing code to not call alloca inside loop.
  alloca allocated memory from stack and free after finishing function

10 months agoCoding - GeomConvert_CurveToAnaCurve warnings fix
dpasukhi [Sat, 7 Sep 2024 09:12:01 +0000 (09:12 +0000)]
Coding - GeomConvert_CurveToAnaCurve warnings fix

10 months agoCoding - Image_AlienPixMap unused parameters
dpasukhi [Sat, 7 Sep 2024 08:51:11 +0000 (08:51 +0000)]
Coding - Image_AlienPixMap unused parameters

10 months ago0033703: Data Exchange, Step Export - Transfer edge speed improvement IR-2024-09-06
dpasukhi [Fri, 6 Sep 2024 20:22:00 +0000 (20:22 +0000)]
0033703: Data Exchange, Step Export - Transfer edge speed improvement

Move optional code close to use case to avoid extra calculation

10 months ago0033319: Coding - Static linking fails with unresolved symbols due to linking order...
reciprocal [Thu, 16 May 2024 14:29:06 +0000 (16:29 +0200)]
0033319: Coding - Static linking fails with unresolved symbols due to linking order and missing transitive dependencies

The absence of target_link_libraries calls for static libraries caused CMake to fail
in modeling the link dependencies correctly.
This fix ensures that CMake correctly exports the dependencies in OpenCASCADEConfig.cmake and
resolves downstream linking errors for projects that link against static OpenCASCADE libraries.

10 months ago0033805: Configuration - Implement GitHub Actions build scripts
dpasukhi [Thu, 5 Sep 2024 14:42:43 +0000 (14:42 +0000)]
0033805: Configuration - Implement GitHub Actions build scripts

Enable MSVC code analyzing to push SARIF files

10 months ago0033750: Configuration - make file configuration failed in mfc example
dpasukhi [Thu, 5 Sep 2024 09:23:43 +0000 (09:23 +0000)]
0033750: Configuration - make file configuration failed in mfc example

Updated MFC sample to build together with OCCT

10 months ago0033812: Configuration, MacOS - Debug Symbols Stripped From Dynamic Libraries
dpasukhi [Wed, 4 Sep 2024 19:46:42 +0000 (19:46 +0000)]
0033812: Configuration, MacOS - Debug Symbols Stripped From Dynamic Libraries

Update optimization flag to release only

10 months ago0033805: Configuration - Implement GitHub Actions build scripts IR-2024-08-30
dpasukhi [Sun, 25 Aug 2024 10:35:38 +0000 (11:35 +0100)]
0033805: Configuration - Implement GitHub Actions build scripts

Build Scripts:
- Linux GCC x64 dynamic
- Linux Clang x64 dynamic
- Windows MSVC x64 dynamic
- macOS Clang x64 dynamic
Security scanning:
- CodeQL security scanning
- MSVC code scanning

10 months ago0033810: Coding - GitIgnore update with .vscode
dpasukhi [Thu, 29 Aug 2024 11:26:23 +0000 (11:26 +0000)]
0033810: Coding - GitIgnore update with .vscode

Updated .gitignore

10 months ago0033808: Coding - FreeType Use unsigned point and contour indexing in `FT_Outline`
dpasukhi [Tue, 27 Aug 2024 10:33:29 +0000 (11:33 +0100)]
0033808: Coding - FreeType Use unsigned point and contour indexing in `FT_Outline`

Changes to auto instead of specific type

10 months ago0033807: Documentation - Fix various typos found in codebase
luzpaz [Sat, 31 Aug 2024 13:26:15 +0000 (09:26 -0400)]
0033807: Documentation - Fix various typos found in codebase

10 months ago0033648: Modeling Algorithms - Bad partition result IR-2024-08-23
astromko [Wed, 7 Aug 2024 14:15:43 +0000 (15:15 +0100)]
0033648: Modeling Algorithms - Bad partition result

Removed unnecessary tolerance increase for Line\Line intersection.
Tolerance increasing logic for some specific curve types
  was added with #26619.
Original fix had no test for Line/Line case and
  theoretically was added as a possible issue.
After research Line/Line case doesn't need a special tolerance case.

10 months ago0033612: Configuration - Build configuration may fail to detect TBB
dpasukhi [Sun, 25 Aug 2024 08:35:49 +0000 (08:35 +0000)]
0033612: Configuration - Build configuration may fail to detect TBB

Fixed TBB type to depends on package

11 months ago0033791: Shape Healing - ShapeCustom not take location of source shape for the cached... IR-2024-08-09
oan [Thu, 8 Aug 2024 18:33:52 +0000 (19:33 +0100)]
0033791: Shape Healing - ShapeCustom not take location of source shape for the cached context and misses root one

Pass ShapeBuild_ReShape to recursive call to retrieve complete change history.
Update history of changes by the source shape (if changed), not only by its subshapes.
Check the context for a cached shape using a reference shape without location.

11 months ago0033788: Data Exchange, DE Wrapper - Shape Healing configuration node
ichesnok [Sun, 4 Aug 2024 19:53:36 +0000 (20:53 +0100)]
0033788: Data Exchange, DE Wrapper - Shape Healing configuration node

DE_ShapeFixParameters class added for shape healing parameters storage.
DE_ShapeFixConfigurationNode class added for work with parameters.

11 months ago0033790: Data Exchange - XCAFDoc_LayerTool creates temporary instances during initial...
oan [Tue, 6 Aug 2024 10:19:21 +0000 (11:19 +0100)]
0033790: Data Exchange - XCAFDoc_LayerTool creates temporary instances during initialization of layer attributes

Removed initialization of temporary objects.

11 months ago0033781: Modeling Algorithms - Using incorrect boundaries while traversing through... IR-2024-08-02
anv [Fri, 26 Jul 2024 13:49:03 +0000 (14:49 +0100)]
0033781: Modeling Algorithms - Using incorrect boundaries while traversing through triangulation

Upper boundary updated for triangulation normals traversing.

11 months ago0033778: Documentation - Fix various typos found in codebase
luzpaz [Fri, 26 Jul 2024 07:51:12 +0000 (03:51 -0400)]
0033778: Documentation - Fix various typos found in codebase

12 months ago0033513: Visualization - Integration of the ability to zoom with vertical mouse movements IR-2024-07-19
carlosah [Tue, 24 Oct 2023 14:20:10 +0000 (15:20 +0100)]
0033513: Visualization - Integration of the ability to zoom with vertical mouse movements

Added a new gesture for zooming after vertical mouse movement - AIS_MouseGesture_ZoomVertical

12 months ago0033729: Visualization - Fixed transparency for capping in 'Graphic3d_RTM_BLEND_OIT...
Vitaut Tryputsin [Thu, 30 May 2024 10:26:24 +0000 (13:26 +0300)]
0033729: Visualization - Fixed transparency for capping in 'Graphic3d_RTM_BLEND_OIT' mode

Added changes connected with restoring of color mask (if we store and restore only rgb part, we can miss transparency)

12 months ago0033766: Documentation - Fix various typos found in codebase
luzpaz [Mon, 15 Jul 2024 15:57:52 +0000 (11:57 -0400)]
0033766: Documentation - Fix various typos found in codebase

12 months ago0033762: Documentation - Fix various typos found in codebase IR-2024-07-12
luzpaz [Sun, 14 Jul 2024 14:19:44 +0000 (10:19 -0400)]
0033762: Documentation - Fix various typos found in codebase

12 months ago0033689: Canonical Recognition - Circle construction problem
akaftasev [Thu, 18 Apr 2024 16:38:11 +0000 (17:38 +0100)]
0033689: Canonical Recognition - Circle construction problem

Fixed problem with creating null-length gp_Dir

12 months ago0033570: Modeling Algorithms - Incorrect result of cutting spheres
akaftasev [Mon, 8 Jul 2024 15:49:52 +0000 (16:49 +0100)]
0033570: Modeling Algorithms - Incorrect result of cutting spheres

The reason of current problem lies inside projection algorithm
Function_SetUVBounds() for projection of circle onto sphere produces shifted bounds.
Incorrect checking of placement on summit of the sphere was fixed.

12 months ago0033751: Shape Healing - Use static values in case of an absent Resource file IR-2024-07-05
anv [Thu, 27 Jun 2024 15:09:48 +0000 (16:09 +0100)]
0033751: Shape Healing - Use static values in case of an absent Resource file

If a Resource file with parameters for ShapeFix is absent, use static parameters instead if possible.

12 months ago0033748: OCCT:Coding - Changing function signature to a more common one
anv [Wed, 26 Jun 2024 11:52:43 +0000 (12:52 +0100)]
0033748: OCCT:Coding - Changing function signature to a more common one

Changing function virtual specifier and return type order to a more common to avoid wrapping issues.

12 months ago0033423: Coding - Memory leak with locale conversion
hosali [Thu, 16 May 2024 14:13:13 +0000 (14:13 +0000)]
0033423: Coding - Memory leak with locale conversion

use of stack allocated temp string instead of dynamic one

12 months ago0033541: Modeling Algorithms - Simple sphere cut from cylinder fails
akaftase [Sun, 7 Jul 2024 18:54:59 +0000 (19:54 +0100)]
0033541: Modeling Algorithms - Simple sphere cut from cylinder fails

Changed condition for combination of WLines into one.
WLine would be excluded from consideration for merging, if one of its middle points between vertices is out of domain (does not lie on both surfaces).

12 months ago0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices
akaftase [Sun, 7 Jul 2024 18:54:35 +0000 (19:54 +0100)]
0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices

This problem occurs because of obtaining 2 ALines which share same vertex on the seam edge.
There should be 2 different vertices with same(or almost the same) 3d parameters, but
with different UV parameters because of periodic surface.
Current fix allows to avoid the same vertices on seam edge and also checks the next vertex.
Added consideration of predicted next point to avoid skipping tha point which is not on seam edge.
Added test case for #33702

12 months ago0033737: Data Exchange, XCAF - Implementing filter tree functionality
Pasukhin Dmitry [Fri, 5 Jul 2024 13:28:39 +0000 (15:28 +0200)]
0033737: Data Exchange, XCAF - Implementing filter tree functionality

Implemented base functionality to filter tree with input label to keep.

12 months ago0033752: Configuration - Update permission inspector.sh
Pasukhin Dmitry [Fri, 28 Jun 2024 11:59:34 +0000 (13:59 +0200)]
0033752: Configuration - Update permission inspector.sh

Updated permission to  owner write only

12 months ago0033749: Configuration - Update permission draw.sh
Thomas [Fri, 28 Jun 2024 08:01:50 +0000 (10:01 +0200)]
0033749: Configuration - Update permission draw.sh

Limit draw.sh permission to 755 instead of 777

13 months ago0032752: Visualization, TKOpenGl - extend V3d_View::ToPixMap() options with Z-layer CR0-IR-2024-05-17 IR-2024-05-17
drochalo [Fri, 3 Nov 2023 10:48:11 +0000 (10:48 +0000)]
0032752: Visualization, TKOpenGl - extend V3d_View::ToPixMap() options with Z-layer

Added option to dump only a selection of zlayer's content.
Changed zlayers redraw and render method for selection of layers to render.
Added filters for layer parsing.
Modified vdump command.
Added test with multiple dumps for comparison.
Added option to dump shadow maps.