occt-copy.git
5 weeks ago0032715: Test tracker-new 1 master
inv [Wed, 8 Dec 2021 17:57:28 +0000 (20:57 +0300)]
0032715: Test tracker-new 1

3 months ago0032257: INV test occt + occt-products repository CR32257
bugmaster [Sat, 2 Oct 2021 07:59:52 +0000 (10:59 +0300)]
0032257: INV test occt + occt-products repository

3 months ago0032255: INV test occt repository CR32255
bugmaster [Sat, 2 Oct 2021 07:26:19 +0000 (10:26 +0300)]
0032255: INV test occt repository

3 months ago0032250: test 2
Oleg Korchagin [Thu, 30 Sep 2021 17:00:36 +0000 (20:00 +0300)]
0032250: test 2

test 2

3 months ago0032250: test
Oleg Korchagin [Thu, 30 Sep 2021 16:44:17 +0000 (19:44 +0300)]
0032250: test

test 1

3 months ago0032254: Test push to master CR32254
bugmaster [Mon, 27 Sep 2021 14:00:38 +0000 (17:00 +0300)]
0032254: Test push to master

3 months ago0032254: Test push to master
bugmaster [Mon, 27 Sep 2021 13:56:27 +0000 (16:56 +0300)]
0032254: Test push to master

3 months agoTest 2 2 CR32250_1
bugmaster [Mon, 27 Sep 2021 13:50:53 +0000 (16:50 +0300)]
Test 2 2

3 months agoTest commit to ticket
bugmaster [Mon, 27 Sep 2021 13:49:13 +0000 (16:49 +0300)]
Test commit to ticket

3 months agoTest of adding commit message to ticket body CR32250
bugmaster [Mon, 27 Sep 2021 13:01:19 +0000 (16:01 +0300)]
Test of adding commit message to ticket body

4 months agoCR32250: commit 6
Oleg Korchagin [Tue, 7 Sep 2021 17:32:45 +0000 (20:32 +0300)]
CR32250: commit 6

commit 6

4 months agoCR32250: commit 5
Oleg Korchagin [Tue, 7 Sep 2021 15:09:21 +0000 (18:09 +0300)]
CR32250: commit 5

commit 5

4 months agoCR32250: commit 4
Oleg Korchagin [Tue, 7 Sep 2021 14:59:27 +0000 (17:59 +0300)]
CR32250: commit 4

commit 4

4 months agoCR32250: commit 3
Oleg Korchagin [Tue, 7 Sep 2021 14:49:10 +0000 (17:49 +0300)]
CR32250: commit 3

commit 3

4 months agoCR32250: commit 2
Oleg Korchagin [Tue, 7 Sep 2021 14:38:33 +0000 (17:38 +0300)]
CR32250: commit 2

commit 2

4 months agoCR32250: commit 2
Oleg Korchagin [Tue, 7 Sep 2021 12:40:27 +0000 (15:40 +0300)]
CR32250: commit 2

commit 2

4 months agoCR32250: Problem Git -> Mantis interaction
Oleg Korchagin [Tue, 7 Sep 2021 12:25:09 +0000 (15:25 +0300)]
CR32250: Problem Git -> Mantis interaction

Problem Git -> Mantis interaction

4 months ago0032247: Testing workflow CR32247
bugmaster [Wed, 1 Sep 2021 16:28:30 +0000 (19:28 +0300)]
0032247: Testing workflow

4 months ago0032464: Draw Harness, ViewerTest - rely on AIS_ViewController within vanimation... IR-2021-08-27 WEEK-34
kgv [Sun, 27 Jun 2021 17:13:49 +0000 (20:13 +0300)]
0032464: Draw Harness, ViewerTest - rely on AIS_ViewController within vanimation command

Added AIS_ViewController::ObjectsAnimation() property
similar to AIS_ViewController::ViewAnimation() but designed for objects animation.

4 months ago0032281: Visualization - add Select3D_SensitiveCylinder
mkrylova [Mon, 5 Jul 2021 12:06:50 +0000 (15:06 +0300)]
0032281: Visualization - add Select3D_SensitiveCylinder

- implemented Select3D_SensitiveCylinder class performing an analytical intersection with an untriangulated cone/cylinder
- added tests

4 months ago0032403: Visualization - RayTracing renders all object as white color in view with...
kgv [Wed, 25 Aug 2021 07:55:38 +0000 (10:55 +0300)]
0032403: Visualization - RayTracing renders all object as white color in view with white background

OpenGl_Caps::buffersOpaqueAlpha is now set to TRUE by default.
OpenGl_View::runPathtrace - fixed higlighting with PathTracing turned on and buffersOpaqueAlpha=true.

4 months ago0031514: Foundation Classes - Add Base64 encoding function
msv [Thu, 23 Apr 2020 10:13:11 +0000 (13:13 +0300)]
0031514: Foundation Classes - Add Base64 encoding function

The class FSD_Base64Decoder has been renamed to FSD_Base64.
The new method FSD_Base64::Encode has been added.
The method Decode has been improved for performance.

4 months ago0031382: Data Exchange - BinXCAF should preserve length unit information IR-2021-08-20
dpasukhi [Tue, 10 Nov 2020 04:52:30 +0000 (07:52 +0300)]
0031382: Data Exchange - BinXCAF should preserve length unit information

