Changesets: occt

master f3573fb5

2022-09-01 13:49:19

oan


Committer: smoskvin Details Diff
0031449: Mesh - BRepMesh works too long and produces many free nodes on a valid face

Added test cases
Affected Issues
0031449
add - tests/bugs/mesh/bug31449_1 Diff File
add - tests/bugs/mesh/bug31449_2 Diff File
add - tests/bugs/mesh/bug31449_3 Diff File

master 59223e11

2022-08-31 17:40:33

oan


Committer: smoskvin Details Diff
0031926: Shape Healing - ShapeAnalysis::OuterWire() considers next iteration element always to be a wire causing skipping of primal one

ShapeAnalysis::OuterWire(): fixed missed logic when TopoDS_Iterator notifies about more objects to iterate, but there are only vertices and no additional wires at all.
Affected Issues
0031926
mod - src/ShapeAnalysis/ShapeAnalysis.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis.hxx Diff File
mod - tests/bugs/mesh/bug31144 Diff File
add - tests/bugs/mesh/bug31926 Diff File

master 92915edd

2022-08-31 17:35:00

akaftasev


Committer: smoskvin Details Diff
0030955: [Regression to 7.3.0] Modeling Algorithms - Incorrect result of fuse operation

Added test case.
add - tests/bugs/modalg_8/bug30955 Diff File

master d6baf70a

2022-08-29 17:27:16

ddzama

Details Diff
0032960: Wrong result of BRepExtrema_DistShapeShape after translation.

Add corresponding test.
Affected Issues
0032960
add - tests/bugs/fclasses/bug32960 Diff File

master dfb5aebd

2022-08-26 18:54:33

oan


Committer: smoskvin Details Diff
0032982: [Regression to 7.3.0] Mesh - Meshing the shape takes too long and visualization is bad

New formula to calculate number of points along V axis of a cone depending on ratio of its size along V and U.
mod - src/BRepMesh/BRepMesh_ConeRangeSplitter.cxx Diff File
mod - tests/bugs/mesh/bug25042 Diff File
mod - tests/bugs/mesh/bug25287 Diff File
mod - tests/bugs/mesh/bug32692_1 Diff File
mod - tests/bugs/mesh/bug32767 Diff File
add - tests/bugs/mesh/bug32982_1 Diff File
add - tests/bugs/mesh/bug32982_2 Diff File

master 06aa2001

2022-08-24 15:04:10

mzernova

Details Diff
0032172: Visualization, TKOpenGl - implement simple shadow mapping for a spot light source

added test: opengl/data/shadows/spotlight
Affected Issues
0032172
mod - src/Graphic3d/Graphic3d_CLight.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderManager.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff File
mod - src/OpenGl/OpenGl_ShadowMap.cxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
rm - src/Shaders/DirectionalLightShadow.glsl Diff File
mod - src/Shaders/FILES Diff File
add - src/Shaders/LightShadow.glsl Diff File
mod - src/Shaders/PBRSpotLight.glsl Diff File
mod - src/Shaders/PhongSpotLight.glsl Diff File
rm - src/Shaders/Shaders_DirectionalLightShadow_glsl.pxx Diff File
add - src/Shaders/Shaders_LightShadow_glsl.pxx Diff File
mod - src/Shaders/Shaders_PBRSpotLight_glsl.pxx Diff File
mod - src/Shaders/Shaders_PhongSpotLight_glsl.pxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
add - tests/opengl/data/shadows/spotlight Diff File

master ed6a17ef

2022-08-24 09:14:05

ifv


Committer: smoskvin Details Diff
0033104: Modeling Algorithms - Checking for canonical geometry: surface, close to a cylinder, is not recognized
Adjusting parameters of algorithm for recognizing cylindrical surfaces.
Test case added
mod - src/GeomConvert/GeomConvert_SurfToAnaSurf.cxx Diff File
add - tests/bugs/modalg_8/bug33104 Diff File

master b71cb85f

2022-08-22 12:15:42

jgv


Committer: smoskvin Details Diff
0032214: Modeling Algorithms - 2d Offset produces wrong result

