I wonder myself why would we run third party Python scripts that can do anything, run an infinite loop, download something from Internet or delete files from the home folder, and keep our fingers crossed it calls “show_object” at the end…
Have you considered using Java? I mean real classes that implement interfaces you introduce, not classes with a single “main()” method. So you instantiate an instance of that class when you add a part.
You can use a handcrafted JVM or Javaagents to ensure that it’s only doing the things you want (like they do on Spark clusters to ensure that ML jobs are only doing ML). Since you are after describing and instantiating objects, why not using something so object oriented?
I want to introduce something like that as an option in PartCAD to see if anyone likes to use it.
Let me know if you want to give PartCAD a try for your model storing/sharing needs. I’ll be happy to customize/extend it for your needs. I always loved chemistry and physics but never had a chance to apply that at work.
Hmm. Indeed that makes a lot of sense to use wasm instead. Let’s table the language aside for a moment. What data format would you expect to be spit out by third-party models? Is there anything generic enough to store both b-reps, f-reps, and whatever might be suitable for nanotechnology?
I want to introduce something like that as an option in PartCAD to see if anyone likes to use it.
Let me know if you want to give PartCAD a try for your model storing/sharing needs. I’ll be happy to customize/extend it for your needs. I always loved chemistry and physics but never had a chance to apply that at work.