converting surface or curve to Bezier patches/segments produces just 1 patch/segment

Forums: 

Hi,

 

I'm having some issues trying to convert a curve and surface into Bezier segments/patches, the functions

GeomConvert_BSplineCurveToBezierCurve
GeomConvert_BSplineSurfaceToBezierSurface

Even though the curve and surface are rather complex, both just generate 1 curve/patch resp

Perhaps I'm missing something here ?

I've attached a demo file, I hope someone knows how to do this.

 

thanks,

 

Jonathan

jelle's picture

hi,

so the best way to get feedback on pythonocc is through its mailing list [1] hence the late reply

the script isnt available... could you make a gist perhaps?

[1] https://groups.google.com/forum/#!forum/pythonocc