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

Traveling salesman / conditional / python functions / gcode generation

$
0
0

@asya.ilgun wrote:

I am trying to add a function to an existing traveling salesman drawing function that will draw a continous line for 3d printing a randomly generated point cloud. According a given layer height the traveler should not choose the closest one that is higher than that value. It works to some level but I would like to get some suggestions on writing a simple algorithm on this. Here is GIF made to demonstrate what I want and the GH file .
https://media.giphy.com/media/6nZTnuwo7sdlUeIOvH/giphy.gif

Cheers,
ASYA

travelingsalesmanConditional.gh (7.4 KB)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5751

Trending Articles