Has anyone had any success in converting the ladybug sun path/solar hours scripts into Vectorworks Marionette?
It seems the scripting language is both in Python, and our office would like to incorporate these tools into our native cad suite of vectorworks to improve our workflow and avoid unnecessary file conversions - as doing solar analysis studies forms a large part of our workload.
I just did a quick search to see what is Vectorworks Marionette. It looks like it is a node based workflow similar to Grasshopper but for Vectorworks. If it is possible to execute Python scripts then you should be able to use our new [+] libraries to run the studies. You will still need to write the conversion from Vectorworks geometry to what core libraries need but the rest of the code has no UI dependencies.
Here is a code sample from ladybug:
and another one from honeybee:
This slide should help you to understand the code structure:
Hi @mostapha - thank you kindly for the response - I’ll have a look further into this, however I am a fairly basic grasshopper user and think creating something such as the geometry library is far above my ability!
I will contact our vectorworks support and see if there is someone who can potentially help out with this.
Hi @NorihiroOta - This is a very interesting project. I’m not sure how Vectorworks work and how your integration is going to be implemented but if they have a visual scripting environment similar to Grasshopper then you might be able to use the methodology that is used by ladybug-blender.
They have re-written the two fromgeometry and togeometry modules which are going to be specific to the platform and then they use a template to automatically translate the Grasshopper components to Sverchok nodes.
The inputs are these JSON objects that are generated automatically for every single Ladybug component.
I had to write this quickly and I know it doesn’t include all the details but I hope it makes sense and is enough to communicate the idea. Let me know if you have any questions.