2011/5/27 Thomas Paviot <[email protected]> > 2011/5/26 jelle feringa <[email protected]> > >> if you need to discretize an edge, perhaps you could look into: >> CPnts_UniformDeflection <http://classCPnts__UniformDeflection.html#a4>. >> Use a BRepAdaptor_Curve <http://../classBRepAdaptor__Curve.html> [ edge >> ] BRepAdaptor_CompCurve <http://../classBRepAdaptor__Curve.html> [ wire ] >> to be able to call this method. >> It will sample your edge given a deflection. >> >> -jelle >> >> > Attached an example of a script discretizing a BSpline curve with the help > of the GCPnts_UniformDeflection class. > > Thomas > >
Benjamin, You should also have a look at this discussion on the occ forum: http://www.opencascade.org/org/forum/thread_5581/ Best Regards, Thomas
_______________________________________________ Pythonocc-users mailing list [email protected] https://mail.gna.org/listinfo/pythonocc-users
