Author Topic: G-code Simulator  (Read 955 times)

Duivleo

  • Newbie
  • *
  • Posts: 3
    • View Profile
G-code Simulator
« on: October 22, 2016, 09:36:33 AM »
Hello All,

Probably, the below is already known to you. Never-the-less, I want to share this for those who do not.

I think we have  all experienced it all: You have prepared a G-code file (Yes, you can cut and paste and alter) and want to see how it looks like. Also: How may times we have made a text that is different in font-shape/size and found out it did not fit? (I have destroyed quite a few CNC-mils already.)

An easy way is to use a G-code simulator. They are commercially available. But there is a cheap, easy solution which I use.

My CNC-router/Engraver is upstairs, but I do most of my prelim work in the living-room and watch the 9 o'clock news at the same time. How?
Just buy a 2 dollar Nano (See picture of Dummy-Nano), no need to solder the headers to it, just use it for simulation only. Xload your GRBL to it. Start GRBL-controller (= A little piece of software that is free to download. Free?, yes Free. That is as music to a Dutchmen's ear.)

Connect the Nano to comp., load file and begin. With GRBL-Controller, you see the starting-point (is it really in the very left-hand corner?), the max and min of  Y  and X in mm. You will see G-code commands that are not reckonised.

With best regards,
Leo
« Last Edit: October 22, 2016, 09:49:56 AM by Duivleo »

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2532
  • Administrator
    • View Profile
Re: G-code Simulator
« Reply #1 on: October 22, 2016, 10:59:32 AM »
Welcome to the forum @Duivleo...!!!
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup2.5b.exe.zip
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

PD0RUZ

  • Full Member
  • ***
  • Posts: 100
  • Let there be light, LASER LIGHT!
    • View Profile
Re: G-code Simulator
« Reply #2 on: January 04, 2017, 06:29:50 AM »
Welcome Leo,
I'm from the Netherlands too!!

regards Nico
*A3 Laser 2500mW
*T2Laser Licensed software*
*Modified 2.5Watt laser module*
*Running Agastar Linear Pwm laser board*
*Co2 Laser 40W, DSP-X7, Air nozzle, Autofocus, Stepper controlled Z-table*

Coral

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: G-code Simulator
« Reply #3 on: September 09, 2017, 04:47:14 AM »
Hi @ all,
i am from Germany.

The picture above...
You can by it for few bucks, search "Arduino Nano" and/or "CH340" , at your favorite vendor.

Install driver and connecting to pc.
Now you can do these:

All software works like your lasermachine is connected to this pc.
Training yourself flashing the Nano. If killed, you loose only the chip - your laser still working.
Use with breadboard for advanced users.
Have spare part.
Do some testing gcode or software and software for com-ports too.
2 or more pices at same time, imagine your self!


Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4803
    • View Profile
    • T2Laser
Re: G-code Simulator
« Reply #4 on: September 09, 2017, 07:21:40 AM »
T2Laser and BCL have a simulator built in. I can only speak for mine but it is completely independent of the generation side so I use it myself to test code.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2532
  • Administrator
    • View Profile
Re: G-code Simulator
« Reply #5 on: September 09, 2017, 07:45:24 AM »
Same for BCL.

BCL has an intelligent g-code editor and silmulator  that can help you create Arcs and Circles. You start entering the G2/G3 command and BCL's g-code editor will complete the arc and visually show you what you've got so far...as you adjust the arc the simulator will show you how it will look.

See attachment.
« Last Edit: September 09, 2017, 07:46:03 AM by Administrator »
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup2.5b.exe.zip
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

cuhullainn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: G-code Simulator
« Reply #6 on: September 10, 2017, 03:48:16 AM »
Hi,
Newbie on this forum, in fact also anywhere when it comes to laser engraving!
I have been using as G-code simulator "CAMotics" (camotics.org) and found it useful to simulate a tool path.

By the way, really enjoying this forum!!
Cheers and be good!