Hardware Reference
In-Depth Information
}
}
gasket();
This code produces a simple gasket as shown in
Figure 6.1
.
FIGURE 6.1
A 3-D rendering of a simple parametric gasket.
In this code, anything following a line that begins with // is commented out and ignored
when generating the STL image. The gasket is developed by making two simple shapes (cyl-
inders) and subtracting one from the other using the difference command. For a complete tu-
book and thus constantly updated and improved. Although making a simple gasket could be
accomplished in less lines of code and comments, this code is writen to be as useful for others
as possible. First, it is well documented explaining what every variable is. In addition, it is put
in the customizer, it looks like
Figure 6.2
.
Search WWH ::
Custom Search