This is a sdl generated mesh object. The idea was to transition from a
flat-sided body to a round cross-sectioned neck. ( Variations on that
transition are the design of many ink bottles.)
The macro must be fed x-y coordinates to describe the vertical profile
of the bottle in the form of an array. This array is submitted to Cris
Colefax's spline macro to produce a spline for the profile. The
horizontal cross-sections are produced from a macro based on a few
parameters like number of sides, size of bevel and tension. This macro
also outputs an array of points. The diameter of each cross-section is
derived from the profile spline. The cross-section array is used to
produce and store a cross-section spline. A final macro walks these
cross-section splines and generates the mesh triangles.
At present the macro will not stand alone, the code must be tweeked for
each bottle to accomplish the transition from a sided scrossection to a
rounded cross-section.
Post a reply to this message
Attachments:
Download 'inkbottle.0009.jpg' (66 KB)
Preview of image 'inkbottle.0009.jpg'
|