compas_wood.translation_shell
¤
Functions:¤
translation_shell_elements
¤
translation_shell_elements(cross_section: Polyline | None = None, profile: Polyline | None = None, thickness: float = 10.0, chamfer: float = 1.0, chamfer_angle: float = 180.0) -> tuple[Mesh, list[WoodElement]]
Sweep cross_section along profile → shell mesh + plate elements.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cross_section
|
Polyline
|
Cross-section curve. None = C++ built-in arch. |
None
|
profile
|
Polyline
|
Sweep path. None = C++ built-in arch. |
None
|
thickness
|
float
|
Plate thickness. |
10.0
|
chamfer
|
float
|
Chamfer cut distance. 0 = no chamfer. |
1.0
|
chamfer_angle
|
float
|
Corners sharper than this angle (degrees) are chamfered. |
180.0
|
Returns:
| Type | Description |
|---|---|
tuple[Mesh, list[WoodElement]]
|
|