Possibility for adding LengthUnit info to XCAF document using special class XCAFDoc_LenghtUnit and XCAFDoc_LenghtUnitTool is implemented.
Package UnitsMethods is split: geom methods were placed to new file GeomConvert_Units which is in the toolkit TKXSBase, internal step scale factors was placed to StepData.
Updated UnitMethods to convert scale factor to different unit types.
Now, XSAlgo::XSAlgo_AlgoContainer is used to update unit info from static interface values.
New Draw command "XSetLengthUnit" and "XGetLengthUnit" for set or get XDE attribute.
Upgraded tests for STEP, IGES, OBJ, glTF, VRML formats to check area regressing with used unit.
Upgraded tests\de test cases to use any units in the "loop back" algorithms.

4 months ago0027457: Modeling - Raise exception if scaled transformation is used for shape location
ifv [Mon, 5 Apr 2021 08:15:45 +0000 (11:15 +0300)]
0027457: Modeling - Raise exception if scaled transformation is used for shape location

Implementation of raising exception while using scale and mirror transformation in shape location
TopLoc/TopLoc_Location.hxx
TopoDS/TopoDS_Shape.hxx

Implementation of new tools for removing forbidden locations from shapes:
BRepTools/BRepTools_PurgeLocations.cxx
BRepTools/BRepTools_PurgeLocations.hxx
BRepTools/BRepTools.cxx
BRepTools/BRepTools.hxx

Draw commands for transforming shapes are corrected, new draw commands: purgeloc, checkloc added
BRepTest/BRepTest_BasicCommands.cxx

Fixing unstable test bug xde bug24759
StepToGeom/StepToGeom.cxx

All other C++ commits are modification of algorithms used mainly in import/export operations in order to allows these operations if shape locations contains scale and mirror transformations.

New test for command purgeloc added
tests/bugs/moddata_3/bug27457
tests/bugs/moddata_3/bug27457_1
tests/bugs/moddata_3/bug27457_2

Some test corrected according to modifications.

5 months ago0032536: Configuration - extend adm/scripts with USE_DRACO option
kgv [Sat, 14 Aug 2021 15:00:19 +0000 (18:00 +0300)]
0032536: Configuration - extend adm/scripts with USE_DRACO option

5 months ago0026979: Parabola curve intersection with variety of surfaces produces incorrect... IR-2021-08-13 WEEK-32
knosulko [Thu, 29 Jul 2021 08:00:09 +0000 (11:00 +0300)]
0026979: Parabola curve intersection with variety of surfaces produces incorrect results.

Method Intf_Tool::ParabBox now properly estimates the number of segments for a 3D parabola.
Fix input arguments of called Bnd_Box::Get method in Intf_Tool::HyprBox method.

5 months ago0027884: Modeling Algorithms - Possible improvement for 2d classifier
abulyche [Wed, 14 Jul 2021 20:40:32 +0000 (23:40 +0300)]
0027884: Modeling Algorithms - Possible improvement for 2d classifier

Added the implementation of bndbox<->line and bndbox<->segment intersections for 2D to Bnd_Box2d
Added the speedup for 2d classification to BRepClass_Intersector.cxx
Added the test for our improvement

5 months ago0032533: Visualization, TKOpenGl - suppress error reported on Intel drivers due to...
kgv [Thu, 12 Aug 2021 12:50:16 +0000 (15:50 +0300)]
0032533: Visualization, TKOpenGl - suppress error reported on Intel drivers due to OpenGL 4.5 specs violation

OpenGl_GlCore45 - removed a couple of FFP-related functions introduced by OpenGL 4.5 Compatible Profile, but not Core Profile.

OpenGl_GlFunctions::load() now tries to load a set of functions
from GL_ARB_robustness extension (having ARB suffix) to fill OpenGL 4.5 function table,
and from GL_ARB_indirect_parameters extension to fill missing items in OpenGL 4.6 function table on Intel drivers.
Warning message (trace level) is now reported instead of error in case of fallback usage.

5 months ago0032530: Data Exchange, RWGltf_CafWriter - add option merging Faces within the Part
kgv [Wed, 11 Aug 2021 15:48:23 +0000 (18:48 +0300)]
0032530: Data Exchange, RWGltf_CafWriter - add option merging Faces within the Part

Added RWGltf_CafWriter::ToMergeFaces() property disabled by default.
RWMesh_MaterialMap - fixed creation of texture folder within working dir ".".
XCAFDoc_VisMaterial::FillMaterialAspect() - added clamping of too small shininess values.

Added options -mergefaces and -splitindices16 to WriteGltf for new feature.
Added -systemCoordSys option to WriteGltf for consistency with WriteObj.

5 months ago0032527: Data Exchange, RWGltf_CafWriter - make name format configurable
kgv [Wed, 11 Aug 2021 13:11:45 +0000 (16:11 +0300)]
0032527: Data Exchange, RWGltf_CafWriter - make name format configurable

Added properties RWGltf_CafWriter::NodeNameFormat() and ::MeshNameFormat().

5 months ago0032525: Data Exchange, RWGltf_CafReader - support KHR_draco_mesh_compression
kgv [Tue, 10 Aug 2021 17:35:14 +0000 (20:35 +0300)]
0032525: Data Exchange, RWGltf_CafReader - support KHR_draco_mesh_compression

Added new optional dependency - Draco library.
RWGltf_GltfJsonParser now detects KHR_draco_mesh_compression extension,
marks accessor being compressed and redirects to compressed buffer view.
RWGltf_TriangulationReader now handles decoding of buffer view compressed using Draco.

env.bat template for genproj has been modified to allow specifying dedicated folders
with debug versions of libraries (CSF_OPT_LIB64D / CSF_OPT_BIN64D) within custom.bat.
Removed unused CSF_FREETYPE from TKOpenGl.

