Printer Friendly Modeling a Spud Can Modeling a Spud Can

This sample generates a model of a spud can.

The files which are discussed here are:


This example generates a spud can with complicated geometry. The primary purpose here is to show how to overcome the difficulties of surfaces which lie on top of one another. The first thing this sample does is to miter four tubes to form the exterior bounday of the can. These tubes have the same diameter, so after they are mitered, the mitered edges of two tubes have surfaces which are opposite and which have the same vertices (different names, but same spatial locations). If nothing is done, MOSES will report several errors about discarding coutours. This is a standard thing when two surfaces are co-oincident.

The above difficulty is circumvented by defining a small number

     &set sml = .05
which is added to several dimensions here. In particular, two of the tubes diameter are increased by this amount. Now, the two surfaces are no longer identical and the messages vanish.

After the tubes have been joined, two blocks are defined which make up the top and bottom of the interior of the can. These two blocks are joined and the result joined with the tubes to form the can. Again, the small value is used. Here, the length of the interior is increased by the small amount so that there will be a proper intersection of the interior with the tubes. Without the small amount, the errors will appear.


Ultramarine, Inc. | Suite 325 | 3100 S. Gessner | Houston, Texas 77063 | (713)975-8146

Next

Copyright(C) 1996-2008 Ultramarine,Inc.