Practical 3D Printers by Brian Evans

Practical 3D Printers by Brian Evans

Author:Brian Evans
Language: eng
Format: epub
ISBN: 9781430243922
Publisher: Apress


Special Variables

Special variables represent a few features that can be reconfigured in OpenSCAD relating to the way that circles and arcs are rendered. There are three special variables that we will use in our model; each begin with the symbol $.

$fn

$fn is a special variable to set the number of facets used in a circle or cylinder. For the most part, we will leave this set at 0; however, it can be quite useful for creating other polygons, like hexagons. For example, if we were to make a cylinder with $fn set to 6, like so:

cylinder(h = 10,r = 5,$fn = 6);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.