Archived issue #0033620
STEP-import of DEGENERATE_TOROIDAL_SURFACE can be misinterpreted.
Description
In some cases the step import of a degenerate toroidal shape can fail, depending on the location of the toroid rotational centers.
If 2*r_min > r_maj > r_min _and_ the toroidal surface is cut by a plane above the midplane of the toroid (meaning that the minor center of rotation of the toroid is below the cut-plane), the generating curve appears to have the wrong orientation. See attached report Attachment 13 (PDF). If OTOH the minor center of rotation is above the cut plane or r_maj<r_min, the surface gets generated correctly.
See attached report with sketches "Attachment 13 (PDF)".
I have created a version of the sample glfw-program to visualize without anything else than occt (attached) . Also I have attached a set of step files used in the report. Anything labelled "*left_below*" fails, whereas "*right*" and "*above*" work.
If 2*r_min > r_maj > r_min _and_ the toroidal surface is cut by a plane above the midplane of the toroid (meaning that the minor center of rotation of the toroid is below the cut-plane), the generating curve appears to have the wrong orientation. See attached report Attachment 13 (PDF). If OTOH the minor center of rotation is above the cut plane or r_maj<r_min, the surface gets generated correctly.
See attached report with sketches "Attachment 13 (PDF)".
I have created a version of the sample glfw-program to visualize without anything else than occt (attached) . Also I have attached a set of step files used in the report. Anything labelled "*left_below*" fails, whereas "*right*" and "*above*" work.
Steps to reproduce
compile the attached version of glfwocct using the attached CMakeLists, (just as for glfw-sample but linking with TKSTEP).
run with a step-file as command-line argument.
run with a step-file as command-line argument.
Public activity
3 archived notes
Participants are labeled by their role within this record.
looks like there are more files
In its duplicate the files were zipped but contents are the same. I created a set of duplicate issue by mistake because the system reported an error when I attached the files, so tried in a few ways before realizing the issues had been stored correctly.
Yes, my apologies for the error. Sometimes I have the same, but our IT team can't reproduce that.
If you can share your browser version and scenario that you did it can help us to avoid that kind of problem.
If you can share your browser version and scenario that you did it can help us to avoid that kind of problem.
Related records