DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0033621

STEP-import of DEGENERATE_TOROIDAL_SURFACE can be misinterpreted.

CommunityOCCT:Data Exchangeclosed1 public note

Search issues

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 1 (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 1 (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 and run the attached version of glfw-sample. and run it with a step-file as a commandline argument. Only difference with glfw-sample is we need TKSTEP as well.

Public activity

1 archived note

Participants are labeled by their role within this record.

01Commenter 1
The issue is created as a result of a bug-tracker bug with attachments and return commands.
Original #0033618

Related records