juicy-gcode icon indicating copy to clipboard operation
juicy-gcode copied to clipboard

Quadratic spline

Open kimstik opened this issue 2 years ago • 6 comments

Since cubic G5 is working fine, may we extend support to G5.1 (and even scared to say perhaps G5.2)?

kimstik avatar Jul 28 '22 07:07 kimstik

I don't see why not, at least the 5.1. However, internally, beziers are stored as cubic, so we need to generate two quadratic for all of them. What would be the reason for 5.1?

domoszlai avatar Jul 30 '22 18:07 domoszlai

Thanks, the reason is that 5.1 is supported by linuxcnc and grblHAL if some path can be well interpolated well by a quadratic, why not? question of freedom :)

kimstik avatar Jul 30 '22 20:07 kimstik

You mean that linuxcnc and grblhal supports 5.1, but not 5?

domoszlai avatar Jul 31 '22 07:07 domoszlai

actually both of them supports 5 and 5.1 grblHAL does not support 5.2 yet

kimstik avatar Jul 31 '22 07:07 kimstik

all right. so 5.1 probably can be done easily, maybe some internal refactoring would be nice, so we actually be able to save on something. but, because these software support vanilla 5, I think there is no urgency

domoszlai avatar Jul 31 '22 19:07 domoszlai

sure. no stress ;) just fun

kimstik avatar Jul 31 '22 20:07 kimstik