compas-dev / compas-dev/compas
rectangle from frame, width and height
Open
enhancement
- Dominant language
- Python
- Stars
- 386
- Forks
- 122
- Avg merge
- 11d 46m
- Merged PRs (30d)
- 1
Description
# Feature Request
rectangle from frame (plane), width and height.
simple shape but didn't find a straight forward way to create it.
## Details
**Describe the solution you'd like**
maybe it could be included in `Polygon` class as method `Polygon.from_frame_width_height()` ?
**Describe alternatives you've considered**
i used the Box class top face
```
box = Box(some_frame, w, h, d)
top_face_pts = box.vertices[:4]
```
Contributor guide
Assessment
This issue has not been assessed yet.