Show lowest and highest coordinates of a shape

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Show lowest and highest coordinates of a shape

Yanni
I'm designing a new leather bag and one of the parts has the shape as attached.
I am trying to find the lowest and highest point of the shape on the y-axis which should be around where the arrows point out.

Is there a way of having librecad showing this?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Show lowest and highest coordinates of a shape

Crossy
Reply | Threaded
Open this post in threaded view
|

Re: Show lowest and highest coordinates of a shape

dxli
In reply to this post by Yanni
Looks like there's no easy way to get the bounding box from GUI. A workaround might be using "snapping to points on entity" and vertical dim.

The bounding box is available by API, and there are several ways to implement new features:

1, a new action, draw bounding box for selected entities;
2, print bounding box information in "Properties" or "list entity";
3, display bounding box for selected entities;

Yanni wrote
I'm designing a new leather bag and one of the parts has the shape as attached.
I am trying to find the lowest and highest point of the shape on the y-axis which should be around where the arrows point out.

Is there a way of having librecad showing this?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Show lowest and highest coordinates of a shape

Rallaz
In reply to this post by Yanni
Draw a line to find 90 deg. in arc:
first point use center snap of highest arc
second point use some point outside "bag" using restrict vertical

Draw other line with same method for lowest arc.

Draw vertical dimension using intersection snap of arcs and drawing lines.

Remove temporary lines and ready.

Tip:
Tangent point in arc or circle with horizontal line are in 90 & 270 deg.
Reply | Threaded
Open this post in threaded view
|

Re: Show lowest and highest coordinates of a shape

Yanni
In reply to this post by Yanni
Thanks guys,

Rallaz's post sorted me out.
Also, needed "List Entities" to show the centre of the arc...all sorted....thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Show lowest and highest coordinates of a shape

dxli
I think we still need bounding boxes.

For ellipses, splines, it's not so easy to find maxima by construction.

Yanni wrote
Thanks guys,

Rallaz's post sorted me out.
Also, needed "List Entities" to show the centre of the arc...all sorted....thank you.