Convert StepGeom to TopoDS_Shape


I encountered a case where a "composite_curve" defined in a complex entity in a STEP file is not converted to a TopoDS_Shape while importing the STEP file.

Can somebody let me know how to convert a StepGeom entity into a TopoDS_Shape?
e.g., StepGeom_CompositeCurve → TopoDS_Shape


Dmitry Pasukhin's picture


You can use a common tool - StepToTopoDS_TranslateCompositeCurve. It converts composite_curve to the TopoDS_Wire.

StepToTopoDS toolkit contains special convertors to TopoDS for all step entity.

Best regards,


Soonjo Kwon's picture

Thanks for the comment!