5 months ago0032524: Data Exchange, RWGltf_CafWriter - avoid writing translucent metallic materials
kgv [Tue, 10 Aug 2021 14:23:44 +0000 (17:23 +0300)]
0032524: Data Exchange, RWGltf_CafWriter - avoid writing translucent metallic materials

RWGltf_GltfMaterialMap::DefineMaterial() and XCAFDoc_VisMaterial::ConvertToPbrMaterial()
now reset matallic factor to 0.0f in case of transparent color.

5 months ago0031220: Visualization - remove internal field of viewer selector in context
achesnok [Thu, 29 Jul 2021 10:28:19 +0000 (13:28 +0300)]
0031220: Visualization - remove internal field of viewer selector in context

- Removed myMainSel field from AIS_InteractiveContext and obtained this value from mgrSelector.
- Moved SelectMgr_ViewerSelector3d implementation into SelectMgr_ViewerSelector to get rid of redundant separation and extra DownCast's.
- Declared SelectMgr_ViewerSelector3d as deprecated.

5 months ago0032523: Draw Harness, ViewerTest - vrepaint -continuous has no effect
kgv [Fri, 6 Aug 2021 13:13:58 +0000 (16:13 +0300)]
0032523: Draw Harness, ViewerTest - vrepaint -continuous has no effect

ViewerTest_ContinuousRedrawer now explicitly invalidates V3d_View content
in addition to emitting window content redrawing request.

"vrepaint -continuous" now tries to avoid creation of dedicated thread
on Windows platform and relies on AIS_ViewController::SetContinuousRedraw().

5 months ago0026083: Coding Rules - Poor design of Graphic3d_GraduatedTrihedron
achesnok [Wed, 4 Aug 2021 11:37:46 +0000 (14:37 +0300)]
0026083: Coding Rules - Poor design of Graphic3d_GraduatedTrihedron

- Made class Graphic3d_AxisAspect publicly nested in Graphic3d_GraduatedTrihedron.
- Removed public PtrView field from trihedron and obtained it from OpenGL_Workspace while rendering.
- Made CubicAxesCallback protected and provided corresponding getter/setter.
- Renamed AxisAspect() to AxisAspectAt().

5 months ago0032490: Data Exchange - provide OSD_FileSystem::OpenOStream() for output streams IR-2021-08-06 WEEK-31
mkrylova [Mon, 26 Jul 2021 08:09:57 +0000 (11:09 +0300)]
0032490: Data Exchange - provide OSD_FileSystem::OpenOStream() for output streams

- provided OSD_FileSystem::OpenOStream() for output streams
- replaced OSD_OpenStream() usage with OSD_FileSystem::DefaultFileSystem()

5 months ago0032518: Visualization - add AIS_InteractiveContext::SetDefaultDrawer()
kgv [Wed, 4 Aug 2021 06:42:04 +0000 (09:42 +0300)]
0032518: Visualization - add AIS_InteractiveContext::SetDefaultDrawer()

5 months ago0032470: Modeling Algorithms - BOP wrong result on sphere and box
jgv [Fri, 30 Jul 2021 00:09:09 +0000 (03:09 +0300)]
0032470: Modeling Algorithms - BOP wrong result on sphere and box

Correct adjusting pcurves on periodic surfaces: take the middle point as a reference point.

5 months ago0032508: Visualization - OpenGl_FrameBuffer::InitWrapper() should not fail on wrappin...
kgv [Sun, 1 Aug 2021 09:34:41 +0000 (12:34 +0300)]
0032508: Visualization - OpenGl_FrameBuffer::InitWrapper() should not fail on wrapping textured FBO

OpenGl_FrameBuffer::InitWrapper() now reads viewport from GL_VIEWPORT
and doesn't return error on GL_TEXTURE attachments.
OpenGl_FrameBuffer::Release() assertion is now skipped for wrapped FBOs.

5 months ago0032506: Visualization - add AIS_InteractiveContext::ObjectIterator() for iterating... IR-2021-07-30 WEEK-30
kgv [Fri, 30 Jul 2021 19:35:28 +0000 (22:35 +0300)]
0032506: Visualization - add AIS_InteractiveContext::ObjectIterator() for iterating over objects in context

5 months ago0032482: Visualization - Object owner isn't removed from picked owner when object...
kgv [Mon, 26 Jul 2021 14:16:13 +0000 (17:16 +0300)]
0032482: Visualization - Object owner isn't removed from picked owner when object is removed

SelectMgr_ViewerSelector::RemoveSelectableObject() now removes object from picking results.

5 months ago0032492: Coding - New warnings after integration fix for 27814
asuraven [Tue, 27 Jul 2021 11:41:58 +0000 (14:41 +0300)]
0032492: Coding - New warnings after integration fix for 27814

5 months ago0027919: Visualization - support multiple transformation persistence groups within... IR-2021-07-23 WEEK-29
nds [Mon, 19 Jul 2021 10:31:05 +0000 (13:31 +0300)]
0027919: Visualization - support multiple transformation persistence groups within single presentation

Added transform persistence property to Graphic3d_Group and Select3D_SensitiveEntity.
SelectMgr_ViewerSelector, Graphic3d_Layer and OpenGl_Structure have been updated
to process per-group transform persistence within picking, ZFit and rendering.

Added zoomable state to Prs3d_ArrowAspect supported by PrsDim_Dimension.

Added gp_GTrsf::SetMat4(), opposite to gp_GTrsf::GetMat4().

