occt.git
2 years ago0032254: Refactor frontierAdjust function; Use abs angle CR0032254
Dzmitry Razmyslovich [Sat, 27 Mar 2021 19:29:35 +0000 (20:29 +0100)]
0032254: Refactor frontierAdjust function; Use abs angle

2 years ago0031087: Configuration - make FreeType dependency optional [part 2] 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]

2 years 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.

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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]

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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).

2 years 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.

2 years 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.

2 years 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 years agoUpdate version up to 7.6.0 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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.

2 years 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

2 years 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

2 years 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")

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years ago0032607: Modeling Algorithms - BOPAlgo_BOP returns incomplete result CR0-WEEK-40 IR-2021-10-08
ifv [Mon, 4 Oct 2021 14:25:56 +0000 (17:25 +0300)]
0032607: Modeling Algorithms - BOPAlgo_BOP returns incomplete result

IntPatch/IntPatch_ImpPrmIntersection.cxx - decreasing step for some conditions
tests/lowalgos/intss/bug32607 - test case added

2 years ago0029405: Modeling Algorithms - Check normal define status in HLRBRep_Data
vkuzin [Fri, 13 Aug 2021 11:43:22 +0000 (14:43 +0300)]
0029405: Modeling Algorithms - Check normal define status in HLRBRep_Data

Fixed exception when trying to calculate line and edge normal in methods HLRBRep_Data::OrientOutLine and HLRBRep_Data::OrientOthEdge, added a check for the existence of the normal before subsequent calculations. A correct check for zero derivative, correction of floating point error and division by zero determinant directly in HLRBRep_EdgeFaceTool::CurvatureValue was set.

2 years ago0032609: Visualization, Wasm_Window - handle mouse movements outside canvas element
kgv [Wed, 6 Oct 2021 20:55:43 +0000 (23:55 +0300)]
0032609: Visualization, Wasm_Window - handle mouse movements outside canvas element

Wasm_Window::ProcessMouseEvent() - removed redundant check on EMSCRIPTEN_EVENT_MOUSEUP event.
ViewerTest and WebGL sample - mouse movements are now tracked on window element
to allow tracking updates when mouse with clicked button is moved outside canvas element.

2 years ago0032604: Visualization, AIS_LightSource - improve dragging robustness
kgv [Mon, 4 Oct 2021 10:26:35 +0000 (13:26 +0300)]
0032604: Visualization, AIS_LightSource - improve dragging robustness

2 years ago0032591: Visualization, V3d_View - improve corner gradient
achesnok [Sat, 2 Oct 2021 13:33:48 +0000 (16:33 +0300)]
0032591: Visualization, V3d_View - improve corner gradient

- Added new shader for correct Aspect_GradientFillMethod_Corner mode shading.

2 years ago0032603: Coding - get rid of unsused forward declarations
aml [Sat, 2 Oct 2021 06:38:32 +0000 (09:38 +0300)]
0032603: Coding - get rid of unsused forward declarations

Packages from Adaptor2d to BRepMesh are processed.

2 years ago0032602: Configuration, genconf - reduce window height with empty error log
kgv [Fri, 1 Oct 2021 21:17:17 +0000 (00:17 +0300)]
0032602: Configuration, genconf - reduce window height with empty error log

Font height is reduced to 1 for empty error labels is empty to win some space.

2 years ago0032601: Foundation Classes - Poly_Connect hangs on the given incorrect triangulation
msv [Fri, 1 Oct 2021 19:23:36 +0000 (22:23 +0300)]
0032601: Foundation Classes - Poly_Connect hangs on the given incorrect triangulation

2 years ago0032539: Modeling Algorithms - Parallelize BRepExtrema_DistShapeShape algorithm CR0-WEEK-39 IR-2021-10-01
asuraven [Wed, 18 Aug 2021 17:23:07 +0000 (20:23 +0300)]
0032539: Modeling Algorithms - Parallelize BRepExtrema_DistShapeShape algorithm

2 years ago0032596: [REGRESSION] Data Exchange, STEP Reader - OCCT 7.6.0dev does not open file...
dpasukhi [Wed, 29 Sep 2021 19:03:26 +0000 (22:03 +0300)]
0032596: [REGRESSION] Data Exchange, STEP Reader - OCCT 7.6.0dev does not open file correctly

Fixed typo in the StepToTopoDS_TranslateFace.cxx after #29564 issue

