Write.scad for Openscad 2019.05: Write on 3d shapes
thingiverse
This is a fixup of thing 16193. It appears that many individuals utilized write.scad; however, it has not been updated in several years. This version was enhanced to function with openscad 2019.05. I attempted to maintain the original functionality while acknowledging that some naming conventions are inconsistent. It seems that this version runs all of the test code originally provided. I am uncertain whether it functions correctly for everything or not, as there are numerous combinations of options to test. To utilize this, you must 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 available functions include: writecylinder writecircle writesphere writecube These functions all write on the surface of the shape specified by their name. The first parameter is the "text" you wish to write, noting that the text is embedded in the surface, with half above and half below the surface, allowing it to stick out or be indented using difference(). The next parameters define the shape upon which the text is placed: * where: translated coordinates [x,y,z] for Cylinder, circle, sphere, or cube * The following parameters are 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\]) The parameters affecting the text are: * h: font height (size of letters) * t: 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 and is used to specify how the cylinder was drawn. * space: spacing of the text (whitespace between letters), default is 1 Additionally, there are: * middle * east * west * north * south * up * down * face * ccw (clockwise) writesphere has "rounded" if you do not want the tops of the letters to be flat but instead follow the surface; this option is not available for writecylinder, although it probably should be.
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.