5 months ago0032455: Data Exchange - replace OSD_OpenStream() usage with OSD_FileSystem::DefaultF...
mkrylova [Wed, 14 Jul 2021 12:06:35 +0000 (15:06 +0300)]
0032455: Data Exchange - replace OSD_OpenStream() usage with OSD_FileSystem::DefaultFileSystem()

- replaced OSD_OpenStream() usage with OSD_FileSystem::DefaultFileSystem()

5 months ago0027814: Parallelize BRepCheck_Analyzer
asuraven [Mon, 21 Jun 2021 16:15:09 +0000 (19:15 +0300)]
0027814: Parallelize BRepCheck_Analyzer

Change BRepCheck_Analyzer::Perform algorithm from recursion to 'for' loop
Add parallelization to BRepCheck_Analyzer::Perform
Add '-parallel' option to checkshape command to use parallelization. Default mode is single-thread.

mutex as Handle

5 months ago0032471: Mesh - Deflection of the triangulation is not recomputed for planar face
oan [Wed, 21 Jul 2021 11:12:35 +0000 (14:12 +0300)]
0032471: Mesh - Deflection of the triangulation is not recomputed for planar face

Method EstimateDeflection has been added to BRepLib in order to check and update value of deflection provided by Poly_Triangulation;
Introduction of Poly_TriangulationParameters intended to keep info about initial parameters of mesh stored by Poly_Triangulation;
BRepMesh stores user-specified parameters to Poly_Triangulation via Poly_TriangulationParameters;
Prefer initial parameters of mesh generator stored in Poly_Triangulation during check of mesh consistency.

5 months ago0032183: Visualization - implement AIS_LightSource::ProcessDragging() for rotating...
mkrylova [Fri, 26 Mar 2021 09:31:22 +0000 (12:31 +0300)]
0032183: Visualization - implement AIS_LightSource::ProcessDragging() for rotating directional light

- Added sensitive sphere for a light source
- Implemented AIS_LightSource::ProcessDragging() interface for rotating directional light source
- Added possibility to turn on/off directional light source dragging
- Added test

5 months ago0032329: Modeling Algorithms - Refactoring of the BRepOffset_MakeOffset_1.cxx to...
emv [Mon, 12 Jul 2021 11:27:01 +0000 (14:27 +0300)]
0032329: Modeling Algorithms - Refactoring of the BRepOffset_MakeOffset_1.cxx to decrease number of static methods

Refactoring of the BRepOffset_MakeOffset_1.cxx - Introduce local class BRepOffset_BuildOffsetFaces to compute splits of offset faces.

Change of tests is caused by the correction of the misprint in the code (incorrect input parameter for CheckEdgesCreatedByVertex method).

6 months ago0032479: Application Framework - unnecessary API break within TDocStd_Application... IR-2021-07-16 WEEK-28
kgv [Wed, 14 Jul 2021 08:31:16 +0000 (11:31 +0300)]
0032479: Application Framework - unnecessary API break within TDocStd_Application::Open()

Added aliases to Open() without theFilter argument for compatibility with old API.

6 months ago0032424: [Regression] Mesh - Slow triangulation of a simple shape.
oan [Thu, 8 Jul 2021 10:07:05 +0000 (13:07 +0300)]
0032424: [Regression] Mesh - Slow triangulation of a simple shape.

Check links produced by splitting of an initial link by the middle point for MinSize requirement.

6 months ago0032121: Draw Harness, ViewerTest - implement -reset option for vlight command
kgv [Fri, 9 Jul 2021 20:22:29 +0000 (23:22 +0300)]
0032121: Draw Harness, ViewerTest - implement -reset option for vlight command

vlight command has been revised to provide more friendly syntax.
Command now accepts light index or name as first argument.
Added arguments -enable/-disable for managing enabled state.
Added argument -reset to reset light parameters to default values.

V3d_Viewer::SetDefaultLights() now sets names "headlight" and "ambient" to created lights.
Graphic3d_TypeOfLightSource enumeration values have been renamed to avoid shortcuts.
Draw::Atof(), applied corrections to avoid explicit new/delete calls.

6 months ago0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result IR-2021-07-09 WEEK-27
abulyche [Mon, 12 Apr 2021 10:13:14 +0000 (13:13 +0300)]
0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result

Added map of edges to BrepClass_Edge
Added searching of vertices with high tolerance to BrepClass_Intersector.cxx
Added check for hitting a vertex with high tolerance
Added the creation of a segment for the correct work of the classifier

6 months ago0032473: Visualization, WNT_Window::ProcessMessage() - handle WM_TOUCH
kgv [Mon, 5 Jul 2021 20:34:33 +0000 (23:34 +0300)]
0032473: Visualization, WNT_Window::ProcessMessage() - handle WM_TOUCH

WNT_Window::ProcessMessage() now redirects WM_TOUCH events to AIS_ViewController,
so that it is possible to use multitouch displays in Draw Harness on Windows platform.

_WIN32_WINNT in CMake configuration for MinGW has been raised from 0x0501 to 0x0601.

6 months ago0032475: Configuration, qmake - drop "-z defs" linker flag on macOS
kgv [Thu, 8 Jul 2021 11:02:40 +0000 (14:02 +0300)]
0032475: Configuration, qmake - drop "-z defs" linker flag on macOS

6 months ago0031890: Modeling Algorithms - Invalid result of common fuse BOP. Intersection has...
jgv [Sun, 6 Jun 2021 02:39:55 +0000 (05:39 +0300)]
0031890: Modeling Algorithms - Invalid result of common fuse BOP. Intersection has failed.

