occt.git
4 days ago0032722: Visualization, TKOpenGl - performance counters disappear at some camera... CR0-WEEK-2 IR-2022-01-14 master test-inv
achesnok [Sat, 8 Jan 2022 14:07:10 +0000 (17:07 +0300)]
0032722: Visualization, TKOpenGl - performance counters disappear at some camera viewpoints

Fixed OpenGl_FrameStatsPrs::Render() to enable depth clamping.
Fixed OpenGl_View::MinMaxValues() to take into account performance overlay.

5 days ago0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode "Compl...
emv [Tue, 11 Jan 2022 15:10:23 +0000 (18:10 +0300)]
0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode "Complete" join type "Intersection"

Add more faces for intersection in rebuilding process basing on the connection of the splits of offset faces (special treatment for the artificially invalid faces).
When rebuilding faces add vertices common for faces for trimming the new intersection edges.

Adjust existing and create new test cases.

5 days ago0032763: Coding Rules - eliminate CLang warning -Wbitwise-instead-of-logical in math_...
kgv [Wed, 12 Jan 2022 16:51:18 +0000 (19:51 +0300)]
0032763: Coding Rules - eliminate CLang warning -Wbitwise-instead-of-logical in math_FunctionSetRoot.cxx

6 days ago0032768: Coding - get rid of unused headers [BopAlgo to BRepBuilderAPI]
aml [Tue, 11 Jan 2022 13:37:26 +0000 (16:37 +0300)]
0032768: Coding - get rid of unused headers [BopAlgo to BRepBuilderAPI]

8 days ago0032764: Coding Rules - missing include guard in BRepExtrema_MapOfIntegerPackedMapOfI...
kgv [Mon, 10 Jan 2022 11:59:16 +0000 (14:59 +0300)]
0032764: Coding Rules - missing include guard in BRepExtrema_MapOfIntegerPackedMapOfInteger.hxx

8 days ago0032758: Visualization, TKOpenGl - disable shadow-map from transform-persistence...
kgv [Thu, 30 Dec 2021 13:41:09 +0000 (16:41 +0300)]
0032758: Visualization, TKOpenGl - disable shadow-map from transform-persistence objects

OpenGl_View::renderShadowMap() now skips transform-persistent objects.
OpenGl_ShadowMap::UpdateCamera() - removed redundant Z-range expansion for non-rendered objects.
Improved syntax of vdrawtext command.

8 days ago0032757: Application Framework, scaling transformation - loading of an OCAF XML docum...
vro [Wed, 29 Dec 2021 08:00:06 +0000 (11:00 +0300)]
0032757: Application Framework, scaling transformation - loading of an OCAF XML document fails

A flag not to raise an exception is used on reading of an OCAF document. If such a shape with scaling transformation is stored in the document, it should be read.

Modified files:
XmlMNaming\XmlMNaming_NamedShapeDriver.cxx: not checking of the type of transformation for a read shape

8 days ago0032747: Modeling Algorithms - Exact HLR algorithm gives wrong result
jgv [Fri, 24 Dec 2021 04:12:49 +0000 (07:12 +0300)]
0032747: Modeling Algorithms - Exact HLR algorithm gives wrong result

Modify the method IntWalk_IWalking::TestArretCadre: correct the value of scalar product of two vectors according to the tolerances in U and V.

2 weeks ago0032606: Visualization - add a shader for sky V3d_View::BackgroundSkydome() CR0-WEEK-52 IR-2021-12-30
achesnok [Thu, 14 Oct 2021 22:50:13 +0000 (01:50 +0300)]
0032606: Visualization - add a shader for sky V3d_View::BackgroundSkydome()

Introduced V3d_View::SkydomeAspect() property for generating skydome cubemap environment.
Skydome features: day/night cycle, 2 types of clouds, atmosphere, water surface, stars, fog.

3 weeks ago0032744: Modeling Algorithms - Endless loop in GCPnts_UniformDeflection
asuraven [Mon, 20 Dec 2021 16:27:09 +0000 (19:27 +0300)]
0032744: Modeling Algorithms - Endless loop in GCPnts_UniformDeflection

fixed finish criteria in CPnts_UniformDeflection::Perform()

3 weeks ago0032751: Coding - get rid of unused headers [AppStd to BndLib]
aml [Sun, 26 Dec 2021 07:22:25 +0000 (10:22 +0300)]
0032751: Coding - get rid of unused headers [AppStd to BndLib]

3 weeks ago0032644: Modeling Algorithms - Empty result of section operation CR0-WEEK-51 IR-2021-12-24
emv [Thu, 28 Oct 2021 08:07:05 +0000 (11:07 +0300)]
0032644: Modeling Algorithms - Empty result of section operation

Use distance criteria additionally to parameter criteria when verifying the extrema solution to belong to the edge boundary.
Refactor the BRepExtrema_DistanceSS class to remove the excessive methods with mirrored parameters.

