Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Datatypes in Grasshopper #18

Open
Open

Description

@scotttd

How would I create these datatypes in GhPython to output as the native Grasshopper datatypes?

  1. Box - should we marshall an rs.Addbox result into a Box type?
  2. Rectangle - should we marshall a rs.AddPlanesurface?

Activity

  1. sbaer commented on Jul 20, 2011

    @sbaer
    Member

    These are most likely just the Box and Rectangle3d classes in RhinoCommon.

  2. piac commented on Jun 11, 2012

    @piac
    Member

    The AddRectangle call works also well because Grasshopper is able to convert a 4-pointed polyline in a rectangle if that is necessary, but the information is not retained for boxes. It seems a special case is necessary for Box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions