2

I'm trying to decompose a b-spline to a set of circle definitions. I'm trying to generate G-code; the idea here is to segment a b-spline into a number of circular interpolations [ G02 ]. Using PythonOCC I can break up the b-spline into a number of beziers curves, but I don't know how to translate the bezier into circular sections.

Thanks

Jelle
  • 690
  • 4
  • 13

1 Answers1

2

Maybe not the most scientific approach but it worth a look: http://rocksolidperspective.com/2010/02/17/making-splines-work-in-manufacturing/

abenci
  • 8,422
  • 19
  • 69
  • 134