|
|
Hi,
I don't know whether this has been addressed but here goes. Using the
prism object I keep getting the parser error "Too few points in prism". This
happens either after inserting a prism object from the Insert menu or when I
edit one by hand.
Here is the insert menu code:
prism {
linear_sweep // or conic_sweep for tapering to a point
cubic_spline // linear_spline | quadratic_spline | cubic_spline
-0.5, // height 1
0.5, // height 2
10, // number of points
// the <u,v> points
< 0.2, -1.0>, < 0.2, 0.2>, < 1.0, -0.2>, < 1.0, 0.2>, < 0.2, 1.0>,
<-0.2, 1.0>, <-1.0, 0.2>, <-1.0, -0.2>, <-0.2, 0.2>, <-0.2, -1.0>
// [open]
// [sturm]
}
and my own code:
prism{
linear_sweep
cubic_spline
-1,1,7,
<0,0>,<0,2>,<1,2>,<2,2>,<2,1>,<2,0>,<0,0>
}
using Win95b
Post a reply to this message
|
|