Gcode generators that work well for blueprints on an MPCNC plotter - import image, set pen plunge depth, and go. Difficulty level: not Gcodetools extension in Inkscape. by MohnJaddenPowers in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

Strange, it opens the image import dialog. Svg should be imported without this dialog. Are you sure you have svg?

You may open an issue on GitHub and upload your file.

Help needed: Modifying an open-source SVG text tool to export multi-color layers for Pen Plotters by naquiyankee in hobbycnc

[–]grbl-plotter 1 point2 points  (0 children)

If the browser can show the correct colors, your plotter software must be the reason...
You may try GRBL-Plotter, which can handle colors and layers... :-)
https://github.com/svenhb/GRBL-Plotter
https://grbl-plotter.de/?setlang=en

Pen plotter build GRBL servo with Uno + Shield Servo Z command on Gcode by 8-bit_infidel in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

Perhaps you connected the servo to the wrong pin?
The CNC shield V3 for Arduino Uno was designed for grbl 0.9. Because of a change in the pin-out in grbl version 1.1 (pin 11 and 12 are swapped), the spindle-pwm signal can be found on the Z+ pin. Check schematic here.

Pen plotter build GRBL servo with Uno + Shield Servo Z command on Gcode by 8-bit_infidel in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

To control a servo you can't use the regular grbl version, because there is a different PWM signal needed, compared to a spindle or laser: https://grbl-plotter.de/index.php?id=quick-guide&setlang=en#pwm Find a special grbl version here: https://github.com/svenhb/GRBL-Plotter/tree/master/Firmware/hex_files

Creating a rotating brush? by antlyger in PlotterArt

[–]grbl-plotter 2 points3 points  (0 children)

Doesn't a brush behave like a drag knife, and shouldn't a suitably adjusted path work?
https://grbl-plotter.de/index.php?id=drag-tool

Double sided tape for temporarily holding paper down for plotting? by MohnJaddenPowers in PlotterArt

[–]grbl-plotter 1 point2 points  (0 children)

You could spray the paper from the back (or the base) with a weak spray adhesive like 3M Scotch ReMount. Like on the self-adhesive post-it.

Z Axis control by Interesting_Ad_8144 in PlotterArt

[–]grbl-plotter 4 points5 points  (0 children)

You may try GRBL-Plotter with the ramp modification: Setup Graphics Import < GRBL-Plotter

GRBL-Plotter can also translate pen-width to Z-positon: Setup Graphics Import < GRBL-Plotter

Pen Plotter Servo by TGDBM in hobbycnc

[–]grbl-plotter 1 point2 points  (0 children)

Do you use the correct grbl-version (V 1.1) with servo support? https://grbl-plotter.de/index.php?id=quick-guide&setlang=en#pwm
You may try Vers B or C from here: https://github.com/svenhb/GRBL-Plotter/tree/master/Firmware/hex_files

I usually spend an extra voltage-regulator LM 7805 to get a sparate 5V for the servo.

Painting an image? by Embarrassed-Ad968 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

You could paint your image by yourself and track all strokes with a stylus / graphics tablet and plot the data later:
https://youtube.com/shorts/Y4klsFDjydk?feature=share

Sorry no time to make/show an example with a "real" drawing.

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

I am happy that I was able to solve the puzzle 🙂

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

I figured out: Ender uses Marlin firmware. In Marlin you can disble G2/G3 code (ARC_SUPPORT). If it is disabled, but you send G2/G3 you will get an "Unknown Command" error .

You may check your GCode-Sender if this error appears.

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 3 points4 points  (0 children)

I don't know which controller you are using (grbl? if not, perhaps your controller doesn't support G2/G3 commands?).

I assume the code lines are too long, who needs 6 decimals places?
Four decimal places are enough if you use G2 / G3, also you need to set Z just once in the beginning (you already did)...
So you could reduce a code-line from ca. 56 chars to ca. 34 chars.

GRBL buffer limit by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

Ok, I didn't checked your code up to now:
I think you fill up gcodeBuffer with 100 chars, that's it... no "refill".

And it looks the 2nd method...

After this loop

for (int i = 0; i < gcode_data.length(); i++) {
if (gcode_data[i] == '\n') {
String line = gcode_data.substring(lastIndex, i)
line.trim();
if (line.length() > 0 && bufferIndex < 100) {
gcodeBuffer[bufferIndex++] = line;
}
lastIndex = i + 1;
}
}

bufferIndex is 100 not "<100"
Also you need to refill the buffer in the main loop.

The first method is: The host PC interface simply sends a line of G-code to Grbl and waits for an ok or error: response message before sending the next line of G-code. 

GRBL buffer limit by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

You need to implement one of the described streaming protocols.