Grasshopper

algorithmic modeling for Rhino

Drawing Ovals and Egg Shapes in Grasshopper

How to setup your own component to draw ovals and egg shapes in Grasshopper. Follow me: on https://www.instagram.com/singline on https://www.facebook.com/Kar...

Views: 308

Comment

You need to be a member of Grasshopper to add comments!

Comment by Pieter Segeren on July 17, 2017 at 9:40am

Hi Karl, I think this oval exersize is another perfect opportunity to deploy the [PolyArc].

For the case of the oval: Just mirror the found intersection to all four quadrants,
and calculate the starting direction by getting the crossproduct of the intersecting line and the plane normal.
Feed the points and starting direction to the [PolyArc], en set its Closed boolean to True.
No need to calculate 'p' or figure out what to split with what and what subcurves to join.

In this definition I create an oval directly on a plane, so it's a bit more elaborate than what I just described, but I think it's stll a lot easier than the approach you showed:

I think neither of our approaches will work correctly for the 'egg' though, if you want to be able to specify the width of the egg (at its widest 'point')

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service