compas-dev / compas-dev/compas

Optionally set origin point to Frame.worldXY()

Open
#1,141 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.