ExtrudeTo3dSettings

2D-to-3D extrusion settings attached to a 2D feature -- controls extrusion depths, repetition, end-cap fills, and whether the resulting shape is a face or a volume.

Examples

extrudeSettings = model.get_extrude_to_3d(shapes)
extrudeSettings.depth_in = 5.0
extrudeSettings.depth_out = 5.0
extrudeSettings.as_face = True

Properties

depth_in : float
Extrusion depth inward.
depth_out : float
Extrusion depth outward.
repetition : bool
Enable repetition.
repetition_spacing : float
Spacing between repetitions.
repetition_out : int
Number of repetitions outward.
repetition_in : int
Number of repetitions inward.
fill : bool
Enable fill.
fill_in : float
Fill depth inward.
fill_out : float
Fill depth outward.
as_face : bool
Treat as face.