compas-dev / compas-dev/compas
Optionally set origin point to Frame.worldXY()
Open
enhancement
good first issue
- Dominant language
- Python
- Stars
- 386
- Forks
- 122
- Avg merge
- 11d 46m
- Merged PRs (30d)
- 1
Description
Suggestion for backwards compatible addition to the `Frame.world??` alt. constructors.
Allow optionally passing a point to e.g. `Frame.worldXY()` to get a frame in the XY plane but with origin in the given point.
```
f = Frame.worldXY([0.33, -1.66. 0.444])
Frame(Point(0.330, -1.660, 0.444), Vector(1.000, 0.000, 0.000), Vector(0.000, 1.000, 0.000))
```
Contributor guide
Assessment
This issue has not been assessed yet.