Modify the method BOPTools_AlgoTools3D::DoSplitSEAMOnFace: correct processing closed non-periodic surfaces.

6 months ago0031918: Application Framework - New binary format for fast reading part of OCAF...
mpv [Thu, 24 Jun 2021 14:26:52 +0000 (17:26 +0300)]
0031918: Application Framework - New binary format for fast reading part of OCAF document

Implementation of new format for quick reading and writing parts of the documents (sub-set of labels and sub-set of attributes). It consists in writing shapes and all their contents right in the TNaming_NamedShape attribute placement and skipping the shape section. New format 12 for Binary file types is assigned to this version.

Added PCDM_ReaderFilter class that could be used in Open methods of TDocStd_Application. If it is defined, it allows to read:
- into already opened document in append mode AppendMode_Protect (do not overwrite existing attributes) or AppendMode_Overwrite
- only specified sub-trees of the document using AddPath (const TCollection_AsciiString& theEntryToRead)
- only specified attributes using AddRead (const TCollection_AsciiString& theRead) where theRead could be "TDataStd_Name", for example
- to skip specified attributes read using AddSkipped (const TCollection_AsciiString& theSkipped) where theSkipped could be "TDF_Reference", for example

The current limitations:
- only in Bin format
- if shapes have in the document shared topology, loaded in "append" mode in different "load" operations, they will have no shared topology anymore

Modifications:
BinLDrivers and BinDrivers packages - modifications related to the quick part tree format flag usage, skipping shape section writing and adding labels sizes into the document to be able to pass labels during the reading quickly.
BinObjMgt_Persistent and BinObjMgt_Position - to add possibility to write directly into the stream some data just after the attribute. Before this record a data-size is recorded.
BinMXCAFDoc package modifications to write BinMXCAFDoc_LocationDriver location in the same way as shapes write location data right after the attribute (empty) data in this new format.
BinTools package: creation of ShapeReader and ShapeWriter classes with same root class ShapeSetBase with ShapeSet class. These classes allows to write/read shapes directly to the stream. If some object is already in the stream, write a reference - relative position of the duplicated object. The old format of documents is still supported by Bin_ToolsShapeSet class.
PCDM_ReaderFilter - Allows the user to create a reading filter. It contains algorithm to browse labels tree quickly, without usage of referencing by entry-strings.
TDocStd, CDF and some other packages are changed for supporting reading filters API and options.

Tests, documentation and upgrade information are also added for both issues: 31839 and 31918 related to this commit.

6 months ago0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspe...
kgv [Tue, 6 Jul 2021 13:46:31 +0000 (16:46 +0300)]
0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspector:BOOL=ON - part 2

6 months ago0032389: Visualization, AIS_Axis - simple ray creation and displaying IR-2021-07-02 WEEK-26
mkrylova [Wed, 16 Jun 2021 13:21:17 +0000 (16:21 +0300)]
0032389: Visualization, AIS_Axis - simple ray creation and displaying

- Added constructor to create axis by gp_Ax1
- Added possibility to display axis as ray
- Added function SetDisplayAspect to set required visualization parameters

6 months ago0032441: Draw Harness - command readstl doesn't print error message on failure
mkrylova [Wed, 23 Jun 2021 14:08:56 +0000 (17:08 +0300)]
0032441: Draw Harness - command readstl doesn't print error message on failure

- added producing error message when passing an invalid file path

6 months ago0032465: Visualization, TKOpenGles - invalid enum on GL_RGBA16F initialization in...
kgv [Mon, 28 Jun 2021 19:58:37 +0000 (22:58 +0300)]
0032465: Visualization, TKOpenGles - invalid enum on GL_RGBA16F initialization in Edge 92

GL_HALF_FLOAT_OES from OpenGL ES 2.0 extension
is now avoided within OpenGL ES 3.0+ context in favor of GL_HALF_FLOAT.

emscripten_webgl_enable_extension() is now called for all extensions
checked by OpenGl_Context::CheckExtension().
So far this doesn't solve any problem, but looks more logical and provisional.

6 months ago0032463: Visualization - implement Image_AlienPixMap::Load() via emscripten_get_prelo...
kgv [Sun, 27 Jun 2021 14:32:27 +0000 (17:32 +0300)]
0032463: Visualization - implement Image_AlienPixMap::Load() via emscripten_get_preloaded_image_data()

6 months ago0032460: Coding Rules - eliminate CLang warning -Wunused-but-set-variable IR-2021-06-25 WEEK-25
kgv [Thu, 24 Jun 2021 20:07:37 +0000 (23:07 +0300)]
0032460: Coding Rules - eliminate CLang warning -Wunused-but-set-variable

Code has been adjusted to suppress -Wunused-but-set-variable warnings.

DRAWEXE.wasm, compiler flags have been moved to linker flags
to eliminiate -Wunused-command-line-argument warnings.

6 months ago0032182: Visualization - add Select3D_SensitiveSphere
mkrylova [Wed, 17 Mar 2021 14:38:00 +0000 (17:38 +0300)]
0032182: Visualization - add Select3D_SensitiveSphere

- created Select3D_SensitiveSphere class
- implemented interfaces for intersection methods
- added tests

6 months ago0032459: Draw Harness, ViewerTest - fix description of vrenderparams -oit
kgv [Wed, 23 Jun 2021 18:33:43 +0000 (21:33 +0300)]
0032459: Draw Harness, ViewerTest - fix description of vrenderparams -oit

