Grasshopper

algorithmic modeling for Rhino

Hey David,

 

First of all thanks for the discussion and your ideas on his topic .

The reason for this request is to enable rhino geometrie to have a local pivot as refence point, as it is common in several other softwares. This local point would only be updated if the whole object will be moved. The concept why i ask for such a property in the geometry class is, to take for e.g. care about transformations. If i have severall objects in a scene and they have been created out of a genome i can control the phenotypes due to this point and know the variations to the genome. Thats also open's up new concepts for variations between the phenotypes due to their same pivot points of the reference object or too the created new object.

 

In the talks with david he mentioned that it is not possible to integrate it in rhino because it would break the SDK but he mentioned that it maybe would be possible inside GH SDK.

So we have to wait for rhino 6 to have this happen (could someone at McNeel add this to the Wish-list if there is already one :))

 

So the idea David mentioned was to use the UserData which Meshes, Breps, Surfaces, and Curves have but planes, circles, arcs, points and vectors do not allow.

But in the end the above geometries are the main focus and would make the additional work worth to investigate on.

 

example functionality for the GeometryFrame:

 

public Plane GeometryFrame{

get{}

set{}

}

public double OriginX{
      get { return m_origin.X; }
      set { m_origin.X = value; }
    }
public double OriginY{
      get { return m_origin.Y; }
      set { m_origin.Y = value; }
    }


public double OriginZ{
      get { return m_origin.Z; }
      set { m_origin.Z = value; }
    }

public Point3d ClosestPointTo(Point3d testPoint)    {
      return ClosestPoint(testPoint);
    }

public double DistanceTo(Point3d testPoint)    {
      return DistanceTo;
    }

 public bool Translate(Vector3d delta)    {
      if (!delta.IsValid)
        return false;
      this.Origin += delta;
      return true;
    }

if someone has additional ideas please contribute it here
I would be happy to see other comments

Cheers,
[uto]


                

Views: 391

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