algorithmic modeling for Rhino
Hi I'm trying to implement a simple bisection method in a python component, where I'm trying to use external data
I have a problem to "force refresh" the inputs to the python component such that my external calculated area will be correct..
How can this be done from python code?
File attached :-)
(it is only an example file - I know it can be done using galapagos etc..)
Tags:
Hi Thomas
I have to say... this really looks like a strange approach.
In the current Grasshopper SDK, you cannot expire a component during a solution. You just cannot.
What you could do, is somehow work around that, by for example having a Python component that is not connected to things in the document, and from there, expire the solution at a certain point (after 10ms, for example, or when the previous one is finished computing).
However, if you are really interested about finding the best-fitting ellipse, the wisest idea is to just write the whole code in Python. Or, as you know already, use Grasshopper components and then Galapagos.
"To each their own", so to say.
I hope this helps,
Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com
Hi Giulio
Thanks for the answer. :-)
I would like to use multiple types of numerical calculations and specific use continuous changing inputs. I'll think of something else...
The "best-fitting ellipse" is just a random example..
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
© 2024 Created by Scott Davidson. Powered by