set_extrude_to_3d
Set extrude-to-3D settings on shapes.
Parameters
- shapes : Shape | ShapeList
- Shapes to assign extrusion settings to.
- 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.
Examples
sel = model.select([2,4], types='edge')
model.set_extrude_to_3d(shapes=sel, depth_in=3, depth_out=7)