wrap
Wrap a flat object around a cylinder or a 2D outline. This transforms a planar shape so that it conforms to the target surface.
Syntax:
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
obj |
solid | — | The flat 3d object to wrap |
target |
solid | None |
The target 2D object to wrap around. Optional if r or d is given |
r |
float | None |
Cylinder radius (alternative to providing a target) |
d |
float | None |
Cylinder diameter |
fn, fa, fs |
float | global | Curve discretization; defaults to the global fn/fa/fs values |
Examples: