]> OCCT Git - occt.git/log
occt.git
3 years ago0032721: Modeling Algorithms - BOP wrong results on a cone and an extrusion OCCT-762 V7_6_2
jgv [Wed, 30 Mar 2022 01:28:02 +0000 (04:28 +0300)]
0032721: Modeling Algorithms - BOP wrong results on a cone and an extrusion

1. Modify method IntPatch_ALineToWLine::MakeWLine: add correction of end points of each line on 2 surfaces if an end point is a pole on a surface.
2. Modify method IntPatch_WLine::ComputeVertexParameters: adjust a point on curve to corresponding vertex the following way: set 3D point as the point of the vertex and 2D points as the points of the point on curve.

3 years ago0032701: Modeling Algorithms - 2d curve has bending near the degenerated edge of...
ifv [Thu, 2 Dec 2021 14:02:17 +0000 (17:02 +0300)]
0032701: Modeling Algorithms - 2d curve has bending near the degenerated edge of the face

ApproxInt_Approx, ApproxInt_KnotTools, BRepApprox_Approx,
GeomInt_IntSS, IntTools_FaceFace:
  Analysis of curvature is added for adjusting ParametrizationType

IntPatch_Intersection.cxx - adding methods for estimation of UV max step depending on used surfaces

GeomInt_IntSS.cxx, IntTools_FaceFace.cxx - using methods for max step estimation

Approx_SameParameter.cxx - adding control against big values.

BOPAlgo_PaveFiller_6.cxx - adjusting position of faces before intersection

3 years agoUpdate version up to 7.6.2
smoskvin [Sat, 23 Apr 2022 13:03:19 +0000 (16:03 +0300)]
Update version up to 7.6.2

3 years ago0032870: Tests - bugs/caf/bug31918_1 is unstable
mpv [Wed, 6 Apr 2022 08:08:20 +0000 (11:08 +0300)]
0032870: Tests - bugs/caf/bug31918_1 is unstable

# Make the compared values more stable.

3 years ago0032870: Tests - bugs/caf/bug31918_1 is unstable
mpv [Mon, 14 Mar 2022 15:03:59 +0000 (18:03 +0300)]
0032870: Tests - bugs/caf/bug31918_1 is unstable

Improved the test stability: created 10 iterations of measurements and take the minimum to
minimize the affect of other processes and threads; increased the compare range of
the quarter and the whole of the document load.

3 years ago0032814: Modeling algorithms - Unifysamedom produces invalid result
jgv [Mon, 14 Feb 2022 21:41:00 +0000 (00:41 +0300)]
0032814: Modeling algorithms - Unifysamedom produces invalid result

Minor correction in ShapeUpgrade_UnifySameDomain::IntUnifyFaces: correct collecting splitting vertices in the new wire

3 years ago0032796: Modeling Data - Calculation of distance between two circles crashes
vro [Tue, 22 Feb 2022 14:00:09 +0000 (17:00 +0300)]
0032796: Modeling Data - Calculation of distance between two circles crashes

Modified:
- Extrema_ExtCC.cxx, the method PrepareParallelResult() - angular tolerance is increased.

Added:
- A test: lowalgos extcc bug32796

3 years ago0031585: Access Violation while creating fillet - ChiFi3d_Builder::PerformIntersectio...
Chris Hennes [Sun, 13 Feb 2022 00:52:19 +0000 (18:52 -0600)]
0031585: Access Violation while creating fillet - ChiFi3d_Builder::PerformIntersectionAtEnd

There is one case in PerformIntersectionAtEnd that did not test whether
an array access exceeded the length of the array, in rare cases
resulting in a segmentation fault. That error-handling behavior is
replaced by the exception code used elsewhere in the function. For
consistency, the code is copied exactly as implemented elsewhere. This
code has the same effect as that proposed by the bug submitter.

