Tue, 08/08/2023 - 11:10
Hi people.
I have a problem with exporting the offset ellipse, BSpline to the step, during the Transfer it gives an error.
I use these steps.
I use gp_Ellipse to create an Ellipse
gpEllipse = gp_Elips_2(gpAx, minorRadius, majorRadius);
makeOffset = BRepOffsetAPI_MakeOffset_2(gpEllipse.getFace(), GeomAbs_JoinType);
makeOffset.Perform(offsetSize, 0);
When offsetSize is a negative number the export works when it is positive it throws an error, and sometimes opposite.
step_writer = STEPControl_Writer()
step_writer.Transfer(inner_wire, STEPControl_AsIs)
*******************************************************************
****** Statistics on Transfer (Write) ******
*******************************************************************
****** Transfer Mode = 0 I.E. As Is ******
****** Transferring Shape, ShapeType = 0 ******
Tue, 08/08/2023 - 11:37
Hello, could you give more parameters to ellipse generation, that helps us to reproduce.
I ask you to create a ticket in bug tracker, it looks like a bug.
Best regards, Dmitrii.
Tue, 08/08/2023 - 12:00
Thanks for the answer.
I'm trying with these parameters now.
gpAx = gp_Ax(gp_Pnt (0, 0, 0), gp_Dir(0,0,1))
gpEllipse = gp_Elips(gpAx, 10, 20);
offsetSize = 5
And when i try to get from offset curve Face, it doesn't work correctly.