OCCCurve2d.to_obj OCCCurve2d.to_obj(filepath) Write the curve geometry to an OBJ file. Parameters: filepathstrThe path of the output file. Returns: None