What v7 command to place ellipse as best fit to 5 points or more?

Hi,
V7
under elipse tool there is no icon for elipse and fitting a few points.

was a thread on this, and I see Food4Rhino had a fit elipse5 points tool but its for v5 and v6.

what is there I can add to V7 or what does it already have ?

Cheers

Steve

Hi,
does V7 have this ability as that code is for V5 and V6 ?

If not I will have to use that code, in V7.

Most codes I am adding are failing me.

Please, anyone ?

Steve

Hi Steve -

That might/will probably work on Rhino 7.

Here’s a Grasshopper solution as an alternative:

Only 2 components, it doesn’t get simpler than that:
image

You select your points in a Rhino viewport, right-click on the Pt component and pick “Set Multiple Points”:
image

Grasshopper then shows the solution in the Rhino viewport.

Select the C# component:
image

… and hit the Insert key on your keyboard.
That will add the ellipse to your Rhino document.
-wim

See my response to your other post - I don’t know where you are copying your script code from, but it looks like you are trying to use them without indentation.

As repeated earlier, most stuff written for V5 or V6 should probably work for V7 - if you set them up correctly.

Hi Wim,
Thanks, however I am zero hours on Grasshopper !
Its something that scares the pants off me looking at it, but when I get a free period I will at least go through the tutorials. Cannot see free time at all though just yet.
However this PC build is turning into hell, 5 weeks in and where I would be in 1 week. V7 is taking days to set up manually, and each button I make gives errors.
Today I hope to reference the file locations.
Outlook and 7 hrs of Msoft and still no search function on sent items, no recent folders option, screen saver not working,and 130 progs yet to load on.

maybe next year but I am months behind with work now.

That for V7 without grasshopper must be the way. Had hoped V7 had it.

Steve

Hey guys!
I am the author of the script called “Ellipse given 5 points v.1” (Ellipse given 5 points v.1 | Food4Rhino)". In a few days i will upload to the website Food4Rhino a number of components for Grasshopper to draw an ellipse given:

  • 5 points and 0 tangents.
  • 4 points and 1 tangents.
  • 3 points and 2 tangents.
  • 2 points and 3 tangents.
  • 1 points and 4 tangents.
  • 0 points and 5 tangents.

I have done all in python and the scripts are working well, i think. At least the tests I’ve done show it. I need a little time to create the compiled components, upload to the web with appropiate images, … and also the final approval of the McNeel guys from Food4Rhino.

I hope this components help you!

Note: I can compile python scripts as well, but i think people are more confortable with grasshopper components.