2 years ago0032550: Documentation - Proofreading for "Tutorials and Samples -> Tutorial"
btokarev [Wed, 1 Sep 2021 13:29:33 +0000 (16:29 +0300)]
0032550: Documentation - Proofreading for "Tutorials and Samples -> Tutorial"

New images added for better representation of solid model;
Minor fixes for misprints and old classes;
Proofreading done.

2 years ago0032581: Modelling Algorithms - UnifySameDomain produces invalid result
jgv [Mon, 27 Sep 2021 16:00:37 +0000 (19:00 +0300)]
0032581: Modelling Algorithms - UnifySameDomain produces invalid result

1. Correct local function TransformPCurves of ShapeUpgrade_UnifySameDomain: take into account the case of seam edge.
2. Correct local function ReconstructMissedSeam of ShapeUpgrade_UnifySameDomain: use previously stored seam edge in some cases.

2 years ago0032595: Documentation - revise "Build OCCT" structure to highlight CMake usage
kgv [Wed, 29 Sep 2021 09:24:26 +0000 (12:24 +0300)]
0032595: Documentation - revise "Build OCCT" structure to highlight CMake usage

"Building with CMake tool" subsection has been moved out from "Windows" to a dedicated top-level section.
genproj sections have been merged and restructured.
Added description of some new CMake configuration options.
Updated URL to 3rd-party components on Development Portal.

2 years ago0032597: Coding Rules, Wasm_Window - add missing setter for DevicePixelRatio property
kgv [Wed, 29 Sep 2021 13:47:56 +0000 (16:47 +0300)]
0032597: Coding Rules, Wasm_Window - add missing setter for DevicePixelRatio property

2 years ago0032593: Documentation - get rid of unused file in the documentation.
aml [Tue, 28 Sep 2021 10:59:56 +0000 (13:59 +0300)]
0032593: Documentation - get rid of unused file in the documentation.

2 years ago0030148: Modeling Algorithms - exception in BRepOffestAPI_MakePipe for some periodic...
abulyche [Wed, 22 Sep 2021 09:56:33 +0000 (12:56 +0300)]
0030148: Modeling Algorithms - exception in BRepOffestAPI_MakePipe for some periodic BSpline spines

This problem was solved by fix for 0030597.
Added the non-regression test for this problem.

2 years ago0032557: Modeling Data - Use of BRepBuilderAPI_NurbsConvert create 2d p-curves with...
ifv [Fri, 24 Sep 2021 13:24:34 +0000 (16:24 +0300)]
0032557: Modeling Data - Use of BRepBuilderAPI_NurbsConvert create 2d p-curves with errors

BRepTools/BRepTools_NurbsConvertModification.cxx -
 Checking domain of 2dCurves if surfaces are periodic is improved

tests/bugs/moddata_3/bug32557 - test case added

2 years ago0032569: Modeling Algorithm - Section not found
ifv [Tue, 14 Sep 2021 14:11:17 +0000 (17:11 +0300)]
0032569: Modeling Algorithm - Section not found

IntPatch/IntPatch_WLineTool.cxx - adding control of maximal ratio of distances between 3 sequential points.
tests/bugs/modalg_7/bug32569 - new test case added
tests/lowalgos/intss/bug29972_1 test case is modified according new behavior of intersection algorithm

2 years ago0032578: Modeling Algorithms - Splitting face by set of edges fails
emv [Mon, 20 Sep 2021 15:07:30 +0000 (18:07 +0300)]
0032578: Modeling Algorithms - Splitting face by set of edges fails

Update information about ON/IN sub-shapes for all touched faces when intersection with shapes of lower types (edges and vertices) complete.
Previously only the faces participating in the Face/Face intersection were updated.

2 years ago0032590: Visualization, V3d_View - improve API for setting Image Based Lighting
kgv [Sun, 26 Sep 2021 10:03:25 +0000 (13:03 +0300)]
0032590: Visualization, V3d_View - improve API for setting Image Based Lighting

Added method V3d_View::SetImageBasedLighting() for managing IBL.
OpenGl_View implementation has been revised to handle IBL updates in a more straightforward way,

2 years ago0031039: Visualization - add elliptical gradient background style
achesnok [Tue, 21 Sep 2021 15:42:21 +0000 (18:42 +0300)]
0031039: Visualization - add elliptical gradient background style

Added new elliptical gradient fill method and updated vbackground command.
Renamed enum values of Aspect_GradientFillMethod and defined aliases for old ones.
Changed draw mode in OpenGl_BackgroundArray from triangle-strip to GL_TRIANGLES.

