Skip to main content
Solved

Create Ellipse from 4 points

  • March 19, 2020
  • 2 replies
  • 39 views

Forum|alt.badge.img

I'm trying to create a ellipse2D or circle shape from four points. i have 4 coordinates (North, South East, West) i want to join up the points with a round shape.

 

I have tried 2D ellipseReplacer, and used East+West for the Primary Axis & North + South for the secondary Axis. its seems to almost work but the scale an shape is slightly different

I have managed to create a Square using BoundingBox Accumulator - But need to fill that box with a round shape, touching all edges

using 2019.2 Desktop

The image attached shows the 2D ellipse shape overlayed on the 4 points/box. As you can see it's not right. Even when I scale it down it's still incorrect

 

Grateful for any assistance

Best answer by ebygomm

So once you've got your bounding box, you can get the centre, extract the min and max coordinates, then use these to calculate the axis for the ellipse replacer

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • Best Answer
  • March 19, 2020

So once you've got your bounding box, you can get the centre, extract the min and max coordinates, then use these to calculate the axis for the ellipse replacer


Forum|alt.badge.img
  • Author
  • 10 replies
  • March 19, 2020

So once you've got your bounding box, you can get the centre, extract the min and max coordinates, then use these to calculate the axis for the ellipse replacer

That's done the trick, thank you so much, this has been driving me mad all day