From the "Introduction to mged" document, page 263, I am issuing a command to make a eto :
in aEllipticalTorus eto 0 0 0 0 1 0 1 0 0 0.40000000000000002 0 0.20000000000000001 0
It gives an error message:
Error: ERROR, normal, axes, and radii must be greater than zero!
The first 3 numbers are for the center, the next 3 for the normal vector, followed by the radius and two more vectors for the major an minor ellipse axis. (I am basing those on the origin)
Never mind the floating point numbers, its python that is outputting them in such a way.
It could be a typo in the tutorial, but one way to figure out what is going on is to run the 'in' command interactively. Instead of typing out the whole line, just type 'in' and it'll start prompting you for each of the parameters:
Enter name of solid: aEllipticalTorus
Enter solid type: eto
Enter X, Y, Z of vertex: 0 0 0
Enter X, Y, Z, of normal vector: 0 1 0
Enter radius of revolution, r: 1
Enter X, Y, Z, of vector C: 0 0 .4
Enter magnitude of elliptical semi-minor axis, d: 0
ERROR, normal, axes, and radii must be greater than zero!
in: ERROR eto not made!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.