SolidPrimitiveType Type
SolidPrimitiveType = "box" | "cone" | "sphere" | "linearSweep" | "rotationalSweep" | "ruledSweep" | "torusPipe"
Describes the concrete type of a SolidPrimitive. Each type name maps to a specific subclass and can be used for type-switching in conditional statements.
- "box" => Box
- "cone" => Cone
- "sphere" => Sphere
- "linearSweep" => LinearSweep
- "rotationalSweep" => RotationalSweep
- "ruledSweep" => RuledSweep
- "torusPipe" => TorusPipe
Defined in
- solid/SolidPrimitive.ts Line 33
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.