Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5804

Optimum Python Scripting and Iteration

$
0
0

Hi, is there a consolidated resource for advising on the optimum python development?

Currently I’m using the rhinoscriptsyntax module because it was the first example code I found. The Rhino module looks like it has more functionality but isn’t easily interchangeable with rs, and is a bit more verbose in code. If it won’t give me a performance boost, I hesitate to move over to it unless it’s highly recommended.

I’m also having to restart the whole app when I make changes to most of the code (since it’s in modules for organization and readability sake). If there’s a way to reset the python engine while the app is running, I’d love to know it.

I’m doing mostly Boolean operations on polysurfaces. I’d love to speed that up as much as possible.

I’ve got an M1 mac currently and it’s decently performant with Rhino (which makes me happy), but if a windows machine is benchmarked as much much faster, I can look into that.

My project runs for about 15 min currently and processes around 10k solids (not meshes).

Any advice would be greatly appreciated, thanks!

4 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 5804

Trending Articles