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.

Grip support #30

Open
Open

Description

Activity

  1. sbaer commented on Nov 2, 2011

    @sbaer
    Member

    My first inclination would be to do something very similar to what core Rhino does. When GripsOn is called for a curve in Rhino, several GripObjects are added to the document. In the context of Grasshopper, I think you would add several AttributedGeometry instances to the ghdoc where the geometry is a Point3d and there is some sort of knowledge that this is a grip referencing a "parent" curve.

  2. Filippos-Filippidis commented on Feb 17, 2016

    @Filippos-Filippidis

    Hi to both!
    Is there any update on the Grips method?
    Thanks

  3. piac commented on Feb 17, 2016

    @piac
    MemberAuthor

    Hi Phil,

    I actually do not think this makes much sense in a Grasshopper perspective: Grasshopper does not have grips so that way of thinking is "alien" to it. Is there some method that we could use instead? What are you trying to do?

    Thanks,
    Giulio

  4. Filippos-Filippidis commented on Feb 17, 2016

    @Filippos-Filippidis

    Hi Giulio.

    I understand what you mean about the grips being alien to grasshopper and I agree it doesn't make a lot of sense to have them in GH. I was asking because i wrote a piece of code in python via editPythonScript and was trying to pass it over to GH. The script basically simulates the frei otto wool experiment. The way it was written is that it gets some crvs and then used the grips , grip Locations and distance between each other and attracted the grips modifying the initial crvs. I tried Rhinocommon but Im not very proficient with it and got lost..If you have any idea or way around it let me know.

    Thanks for the fast reply,

    Best,
    phil

  5. piac commented on Feb 22, 2016

    @piac
    MemberAuthor

    @philpidis if you were able to show me a sample of what you were doing with grips, it should be possible to either rewrite the code in RhinoCommon or use RhinoScript methods to delete these curves and recreate them with the right control points.

  6. Filippos-Filippidis commented on May 30, 2016

    @Filippos-Filippidis

    @piac
    It worked with Rhinocommon!
    thanks

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