6 months ago0032458: Draw Harness, ViewerTest - fix misprint in vaspects -drawSilhouette
kgv [Wed, 23 Jun 2021 18:17:03 +0000 (21:17 +0300)]
0032458: Draw Harness, ViewerTest - fix misprint in vaspects -drawSilhouette

6 months ago0029059: It is necessary to have a unique way of checking of the validity of the...
asuraven [Wed, 28 Apr 2021 09:06:39 +0000 (12:06 +0300)]
0029059: It is necessary to have a unique way of checking of the validity of the edge and its 2D curves

Add new class BRepLib_ValidateEdge to use for edge checking instead of functions:
- Validate() from BOPTools_AlgoTools.cxx
- Validate() from BRepCheck_Edge.cxx
- ShapeAnalysis_Edge::ComputeDeviation()

6 months ago0032390: Visualization, SelectMgr_FrustumBuilder - use camera instead of duplicated...
osa [Fri, 28 May 2021 14:25:04 +0000 (17:25 +0300)]
0032390: Visualization, SelectMgr_FrustumBuilder - use camera instead of duplicated methods

Fix incorrect value of axis intersection with segment inside of SelectMgr_AxisIntersector::raySegmentDistance().
Move camera definition to base intersector (it is not possible to set it for axis intersector, is is not applicable).
Add method Graphic3d_Camera::SetIdentityOrientation() to set camera parameters to make current orientation matrix identity one.
Remove all matrices from selection intersectors and frustum builder and use camera instead of them.
Fix missed axis tests in vselect grid.

7 months ago0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspe... IR-2021-06-18 WEEK-24
kgv [Thu, 10 Jun 2021 14:46:20 +0000 (17:46 +0300)]
0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspector:BOOL=ON

7 months ago0032453: Documentation - nested multiline comments within BOPAlgo_CellsBuilder.hxx...
kgv [Thu, 17 Jun 2021 17:11:09 +0000 (20:11 +0300)]
0032453: Documentation - nested multiline comments within BOPAlgo_CellsBuilder.hxx destroy Java wrapping

7 months ago0032400: Visualization, TKIVtk - convert VTK camera to OCC
osa [Fri, 28 May 2021 14:39:11 +0000 (17:39 +0300)]
0032400: Visualization, TKIVtk - convert VTK camera to OCC

Add new interfaces GetEyePosition(), GetClippingRange(), GetAspectRatio() to IVTK_IView
Add ivtkviewparams command to print current parameters of view
Add ivtkcamera comand to print current camera parameters or manages camera parameters (set ortho or persp projection)

7 months ago0032430: Coding Rules - eliminate CLang warning -Wdeprecated-copy
kgv [Fri, 11 Jun 2021 11:52:37 +0000 (14:52 +0300)]
0032430: Coding Rules - eliminate CLang warning -Wdeprecated-copy

Introduced Standard_DELETE alias to C++11 feature "=delete".

7 months ago0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option
bugmaster [Wed, 16 Jun 2021 10:52:19 +0000 (13:52 +0300)]
0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option

7 months ago0032432: Inspectors - problems with tools test group
Natalia Ermolaeva [Wed, 16 Jun 2021 06:32:52 +0000 (09:32 +0300)]
0032432: Inspectors - problems with tools test group

Adding __APPLE_ definition for libraries

7 months ago0032404: Draw - problems with definition of cpulimit in tests
bugmaster [Fri, 11 Jun 2021 15:00:23 +0000 (18:00 +0300)]
0032404: Draw - problems with definition of cpulimit in tests

- The maximum value of cpulimit in test cases was limited to 1000 seconds (~ 17 minutes)
- cpulimit 1000 has been added to hlr/begin

7 months ago0032438: Configuration - add batch files to build OCCT using Mingw-w64
kgv [Sat, 12 Jun 2021 14:16:37 +0000 (17:16 +0300)]
0032438: Configuration - add batch files to build OCCT using Mingw-w64

7 months ago0032437: Coding Rules - eliminate MinGW warning -Wmaybe-uninitialized
kgv [Sat, 12 Jun 2021 12:35:38 +0000 (15:35 +0300)]
0032437: Coding Rules - eliminate MinGW warning -Wmaybe-uninitialized

7 months ago0032433: Visualization, TKService - introduce Wasm_Window implementing Aspect_Window... IR-2021-06-11 WEEK-23
kgv [Sun, 25 Apr 2021 14:51:49 +0000 (17:51 +0300)]
0032433: Visualization, TKService - introduce Wasm_Window implementing Aspect_Window interface using Emscripten SDK

Introduced Wasm_Window implementing Aspect_Window interface.

Aspect_WindowInputListener has been extended by touch input callbacks (moved from AIS_ViewController),
which now implements redirection of single taps to UpdateMouseClick().

AIS_ViewController::FetchNavigationKeys() now requests more frames even if Delta is zero,
but navigation keys are pressed - indicated by a new flag AIS_WalkDelta::IsDefined().

Fixed missing implementation of Xw_Window::DisplayConnection() getter.
The property has been moved to the base class Aspect_Window.

Removed unused Aspect_Convert.hxx.

DRAWEXE targeting Wasm:
- added exposing of FS interface so that it is possible uploading/downloading files to/from emulated file system on JavaScript level;
- added printer redirecting messages to Module.printMessage callback accepting message gravity;
- Run_Appli() now skips std::cin when Module.noExitRuntime is set.

7 months ago0032299: Application Framework - Loading OCAF document saved with earlier version...
mpv [Tue, 13 Apr 2021 15:31:31 +0000 (18:31 +0300)]
0032299: Application Framework - Loading OCAF document saved with earlier version fails when using OCCT 7.5.1

Keeping information about the file start instead of calling tellg. This fixes problem with not-seekable streams used for XML files reading and improves performance of XML files reading (about 10%), since tellg is quite long operation.

7 months ago0032417: Coding Rules - clean up public headers gp_Mat.hxx/ gp_Mat2d.hxx from interna...
mkrylova [Fri, 4 Jun 2021 08:13:47 +0000 (11:13 +0300)]
0032417: Coding Rules - clean up public headers gp_Mat.hxx/ gp_Mat2d.hxx from internal macros

Deleted internal macros.

7 months ago0032428: Documentation, AIS_InteractiveContext - put cross-references between MoveTo...
kgv [Wed, 9 Jun 2021 10:50:00 +0000 (13:50 +0300)]
0032428: Documentation, AIS_InteractiveContext - put cross-references between MoveTo() and HighlightStyle()

Added more @sa section between methods.
Deprecated Select() methods have been moved to the section with obsolete methods.
Methods delimiter within @sa listing has been changed from '/' to ',' for proper Doxygen generation results.

7 months ago0032419: Coding Rules - revert Overlaps() methods to SelectBasics_SelectingVolumeMana... IR-2021-06-04 WEEK-22
kgv [Fri, 4 Jun 2021 08:28:49 +0000 (11:28 +0300)]
0032419: Coding Rules - revert Overlaps() methods to SelectBasics_SelectingVolumeManager as deprecated aliases

Deprecated Overlaps() methods have been moved from subclass SelectMgr_SelectingVolumeManager
to the base class SelectBasics_SelectingVolumeManager,
so that they are actually accessible within Select3D_SensitiveEntity::Matches() implementations.

Several methods have been marked as pure virtual in the base interface.
Second SelectMgr_BaseIntersector::OverlapsPolygon() has been dropped from virtual interface
as useless (trivially replaceable).

7 months ago0029303: Data Exchange - add RWObj_CafWriter tool for wavefront OBJ file
kgv [Mon, 31 May 2021 17:14:03 +0000 (20:14 +0300)]
0029303: Data Exchange - add RWObj_CafWriter tool for wavefront OBJ file

Unstable test case v3d/memory/bug26538 has been adjusted.

