Write.scad for Openscad 2019.05: Write on 3d shapes

Write.scad for Openscad 2019.05: Write on 3d shapes

thingiverse

This is a fixup of thing 16193. It seems that lots of people used write.scad but it has not been updated in several years. This version was fixed up to work with openscad 2019.05 I tried to leave the functionality the same, even though some of the naming is not consistent. It seems to run all of the test code that was originally provided. Not entirely sure if it works correctly for everything or not. There are a lot of different combinations of options to test. To use this you need to have Write.scad and the dxf file for the font in your directory, the default font file is Letters.dxf so at a minimum upload that one. The functions available are: writecylinder writecircle writesphere writecube These functions all write on the surface of the shape that is in their name. The first parameter is the "text" that you want to write. Note that the text is embedded in the surface, half above and half below the surface so you can have the text stick out, or use difference() to indent it. The next few parameters define the shape you are putting the text on to: "where" you translated the Cylinder,circle, sphere or cube. These are [x,y,z] Then there are the parameters you used to draw the surface: Cylinder: radius, height, center Circle: radius sphere: radius cube: size (which can be a single number or [w,h,l] Then parameters that affect the text: h: is the font height (how big the letters are) t: is the linear_extrude height center: has various effects on different surfaces. on a cube it makes the text left justified or center justified, on a cylinder it does not affect the text, it is just used to specify how the cylinder was drawn. space: is the spacing of the text how much whitespace to have between the letters. Default is 1 Then there is also middle, east, west, north, south, up, down face,ccw(clockwise) writesphere has "rounded" if you don't want the tops of the letters flat, but to follow the surface. This option is not available for writecylinder, although it probably should be.

Download Model from thingiverse

With this file you will be able to print Write.scad for Openscad 2019.05: Write on 3d shapes with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Write.scad for Openscad 2019.05: Write on 3d shapes.