algorithmic modeling for Rhino
first off, are there any good references out there concerning baking custom componets in VS. Ive yet to find anything.
on a related note:
Ive written an very simple component in VS that takes two points as its input as in
Line anAwesomeLine = new Line(inPutPoint[0], inPutPoint[2]);
and outputs the line.
when i run this in grasshopper it works fine the first time. I drop the component onto the canvas. get a point component. set it with multiple points, and link that into my custom component which promptly shows a line. I can bake my component and the appears as you would expect it to in rhino.
the problem is that thats the only time it works as you expect it. if i try to set two different points in the points component, nothing updates. infact all graphical references to grasshopper (the typical red grasshopper previews for grasshopper geometry) disappear.
i can only get things working normally if i delete my first custom component an drop a new one onto the canvas.
M
Tags:
Can you post source for this component?
--
David Rutten
david@mcneel.com
Tirol, Austria
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by