4 weeks ago0032742: Coding - get rid of unused headers [Adaptor2d to Approx]
aml [Sun, 19 Dec 2021 07:43:29 +0000 (10:43 +0300)]
0032742: Coding - get rid of unused headers [Adaptor2d to Approx]

4 weeks ago0032743: Coding Rules - remove unused class friends of Package classes
kgv [Sun, 19 Dec 2021 08:29:36 +0000 (11:29 +0300)]
0032743: Coding Rules - remove unused class friends of Package classes

4 weeks ago0032740: Coding Rules, OpenGl_Context.cxx - new warning on macOS after integration... CR32740
kgv [Sun, 19 Dec 2021 09:29:47 +0000 (12:29 +0300)]
0032740: Coding Rules, OpenGl_Context.cxx - new warning on macOS after integration fix for #32732

4 weeks ago0032739: Configuration, scripts - handle ABI list within macOS building script adm... CR0-WEEK-50 IR-2021-12-17
kgv [Fri, 17 Dec 2021 06:53:46 +0000 (09:53 +0300)]
0032739: Configuration, scripts - handle ABI list within macOS building script adm/scripts/macos_build.sh

4 weeks ago0032738: Configuration, scripts - handle ABI list within iOS building script adm...
kgv [Fri, 17 Dec 2021 02:50:46 +0000 (05:50 +0300)]
0032738: Configuration, scripts - handle ABI list within iOS building script adm/scripts/ios_build.sh

Variables "toSimulator" and "anAbi" within "ios_custom.sh"
have been replaced by "anAbiList" which can be defined like "iPhoneOS|arm64 iPhoneSimulator|arm64".
Added "toPackFat" option packing multiple architectures into FAT archives.

4 weeks ago0032732: Visualization, TKOpenGl - do not include system headers within OpenGl_GlFunc...
kgv [Wed, 15 Dec 2021 13:47:25 +0000 (16:47 +0300)]
0032732: Visualization, TKOpenGl - do not include system headers within OpenGl_GlFunctions.hxx

4 weeks ago0032733: Coding Rules - fix misprints in Doxygen tags
kgv [Wed, 15 Dec 2021 22:50:41 +0000 (01:50 +0300)]
0032733: Coding Rules - fix misprints in Doxygen tags

4 weeks ago0032452: Data Exchange - IGES reader returns invalid shapes if xstep.cascade.unit...
ichesnok [Thu, 2 Dec 2021 11:40:35 +0000 (14:40 +0300)]
0032452: Data Exchange - IGES reader returns invalid shapes if xstep.cascade.unit property is changed from default

Fixed documentation in 'IGES Translator' and 'STEP Translator' sections (description of the read.maxprecision.val parameter).

4 weeks ago0032484: Configuration, CMake fails to find EGL and GLES2 include directory on iOS...
kgv [Mon, 13 Dec 2021 21:25:36 +0000 (00:25 +0300)]
0032484: Configuration, CMake fails to find EGL and GLES2 include directory on iOS platform

Fixed configuration errors and compilation errors on iOS target due to unexpected EGL usage (non-existing on iOS).

5 weeks ago0026174: Data Exchange, IGES - Loss of color after the second write of file
ssafarov [Mon, 15 Nov 2021 15:15:33 +0000 (18:15 +0300)]
0026174: Data Exchange, IGES - Loss of color after the second write of file

A copy of myface is made, where further on the copy the geometry changes. We connect the face, wire, edge of the original shape with the one whose geometry was changed. This is done in order to get the original shape in the TransferWire() and TransferEdge() methods.

5 weeks ago0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public... CR0-WEEK-49 IR-2021-12-10
kgv [Wed, 8 Dec 2021 12:55:11 +0000 (15:55 +0300)]
0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public enumeration Graphic3d_DisplayPriority

Added new enumeration Graphic3d_DisplayPriority.
Graphic3d_Layer now defines a fixed-length array of priorities.
Properties Graphic3d_CStructure::Id, Priority, PreviousPriority have been wrapped into methods.

5 weeks ago0032723: Draw Harness, ViewerTest - sloppy animation in WebGL
kgv [Tue, 7 Dec 2021 17:07:04 +0000 (20:07 +0300)]
0032723: Draw Harness, ViewerTest - sloppy animation in WebGL

Fixed emscripten_async_call() calls to use requestAnimationFrame() instead of setTimeout().
ViewerTest_EventManager::handleViewRedraw() - fixed queuing new onWasmRedrawView()
before previous one has been processed (leading to multiplying of pending redraws executed at the same time).
RWGltf_TriangulationReader::readDracoBuffer - suppressed CLang compilation warnings.

5 weeks ago0032727: Coding Rules - eliminate CLang warning -Wshorten-64-to-32 in MessageView_Act...
kgv [Wed, 8 Dec 2021 19:45:18 +0000 (22:45 +0300)]
0032727: Coding Rules - eliminate CLang warning -Wshorten-64-to-32 in MessageView_ActionsTest.cxx

5 weeks ago0032720: Coding Rules - rename glext.h to OpenGl_glext.h
kgv [Tue, 7 Dec 2021 09:21:04 +0000 (12:21 +0300)]
0032720: Coding Rules - rename glext.h to OpenGl_glext.h

