View Issue Details

IDProjectCategoryView StatusLast Update
0033501CommunityOCCT:Meshpublic2023-10-09 16:51
Reporterasharafutdinov Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformLinuxOSUbuntu 
Product Version7.7.1 
Target VersionUnscheduled 
Summary0033501: Mesh - BRepMesh_IncrementalMesh produces incorrect mesh from STEP model
DescriptionBRepMesh_IncrementalMesh class may produce a corrupted triangulation for particular features; regardless of the parameters.

For the attached file, the source model and a generated mesh have significant differences in one feature (spiral surface); see also the attached screenshots.
Steps To ReproduceSample code (STL output format as an example; also applicable to other mesh formats):
STEPControl_Reader reader;
reader.ReadFile(argv[1]);
reader.TransferRoots();
const auto stepShape = reader.OneShape();

BRepMesh_IncrementalMesh mesh(stepShape, 0.1);
const auto& meshShape = mesh.Shape();

StlAPI_Writer myStlWriter;
myStlWriter.Write(meshShape, argv[2]);
TagsNo tags attached.
Test case number

Attached Files

  • source_model.stp (1,303,071 bytes)
  • screenshot_step.png (71,963 bytes)
  • screenshot_stl.png (63,268 bytes)

Activities

dpasukhi

2023-10-09 15:51

administrator   ~0114380

Dear @asharafutdinov
Please attache screenshots and files.

asharafutdinov

2023-10-09 16:51

reporter   ~0114381

Sorry, the files haven't been attached for unknown reason.
source_model.stp (1,303,071 bytes)
screenshot_step.png (71,963 bytes)
screenshot_stl.png (63,268 bytes)

Issue History

Date Modified Username Field Change
2023-10-06 20:57 asharafutdinov New Issue
2023-10-06 20:57 asharafutdinov Assigned To => oan
2023-10-09 15:51 dpasukhi Note Added: 0114380
2023-10-09 15:52 dpasukhi Summary BRepMesh_IncrementalMesh produces incorrect mesh from STEP model => Mesh - BRepMesh_IncrementalMesh produces incorrect mesh from STEP model
2023-10-09 15:52 dpasukhi Steps to Reproduce Updated
2023-10-09 15:52 dpasukhi Assigned To oan =>
2023-10-09 15:52 dpasukhi Target Version => Unscheduled
2023-10-09 16:51 asharafutdinov Note Added: 0114381
2023-10-09 16:51 asharafutdinov File Added: source_model.stp
2023-10-09 16:51 asharafutdinov File Added: screenshot_step.png
2023-10-09 16:51 asharafutdinov File Added: screenshot_stl.png