2 years ago0032585: Data Exchange, RWGltf_CafWriter - include OCCT version IR-2021-09-24
kgv [Thu, 23 Sep 2021 20:52:42 +0000 (23:52 +0300)]
0032585: Data Exchange, RWGltf_CafWriter - include OCCT version

2 years ago0032582: Configuration, genproj - make CSF_OPT_LIB64D configurable by genconf
kgv [Wed, 22 Sep 2021 21:50:20 +0000 (00:50 +0300)]
0032582: Configuration, genproj - make CSF_OPT_LIB64D configurable by genconf

2 years ago0032579: Draw Harness, ViewerTest - extend vbackground -cubemap syntax to configure...
kgv [Tue, 21 Sep 2021 21:18:35 +0000 (00:18 +0300)]
0032579: Draw Harness, ViewerTest - extend vbackground -cubemap syntax to configure sRGB flag

Command vbackground has been refactored to simplify logic and relax syntax.
Added -srgb argument to vbackground and vtexture commands.

2 years ago0032580: Data Exchange, STL - add option splitting nodes at sharp corners
kgv [Tue, 21 Sep 2021 08:56:09 +0000 (11:56 +0300)]
0032580: Data Exchange, STL - add option splitting nodes at sharp corners

Added Poly_MergeNodesTool tool for merging nodes within triangulation.
Added RWStl_Reader::MergeAngle() property managing merging behavior.

2 years ago0029478: Crash because bSplineSurfaceWithKnots is NULL.
asemenov [Fri, 17 Sep 2021 15:46:43 +0000 (18:46 +0300)]
0029478: Crash because bSplineSurfaceWithKnots is NULL.

Modified the method void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
Added processing B spline surface with knots and rational B spline surface with empty data in the name field
Added test

2 years ago0031631: Modeling Algorithms - Invalid result of Pipe builder
abulyche [Thu, 16 Sep 2021 06:29:49 +0000 (09:29 +0300)]
0031631: Modeling Algorithms - Invalid result of Pipe builder

Added the ability to operate the algorithm with different types of curves.

2 years ago0031388: Data Exchange - support kinematics data in STEP format IR-2021-09-17
dpasukhi [Thu, 12 Mar 2020 16:29:21 +0000 (19:29 +0300)]
0031388: Data Exchange - support kinematics data in STEP format

- add new STEP entities.

2 years ago0032552: Modeling Algorithms - BRepExtrema_DistShapeShape algorithm consumes too...
asuraven [Thu, 2 Sep 2021 10:59:04 +0000 (13:59 +0300)]
0032552: Modeling Algorithms - BRepExtrema_DistShapeShape algorithm consumes too much memory

Used a new BRepExtrema_DistShapeShape::DistanceVertVert() function to replace DistanceMapMap() to calculate vertex/vertex distance

2 years ago0032566: Modeling Algorithms - Incorrect result of offset operation in mode "Complete...
emv [Fri, 10 Sep 2021 13:06:50 +0000 (16:06 +0300)]
0032566: Modeling Algorithms - Incorrect result of offset operation in mode "Complete" join type "Intersection"

Before removal of the part make sure that it was not filled due to overlapping of opposite parts.
Improve procedure of checking for inverted edges by taking into account that the original edges may not be connected.

Correct test case offset/shape_type_i_c/YL5, as it was working incorrectly - some parts were missing.

2 years ago0032236: Modeling Algorithms - Exception on calculation optimal bounding box
kgv [Wed, 24 Mar 2021 07:37:29 +0000 (10:37 +0300)]
0032236: Modeling Algorithms - Exception on calculation optimal bounding box

 - BRepBndLib - added VOID box checks to AdjustFaceBox() method.
 - added the test

2 years ago0032089: Visualization, TKOpenGl - support GL_EXT_sRGB extension to OpenGL ES 2.0
kgv [Thu, 16 Sep 2021 07:50:18 +0000 (10:50 +0300)]
0032089: Visualization, TKOpenGl - support GL_EXT_sRGB extension to OpenGL ES 2.0

2 years ago0032461: Visualization - expensive call of glGetTexEnviv/glTexEnvi in each render...
sshutina [Wed, 15 Sep 2021 10:48:51 +0000 (13:48 +0300)]
0032461: Visualization - expensive call of glGetTexEnviv/glTexEnvi in each render of OpenGl_Text

 - removed the call of glGetTexEnviv, glTexEnvi
 - replaced on the OpenGl_Sampler::applyGlobalTextureParams/resetGlobalTextureParams
 - added the method in OpenGl_Font returning first texture

2 years ago0032330: Modeling Algorithms - Extend Offset algorithm with Progress Indicator and...
akaftasev [Thu, 18 Mar 2021 16:44:11 +0000 (19:44 +0300)]
0032330: Modeling Algorithms - Extend Offset algorithm with Progress Indicator and User Break

Add progress indicator to BRepOffset_MakeOffset::MakeOffsetShape().

2 years ago0032567: Coding Rules - rename Graphic3d_TypeOfShadingModel values to include full...
kgv [Mon, 13 Sep 2021 19:19:54 +0000 (22:19 +0300)]
0032567: Coding Rules - rename Graphic3d_TypeOfShadingModel values to include full enumeration name

2 years ago0030422: Random behaviour of BRepAdaptor_CompCurve
ifv [Thu, 19 Aug 2021 12:05:53 +0000 (15:05 +0300)]
0030422: Random behaviour of BRepAdaptor_CompCurve

BRepTools/BRepTools_WireExplorer.cxx - replace MapOfShape vmap by IndexedMapOfShape
to avoid random behavior of algorithm

bugs/moddata_3/bug30422 - new test case added

2 years ago0032561: Modelling Algorithms - UnifySameDomain does nothing while it is expected...
jgv [Fri, 10 Sep 2021 16:30:38 +0000 (19:30 +0300)]
0032561: Modelling Algorithms - UnifySameDomain does nothing while it is expected to union two pairs of faces

Correct method ShapeUpgrade_UnifySameDomain::UnifyFaces: when creating the Edge-Face map of initial shape, count each face only once.

2 years ago0032423: Coding Rules - NSOpenGLContext deprecation warnings during compilation for...
kgv [Fri, 10 Sep 2021 18:45:03 +0000 (21:45 +0300)]
0032423: Coding Rules - NSOpenGLContext deprecation warnings during compilation for macOS 10.14+

The warning has been suppressed for building TKOpenGl.

2 years ago0032450: Modeling Algorithms - change BRepLib_CheckCurveOnSurface & GeomLib_CheckCurv... IR-2021-09-10
asuraven [Tue, 13 Jul 2021 14:17:51 +0000 (17:17 +0300)]
0032450: Modeling Algorithms - change BRepLib_CheckCurveOnSurface & GeomLib_CheckCurveOnSurface interfaces to adapters

2 years ago0029233: Incorrect result of conversion to the STEP format.
asemenov [Thu, 2 Sep 2021 12:32:11 +0000 (15:32 +0300)]
0029233: Incorrect result of conversion to the STEP format.

Modified the method TopoDSToStep_MakeStepFace::Init
Added processing of degenerate toroidal surfaces, which are the base surfaces of offset surfaces
Added test

2 years ago0032565: Foundation Classes, OSD_FileSystem - expose interface for registering global...
kgv [Thu, 9 Sep 2021 18:04:21 +0000 (21:04 +0300)]
0032565: Foundation Classes, OSD_FileSystem - expose interface for registering global protocols

Added methods OSD_FileSystem::AddDefaultProtocol()/::RemoveDefaultProtocol()
and fixed misleading description of OSD_FileSystemSelector::AddProtocol().

2 years ago0032540: RWGltf_CafReader - optional "scene" parameter encoded as mandatory
kgv [Thu, 9 Sep 2021 18:59:18 +0000 (21:59 +0300)]
0032540: RWGltf_CafReader - optional "scene" parameter encoded as mandatory

First scene is now loaded when default one is undefined.

2 years ago0031337: Inspectors - user guide update
sshutina [Thu, 9 Sep 2021 15:28:31 +0000 (18:28 +0300)]
0031337: Inspectors - user guide update

 - Modifyed 3D view:
     Added the trihedron, view cube
     Removed the scene manipulation actions (Fit all isn't removed)
 - Added the new MessageView plugin to display content of Message_Report
 - DFBrowser plugin improvements:
     Added the  button to switch ON DumpJson in DFBrowser(OFF by default, for better performance)
     Renamed in DFBrowser "Property Panel" into "Property Panel (custom)
     Removed the selection controls
 - ShapeView plugin improvements:
     Property View content based on DumpJson (columns in tree view for properties are removed),
     Properties for TopoDS_Shape are displayed
 - VInspector plugin imrovements:
      Property View content based on DumpJson (columns in tree view for properties are removed),
      Properties for AIS_InteractiveContext and AIS_InteractiveObject are displayed
      Removed History panel in VInspector as not used
      Implemented the item and actions in VInspector for setting Lights in the view