Rotor (c) 1997 David Harvey
This simple applet generates a VRML Shape node containing an extrusion
resulting from rotating a cross-section around the Z-axis. The number of
steps in the rotation can be defined, as can a scale factor applied to
the generated coordinates.
Instructions
Use of the applet is straightforward.
- Click in the drawing window to add a point
- Points may be dragged to change the shape
- The last added or selected point is highlighted
- The delete key removes the highlighted point
- Check closed to close the shape. Points may still be added and
moved
- Generate produces a Shape block in the output window. This may
be edited before cutting/pasting into a VRML source
- Clear clears both drawing and output windows
Known Problems
- Clipping appears to be inconsistent in Navigator 3. If you end up with
a poorly clipped shape in the plotting window, jiggle the scrollbars to
force a full redraw
- Scrollbar scaling needs looking at
- Running applets in Netscape behind a firewall appears to cause problems
(At work I get security errors at different places depending on the
host - NT or Solaris. Well, isn't that just Java - write once, debug
everywhere :-) ). If you have problems, please contact me
with a description of your system and a copy of the Java console
output. I'll see what I can do...
Check out my home and VRML pages.