18 lines
361 B
Markdown
18 lines
361 B
Markdown
# Placement
|
|
|
|
## Class Definition
|
|
|
|
```python
|
|
class Placement(origin: Vec3, x_axis: Vec3 = (1.0, 0.0, 0.0), y_axis: Vec3 = (0.0, 1.0, 0.0), z_axis: Vec3 = (0.0, 0.0, 1.0))
|
|
```
|
|
|
|
*Source: product.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import Placement`
|
|
|
|
## Description
|
|
|
|
Right-handed placement mapping child-local coordinates to parent coordinates.
|