Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028025Community[OCCT] OCCT:Meshpublic2016-10-28 14:152017-05-31 15:38
Assigned Tooan 
PlatformOSOS Version
Product Version[OCCT] 7.0.0 
Target Version[OCCT] UnscheduledFixed in Version 
Summary0028025: Bad triangulation if step file was exported with write.surfacecurve.mode = 0
DescriptionWhen the appended solid is exported to STEP, then imported back to OCCT and meshed, the triangulation looks strange at a surface of revolution if the step file was exported with write.surfacecurve.mode = 0.

With write.surfacecurve.mode = 1, there are no problems.

Could you check what is the problem here? I mean, is it a visualization/meshing problem or a STEP export problem?

The write.surfacecurve.mode parameter indicates whether parametric curves (curves in parametric space of surface) should be written into the STEP file.
It was proposed in 0025654 to change its default value to 0 because it leads to better performance. I don't know why this hasn't been integrated, yet.
Steps To Reproducepload ALL
restore segment.brep s
whatis s
tclean s
incmesh s 0.1
vdisplay s
vsetdispmode s 1
trinfo s
#=> no triangulation problems

param write.surfacecurve.mode 1
testwritestep s_withPCurves.stp s
testreadstep s_withPCurves.stp p
trinfo p
incmesh p 0.1
vdisplay p
vsetdispmode p 1
#=> no triangulation problems

param write.surfacecurve.mode 0
testwritestep s_withoutPCurves.stp s
testreadstep s_withoutPCurves.stp p
trinfo p
incmesh p 0.1
vdisplay p
vsetdispmode p 1
#=> now there are triangulation problems
TagsNo tags attached.
Test case number
Attached Files? file icon segment.brep (956,588 bytes) 2016-10-28 14:15
png file icon bad triangulation.png (25,742 bytes) 2016-10-28 14:16
? file icon s_withPCurves.stp (946,514 bytes) 2016-10-28 15:34
? file icon s_withoutPCurves.stp (543,214 bytes) 2016-10-28 15:34

- Relationships
related to 0025654feedbackabv Open CASCADE Disable writing pcurves to STEP and IGES by default 

-  Notes
oan (developer)
2016-10-28 15:18

Dear Timo,

could you please attach reference STEP file?
Timo (developer)
2016-10-28 15:35

I had appended the brep file, so with the test script you should have been able to produce the step files.
Now, I added a step file with and one without pcurves.
oan (developer)
2016-10-28 16:00

Thank you a lot for the STEPs, my fault. Anyway, keeping reference files attached could help to reproduce the problem despite of possible changes in XDE. We will check the case.

Best regards.
Timo (developer)
2016-10-28 16:14

OK, thanks.

- Issue History
Date Modified Username Field Change
2016-10-28 14:15 Timo New Issue
2016-10-28 14:15 Timo Assigned To => oan
2016-10-28 14:15 Timo File Added: segment.brep
2016-10-28 14:16 Timo File Added: bad triangulation.png
2016-10-28 15:10 Timo Relationship added related to 0025654
2016-10-28 15:18 oan Note Added: 0059342
2016-10-28 15:18 oan Assigned To oan => Timo
2016-10-28 15:18 oan Status new => feedback
2016-10-28 15:34 Timo File Added: s_withPCurves.stp
2016-10-28 15:34 Timo File Added: s_withoutPCurves.stp
2016-10-28 15:35 Timo Note Added: 0059344
2016-10-28 15:35 Timo Assigned To Timo => oan
2016-10-28 15:36 Timo Status feedback => assigned
2016-10-28 16:00 oan Note Added: 0059348
2016-10-28 16:14 Timo Note Added: 0059350
2016-10-28 16:43 Timo Steps to Reproduce Updated View Revisions
2016-11-09 10:37 abv Target Version 7.1.0 => Unscheduled
2017-05-31 15:38 Timo Reporter Timo => Markus

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker