Contents
Tags
License
Liked By View All
Give a Shout Out
If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.
Print Thing TagThing Statistics
Summary
This is a sort of quickstart manual-in-a-script series that will show you how to generate gcode from math using Python and provide a "foot in the door" for more complex parametric prints.
para_01.py:
The hello world of 3D parametric printing, this prints a prism shape by doing nothing more than moving the print head to three points and then raising it one layer.
para_02.py:
Adding trig functions, this script moves from straight lines to circles to print a cylinder.
para_03.py:
In the most advanced example in this pack, the GCode object is given a "rotate" method so that the cross-section of the model can be rotated one step at a time.
I'll make another one of these with more advanced lessons later-- there are a LOT more things that can be done with this than I've shown here!
Instructions
Download, run from your skeinforge directory, view the results on skeinview to be sure no trouble is due, then print!
For further interest, fiddle with the math, cross sections, etc to create a wide variety of patterns!



