J-Tech Laser Post Processor for Vcarve

Just noticed that there is a J-Tech Post Processor for Vcarve users.

1 Like

that is sweet

thanks

I lasered this using the J-Tech post processor

6 Likes

Now I want to add a laser to mine :slight_smile:

I use Vcarve with the laser jtech grbl post processor for my xcarve. It works great.BUT every time I save the gcode file I have to physically edit the gcode to remove all z references. It only takes a short while to do using replace all commands…but it’s a pain. Is their anyone out here such as Larry M that is able to edit the post proceesor to eliminate all z references prior to saving or is this a job for Vectric?

Just a portion of a random gcode saved with jtech post processor trimmed down just to show z movement.

G17
G21
G90
G0Z19.0500
G0X0.0000Y0.0000s255M3
G0X6.9505Y41.9830Z0.0010
G1Z-0.0010F0.0
G1X7.0319Y41.9741F300.0
G1X7.1028Y41.9817
G1X7.1682Y42.0047
G1X7.2282Y42.0430
G1X7.2827Y42.0966
G1X7.3493Y42.2001
G1X7.3987Y42.3283

So what I do is edit to remove as in this example

G17
G21
G90
G0X0.0000Y0.0000s255M3
G0X6.9505Y41.9830
G1Z-0.0010F0.0
G1X7.0319Y41.9741F300.0
G1X7.1028Y41.9817
G1X7.1682Y42.0047
G1X7.2282Y42.0430
G1X7.2827Y42.0966
G1X7.3493Y42.2001
G1X7.3987Y42.3283
G1X7.4293Y42.4765
G1X15.9388Y50.9382
G1X15.9075Y50.9651
G1X15.8186Y51.0896
G1X15.5791Y51.5515
G1X15.4588Y51.8414
G1X15.3603Y52.1253
G1X15.2937Y52.3709
G1X15.2694Y52.5454
G0X0.0000Y0.0000
M05

After this edit its plain sailing with the laser.

I’ll take a look at it and see what changes I would recommend. Are you using the standard JTech Post Processor from their web site?

Hi Larry…yes the standard jtech post processor from the Vectric site. Now just one other thing I left out…I use 3dp burner/sender for all my laser work. I actually prefer it over picsender which I have a licensed copy of. With 3dp there have4 been no problems with grbl hex files needing to be switched when using spindle after laser…it just works) I changed the above gcode settings as to not complicate issues. I usually run between s5000 and s9999 which is full power with my setup. .

I usually turn on arc processing within grbl, do you want that or just no Z movements?

I’m not sure I understand this. Which version of grbl are you running?

It’s the grbl pp on the Vectric site (mm)

Ok. You really have me confused now.

The Vectric site doesn’t have a post processor for the JTech laser. There is a post processor for Vectric products on the Jtech site.

The Vectric grbl post processor does not support the JTech laser.

I don’t know anything about 3DP, where can I read about it?

What version of grbl do you have loaded into your Arduino/X-controller?

OK…I’m an old idiot…steered you in the wrong direction…its the pp on the Jtech website.

Vectric V Carve Pro Laser Post Processor
By jtechphotonicscom on January 25, 2016 in Uncategorized

VectricWe have been asked by a lot of people to make a post processor to the Vectric Software so it can be used with the laser. You ask and you shall receive! We started one for the X Carve, but it should not really have anything that specific in it to make it unusable for other machines as well. If you would like to modify it the source file can be edited with a standard text editor pretty easily. We have made now specific versions for different machine controllers. If you have a new post processor for another controller that you would like to share, just let us know!

The basic concept is that you set up a tool in V Carve Pro that has the laser parameters to it (the spot size is the drill bit width). Then, you draw in V Carve Pro (or other vectric software) to get the file that you want. When you make your G Code, the post processor will change all of the “retract” portions in the file where the spindle moves up to a laser OFF command. Viola!

We have a couple of versions depending on the controller you use. Here are the download links:
(*You need to right click “save link as” to save it versus opening the file… * )

GRBL

DOWNLOAD GRBL INCH VERSION HERE
DOWNLOAD GRBL MM VERSION HERE

3dp burner sender site 3dpBurner: 3dpBurner Sender v1.1 released

I don’t have any way to test this, but here is something you can try. It should only be used for laser work.

Do you know where to copy the file to so that Vcarve can find it?

Yes I can place it in the pp file of the application files of vcarve. But I noticed on your file it still shows z values

VAR LINE_NUMBER = [N|A|N|1.0]
VAR SPINDLE_SPEED = [S|A|S|1.0]
VAR FEED_RATE = [F|C|F|1.1]
VAR X_POSITION = [X|C|X|1.4]
VAR Y_POSITION = [Y|C|Y|1.4]
VAR Z_POSITION = [Z|C|Z|1.4]
VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4]
VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4]
VAR X_HOME_POSITION = [XH|A|X|1.4]
VAR Y_HOME_POSITION = [YH|A|Y|1.4]
VAR Z_HOME_POSITION = [ZH|A|Z|1.4]
I will test it now to see how it goes in generating a gcode.

They should be removed.

Just tried it and NO sign of z movements!!! I think you may have solved my issues…Once again.Your blood is worth bottling.

Ok, hope that works for you. It’s 1:30 am here, I’m off to get some sleep.

Just did an actual run on the xcarve / laser with your new post processor (was going to write pp…but it just didn’t sound politically correct) I have been getting an error of undefined feed rate. On a test file I’ve pinpointed it to line 42 as seen here the next group of code is using the original jtech xcarve pp. where the line is calling for a feed rate of G1Z-0.0010F0.0 S9999M3. Even though your’s is missing the “z” it appears the line still has an incomplete reference to it with G1F0.0 S9999M3. I’ve been through your code and compared it to the original but can’t seem to find the complication.
Line 42 jtech pp
G1X6.7560Y42.1170 S9999
G1X6.8126Y42.0545 S9999
G1X6.8774Y42.0098 S9999
G1X6.9505Y41.9830 S9999
M03 S0
G0X7.0028Y41.9285
G1Z-0.0010F0.0 S9999M3

Line 42 Larry’s updated pp

G1X6.8126Y42.0545 S9999
G1X6.8774Y42.0098 S9999
G1X6.9505Y41.9830 S9999
M03 S0
G0X7.0028Y41.9285
G1F0.0 S9999M3
G1X6.8831Y41.9423F300.0 S9999M3
G1X6.7625Y41.9835 S9999
G1X6.5987Y42.0878 S9999

Once I remove all the former z feed and s lines it works perfectly well.
I appreciate any further help you can give.

I have a Vectric PP I downlaoded (I think from the mach3 forum) based off of the grbl PP that has all z-axis movement removed and works great with my J-Tech Laser. I can upload it when I get home if you would like to compare/try it out.

One of the reasons I"ve been slow to adding a laser to my X-carve is the fact my earlier research showed I had to reflash my grbl arduino with laser specific firmware code to use the laser and then redo it back to where it was before to do normal carving. ( I don’t have the latest Inventables controller, but the one that preceded it with all the open wiring and fans)

Does this JTech PP for Vectric software change that or do I still have to mess with changing my arduino firmware everytime I want to switch back and forth?