I want to import a 3d curve and get internal points on it, such as points equally spaced along the curve. In 2d this works real well with the Geomerative library and importing SVG fles. In 3d, I'm at a loss. I am thinking Objloader library bringing in NURBS in a obj file, but how do I get access to the points on the curve?
Background: I'm using Processing to talk to Wiring which drives an Arduino which drives stepper motors on a custom CNC machine. The first step was to have Processing read 2d vector art in the form of SVG file and have the motors follow the curve at a prescribed resolution of straight line segments, like a very simple GCode. The next would be to follow a 3d curve in the same way but I don't know how. Maybe I need to find a way to generate Gcode and read that into Processing?