Grasshopper

algorithmic modeling for Rhino

Scott opened two related issues on GhPython/GitHub and I'd like to comment them here to be able to attach images and files.

 

Issue 20 -- Marshaling a Circle

If I create a circle using rs.addcircle or rs.addcircle3pt should create a Rhino Circlecurve. If I try and output that from GHpython it is not marshaled as a Circle in Grasshopper.

 

Issue 21 -- Marshalling an arc

If I use rs.AddArc, rs.AddArc3pt or rs.AddArcPtTanPt then I should get an ArcCurve. When i pass this out ghpython, I do not get an Arc. Can we marshal an arc from the guiid?

Views: 385

Replies to This Discussion

Hi Scott,

 

from a quick test, I am able to obtain arcs and circles easily out of the GhPython component. They are technically ArcCurves (arc-like curve) and CircleCurves (circular curves), but this does not impede their usage within Grasshopper in any way, as far as I know. This is also what Grasshopper itself does in many cases.

 

This is a picture of the attached definition. Are you also obtaining this on your system?

These are examples where Grasshopper generates these types of objects by itself:

(You need the last version of GhPython to open this definition).

Thanks,

- Giulio
____________
giulio@mcneel.com
McNeel Europe

Attachments:

RSS

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