by phooky, published
This script takes an image file as input and produces a gcode file that will create a conical form of the specified parameters, with the image embossed on the surface. It's recommended that you use the -c flag, which will cause the form to be built as a single, continuous spiral.
You may need to edit the script or its output to add your own pre- and post- print gcodes. Be sure to cast an eye over the output before you print!
Printing these forms in clear PLA is particularly pleasing!
The code is maintained in git; the latest version is always available at:
Recent Commentsview all
This should be possible. Also, creating cylinders and then constructing a lathe might be a project within reach. I must admit that I used this lamp script to create the "3D Printed Vinyl Records" you might have seen on the MakerBot blog early this month...
Usage: lampshade.py [options] image.png
-h, --help show this help message and exit
-r RADIUS, --radius=RADIUS
set the top and bottom radius of a right cylinder
-l LAYERHEIGHT, --layerheight=LAYERHEIGHT
set the height of a single layer, in mm
--rtop=RTOP set the top radius of a conical shade
--rbot=RBOT set the bottom radius of a conical shade
-H HEIGHT, --height=HEIGHT
set the height of the shade
-s SPEEDFACTOR, --speed-factor=SPEEDFACTOR
the factor to multiply the feedrate by for a
completely dark pixel
-c, --continuous use continuous Z movement
-a, --ABP use automated build platform
number of layers in the floor
-f FEEDRATE, --feedrate=FEEDRATE
set the base feedrate
You must be logged in to post a comment.