7 months ago0032402: Coding Rules - eliminate msvc warning C4668 (symbol is not defined as a...
zaphod [Sun, 30 May 2021 10:27:19 +0000 (12:27 +0200)]
0032402: Coding Rules - eliminate msvc warning C4668 (symbol is not defined as a preprocessor macro, replacing with '0' for directive)

Make preprocessor expressions consistent with respect to guard expressions.

Fixed usage of macros __QNX__, IRIX, OCCT_DEBUG, DO_INVERSE, DRAW, CHFI3D_DEB by value.
Removed obsolete hack for Sun Workshop 5.0 compiler.

7 months ago0032137: Coding Rules - merge redundant .lxx files into header files within Package gp
mkrylova [Wed, 17 Feb 2021 10:49:32 +0000 (13:49 +0300)]
0032137: Coding Rules - merge redundant .lxx files into header files within Package gp

- merged .lxx files into header files within Package gp
- fixed code style

7 months ago0032406: Configuration, CMake - DRAWEXE build fails on Linux with static libraries
kgv [Mon, 31 May 2021 13:05:43 +0000 (16:05 +0300)]
0032406: Configuration, CMake - DRAWEXE build fails on Linux with static libraries

Add missing CSF_dl, CSF_TclTkLibs to DRAWEXE dependencies (static build).

7 months ago0032279: Draw Harness - protect incmesh from hanging on syntax error IR-2021-05-28 WEEK-21
mkrylova [Tue, 18 May 2021 10:51:22 +0000 (13:51 +0300)]
0032279: Draw Harness - protect incmesh from hanging on syntax error

- improved incmesh to raise exception on invalid input parameters
- added possibility to operate multiple objects
- added checking for too small values in BrepMesh algorithm

7 months ago0032399: Configuration - correct search of VTK bin path by genconf
osa [Thu, 27 May 2021 15:15:36 +0000 (18:15 +0300)]
0032399: Configuration - correct search of VTK bin path by genconf

7 months ago0032385: Coding - New msvc10 warnings after integration fix for 32338
osa [Mon, 24 May 2021 06:59:39 +0000 (09:59 +0300)]
0032385: Coding - New msvc10 warnings after integration fix for 32338

7 months ago0026365: Optimization of work of OSD_Parallel class members for GeomLib_CheckCurveOnS...
kgv [Thu, 10 Jan 2019 13:35:25 +0000 (16:35 +0300)]
0026365: Optimization of work of OSD_Parallel class members for GeomLib_CheckCurveOnSurface

Removed workaround within GeomLib_CheckCurveOnSurface.

7 months ago0032261: Mesh - some trivial improvements for mesher
Dzmitry Razmyslovich [Wed, 26 May 2021 14:03:42 +0000 (17:03 +0300)]
0032261: Mesh - some trivial improvements for mesher

BRepMesh_Delaun::decomposeSimplePolygon(): minor change to improve code readability;
Correct test case

7 months ago0032261: Mesh - some trivial improvements for mesher
Dzmitry Razmyslovich [Tue, 13 Apr 2021 05:58:53 +0000 (07:58 +0200)]
0032261: Mesh - some trivial improvements for mesher

BRepMesh_ModelHealer::amplifyEdges use a single instance of EdgeAmplifier

7 months ago0032261: Mesh - some trivial improvements for mesher
Dzmitry Razmyslovich [Mon, 29 Mar 2021 11:54:42 +0000 (13:54 +0200)]
0032261: Mesh - some trivial improvements for mesher

BRepMesh_GeomTool::IntSegSeg misses one case, when the result is Glued

7 months ago0032388: Visualization - provide ray-picking interface with zero tolerance for rectan...
osa [Tue, 25 May 2021 14:57:48 +0000 (17:57 +0300)]
0032388: Visualization - provide ray-picking interface with zero tolerance for rectangular frustum

7 months ago0032387: Visualization - use interface of ray-picking for selection/highlighting...
osa [Mon, 24 May 2021 12:27:33 +0000 (15:27 +0300)]
0032387: Visualization - use interface of ray-picking for selection/highlighting for XR pose

Fixed regression of SelectMgr_ViewerSelector::SetPixelTolerance(). Removed redundant myToUpdateTolerance flag.

SelectMgr_AxisIntersector::raySegmentDistance() - fixed usage of SquareModulus() instead of Modulus().
SelectMgr_ViewerSelector::TraverseSensitives() now skips both BVHSubset_2dPersistent and BVHSubset_3dPersistent relying on Camera.

AIS_ViewController::handleXRMoveTo() now uses interface for picking by Axis explicitly
instead of emulating axis by point picking.

7 months ago0032337: Visualization - rename Overlaps() method in selection to more self-describab...
mkrylova [Wed, 12 May 2021 13:39:17 +0000 (16:39 +0300)]
0032337: Visualization - rename Overlaps() method in selection to more self-describable names

- renamed Overlaps and hasOverlap overloaded methods to self-describable names

7 months ago0032391: Draw Harness - missing syntax validation within vseldump
kgv [Mon, 24 May 2021 21:08:05 +0000 (00:08 +0300)]
0032391: Draw Harness - missing syntax validation within vseldump

SelectMgr_SelectionImageFiller, SurfaceNormalFiller - pick results from SelectMgr_SortCriterion
instead of calling redundant Matches().
vseldump - added missing syntax error output on incorrect -type parameter.

7 months ago0031920: Application Framework - speed up methods of getting label by entry and vice... IR-2021-05-21 WEEK-20
vro [Thu, 13 May 2021 11:19:00 +0000 (14:19 +0300)]
0031920: Application Framework - speed up methods of getting label by entry and vice versa

            A table for fast access to the labels by entry is implemented in OCAF document. A method TDF_Data::SetAccessByEntries(true) fills-in a table for fast access to the labels. New labels, created later will be added to the table automatically. The method TDF_Tool::Label() will search the entry in the table and then, if not found, will call the old code. Disabling of usage of the table (by calling of TDF_Data::SetAccessByEntries(false)) cleans the internal table of entries - labels. By default, the table is not used.
            This improvement is useful for large documents with a lot of labels, and if the application uses entries to get labels. The application should call TDF_Data::SetAccessByEntries(true) for a document and then, the method TDF_Tool::Label() called inside OCAF and XCAF will use the fast access to the labels and speed-up the application.
            Also, the method TDF_Tool::Entry() is improved (by MPV).

            Modified files:
            - TDF_Data.hxx and cxx: the new methods SetAccessByEntries(bool), IsAccessByEntries() and GetLabel(entry) are implemented. No need to use the method GetLabel() directly. It is called in TDF_Tool::Label().
            - TDF_Label.cxx: adding of a newly created label to the table of entries - labels.
            - TDF_Tool.cxx: the method Entry() is accelerated (by MPV) and Label() is improved to call TDF_Data::GetLabel().
            - DDF_DataCommands.cxx: a new draw-command is added SetAccessByEntry, which sets or unsets usage of the table for fast access to the labels. Usage of the draw-command is illustrated in a new test "bugs caf bug31920".

            Tests:
            - bugs caf bug31920: a new simple test to check TDF_Tool::Label() when fast access to the labels is on.

            Doc:
            - dox\upgrade\upgrade.md is extended for new information

7 months ago0032196: Modeling Algorithms - Invalid section curve
jgv [Thu, 20 May 2021 22:54:07 +0000 (01:54 +0300)]
0032196: Modeling Algorithms - Invalid section curve

Modify the method IntWalk_IWalking::ComputeCloseLine: add condition for check of update of variable containing current solution

7 months ago0032338: Visualization - provide straightforward interface for ray-picking
osa [Tue, 18 May 2021 07:07:59 +0000 (10:07 +0300)]
0032338: Visualization - provide straightforward interface for ray-picking

7 months ago0032365: Visualization - refactoring of viewer selector
osa [Thu, 13 May 2021 15:52:39 +0000 (18:52 +0300)]
0032365: Visualization - refactoring of viewer selector

Add SelectMgr_BaseIntersector class as base intersector that can have any geometry not only frustum.
Remove cached static array of selecting volumes from selecting volume manager. Keep only one the latest active selection volume.
Change initialization interface of active volume frustum inside of selecting volume manager: Init*SelectingVolume(), set required parameters, BuildSelectingVolume(). Mark existing BuildSelectingVolume() methods as deprecated.
Use SelectMgr_SelectionType instead of SelectBasics_SelectingVolumeManager::SelectionType (the last one is marked as deprecated).
Add interface GetViewRayDirection() to selecting volume manager to get view ray direction (instead of computation it as vector from near to far point).
Add interface IsScalableActiveVolume() to selecting volume manager to check possibility of scaling of current active selecting volume.