Add new option to convert input contours into ones consisting of 2D circular arcs and 2D linear segments only.

Update documentation
mod - dox/user_guides/modeling_data/modeling_data.md Diff File
mod - src/BRepAlgo/BRepAlgo.cxx Diff File
mod - src/BRepAlgo/BRepAlgo.hxx Diff File
mod - src/BRepOffsetAPI/BRepOffsetAPI_MakeOffset.cxx Diff File
mod - src/BRepOffsetAPI/BRepOffsetAPI_MakeOffset.hxx Diff File
mod - src/BRepTest/BRepTest_CurveCommands.cxx Diff File
mod - src/Geom2dConvert/FILES Diff File
add - src/Geom2dConvert/Geom2dConvert_ApproxArcsSegments.cxx Diff File
add - src/Geom2dConvert/Geom2dConvert_ApproxArcsSegments.hxx Diff File
add - src/Geom2dConvert/Geom2dConvert_PPoint.cxx Diff File
add - src/Geom2dConvert/Geom2dConvert_PPoint.hxx Diff File
add - src/Geom2dConvert/Geom2dConvert_SequenceOfPPoint.hxx Diff File
add - tests/bugs/modalg_8/bug32214_1 Diff File
add - tests/bugs/modalg_8/bug32214_2 Diff File
add - tests/bugs/modalg_8/bug32214_3 Diff File
add - tests/bugs/modalg_8/bug32214_4 Diff File
add - tests/bugs/modalg_8/bug32214_5 Diff File
add - tests/bugs/modalg_8/bug32214_6 Diff File

master d7eefb11

2022-08-19 14:41:49

ddzama


Committer: smoskvin Details Diff
0032986: Samples - csharp sample is crashed on compilation with VC++ 2022

While demanding c++ language standard c++20, the error of OCCTProxy compilation is occured:

warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17
error C7681: two-phase name lookup is not supported for C++/CLI or C++/CX; use /Zc:twoPhase-

Officially, C++/CLI mode does not support C++ version newer than C++17, so we should not demand C++20 to compile csharp samples.
Alternative solution - using /permissive (ConformanceMode = false), rather than default value /permissive- (ConformanceMode = true)
option to compile OCCTProxy. But alternative solution has been denied.
So, here is nothing to do to fix compilation of OCCTProxy project.

Nevertheless, error occures in IE_WPF_WinForms and IE_WinForms - if we trying to compile with VC++ 2022 (not demanding c++20):

warning MSB3274: The primary reference "*\OCCTProxy.dll" could not be resolved because it was built against the ".NETFramework,Version=v4.7.2" framework.
This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".

To solve the problem it is proposed to demand by default the highest version of NETFramework - 4.8.
So, demanding NETFramework v4.8 does not crashing compilation of csharp samples with VC++ 2015.
Affected Issues
0032986
mod - samples/CSharp/WinForms/app.config Diff File
mod - samples/CSharp/WinForms/IE_WinForms.csproj Diff File
mod - samples/CSharp/WPF_D3D/app.config Diff File
mod - samples/CSharp/WPF_D3D/IE_WPF_D3D.csproj Diff File
mod - samples/CSharp/WPF_WinForms/app.config Diff File
mod - samples/CSharp/WPF_WinForms/IE_WPF_WinForms.csproj Diff File

master da76ea43

2022-08-19 12:33:52

ngavrilo


Committer: smoskvin Details Diff
0032782: Visualization, TKD3DHost - improve robustness of test case opengl/drivers/d3dhost Affected Issues
0032782
mod - src/D3DHost/D3DHost_View.cxx Diff File

master 7aaed2ce

2022-08-18 17:12:03

mzernova


Committer: smoskvin Details Diff
0032547: Visualization, Select3D_SensitiveCylinder - implement picking of a hollow cylinder

Select3D_SensitiveCircle now inherits directly from Select3D_SensitiveEntity.
The sensitive circle sector is created using the Select3D_SensitivePoly class directly.

Added appropriate methods for selecting sensitive circles.
Added parameter myIsHollow to Select3D_SensitiveCylinder class.
It allows you to search for intersections with cylinders without covers.

The Draw vcircle command has been extended with UStart and UEnd parameters
to create a sector of a circle.

Added tests: vselect/cone_cylinder/circle_sector
vselect/cone_cylinder/circle_wire
vselect/cone_cylinder/filled_circle
vselect/cone_cylinder/transformed
vselect/cone_cylinder/hollow_cone_cyl
Affected Issues
0032547
mod - src/AIS/AIS_Circle.cxx Diff File
mod - src/AIS/AIS_Manipulator.cxx Diff File
mod - src/PrsDim/PrsDim_ConcentricRelation.cxx Diff File
mod - src/PrsDim/PrsDim_EqualDistanceRelation.cxx Diff File
mod - src/Select3D/Select3D_SensitiveCircle.cxx Diff File
mod - src/Select3D/Select3D_SensitiveCircle.hxx Diff File
mod - src/Select3D/Select3D_SensitiveCylinder.cxx Diff File
mod - src/Select3D/Select3D_SensitiveCylinder.hxx Diff File
mod - src/Select3D/Select3D_SensitivePoly.cxx Diff File
mod - src/Select3D/Select3D_SensitivePoly.hxx Diff File
mod - src/SelectBasics/SelectBasics_SelectingVolumeManager.hxx Diff File
mod - src/SelectMgr/SelectMgr.cxx Diff File
mod - src/SelectMgr/SelectMgr_AxisIntersector.cxx Diff File
mod - src/SelectMgr/SelectMgr_AxisIntersector.hxx Diff File
mod - src/SelectMgr/SelectMgr_BaseIntersector.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseIntersector.hxx Diff File
mod - src/SelectMgr/SelectMgr_Frustum.hxx Diff File
mod - src/SelectMgr/SelectMgr_Frustum.lxx Diff File
mod - src/SelectMgr/SelectMgr_RectangularFrustum.cxx Diff File
mod - src/SelectMgr/SelectMgr_RectangularFrustum.hxx Diff File
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx Diff File
mod - src/SelectMgr/SelectMgr_TriangularFrustum.cxx Diff File
mod - src/SelectMgr/SelectMgr_TriangularFrustum.hxx Diff File
mod - src/SelectMgr/SelectMgr_TriangularFrustumSet.cxx Diff File
mod - src/SelectMgr/SelectMgr_TriangularFrustumSet.hxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.cxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.hxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - tests/v3d/manipulator/rotate Diff File
mod - tests/vselect/bugs/bug27477 Diff File
add - tests/vselect/cone_cylinder/circle_sector Diff File
add - tests/vselect/cone_cylinder/circle_wire Diff File
add - tests/vselect/cone_cylinder/filled_circle Diff File
add - tests/vselect/cone_cylinder/hollow_cone_cyl Diff File
add - tests/vselect/cone_cylinder/transformed_circle Diff File
mod - tests/vselect/cone_cylinder/trsf_cone Diff File
mod - tests/vselect/cone_cylinder/trsf_cyl Diff File

master 53152e6d

2022-08-17 16:58:24

gka


Committer: smoskvin Details Diff
0033101: Data Exchange - STEP reader makes unexpected enormous scaling of some parts

Modification to apply units scale factor for faces based on the triangulation
mod - src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx Diff File

master 1a1739b2

2022-08-17 11:11:26

ddzama

Details Diff
0032957: Add Standard_Noexcept definition
into Standard_Macro.hxx and
employ Standard_Noexcept.
Affected Issues
0032957
mod - src/NCollection/NCollection_AliasedArray.hxx Diff File
mod - src/Poly/Poly_ArrayOfNodes.hxx Diff File
mod - src/Poly/Poly_ArrayOfUVNodes.hxx Diff File
mod - src/Standard/Standard_Handle.hxx Diff File
mod - src/Standard/Standard_Macro.hxx Diff File
mod - src/TCollection/TCollection_AsciiString.hxx Diff File
mod - src/TCollection/TCollection_ExtendedString.hxx Diff File
mod - src/TopLoc/TopLoc_SListOfItemLocation.hxx Diff File

master fd5c113a

2022-08-11 23:46:23

msv


Committer: smoskvin Details Diff
0033100: Modeling Algorithms - XCAFDoc_Editor::RescaleGeometry does not rescale triangulations

Make XCAFDoc_Editor::RescaleGeometry to pass the flag theCopyMesh==true
in call to BRepBuilderAPI_Transform::Perform.

Correct the help of the command XRescaleGeometry.
Affected Issues
0033100
mod - src/XCAFDoc/XCAFDoc_Editor.cxx Diff File
mod - src/XDEDRAW/XDEDRAW.cxx Diff File
add - tests/bugs/xde/bug33100 Diff File

master 621ed3bc

2022-08-10 15:17:13

dpasukhi

Details Diff
0033095: Data Exchange, Step Import - Wrong PMI values when loading a *.stp file in m

Fixed problem with dimension tolerance values (upper/lower)
- Update supported type for tolerance measure unit, now we can handle base class
mod - src/STEPCAFControl/STEPCAFControl_Reader.cxx Diff File
add - tests/bugs/step/bug33095 Diff File
mod - tests/gdt/import/A3 Diff File
mod - tests/gdt/import/A5 Diff File

master 78aade75

2022-08-05 12:44:29

knosulko


Committer: smoskvin Details Diff
0033017: Implement an algorithm to find a proximity between a pair of shapes

Extend "proximity" command to be able to compute the proximity value;
Implement classes for calculate proximity value between two shapes;
Add possibility to set up the number of sample points for the input shapes;
Add tests lowalgos/proximity.
mod - dox/upgrade/upgrade.md Diff File
add - src/BRepExtrema/BRepExtrema_ProximityDistTool.cxx Diff File
add - src/BRepExtrema/BRepExtrema_ProximityDistTool.hxx Diff File
add - src/BRepExtrema/BRepExtrema_ProximityValueTool.cxx Diff File
add - src/BRepExtrema/BRepExtrema_ProximityValueTool.hxx Diff File
mod - src/BRepExtrema/BRepExtrema_SelfIntersection.hxx Diff File
mod - src/BRepExtrema/BRepExtrema_ShapeProximity.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_ShapeProximity.hxx Diff File
mod - src/BRepExtrema/BRepExtrema_TriangleSet.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_TriangleSet.hxx Diff File
mod - src/BRepExtrema/FILES Diff File
mod - src/BRepTest/BRepTest_ExtremaCommands.cxx Diff File
mod - src/BVH/BVH_Tools.hxx Diff File
mod - tests/lowalgos/grids.list Diff File
add - tests/lowalgos/proximity/A1 Diff File
add - tests/lowalgos/proximity/A2 Diff File
add - tests/lowalgos/proximity/A3 Diff File
add - tests/lowalgos/proximity/A4 Diff File
add - tests/lowalgos/proximity/A5 Diff File
add - tests/lowalgos/proximity/B1 Diff File
add - tests/lowalgos/proximity/B2 Diff File
add - tests/lowalgos/proximity/B3 Diff File
add - tests/lowalgos/proximity/B4 Diff File
add - tests/lowalgos/proximity/B5 Diff File
add - tests/lowalgos/proximity/B6 Diff File
add - tests/lowalgos/proximity/C1 Diff File
add - tests/lowalgos/proximity/C2 Diff File
add - tests/lowalgos/proximity/C3 Diff File
add - tests/lowalgos/proximity/C4 Diff File
add - tests/lowalgos/proximity/D1 Diff File
add - tests/lowalgos/proximity/D2 Diff File
add - tests/lowalgos/proximity/D3 Diff File
add - tests/lowalgos/proximity/E1 Diff File
add - tests/lowalgos/proximity/E2 Diff File
add - tests/lowalgos/proximity/end Diff File

master 81d56962

2022-08-03 12:46:53

mzernova


Committer: smoskvin Details Diff
0033084: Visualization - Cylindrical prism is selectable only by its base when extruded in some directions

Fixed bounding boxes for Select3D_SensitiveCylinder.

