X3D Extrusion

Extrusion • Example

A 3D shape with a 2D cross-section (X,Y) that extrudes along a 3D spine (X,Y,Z).

Geometry3D

set_crossSection

Field Type: MFVec2f
Access Type: inputOnly
Default Value: ...
Value Range: ...
Description: Updates crossSection field via ROUTE statement.

set_orientation

Field Type: MFRotation
Access Type: inputOnly
Default Value: ...
Value Range: ...
Description: Updates orientation field via ROUTE statement.

set_scale

Field Type: MFVec2f
Access Type: inputOnly
Default Value: ...
Value Range: ...
Description: Updates scale field via ROUTE statement.

set_spine

Field Type: MFVec3f
Access Type: inputOnly
Default Value: ...
Value Range: ...
Description: Updates spine field via ROUTE statement.

beginCap

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: The surface at the initial end of the spine.

endCap

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: The surface at the final end of the spine.

ccw

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets the ordering of the vertex coordinates of the geometry with respect to normal vectors used in the lighting model equations.

convex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: States whether all polygons in the shape are convex.

creaseAngle

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Determines how default normals are generated.

crossSection

Field Type: MFVec2f
Access Type: initializeOnly
Default Value: 1 1 1 -1 -1 -1 -1 1 1 1
Value Range: -∞, ∞
Description: The outer surface of the extrusion.

orientation

Field Type: MFRotation
Access Type: initializeOnly
Default Value: 0 0 1 0
Value Range: (-1,1) or (-∞,∞)
Description: Orientation value applied at each spine-aligned cross-section plane.

scale

Field Type: MFVec2f
Access Type: initializeOnly
Default Value: 1 1
Value Range: 0, ∞
Description: Scale value applied at each spine-aligned cross-section plane.

spine

Field Type: MFVec3f
Access Type: initializeOnly
Default Value: 0 0 0 0 1 0
Value Range: -∞, &infin
Description: A set of 3D points that provide a backbone for the crossSection to be extruded along.

solid

Field Type: SFBool
Access Type: ...
Default Value: TRUE
Value Range: ...
Description: Specifies whether the geometry is visible from the inside.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.