Archived issue #0033619
STEP-import of DEGENERATE_TOROIDAL_SURFACE can be misinterpreted.
Description
In certain cases the Shape generated by importing a degenerate toroidal surface from STEP can be wrong, which creates downstream-problems
I can reproducibly generate the problem by drawing a bowl-like shape in CAD ( in my case onShape), revolving the curve around an axis and export it to STEP. This step file I import using a modified version (attached) of the sample glfw-program distributed with OCCT.
Depending on how the toroid is cut, and on the particulars of its degeneracy, the interpreted shape is wrong.
N.b. if the toroid minor center of rotation is to the left of the axis of revolution (toroid major center of rotation), and the shape is cut by a plane above the midplane of the toroid (the minor rot. center is below), the Shape gets wrong, in all other cases I've found it is correct. See attached report Attachment 1 (PDF)
I can reproducibly generate the problem by drawing a bowl-like shape in CAD ( in my case onShape), revolving the curve around an axis and export it to STEP. This step file I import using a modified version (attached) of the sample glfw-program distributed with OCCT.
Depending on how the toroid is cut, and on the particulars of its degeneracy, the interpreted shape is wrong.
N.b. if the toroid minor center of rotation is to the left of the axis of revolution (toroid major center of rotation), and the shape is cut by a plane above the midplane of the toroid (the minor rot. center is below), the Shape gets wrong, in all other cases I've found it is correct. See attached report Attachment 1 (PDF)
Steps to reproduce
compile and run the attached version of glfwocct with any of the supplied step-files. In all cases "*_left_below_*" the result is wrong, in all cases "*right*" or "*above*" things work well.
Public activity
1 archived note
Participants are labeled by their role within this record.
The issue is created as a result of a bug-tracker bug with attachments and return commands.
Original #0033618
Original #0033618
Related records