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

Laying out contours for laser cutting with Python

$
0
0

@lmboyer04 wrote:

So I’m still fairly new to this all so pardon if I’m asking bad questions. I’m using Rhino Python Editor and I’m trying to create a script (while also learning to script a bit) that will essentially contour any closed polysurface model at an interval of choice, Orient the curves to the C plane or some other plane so they are all together (as if I ran Make2D) and then arrange them so that they are in a line, in order, with a small gap between them.

It gets really messy with the whole organizing of object IDs in the big for loop… I gave it a shot tho.

I can already see there are some sloppy workarounds not to mention just some stuff that just isn’t working… but I just dont know the alternatives. Please provide any ideas you have for bridging the gaps and/or cleaning it up

Thanks so much!

Contour Model Updated.py (1.2 KB)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5791

Trending Articles