5 weeks ago0032713: Visualization, OpenGl_GlFunctions - unify OpenGL and OpenGL ES function...
kgv [Sat, 4 Dec 2021 12:19:47 +0000 (15:19 +0300)]
0032713: Visualization, OpenGl_GlFunctions - unify OpenGL and OpenGL ES function lists

Including system OpenGL headers has been moved from OpenGl_GlFunctions.hxx to OpenGl_GlNative.hxx.
Added OpenGl_GlTypes.hxx providing basic OpenGL 1.1 types.
Wrappers of system OpenGL 1.1 / OpenGL ES 2.0 functions have been moved to OpenGl_GlFunctions.cxx.
Avoided usage of global OpenGL functions in OpenGl package outside of OpenGl_GlFunctions.cxx.

5 weeks ago0032724: Coding Rules, Graphic3d_Structure - remove unused property Graphic3d_Structu...
kgv [Wed, 8 Dec 2021 11:10:11 +0000 (14:10 +0300)]
0032724: Coding Rules, Graphic3d_Structure - remove unused property Graphic3d_Structure::ContainsFacet()

5 weeks ago0032717: Modeling Algorithms - BRepBuilderAPI_Copy should not remove triangulation...
kgv [Mon, 6 Dec 2021 19:23:24 +0000 (22:23 +0300)]
0032717: Modeling Algorithms - BRepBuilderAPI_Copy should not remove triangulation from surface-less faces

BRepBuilderAPI_Copy now ignores toCopyMesh flag for non-geometric shapes.

5 weeks ago0032718: Draw Harness, ViewerTest - fix misprint in vanim command description
kgv [Mon, 6 Dec 2021 19:40:14 +0000 (22:40 +0300)]
0032718: Draw Harness, ViewerTest - fix misprint in vanim command description

6 weeks ago0032712: Visualization, OpenGl_Context.hxx - avoid including OpenGL headers
kgv [Fri, 3 Dec 2021 16:51:07 +0000 (19:51 +0300)]
0032712: Visualization, OpenGl_Context.hxx - avoid including OpenGL headers

6 weeks ago0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for...
kgv [Sat, 4 Dec 2021 12:49:14 +0000 (15:49 +0300)]
0032711: Coding Rules - new warning in AIS_Shape::Color() after integration fix for 0032704

6 weeks ago0030272: Modeling Algorithms - Incorrect work of gproject
knosulko [Thu, 14 Oct 2021 17:15:02 +0000 (20:15 +0300)]
0030272: Modeling Algorithms - Incorrect work of gproject

-fix TolU/V for approximation;
-fix cutting tool for approximation;
-add method Adaptor3d_HSurfaceTool::IsSurfG1.
-add test bugs/moddata_3/bug30272

6 weeks ago0032663: Coding - remove AIS_SequenceOfInteractive
kgv [Mon, 6 Dec 2021 11:59:47 +0000 (14:59 +0300)]
0032663: Coding - remove AIS_SequenceOfInteractive

6 weeks ago0032678: Coding Rules, ApproxInt_SvSurfaces - eliminate GCC -fsanitize=undefined...
kgv [Sun, 21 Nov 2021 23:13:56 +0000 (02:13 +0300)]
0032678: Coding Rules, ApproxInt_SvSurfaces - eliminate GCC -fsanitize=undefined error

ApproxInt_SvSurfaces::myUseSolver is now initialized by default constructor.

6 weeks ago0032714: Documentation - drop VS2010 from minimal requirements
kgv [Sat, 4 Dec 2021 21:36:18 +0000 (00:36 +0300)]
0032714: Documentation - drop VS2010 from minimal requirements

6 weeks ago0032709: Samples, MFC - remove samples Viewer2d, Viewer3d, Ocaf, Triangulation, Anima... CR0-WEEK-48 IR-2021-12-03
kgv [Thu, 2 Dec 2021 15:54:45 +0000 (18:54 +0300)]
0032709: Samples, MFC - remove samples Viewer2d, Viewer3d, Ocaf, Triangulation, Animation, Convert

6 weeks ago0032694: Documentation, Draw Harness Guide - update ViewerTest commands
kgv [Sat, 27 Nov 2021 12:18:53 +0000 (15:18 +0300)]
0032694: Documentation, Draw Harness Guide - update ViewerTest commands

Draw Harness Guide now refers to ViewerTest commands description
via @snippet pointing to C++ source code instead of duplicating it.
"help" command now tries to beautify output of command's description.

6 weeks ago0032704: Visualization, Prs3d_Drawer - do not implicitly create aspects within getters
kgv [Wed, 1 Dec 2021 08:58:39 +0000 (11:58 +0300)]
0032704: Visualization, Prs3d_Drawer - do not implicitly create aspects within getters

Prs3d_Drawer getters now return NULL instead of implicitly creating "default" aspects.
Added missing initialization of default properties in AIS_InteractiveContext.
AIS_InteractiveContext::setContextToObject() - added missing propagation of Context to child presentations.

