algorithmic modeling for Rhino
hi all,
i am working on a gcode generator from lines for my 3-axis machine (file is attached), and i am doing it now with that way;
divide everything with an acceptable length and send them coordinates as output in gcode.
there is 2 things bother me in that;
1- if there is a degree 1 curve, only start and end points would do same work, which takes only 2 lines in code but with this grasshopper file it takes much more longer.
2- if there is 2 neighbor curves in polyline with a some relatively big degree between, the corner may corrupt, sorry for poor english but example visual is attached.
in short, it would be great if i can make something like;
if the curve degree is 1, use only start-end, if not divide. but also works for polylines pieces like exploited that, but better not exploit cause it may change the order of lines and can may make things more complex.
thanks in adv
Tags:
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by