X3D Example Archives: VRML 2 Sourcebook, Chapter 15 Extrusion

Extrusion geometry is defined by a 2D cross-section that is stretched and rotated around a central spine.

Extruded shapes are very common: tubes, pipes, bars, vases, donuts, and other tricky uses. An Extrusion node efficiently creates extruded shapes. The crossSection field specifies the cross-section, and the spine field specifies the sweep path. The scale and orientation fields specify scaling and rotation at each spine point.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Figure 15.10 Extruded Room With Axes
  21 X3D Models       X3D Model Descriptions
   Figure15_07ExtrudedCylinder Figure15_07ExtrudedCylinder An extruded cylinder built using a circular cross section swept along a straight spine.
   Figure15_08ExtrudedHalfCylinderWithCaps Figure15_08ExtrudedHalfCylinderWithCaps An extruded half cylinder built using half of a circular cross section swept along a straight spine. Also see Figure 15.9 for comparison.
   Figure15_08ExtrudedHalfCylinderWithCapsWithAxes Figure15_08ExtrudedHalfCylinderWithCapsWithAxes An extruded half cylinder built using half of a circular cross section swept along a straight spine. Also see Figure 15.9 for comparison.
   Figure15_09ExtrudedHalfCylinderWithoutCaps Figure15_09ExtrudedHalfCylinderWithoutCaps An extruded half cylinder with its beginning and ending caps turned off. Also see Figure 15.8 for comparison.
   Figure15_09ExtrudedHalfCylinderWithoutCapsWithAxes Figure15_09ExtrudedHalfCylinderWithoutCapsWithAxes An extruded half cylinder with its beginning and ending caps turned off. Also see Figure 15.8 for comparison.
   Figure15_10ExtrudedRoom Figure15_10ExtrudedRoom An extruded room using a floor plan as the cross section.
   Figure15_10ExtrudedRoomWithAxes Figure15_10ExtrudedRoomWithAxes An extruded room using a floor plan as the cross section.
   Figure15_11ExtrudedPlaygroundSlide Figure15_11ExtrudedPlaygroundSlide A playground slide built by extruding a half-circle cross section along a helical spine.
   Figure15_11ExtrudedPlaygroundSlideWithAxes Figure15_11ExtrudedPlaygroundSlideWithAxes A playground slide built by extruding a half-circle cross section along a helical spine.
   Figure15_12Torus Figure15_12Torus A torus built using a circular cross section swept along a circular spine.
   Figure15_12TorusWithAxes Figure15_12TorusWithAxes A torus built using a circular cross section swept along a circular spine.
   Figure15_13ExtrudedPyramid Figure15_13ExtrudedPyramid A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.
   Figure15_13ExtrudedPyramidWithAxes Figure15_13ExtrudedPyramidWithAxes A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.
   Figure15_14ExtrudedVase Figure15_14ExtrudedVase A vase built by scaling a circular cross section at each coordinate along a straight spine.
   Figure15_14ExtrudedVaseWithAxes Figure15_14ExtrudedVaseWithAxes A vase built by scaling a circular cross section at each coordinate along a straight spine.
   Figure15_15TwistedBar Figure15_15TwistedBar A bar twisted using Y-axis, cross-section rotation at each spine coordinate.
   Figure15_15TwistedBarWithAxes Figure15_15TwistedBarWithAxes A bar twisted using Y-axis, cross-section rotation at each spine coordinate.
   Figure15_16ExtrudedLipstick Figure15_16ExtrudedLipstick A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.
   Figure15_16ExtrudedLipstickWithAxes Figure15_16ExtrudedLipstickWithAxes A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.
   Figure15_17WigglingSnake Figure15_17WigglingSnake A wiggling snake whose spine is animated using a CoordinateInterpolator node.
   Figure15_17WigglingSnakeWithAxes Figure15_17WigglingSnakeWithAxes A wiggling snake whose spine is animated using a CoordinateInterpolator node.

The X3D Resources: Examples page and X3D Developers Guide provide more information about the production of this archive.