6 weeks ago0032352: Coding Rules - clean up code from compatibility hacks with pre-C++11 compilers
kgv [Thu, 2 Dec 2021 12:51:11 +0000 (15:51 +0300)]
0032352: Coding Rules - clean up code from compatibility hacks with pre-C++11 compilers

Removed usage of std::auto_ptr.
opencascade::std workarounds for VS2008 have been dropped, when possible.
OCCT_NO_RVALUE_REFERENCE workaround for VS2008 has been removed.

6 weeks ago0032705: Test - name clashes within temporary files within bugs/caf/bug23766_X
kgv [Wed, 1 Dec 2021 18:50:48 +0000 (21:50 +0300)]
0032705: Test - name clashes within temporary files within bugs/caf/bug23766_X

Several test cases writing temporary files have been corrected.

6 weeks ago0032697: Configuration - fix compilation errors with oneTBB 2021
kgv [Mon, 29 Nov 2021 18:26:45 +0000 (21:26 +0300)]
0032697: Configuration - fix compilation errors with oneTBB 2021

Removed usage of no more existing tbb::task_scheduler_init and tbb::captured_exception.

7 weeks ago0032696: Coding - get rid of unused forward declarations [StepSelect to Xw]
aml [Mon, 29 Nov 2021 08:18:12 +0000 (11:18 +0300)]
0032696: Coding - get rid of unused forward declarations [StepSelect to Xw]

Packages starting with lower-case (gp and gce) are also processed.

7 weeks ago0032683: Coding Rules, XCAFDoc_Editor::CloneMetaData() - unexpected bitwise operations
dpasukhi [Thu, 25 Nov 2021 22:26:49 +0000 (01:26 +0300)]
0032683: Coding Rules, XCAFDoc_Editor::CloneMetaData() - unexpected bitwise operations

Fixed problem with incorrect bitwise operators.
Removed forced naming via cloning metadata

7 weeks ago0031087: Configuration - make FreeType dependency optional [part 2] CR0-WEEK-47 IR-2021-11-26
Dzmitry Razmyslovich [Thu, 25 Nov 2021 16:46:56 +0000 (17:46 +0100)]
0031087: Configuration - make FreeType dependency optional [part 2]

7 weeks ago0029406: Foundation Classes - gp_Ax3 fails setting direction
isn [Thu, 11 Jan 2018 16:03:03 +0000 (19:03 +0300)]
0029406: Foundation Classes - gp_Ax3 fails setting direction

Avoid exception in gp_Ax3::SetDirection(), SetAxis(): check if XDir of Ax3 is parallel to newly given direction.

7 weeks ago0030365: Modeling Algorithms - Create tool to compute deviation between any 2D-curve...
nbv [Mon, 12 Nov 2018 14:00:06 +0000 (17:00 +0300)]
0030365: Modeling Algorithms - Create tool to compute deviation between any 2D-curve and some its segment

Adds two new overloaded 'ComputeDeviation()' function (approx & exact) to GeomLib_Tool class to calculates the parameter in the curve where the maximum deviation is obtained between the curve and the line segment connecting its points with the specified parameters

Adds new '2ddeviation' DRAW command for 'ComputeDeviation()' functional testing

7 weeks ago0032684: Draw Harness - fix Draw_Interpretor::Add() misuse due to overloaded syntax
kgv [Tue, 23 Nov 2021 17:35:58 +0000 (20:35 +0300)]
0032684: Draw Harness - fix Draw_Interpretor::Add() misuse due to overloaded syntax

7 weeks ago0032685: Draw Harness - help output smashes command names without delimiter
kgv [Wed, 24 Nov 2021 21:05:19 +0000 (00:05 +0300)]
0032685: Draw Harness - help output smashes command names without delimiter

"help" procedure now ensures to put space between listed commands.

7 weeks ago0032686: Visualization, Wasm_Window - filter out unexpected pressed buttons state...
kgv [Tue, 23 Nov 2021 21:08:21 +0000 (00:08 +0300)]
0032686: Visualization, Wasm_Window - filter out unexpected pressed buttons state within mouse move / up events

Wasm_Window::ProcessMouseEvent() now ignores not previously pressed mouse buttons within mouse move / up events.
Fixed -Wshorten-64-to-32 compiler warning within cpulimit command on 32-bit Linux.

7 weeks ago0032679: Data Exchange - STEP writer loses assembly instance name
msv [Mon, 22 Nov 2021 00:28:24 +0000 (03:28 +0300)]
0032679: Data Exchange - STEP writer loses assembly instance name

In STEPCAFControl_Writer::WriteNames, write the names of components
even if the name of the assembly is absent.

In STEPControl_ActorWrite::TransferSubShape, move assembly structure
information to the beginning of the list of results, so that CDSR
information of this assembly became preceding CDSR of any sub shapes.

