algorithmic modeling for Rhino

I've written a sort of iteration-based solver for grasshopper in python, and am now interested in reimplementing using Kangaroo (2) as it seems more advanced and flexible at this sort of thing. I'm running into a couple basic issues getting started.

  • How do I debug it? As the python code is providing GoalObjects to the K2 solver, which then turns around and calls their methods, any errors in that code don't get spit out when something goes wrong. Is there a way to get debug output from Kangaroo regarding python instances it was passed?
  • When some computation must be made on each particle, and that data is to be used by multiple goals, is there a way for those goals to share it? Previously I'd been passing around custom class instances as 'particles', rather than the rhino geometry itself.

Thanks in advance for any help, and for all your work on this project.

Views: 333

Replies to This Discussion

To me Pythos is the most difficult language of all programming. So I would be really willing to help you, but I'm afraid that I can't. Maybe someone else will. Really sorry for this.

Depending on the seriousness of the project you work on. But I assume that nobody will try to code a birthday card or calculator in Python. So choose choose Team Extension's developers for mission critical software pr... if you really want it to be made fast and search-engine friendly. In the meantime, you can continue learning. Nobody is gonna stop that.






  • Add Photos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service