Added display of Select3D_SensitiveCylinder presentation using the "vsensdis" command.
Added test vselect/bugs/bug33084.
Affected Issues
0033084
mod - src/Select3D/Select3D_SensitiveCylinder.cxx Diff File
mod - src/Select3D/Select3D_SensitiveCylinder.hxx Diff File
mod - src/SelectMgr/SelectMgr.cxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.cxx Diff File
add - tests/vselect/bugs/bug33084 Diff File

master 92d22d7d

2022-07-28 16:11:45

jgv


Committer: smoskvin Details Diff
0033080: Wrong projection point from ShapeAnalysis_Surface

Correct Draw command "projface" so that it really finds only projection points belonging to the face.
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx Diff File
add - tests/bugs/modalg_8/bug33080 Diff File

master f74f684b

2022-07-26 14:06:58

ichesnok


Committer: smoskvin Details Diff
0032979: Data Exchange, RWGltf_CafWriter - support multi-threaded Draco compression

'MultiThread' field was added to structure RWGltf_DracoParameters for using multithreading.
Class CafWriter_DracoEncodingFunctor was added for multithreaded compression.
Affected Issues
0032979
mod - src/RWGltf/RWGltf_CafWriter.cxx Diff File
mod - src/RWGltf/RWGltf_CafWriter.hxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File
add - tests/de_mesh/gltf_write/bull_parallel Diff File

master e1b097eb

2022-07-23 17:22:30

jgv


Committer: smoskvin Details Diff
0033006: Modelling Algorithms - UnifySameDomain raises exception

Correct processing cases where a group of faces lies on U-periodic and V-periodic (torus-like) surface.

Add comments according to the remarks
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
mod - tests/bugs/heal/bug27894 Diff File
mod - tests/bugs/heal/bug32213 Diff File
add - tests/bugs/heal/bug33006 Diff File
mod - tests/heal/unify_same_domain/A9 Diff File
mod - tests/heal/unify_same_domain/B1 Diff File

master cb8519be

2022-07-22 10:55:28

kgv


Committer: smoskvin Details Diff
0033074: Visualization, TKOpenGl - PBR shader compilation error on Mesa OpenGL 3.10033074

Graphic3d_ShaderManager::getPBREnvBakingProgram() - fix setting Graphic3d_ShaderProgram::SetPBR()
before defining GLSL version via defaultGlslVersion() that relies on this property.
Affected Issues
0033074
mod - src/Graphic3d/Graphic3d_ShaderManager.cxx Diff File

master 617a2905

2022-07-22 09:53:33

kgv


Committer: smoskvin Details Diff
0033073: Coding Rules, RWGltf_CafWriter - suppress CLang warning coming from Draco library Affected Issues
0033073
mod - src/RWGltf/RWGltf_CafWriter.cxx Diff File

master 18559e93

2022-07-21 23:30:00

kgv


Committer: smoskvin Details Diff
0033072: Configuration - ViewerTest_EventManager.cxx compilation error due to missing header on Emscripten

Added missing `#include <Message.hxx>`.
Affected Issues
0033072
mod - src/ViewerTest/ViewerTest_EventManager.cxx Diff File

master bbf49a30

2022-07-15 16:06:02

kgv


Committer: smoskvin Details Diff
0033066: Visualization - null pointer dereference in MeshVS_ElementalColorPrsBuilder::Build() function

Added missing Boolean flag check.
Affected Issues
0033066
mod - src/MeshVS/MeshVS_ElementalColorPrsBuilder.cxx Diff File

master f706dd34

2022-07-15 14:09:09

atereshi


Committer: vglukhik Details Diff
0027122: Data Exchange - invalid shapes are produced during model translation due to huge face tolerance

Problem: The shape has two faces that dimensions are less than tolerance in the specified STEP file. This situation produces the invalid shape.
Change: Shape process has operator FixFaceSize, that is exactly suitable for this shape. The only option of FixFaceSize operator was added to InterfaceStatic, to manage the operator from DRAW command.
Result: The shape without artifacts can be reproduced from STEP file with an extra healing procedure.
mod - src/STEPControl/STEPControl_Controller.cxx Diff File
add - tests/bugs/step/bug27122 Diff File
 First  Prev  1 2 3 ... 5 6 7 8 9 10 11 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last