7 weeks ago0032682: Draw Harness, ViewerTest - add -rotationMode and -navigationMode to vcamera
kgv [Mon, 22 Nov 2021 20:08:19 +0000 (23:08 +0300)]
0032682: Draw Harness, ViewerTest - add -rotationMode and -navigationMode to vcamera

8 weeks ago0032672: Coding Rules - eliminate GCC9 compiler warnings -Warray-bounds -fsantizize...
kgv [Sun, 21 Nov 2021 20:13:41 +0000 (23:13 +0300)]
0032672: Coding Rules - eliminate GCC9 compiler warnings -Warray-bounds -fsantizize=undefined

8 weeks ago0032680: Visualization, AIS_TextLabel - Bold FontAspect doesn't work
kgv [Mon, 22 Nov 2021 08:01:37 +0000 (11:01 +0300)]
0032680: Visualization, AIS_TextLabel - Bold FontAspect doesn't work

Prs3d_TextAspect now sets Font_NOF_SERIF as default font
instead of confusig Font_NOF_ASCII_TRIPLEX (Times-Bold).
Therefore, default font now uses regular aspect, not bold.

Command vdrawtext does no more set "Courier" font by default.

8 weeks ago0032677: Coding Rules, Geom_BezierSurface - eliminate GCC warning -Wmaybe-uninitializ...
kgv [Sun, 21 Nov 2021 22:54:20 +0000 (01:54 +0300)]
0032677: Coding Rules, Geom_BezierSurface - eliminate GCC warning -Wmaybe-uninitialized -fsanitize=undefined

Fixed initialization of TColStd_Array1OfReal for weights.

8 weeks ago0032675: Draw Harness, ViewerTest - remove command vr
kgv [Sun, 21 Nov 2021 21:25:01 +0000 (00:25 +0300)]
0032675: Draw Harness, ViewerTest - remove command vr

Removed unused commands vr and Draft.

8 weeks ago0032676: Draw Harness, ViewerTest - fix NULL dereference on vanim -remove
kgv [Sun, 21 Nov 2021 22:38:11 +0000 (01:38 +0300)]
0032676: Draw Harness, ViewerTest - fix NULL dereference on vanim -remove

8 weeks ago0032667: Coding - get rid of unused forward declarations [LibCtl to StepRepr]
aml [Tue, 16 Nov 2021 14:00:04 +0000 (17:00 +0300)]
0032667: Coding - get rid of unused forward declarations [LibCtl to StepRepr]

8 weeks ago0023398: Documentation, Shape Healing User's Guide - example does not compile CR0-WEEK-46 IR-2021-11-19
kgv [Wed, 17 Nov 2021 08:54:05 +0000 (11:54 +0300)]
0023398: Documentation, Shape Healing User's Guide - example does not compile

Fixed some misprints in the documentation.
Removed description of non-existing Message_TraceFile.

8 weeks ago0030054: BRepOffset_MakeOffset fails to build joints in intersection mode
msv [Sat, 13 Nov 2021 20:53:33 +0000 (23:53 +0300)]
0030054: BRepOffset_MakeOffset fails to build joints in intersection mode

Test case has been added.

8 weeks ago0032652: Visualization - Select3D_SensitiveCylinder returns wrong 3D point on transfo...
kgv [Tue, 9 Nov 2021 12:17:43 +0000 (15:17 +0300)]
0032652: Visualization - Select3D_SensitiveCylinder returns wrong 3D point on transformed shape

SelectMgr_RectangularFrustum::OverlapsCylinder() - added missing 3D point transformation.
StdSelect_BRepSelectionTool::ComputeSensitive() - fixed cylinder height computation on TopoDS_Shape with scale transformation.
SelectMgr_AxisIntersector::OverlapsCylinder(),::OverlapsSphere() - added missing computations of surface normal.

8 weeks ago0032648: Visualization, TKOpenGles - support MSAA anti-aliasing within WebGL 2.0
kgv [Tue, 2 Nov 2021 13:23:25 +0000 (16:23 +0300)]
0032648: Visualization, TKOpenGles - support MSAA anti-aliasing within WebGL 2.0

OpenGl_FrameBuffer::Init() now creates MSAA render buffer in case if MSAA textures are unsupported.
In this case OpenGl_View::prepareFrameBuffers() creates MSAA render buffer for main content
and non-MSAA FBO for immediate content as blitting of MSAA render buffers into MSAA targets is unsupported by OpenGL ES 3.0.

env.bat.in has been corrected to include path to custom ANGLE (GLES2_DIR)
in front of Qt which might include its own older ANGLE build.

8 weeks ago0032662: Coding - Missing header file in AIS_DataMapOfSelStat.hxx
dipts [Sat, 13 Nov 2021 12:30:39 +0000 (13:30 +0100)]
0032662: Coding - Missing header file in AIS_DataMapOfSelStat.hxx

Removed obsolete header files AIS_DataMapOfSelStat.hxx and AIS_DataMapIteratorOfDataMapOfSelStat.hxx.
Removed obsolete types AIS_DataMapofIntegerListOfinteractive, AIS_ClearMode, AIS_ConnectStatus,
AIS_IndexedDataMapOfOwnerPrs, AIS_MapOfInteractive.

