Skip to content

rectangle from frame, width and height #1036

@nizartaha

Description

@nizartaha

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]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions