Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Release notes V3.21
On my dropbox is the new GrblGru version V3.21 ready for downloading. https://goo.gl/quFpdZ
I'm very happy to present again another machine. It's a machine with only 2 rotation axes.
The well-known and famous 'EggBot'. The little machine to draw on spherical or egg-shaped objects.
Thanks to my friend from Switzerland, who had the great idea for the EggBot simulation in GrblGru. :)
I've also changed the format of the machine- and settings data. Unfortunately this makes it necessary to make a new full installation.
So, please answer the question in the setup dialog 'Delete old version' with YES.
If you have made your own textfiles, macros or machine models, please make a copy before.
See in the attached video, how you can use this new 3D model to simulate the drawing process of your EggBot.
Have fun with GrblGru
https://www.youtube.com/watch?v=geYI...ature=youtu.be
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Greetings
grblGru is free but is it open source?
What is the software written in?
I searched for a github but did not find one
It would make it more easy for everyone to contribute with lang packs and all sort of stuff keeping you in control of the direction.
Best Regards
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
GrblGru simulation crashes on the following Gcode:
G20
S500
G0 X 0.100 Y 5.900
G0 X 3.858 Y 5.900
G0 X 3.858 Y 5.315
F400
G1 X 3.512 Y 5.315
G1 X 3.360 Y 5.507
G3 X 3.175 Y 5.507 I -0.093 J -0.073
G1 X 3.023 Y 5.315
G1 X 1.968 Y 5.315
G1 X 1.968 Y 5.197
G1 X 3.858 Y 5.197
G1 X 3.858 Y 5.315
G1 X 3.512 Y 5.315
G1 X 3.360 Y 5.507
G3 X 3.175 Y 5.507 I -0.093 J -0.073
G1 X 3.023 Y 5.315
G1 X 1.968 Y 5.315
G1 X 1.968 Y 5.197
G1 X 3.858 Y 5.197
G1 X 3.858 Y 5.315
G1 Z 3.000
G0 X 3.858 Y 5.900
G0 X 0.100 Y 5.900
S0
G0 X 0.000 Y 0.000
M2 (Prgram end)
It is the G3 that causes the crash, found by single step.
The code runs fine on Universal Gcode Sender and UGS Platform.
G3 can cause problems if there are not enough decimal places for the I and J parameters, meaning that the ends of the arc don't meet with sufficient precision. This is not the case when this code is used on Universal Gcode Sender and UGS Platform.
Malcolm
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Good afternoon.
Can this program work with MACH3 MACHINES?
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
@X3msnake
GrblGru is written in c# and until now it's not an open source project.
The program is free and everybody can download it from my dropbox.
You need no internet to work with it and it can control GRBL and also TinyG.
You can add your own 3D machine models and also your own language.
What should it make easier ?
@mp3
Thanks a lot for your feedback and also for your excellent description. :)
I've fixed the bug in my simulation routine.
Because GG is working inside always only with metric mode I've taken also the G20 command in account now.
The simulation should be ok now (hopefully).
If you like to check it, please download a new beta version V3.21.1 from my dropbox.
https://goo.gl/7BGkkO
@indulisap
I've no MACH-3, but CNC4free has checked GG with MACH-3
See https://www.youtube.com/watch?v=vQ0riDz8dTc&t=7s
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
I am trying to use the looping extension and cannot get it to work using the examples from
O Codes
G20
G0 X1 Y0 (move to start position)
F250 (set a feed rate)
#1 = 0 (assign parameter #1 the value of 0)
o101 do
G1 X0
G1 Y[#1/10] X1
#1 = [#1+1] (increment the test counter)
o101 while [#1 LT 10]
(msg, Loop Done!)
M2 (end program)
Goes into and endless loop. I then tried without the 'do while'
G20
G0 X1 Y0 (move to start position)
F250 (set a feed rate)
#1 = 0 (assign parameter #1 the value of 0)
G1 X0
G1 Y[#1/10] X1
#1 = 1 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 2 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 3 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 4 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 5 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 6 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 7 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 8 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 9 (increment the test counter)
G1 X0
G1 Y[#1/10] X1
#1 = 10 (increment the test counter)
M2 (end program)
and that does not work either.
Malcolm
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Using O-Codes needs a special command at the beginning of the Gcode.
This command is 'g#2g'. This activates the great library g#2g, which is a subset of LinuxCNC.
For details please see: https://github.com/nrsoft/gsharp
For example this should works:
g#2g ; Important to activate the lib !!!
#1 = 20
#2 = 2
g91 g1 f500
o100 repeat [3]
x#1
y#2
x-#1
y#2
o100 endrepeat
I have to admit that the special command 'g#2g' came into the program later, and it's nowhere described.
Sorry for that.
Let me point you to the possibility to use the GrblGru macros (toolbar on the right side) for quick checking the O-Code syntax.
For using the macro and the O-codes see link below.
https://youtu.be/5UIVro7R7AU
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Thank you for your rapid response, but I am still having problems.
Leaving "do while" aside for the moment, as I may be able to do what I require with the repeat. When I run macro "planeregion 1" it runs to completion.
When I run "planeregion 3", the repeat macro, it freezes displaying #1 = 20 on the display, as does "planeregion 2" The Start is illuminated green and the Stop is illuminated red. Pressing Stop brings up the "Continue" "Exit" box. Continue just displays "continue" in the window and does nothing further. Exit terminates, leaving "Start illuminated green.
If I continually press start, it cycles through for the three cycles,and displays "finished", but does not do anything in the simulation window. It is as though it is waiting for some unknown response.
The version is V3.21.1
Malcolm
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Do you add the g#2g command ? In the macros of version V3.21.1 they are still missing.
I've send you a PM with my email address. Maybe this way is more convenient to exchange information.
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
I've got some time away from work at the moment, and thought I would take a peek once again into the many user interfaces for GRBL to see what progression there has been in the last year or so. Of course one program to look at is this one.
I have read all of this thread over time. So, I loaded grbl 1.1 on a Nano, then made sure I had the various settings were right and made sense to me using UGS and also grbl panel. On those two, it seems that everything reacts as I would expect, but not so on grblgru. It connects to the port... I can home the machine. But, if I jog any axis, that axis does move, but then anything else I attempt seems to fall on deaf ears. No matter what I click on, I see it send the communication to the board, but nothing moves or reacts. As such, I can not explore any farther. Not sure what to look for to remedy what I am seeing.
Edit: I did just grab the latest release of grblgru and told it to delete the old installation. I ALSO do not see ANY setting to set the program to default to inches. The only settings menu that I have found has nothing like that on it.
2 Attachment(s)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Thanks for your feedback.
To locate the error, I would suggest to check the communication at first.
Please try following:
- Switch on the controller window, that you can see all commands sent by GrblGru in the left side and all commands sent by GRBL in the right window.
- Select the 'Port', that you have connected with GRBL
- Select the 'Controller' = GRBL V1x
- Check if GrblGru has confirmated the correct connection to GRBL (see pic 1)
- Now set the checkbox 'Command line' to checked. Now you are able to enter commands to GRBL like UGS is doing.
- For example enter $i or $g to get the result from GRBL
- Then try 'F1000 g1 x10' and check if GRBL is sending the current position of the X-axis. (see pic2)
You must also see the movement in the 3D graphic view.
You are right. Sorry, but until now GrblGru can only work with metric units.
http://www.cnczone.com/forums/attach...d=378748&stc=1
http://www.cnczone.com/forums/attach...d=378750&stc=1
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Thank you for some tips to look for. I hope to get back looking at it soon. Hopefully I will find what is causing the problem.
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Release notes V3.22
I would like to introduce you again a new version of my program. This time I was engaged with the production
of balustrades for historical ship modeling.
The extremely small dimensions (e.g., 4x4x12mm) and nature of these tiny wooden posts necessitate special machining.
In the video I've tried to describe the process of machining the balusters with a little circular saw.
Have fun with GrblGru
https://www.youtube.com/watch?v=B0jZ2XsUGLY&feature=youtu.be
1 Attachment(s)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Release notes V3.23
Are you still looking for some gift for Xmas ?
If so, maybe I can add an idea for a suitable packaging.
I've created a new Dxf template for a 'Puzzle Gift Box'. There are 6 puzzle pieces that can be put together to a box.
GG provides a Dxf file from all this pieces. So you can import it also to other systems like CamBam, Easel etc.
I've attached some example dxf file. If you are interested to know more, please have a look to the video.
Free download GrblGru V3.23 from my dropbox at https://goo.gl/quFpdZ
Have fun with GrblGru
https://www.youtube.com/watch?v=214Bczo-8uw&feature=youtu.be
1 Attachment(s)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Hello
I need to advise on how to set GRBLGRU for a homemade laser cutter from old HP A3 plotter.
Do not turn off the LASER when moving.
Everything works properly, but the laser is still on.
My machine configuration is tennesseepilot.
2 Attachment(s)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
@mclareniak
I've uploaded a first try for controlling your laser.
Download the beta Version V3.23.4 from https://goo.gl/7BGkkO
To enable the new function please do following:
See pic1
- Select the menu item 'Extras - Machine Manager'
- Select your machine in the first line (tennesseepilot)
- Select 'Laser' = YES
- Press the button 'Accept data'
See pic2
- Select the menu item 'Extras - Settings'
- 'Generating M3 M4 commands' = YES
- Confirmation M03 / M04' = YES
In simulation mode the laser will be shown in green if the laser is off.
It will be shown in red if the laser is on.
Hope this will work for you. Please let me know, if something goes wrong.
@All
Wish you a Merry Xmas and a peaceful New Year :)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Do not change the color of the laser in simulation mode.
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
As I told you, at the moment the color of the laser changed only in simulation mode.
Do you have checked it with the real laser ?
2 Attachment(s)
Re: GrblGru: Free CAM and 3D-Simulation for mills and lathes
Would not it be possible to add such settings in the final version?
GRBL configuration
http://www.cnczone.com/forums/attach...d=382086&stc=1
A laser setting for a laser cutter or laserengraver
PWM for laser
http://www.cnczone.com/forums/attach...d=382088&stc=1
Thank you