8 weeks ago0032661: Coding - Forward class declaration in ProjLib collides with typeref
dipts [Sat, 13 Nov 2021 11:49:17 +0000 (12:49 +0100)]
0032661: Coding - Forward class declaration in ProjLib collides with typeref

Removed redundant forward declarations from ProjLib.hxx.

8 weeks ago0032448: Modeling Algorithms - Provide exact validating (as option) using GeomLib_Che...
akaftasev [Thu, 28 Oct 2021 16:23:37 +0000 (19:23 +0300)]
0032448: Modeling Algorithms - Provide exact validating (as option) using GeomLib_CheckCurveOnSurface

Add '-exact' option to checkshape command to use exact method to validate edges using BRepLib_ValidateEdge class. Default mode is calculating in finite number of points.

8 weeks ago0032658: Documentation - add missing GLFW sample to dox/samples/samples.md
kgv [Fri, 12 Nov 2021 07:59:18 +0000 (10:59 +0300)]
0032658: Documentation - add missing GLFW sample to dox/samples/samples.md

8 weeks ago0032649: Bug in BRepLib::EnsureNormalConsistency()
Xu Zhongxing [Thu, 4 Nov 2021 05:15:49 +0000 (13:15 +0800)]
0032649: Bug in BRepLib::EnsureNormalConsistency()

Fix a typo in variable name.

8 weeks ago0026171: Coding rules - eliminate -Wshorten-64-to-32 CLang warnings
rkv [Wed, 10 Nov 2021 21:06:46 +0000 (00:06 +0300)]
0026171: Coding rules - eliminate -Wshorten-64-to-32 CLang warnings

8 weeks ago0032654: Data Exchange - fix misprint in RWGltf_TriangulationReader::readDracoBuffer()
kgv [Wed, 10 Nov 2021 09:38:56 +0000 (12:38 +0300)]
0032654: Data Exchange - fix misprint in RWGltf_TriangulationReader::readDracoBuffer()

Added missing break.
Fixes reading of glTF files with Normal attributes preceding Position
(and eliminates redundant / erroneous copy when Position attributes precede Normal).

8 weeks ago0032096: Data Exchange - Extension for XCAFDimTolObjects_DimensionQualifier
ichesnok [Thu, 28 Oct 2021 08:22:12 +0000 (11:22 +0300)]
0032096: Data Exchange - Extension for XCAFDimTolObjects_DimensionQualifier

Added XCAFDimTolObjects_AngularQualifier for angles. And added field and methods for dimensions.

8 weeks ago0032655: Configuration, qmake - add missing CSF_Draco
kgv [Wed, 10 Nov 2021 11:21:02 +0000 (14:21 +0300)]
0032655: Configuration, qmake - add missing CSF_Draco

Added CSF_Draco to OccToolkit.pri.
Removed libXmu.so search from genconf.

8 weeks agoIncrement OCCT version up to 7.7.0dev
inv [Wed, 17 Nov 2021 13:41:35 +0000 (16:41 +0300)]
Increment OCCT version up to 7.7.0dev

2 months agoUpdate version up to 7.6.0 CR0-WEEK-43 OCCT-760 V7_6_0
inv [Fri, 29 Oct 2021 14:31:15 +0000 (17:31 +0300)]
Update version up to 7.6.0

2 months ago0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option
kgv [Mon, 1 Nov 2021 06:53:12 +0000 (09:53 +0300)]
0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option

Fixed handling of -s=<search_mode> option.
Fixed handling of -mathjax=<path> option.

2 months ago0032444: Modeling Algorithm - BRepOffsetAPI_MakePipeShell crash when using -DT mode...
akaftasev [Wed, 20 Oct 2021 10:02:09 +0000 (13:02 +0300)]
0032444: Modeling Algorithm - BRepOffsetAPI_MakePipeShell crash when using -DT mode and DT_ShapeDivide on the spine

Added checking for null edges in BRepFill_TrimShellCorner::ChooseSection()

2 months ago0032551: Documentation - Novice user guide for OCCT Documentation
btokarev [Tue, 26 Oct 2021 11:18:56 +0000 (14:18 +0300)]
0032551: Documentation - Novice user guide for OCCT Documentation

Added novice guide.
Improved structure of Tutorials & Samples.

2 months ago0028104: Data Exchange - Extract sub-assembly (XDE)
dpasukhi [Tue, 26 Oct 2021 20:45:42 +0000 (23:45 +0300)]
0028104: Data Exchange - Extract sub-assembly (XDE)

- Added getting and setting Material, VisMaterial and Props to XCAFDoc_Editor::Expand.
- Added XCAFDoc_Editor::Extract to transfer part to a new location
  - XCAFDoc_Editor::Extract allows to extract a part as a component or simply extract to an empty label with attached colors, layers, materials, vismaterials and props
