compas_wood.reflex_fold
¤
Functions:¤
reflex_fold_elements
¤
reflex_fold_elements(cross_section: Polyline | None = None, profile: Polyline | None = None, thickness: float = 10.0, chamfer: float = 20.0, chamfer_angle: float = 180.0) -> tuple[Mesh, list[WoodElement]]
Fold profile along cross_section → shell mesh + plate elements.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cross_section
|
Polyline
|
Cross-section curve. None = C++ built-in fold geometry. |
None
|
profile
|
Polyline
|
Sweep path. None = C++ built-in fold geometry. |
None
|
chamfer
|
float
|
Miter offset distance applied to both faces of each plate. |
20.0
|
chamfer_angle
|
float
|
Interior corner angle threshold in degrees. |
180.0
|
Returns:
| Type | Description |
|---|---|
tuple[Mesh, list[WoodElement]]
|
|