Archived issue #0023597
Failed to export ellipse into STEP with units other than mm
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
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.
Pushed branch CR23597 into the git repository
Branch CR23597 is ready for tests.
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.
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.