- Added XCAFDoc_Editor::CloneMetaData to clone shape's attributes to new location
- Added XCAFDoc_Editor::CloneShapeLabel to clone shape to new document
- Added XCAFDoc_DocumentTool::Check*Tool methods to check an existing of an any tool
- Protected against creating a new label for non-existent tools via extract or expand process

2 months ago0024975: Improve of preprocessor directives in header files to be equal to the file...
ski [Mon, 18 Oct 2021 08:52:10 +0000 (11:52 +0300)]
0024975: Improve of preprocessor directives in header files to be equal to the file name

Preprocessor directives were changed or created by function "check_headers" from script adm/upgrade.tcl (CR24816)

2 months ago0032640: Coding Rules - fix misprints in GeomliteTest_API2dCommands.cxx
kgv [Sun, 24 Oct 2021 09:09:02 +0000 (12:09 +0300)]
0032640: Coding Rules - fix misprints in GeomliteTest_API2dCommands.cxx

2 months ago0032641: Coding - get rid of unused forward declarations [IGESAppli to LDOM]
aml [Mon, 25 Oct 2021 04:50:25 +0000 (07:50 +0300)]
0032641: Coding - get rid of unused forward declarations [IGESAppli to LDOM]

2 months ago0032031: Analyze Precise HLR behaviour in Draw/AIS
asuraven [Fri, 29 Jan 2021 08:31:33 +0000 (11:31 +0300)]
0032031: Analyze Precise HLR behaviour in Draw/AIS

- Set "Algo" as default HLR algorithm in MFC HLR sample

2 months ago0030046: Modeling Algorithms - Cannot find necessary projection of the curve
knosulko [Fri, 20 Aug 2021 09:39:26 +0000 (12:39 +0300)]
0030046: Modeling Algorithms - Cannot find necessary projection of the curve

move algorithm of obtaining results from function gproject to method ProjLib_CompProjectedCurve::Perform;
fix tolerances in ProjLib_PrjResolve::ProjLib_PrjResolve;
new treatment of myMaxDist;
use extend bounds in approximation;
add test;
test case "bugs modalg_5 bug25980", "bugs modalg_7 bug24185" have been changed according to new behavior.

2 months ago0032557: Modeling Data - Use of BRepBuilderAPI_NurbsConvert create 2d p-curves with...
ifv [Mon, 4 Oct 2021 11:48:03 +0000 (14:48 +0300)]
0032557: Modeling Data - Use of BRepBuilderAPI_NurbsConvert create 2d p-curves with gaps

GeomConvert/GeomConvert_1.cxx - method CheckAndSegment is added to adjust surface periodic boundaries
bug32557 - test is updated by new cases

2 months ago0032630: Coding - get rid of unsused forward declarations [BinMDF to IFSelect] CR0-WEEK-42 IR-2021-10-22
aml [Mon, 18 Oct 2021 06:46:19 +0000 (09:46 +0300)]
0032630: Coding - get rid of unsused forward declarations [BinMDF to IFSelect]

2 months ago0032638: Draw Harness, ViewerTest - HTML input range misbehavior in WebAssembly
kgv [Fri, 22 Oct 2021 12:59:19 +0000 (15:59 +0300)]
0032638: Draw Harness, ViewerTest - HTML input range misbehavior in WebAssembly

ViewerTest_EventManager - added tracking of EMSCRIPTEN_EVENT_FOCUSOUT event.
onWasmMouseCallback() has been adjusted to return FALSE for EMSCRIPTEN_EVENT_TARGET_WINDOW
target to avoid misbehavior of other HTML controls.

WNT_Window::ProcessMessage() now handles WM_SETFOCUS/WM_KILLFOCUS instead of WM_ACTIVATE to track focus changes.

AIS_ViewController::ProcessFocus() now redirects to AIS_ViewController::ResetViewInput() on focus loss.
This fixes issues when key action (like WASD navigation) keep working even after releasing key if window has been switched.

2 months ago0032632: Visualization, AIS_ViewCube - the class AIS_ViewCubeSensitive is hidden...
vro [Tue, 19 Oct 2021 15:57:23 +0000 (18:57 +0300)]
0032632: Visualization, AIS_ViewCube - the class AIS_ViewCubeSensitive is hidden inside CXX file

2 months ago0032631: Draw Harness - add DRAWEXE.evalAsync() to WebAssembly
kgv [Mon, 18 Oct 2021 22:56:18 +0000 (01:56 +0300)]
0032631: Draw Harness - add DRAWEXE.evalAsync() to WebAssembly

2 months ago0032633: Draw Harness - extend command incmesh to apply default visualization parameters
kgv [Tue, 19 Oct 2021 18:34:18 +0000 (21:34 +0300)]
0032633: Draw Harness - extend command incmesh to apply default visualization parameters

incmesh - added -prs option to use StdPrs_ToolTriangulatedShape::GetDeflection() as meshing parameters.
vdisplay, XDisplay - added -autoTriangulation option to manage meshing behavior before displaying a shape.
trinfo - added output of meshing parameters.
Fixed broken incmesh syntax usage in several test cases.

