Shap3d43.dat, 43rd 'shape' file for CPO3D
Sectors of a cone, by users equation.
For information on the option for users equations, see users equations.
Here the cone lies along the z axis, and has a radius of r = 5 at z = a, and a radius of R = 15 at z = a + l.
The equations, say g1(x,y,z), for the inner circular edge are
x = r*cos(phi), y = r*sin(phi), z = a.
The equations, say g2(x,y,z), for the outer square edge are
x = R*cos(phi), y = R*sin(phi), z = a+l.
2 symmetry planes are in use here, and phi goes from 30 to 60 degrees.
In the usual fashion we can combine these by using the general equation
g(x,y,z) = (1 - f)*g1 + f*g2,
where f goes from 0 to 1.
This reproduces g1 when f = 0, and g2 when f = 1.
The 30 degree sector is reflected twice to produce 4 sectors.
The equations, as they appear in the data file, are:
f 0 1 name of variable number 1 and its limits
phi 0.523599 1.047198 name of variable number 2 and its limits
r 5 name of parameter number 1 and its fixed value
R 15 name of parameter number 2 and its fixed value
a 1 name of parameter number 3 and its fixed value
l 10 name of parameter number 4 and its fixed value
(r*(1-f)+R*f)*cos(phi)
(r*(1-f)+R*f)*sin(phi)
a+l*f
1 1 numbers of 2 applied voltages (can be same)
10 10 numbers of subdivisions of variables 1 and 2
(The program has corrected the less accurate values that were entered for pi/6 etc.)