makerbot / ReplicatorG

An open-source gcode interpreter for driving RepRaps, Makerbots, and other similar CNC beasties
http://replicat.org
GNU General Public License v2.0
404 stars 226 forks source link

Issue with G2 and G3 Curve interpolation #290

Open Anoyomouse opened 11 years ago

Anoyomouse commented 11 years ago

The GCodeParser uses a single reference to Point5d causing the Interporlation to generate an array of the same instance, so effectively generating a single point for an entire curve

Fix is at https://github.com/Anoyomouse/ReplicatorG/blob/master/src/replicatorg/app/gcode/GCodeParser.java (forked from the jetty Sailfish firmware since that's the one our bot is using)

I'll fork this Repo if it's easier to merge in the change if necessary

Thanks