- August 23, 2017 at 5:29 pm #42198
I would scale it with an image editing program first to the dimensions you want.August 23, 2017 at 5:40 pm #42205August 27, 2017 at 8:58 am #42450
Try a different image editing program. Is that a MAC?August 27, 2017 at 10:01 am #42452
Yes sirAugust 27, 2017 at 10:08 am #42453
Dang it could just be a MAC thing. Most here are on windows or linux. MAC isn’t super maker friendly.August 27, 2017 at 10:09 am #42454
Am also running Windows 10 in Parallels, what image editing software do you recommend? Paint.net? Gimp?August 27, 2017 at 10:19 am #42455September 22, 2017 at 12:50 am #44440
I am using Marlin and was wondering if you could ditch the parens you use in the generated gcode? Parens are taken as errors so this is an error (Generated by 3dpBurner Image2Gcode v1.0)
Now if you want to add comments like that to the gcode just put a semi colon at the start of the comment so in this case before each line as such ;(Generated by 3dpBurner Image2Gcode v1.0)
edit: Another real error is a dangling F for feedrate as there needs to be a G1 Fxxxx to set a global feedrate (or set it per axis but no need for that for this).
G28 X Y
G0 Y112.05; Move to top left corner and begin box
The above is some of the code and see that F600? It is a flat out error so the feed rate is never ever set.
Consider these a very simple request and really easy to implement so more can use this software and I thank you for the continued work on this.
edit: I just found something else that is an error “G1 X0 G1 Y0” that extra G1 is an error and it should be G1 Xx Yx and in this case would be G1 X0 Y0. I think a button added for these changes would be nice and make it so it has a broader user base.September 24, 2017 at 2:26 am #44590
For anyone who needs the change to the G1 command (only really need it when using diagonal) load up notepad++ (in windows) and hit ctrl-h. Check the regex radial button so it turns black (it is at the bottom of the search box we opened with ctrl-h) and in the search put this exactly (G. X.*?) G.( Y.*?) Mind you the spaces. In the replace with put this $1$2 and the gcode file will be Marlin ready. While in the notepad++ don’t forget the other two things and just do those by hand. I have a 19meg gcode file and this takes a dang long time on even a Ryzen 1600 OC’d (I was wondering if it had crashed honestly) so I hope the author implements the changes I mentioned.September 24, 2017 at 10:06 am #44612
Regex can do anything. It can even do magic, if you’re a wizard. 🙂
Other places that regex works are with atom (the editor), sed (part of Unix), Python, perl. If you want command line tools like sed, awk, grep in windows, I can say that mobixterm and cygwin both work very well.
Notepad++ is good, but I would also look at atom.September 24, 2017 at 4:35 pm #44641
Regex is the black arts and I wish to stay away from cygwin.
I just looked at the atom page and will try it and I sure hope it can do regex (looks very similar to notepad++) and if it does faster than notepad++ as I just ran into a 64m gcode file and no way would I want to mess with that. I could see 10 mins easily I bet.
I just tried Atom and no thanks it crashed on the same search with the same file that notepad++ had no issues with. Not sure why though.
btw, I take it that this project for Image2Gcode is a dead project?October 9, 2017 at 4:37 pm #45733
Yes, shame there have been no recent posts/updates to this program. I ‘just’ started into laser engraving/etching 2 weeks ago and stumbled unto this software. Personally, from what I’ve seen output wise,it does a great job 🙂 I’ll keep using it until someone suggests something else thats free/low cost as this is just a hobby for me. Thought I’d make a module for my 3D printer to laser etch.
To the original programmer kudos!!!!!
RussBOctober 13, 2017 at 1:25 am #45840
Anyone here know if going to a 32 bit board like a smoothie would increase the engraving speed over a RAMPS setup?
I’ve heard reports of a4 sheets taking hours to engrave.October 13, 2017 at 7:06 am #45854
A standalone laser engraver has very little moving mass so they will always be much faster. The MPCNC has a large moving mass and therefore we move it slower and with slower accelerations. If you watch a standalone etch, you will not want to move your MPCNC that fast.
It isn’t an electronics thing.October 13, 2017 at 9:06 am #45862
When I do raster engraving of some of my 2 colour decal images, I feel I am seeing the mechanically optimised speeds for the device.
It only takes a few minutes to complete a fairly large image. My device has no PWM so the burden is moving the steppers and turning the beam on and off.
I have heard that RAMPS converted machines which are able to do PWM power control are much slower than this (when engraving 8 bit), with more than one voice stating there is a processing bottleneck in the Arduino.
So it seems to me to be electronic not mechanical.October 13, 2017 at 9:10 am #45864
I’m not clear on what that means.
If you are having bottlenecks try using the usb instead of sd card. I will be uploading a project today that doesn’t work on an SD card as the commands come too fast to work on the lcd.
The machine can move 120mm/s x and y until you hit that limit the issue is elsewhere.October 13, 2017 at 2:13 pm #45883
Marlin is a turd for speed whereas GRBL is so fast my 3d printer can’t keep up. Marlin via USB maxes out at around 60mm/s for me and on SD card around 90mm/s. Now Grbl-mega (same exact hardware of Mega 2560 + Ramps 1.4) my physical hardware can’t keep up and after tweaking acceleration and feedrate I physically max out at 148mm/s over USB. I had it doing 300mm/s but it was throwing things off of my wobbly table and while lasering it would make some weird sounds due to my laser having no real weight so I do 145mm/s as that machines physical limitation but it is not due to software.
Once I get in the mood I am changing the entire X axis so my speed will probably go up but a Prusa I3’s weakest point is that X carriage and I can’t do anything about that.January 5, 2018 at 4:26 am #50526
Hi to all, I’m new to the forum and I starting using a laser with my MPCNC.
The Image2Gcode software is very interesting, but looking at the generated gcode that’s something odd.
I’m using the version 1.1 and the beginning of the gcode (after the header) looks like:
(Header end) G90 G21 F3000 G0 Y37,2524; Move to top left corner and begin box G92 X0 Y37,2524 M106 S5 G0 X60 G0 Y0 G0 X0 G0 X0 Y37.26 G1 M106 S0
The red rows seems wrong. The first two rows have a comma instead of the decimal point and the last red row has a G1 command without any parameters.
Maybe the comma is related to the local setting of my PC which uses the comma as decimal point, but all the following code is ok.
It’s also strange that if I change the Origin to Center then the decimal point is omitted:
G0 X-30 Y186262; Move to top left corner and begin box
G92 X0 Y37,2524
Do you experienced the same behavior?
Is there an higher version of the software that v1.1?January 5, 2018 at 9:16 am #50534
Are you using the one that was modified for the MPCNC, found here on the site?January 5, 2018 at 10:12 am #50541
Yes, I’m using the software downloaded from this thread.
The version 1.0 from the first page gave me numbers without the decimal point and version 1.1 at page 8 gave me what I’ve written above.
It’s not a big issue, luckily I found it and I can quickly correct it manually. But the MPCNC will not be happy if I forget to do so.January 5, 2018 at 10:15 am #50542
Shoot I recently moved computers I have no idea what version I had been using. I don’t think I know enough about programming to dive into this stuff to make an updated version. I mostly only even vector etch with inkscape.February 24, 2018 at 10:24 am #53632
I’m having an issue with burning letters with image2gcode. The letters in the image are filled, like in pic one. The letters that are burned are only outlines, like pic 2. I don’t understand why letters would be treated any differently than the rest of the image, but they appear to be, since the rest of the image is filled appropriately. I think I must be missing a setting somewhere but I sure can’t find it…does anyone have a tip for me?
You must be logged in to reply to this topic.