|
|
I am making a macro that would draw Prisms with a variable number (N) of
points (set in macro properties).
Points are going to be generated by a certain formula.
How do i go about descrbibing such a prism?
// extrude a closed 2-D shape along an axis
prism {
linear_sweep // or conic_sweep for tapering to a point
linear_spline // linear_spline | quadratic_spline | cubic_spline |
bezier_spline
-0.5, // height 1
0.5, // height 2
N, // number of points
// (--- the <u,v> points ---)
<points1>, <point2>, <point3>,.....<pointN>
}
Post a reply to this message
|
|