RickMcConney / PenPlotter

Polar graph controler that uses repetier firmware. Inspired by work at http://www.polargraph.co.uk
GNU General Public License v2.0
120 stars 26 forks source link

Polargraph / CoreXY #18

Open jsecondo opened 6 years ago

jsecondo commented 6 years ago

Rick,

I made a polargrah like Sandy Nobles and a corexy like Axidraw.

Both can be controlled by your controller. Its clear that both Repetier and Marlin support them. But how about the penplotter controller?

RickMcConney commented 6 years ago

The penplotter controller communicates with my modified version of Marlin and Repetier. There are a couple of custom gcodes and the polar coordinate support needed for the polargraph machine. However the gcode can be saved and used on any machine that supports gcode.

jsecondo commented 6 years ago

What happens if I connect a COREXY to the PenPlotter Controller?.

Basically the info transmitted to the machine are GCODES. For example, if I load an image and apply some effect, the GCODE generated is generic gcode (not polargraph specific gcode), so if the machine accepts gcode from the serial it might work pretty straight forward.

Or am I missing something???

2018-04-19 11:05 GMT-03:00 RickMcConney notifications@github.com:

The penplotter controller communicates with my modified version of Marlin and Repetier. There are a couple of custom gcodes and the polar coordinate support needed for the polargraph machine. However the gcode can be saved and used on any machine that supports gcode.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RickMcConney/PenPlotter/issues/18#issuecomment-382749091, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYOuUu2-e7VJ0Ck1n_xTnzuZ3q5qNl2ks5tqJnEgaJpZM4TbJXi .

-- Juan Pedro Secondo A/S Genexus Cel: 099120060

RickMcConney commented 6 years ago

That's correct. But do not use my version of Marlin use the version that works with your corexy machine as I override the steps per mm. The Diamond treatment will not work as that uses custom gcode. Also be careful of the position of you file on the pen plotter page. The X is normally about 450 mm and the Y is 250 mm which may be larger than your machine. You can drag the plot with the right mouse button up to the top left corner of the page which is 0,0. Export and check the gcode with an editor or by loading it into something like cura or repetier before running it on your machine or at least be near the power switch on your first run.

jsecondo commented 6 years ago

Great!! I'll try it this weekend.

Thanks a lot.

By the way. I'd like to make an automatic changing pen gondola for the vertical plotter. I've already programmed a cmyk color separation routine. I want to add this feature to your controller. Like a checkbox to separation and run the different drawing styles on each component image and create a single gcode file with changing pen commands in the middle. Any suggestions before throwing myself intoncoding this? You know the soft better than anyone.

Another thing running through my mind was to replicate the spiral style in polargraph.

El jue, abr 19, 2018 20:45, RickMcConney notifications@github.com escribió:

That's correct. But do not use my version of Marlin use the version that works with your corexy machine as I override the steps per mm. The Diamond treatment will not work as that uses custom gcode. Also be careful of the position of you file on the pen plotter page. The X is normally about 450 mm and the Y is 250 mm which may be larger than your machine. You can drag the plot with the right mouse button up to the top left corner of the page which is 0,0. Export and check the gcode with an editor or by loading it into something like cura or repetier before running it on your machine or at least be near the power switch on your first run.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RickMcConney/PenPlotter/issues/18#issuecomment-382915193, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYOuaRNeA-2gGNWQXfJd9b42NKCgPx_ks5tqSGHgaJpZM4TbJXi .

RickMcConney commented 6 years ago

I had another user that did a similar thing. They used photoshop to do the color separation then ran each separation through the controller and manually changed the pen between each run, the result was quite good. As the runs take so long there was not really a need to automate the two pen changes. But feel free to try. You can add a new servo command to control the pen changing servo with out having to modify the marlin code just add a new command in the comm.pde file see how the pen up and down are implemented.

jsecondo commented 6 years ago

Already on it. Great coding by the way.

El mar, abr 24, 2018 11:22, RickMcConney notifications@github.com escribió:

I had another user that did a similar thing. They used photoshop to do the color separation then ran each separation through the controller and manually changed the pen between each run, the result was quite good. As the runs take so long there was not really a need to automate the two pen changes. But feel free to try. You can add a new servo command to control the pen changing servo with out having to modify the marlin code just add a new command in the comm.pde file see how the pen up and down are implemented.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RickMcConney/PenPlotter/issues/18#issuecomment-383950299, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYOuSAKwQk7WZqcO29ni9Ry4x1564qSks5trzUQgaJpZM4TbJXi .

jsecondo commented 6 years ago

Have a look at https://www.thingiverse.com/thing:2887182 Still a work in progress. Dealing with the Hatch Code so each line goes in one of the CMYK colors. I'm calculating the color sep before calling Hatch and trying to give the correct color image to each part of the Hatch routine.

When you finish the Hatch process, you turn all the paths to gcode. Is that correct? I'll have to cut the gcode generation in 4 pieces so as to embed the color changing routine (similar to up servo and down servo) in the middle and send to gcode the correct set of paths depending on the color processed.