DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0023597

Failed to export ellipse into STEP with units other than mm

CommunityOCCT:Data Exchangeclosed3 public notes

Search issues

Description

Exception occurs in UnitsMethods::RadianToDegree() when calling Geom2d_Ellipse::SetMajorRadius() which after scaling becomes smaller than minor, and Geom2d_Ellipse does not provide API to set two radii at once.

Steps to reproduce

pload ALL
    xnorm STEP
    restore f-ellipse.brep f
    param write.step.unit FT
    newmodel
    stepwrite a f f-ellipse.stp

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Author
Pushed branch CR23597 into the git repository
02Commenter 2
Branch CR23597 is ready for tests.
03Commenter 3
Dear BugMaster,
Branch CR23597 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
bugs xde(005) bug23597 - OK.