3 years ago0032767: Mesh - incorrect splitting of edges of seams leading to hang [since OCCT...
knosulko [Thu, 13 Jan 2022 00:17:50 +0000 (03:17 +0300)]
0032767: Mesh - incorrect splitting of edges of seams leading to hang [since OCCT 7.4.0]

- fix step by parameter of the edge while split curve in case of seam edges

3 years ago0032810: Coding - missing Standard_EXPORT in Standard_ErrorHandler
aml [Fri, 28 Jan 2022 15:39:49 +0000 (18:39 +0300)]
0032810: Coding - missing Standard_EXPORT in Standard_ErrorHandler

3 years ago0032874: IsParallel() method of Extrema_ExtCC does not give same results in OCC 7...
azv [Thu, 7 Apr 2022 11:28:03 +0000 (14:28 +0300)]
0032874: IsParallel() method of Extrema_ExtCC does not give same results in OCC 7.6.0 vs OCC 7.5.0

Use precision depending on radii of participating circles.

3 years ago0032874: IsParallel() method of Extrema_ExtCC does not give same results in OCC 7...
azv [Fri, 18 Mar 2022 20:46:44 +0000 (23:46 +0300)]
0032874: IsParallel() method of Extrema_ExtCC does not give same results in OCC 7.6.0 vs OCC 7.5.0

Improve tolerance criteria to check values of extremas for equality: use multiplier, which depends on the value, instead of magic number

3 years ago0032912: Visualization - crash when displaying an OBJ file with missing texture file
kgv [Tue, 5 Apr 2022 22:26:00 +0000 (01:26 +0300)]
0032912: Visualization - crash when displaying an OBJ file with missing texture file

Fix NULL dereference within Graphic3d_TextureRoot::convertToCompatible() due to wrong order of checks.

3 years ago0032066: Modeling Algorithms - Incorrect result of Boolean CUT operation
azv [Fri, 19 Feb 2021 19:34:56 +0000 (22:34 +0300)]
0032066: Modeling Algorithms - Incorrect result of Boolean CUT operation

Do not limit the normalization factor of the highly anisotropic parametric space when filtering start points in the algorithm of walking line construction.
Additionally check the knots are in the increasing orders when merging two B-spline curves

3 years ago0032719: Modelling Algorithms - UnifySameDomain result has incorrect triangulation
jgv [Sat, 12 Mar 2022 19:35:55 +0000 (22:35 +0300)]
0032719: Modelling Algorithms - UnifySameDomain result has incorrect triangulation

Correct method ShapeUpgrade_UnifySameDomain::UnionPCurves: reparametrize unified pcurves to fit the new range of 3D-curve.

3 years ago0032715: Modelling Algorithms - UnifySameDomain does incomplete union
jgv [Mon, 14 Feb 2022 13:36:39 +0000 (16:36 +0300)]
0032715: Modelling Algorithms - UnifySameDomain does incomplete union

    Add the case of closed, smooth but not periodic surface (unification of faces lying on it if the flag "myConcatBSplines" is true - modify the underlying surface to make it periodic).

3 years ago0032840: Application Framework, copying of a scaled shape fails
vro [Thu, 17 Feb 2022 05:35:26 +0000 (08:35 +0300)]
0032840: Application Framework, copying of a scaled shape fails

A flag not to raise an exception is set for a copying shape. A reason: if a shape is already in the model, the user should have an opportunity to copy it.

Modified files:
TNaming_CopyShape.cxx, the method Translate(). A false-flag is used on copying of location of the shape.

3 years agoUpdate version up to 7.6.2dev
kgv [Mon, 7 Feb 2022 09:03:52 +0000 (12:03 +0300)]
Update version up to 7.6.2dev

3 years agoUpdate version up to 7.6.1 OCCT-761 V7_6_1
inv [Tue, 1 Feb 2022 12:05:58 +0000 (15:05 +0300)]
Update version up to 7.6.1

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

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

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

3 years ago0032748: Data Exchange, Step Import - xstep.cascade.unit doesn't work [regression...
atychini [Fri, 21 Jan 2022 18:55:45 +0000 (21:55 +0300)]
0032748: Data Exchange, Step Import - xstep.cascade.unit doesn't work [regression since OCCT 7.6.0]
Added new condition in STEPControl_ActorRead::Transfer: if StepData_StepModel is not an initialized Unit - we set unit to this step model

3 years ago0032784: BinXCAF fails to load documents containing the shapes with scaled/mirrored...
Dzmitry Razmyslovich [Tue, 18 Jan 2022 13:52:39 +0000 (14:52 +0100)]
0032784: BinXCAF fails to load documents containing the shapes with scaled/mirrored location

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

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

3 years ago0031087: Configuration - make FreeType dependency optional [part 2]
Dzmitry Razmyslovich [Thu, 25 Nov 2021 16:46:56 +0000 (17:46 +0100)]
0031087: Configuration - make FreeType dependency optional [part 2]

3 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.

3 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.

3 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.

3 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).

3 years agoUpdate version up to 7.6.1dev.
kgv [Fri, 19 Nov 2021 07:11:21 +0000 (10:11 +0300)]
Update version up to 7.6.1dev.

3 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

3 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.

3 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()

3 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.

3 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

3 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)

3 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

3 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]

3 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

3 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.

3 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

3 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]

3 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.

3 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

3 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

3 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.

3 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

3 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.

3 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.

3 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

3 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

3 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")

3 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.

3 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.

3 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.

3 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.

3 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.

3 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.

3 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

3 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.

3 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.

3 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

3 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.

3 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.

3 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.

3 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

3 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

3 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

3 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.

3 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.

3 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.

3 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

3 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.

3 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.

3 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

3 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

3 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.

3 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,

3 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.

3 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

3 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

3 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.

3 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.

3 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

3 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.

3 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.

3 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

3 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.

3 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

3 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

3 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

3 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().

3 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

3 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

3 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.

3 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.

3 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

3 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

3 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().