2 months ago0032629: Configuration, scripts - add USE_PTHREADS building option to wasm_build.bat
kgv [Mon, 18 Oct 2021 13:26:59 +0000 (16:26 +0300)]
0032629: Configuration, scripts - add USE_PTHREADS building option to wasm_build.bat

2 months ago0026981: Application Framework - read a BinOcaf document from С++ stream sequentially
mpv [Tue, 31 Aug 2021 11:46:23 +0000 (14:46 +0300)]
0026981: Application Framework - read a BinOcaf document from С++ stream sequentially

The current version of the document supports partial reading. So, as a result, the shapes section is dispersed into attributes and it becomes easy avoid any seekg call during the reading.
But this will work only in case whole document is opened. For partial reading seekg functions could be naturally called.

2 months ago0032623: [Regression] Modelling Algorithms - UnifySameDomain invalid result only...
jgv [Mon, 18 Oct 2021 17:00:20 +0000 (20:00 +0300)]
0032623: [Regression] Modelling Algorithms - UnifySameDomain invalid result only in release mode

Correct local function ReconstructMissedSeam: use copy of existing pcurve for seam edge reconstruction to prevent possible corruption of another edges.

3 months ago0032626: Samples - add Qt::WA_NativeWindow attribute to Qt IESample
kgv [Sat, 16 Oct 2021 09:22:12 +0000 (12:22 +0300)]
0032626: Samples - add Qt::WA_NativeWindow attribute to Qt IESample

3 months ago0032624: Configuration, genproj - add support for VS 2022 / vc143
kgv [Fri, 15 Oct 2021 18:29:43 +0000 (11:29 -0700)]
0032624: Configuration, genproj - add support for VS 2022 / vc143

3 months ago0032310: Data Exchange - Invalid STEP export/import of backslashes in names [Regressi... CR0-WEEK-41 IR-2021-10-15
dpasukhi [Sun, 10 Oct 2021 12:33:15 +0000 (15:33 +0300)]
0032310: Data Exchange - Invalid STEP export/import of backslashes in names [Regression since OCCT 7.5.0]

Fixed a problem with handling slashes and apostrophes
Changed cleaning of the 'TEXT' fields of the step entity to direct order w/o removing operations
Changed converting text locale to covert before cleaning directives and specials symbols (all directives and sp. symbols encoded in ASCII[0-125] and haven't any differ with any locals)
Special case, when directives have two slashes before name changed to don't handle directives value and converts as is (combine two slashes as one and write, for example "\\X2\00C3" as "X2\00C3")

3 months ago0032619: [Regression] Modelling Algorithms - UnifySameDomain ignores shared face
jgv [Fri, 15 Oct 2021 04:53:48 +0000 (07:53 +0300)]
0032619: [Regression] Modelling Algorithms - UnifySameDomain ignores shared face

Correct method ShapeUpgrade_UnifySameDomain::UnifyFaces: exclude free boundary edges from unification.

3 months ago0030747: Modeling Algorithms - 2d Curves concatenator doesn't properly process closed...
abulyche [Mon, 4 Oct 2021 01:00:55 +0000 (04:00 +0300)]
0030747: Modeling Algorithms - 2d Curves concatenator doesn't properly process closed contours.

Corrected Geom2dConvert_CompCurveToBSplineCurve::Add in Geom2dConvert_CompCurveToBSplineCurve.cxx;
Added the test for this problem;
Corrected "gluing" curves in ProjLib_ProjectedCurve.cxx.

3 months ago0032622: Draw Harness - writebrep "-version 3" is unrecognized
kgv [Wed, 13 Oct 2021 18:53:32 +0000 (21:53 +0300)]
0032622: Draw Harness - writebrep "-version 3" is unrecognized

Fixed version range check.
Added description of -normals argument.

3 months agoCR32614 Coding - get rid of unsused forward declarations [Adaptor2d to GccAna]
aml [Tue, 12 Oct 2021 04:44:06 +0000 (07:44 +0300)]
CR32614 Coding - get rid of unsused forward declarations [Adaptor2d to GccAna]

Packages from Adaptor2d to GccAna are processed.

3 months ago0032612: Data Exchange, RWGltf_CafReader - lost hierarchy of two nested compounds
kgv [Mon, 11 Oct 2021 19:05:58 +0000 (22:05 +0300)]
0032612: Data Exchange, RWGltf_CafReader - lost hierarchy of two nested compounds

RWGltf_GltfJsonParser::gltfParseSceneNode() - prevent flattering of Scene nodes
(allow flattering only of Mesh nodes).

Added command XAutoNaming managing XCAFDoc_ShapeTool::SetAutoNaming().
Added comparisons with reference Xdump data to glTF tests.

3 months ago0032613: Samples - glfw compilation error on Linux
kgv [Tue, 12 Oct 2021 06:36:40 +0000 (09:36 +0300)]
0032613: Samples - glfw compilation error on Linux

GlfwOcctWindow - added cast to Aspect_XDisplay*.
Added auxiliary OCCT searching script as alternative to CMake config files.