wrap
Wrap a flat object around a cylinder. This transforms a planar shape so that it conforms to a cylindrical surface.
Syntax:
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
obj |
solid | — | The flat object to wrap |
target |
solid | None |
The target cylinder 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: