GrblGru = Free 3D-Simulation for ShapeOko2

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Mon Sep 17, 2018 6:15 pm

@halfnormal

mea culpa

I already have a guilty conscience because I haven't made a posting to the GrblGru area yet.
I've already read a lot of interesting things in your forum about lasers and I'd really like to buy a laser and do some experiments with it.
But at the moment I have a lot of ideas, lots of unfinished projects, 2500 square meters of garden where the lawn and the hedge have to be cut and ... no time :)

Once again many thanks for your offer, but I think I really have to buy a website soon to organize my stuff.

GrblGru
My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Sat Sep 29, 2018 6:34 pm

Release notes V3.31

since some time I have the wish to be able to cut threads on my CNC lathe.
Since the costs for a regulated drive of the main motor and the necessary control would exceed my hobby budget, I tried to mount a stepper motor parallel to the main motor. In normal turning mode the stepper motor is dismounted, in extended mode the main motor is switched off and the stepper motor makes the work. The whole thing is controlled by a cheap Arduino Uno and GRBL.

Since it is first of all only a test, I have carried out the assembly of the motor according to the "Quick & Dirty" method.
The result was nevertheless quite encouraging. Since the stepper motor does not have the power of the main motor, I made some adjustments to the program. Further functions are to follow.

In addition to threading the possibilities of the controlled rotary axis are enormous. :)
Particularly in connection with a small grinding device the following things are quite conceivable: Worm grinding, sharpening drills, grinding turning steels ... etc.
Maybe someone would like to upgrade his lathe as well. I would be happy to receive tips and suggestions for further applications.

The video shows the current status as usual.

Have fun with GrblGru

My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

Alexmoon
Posts: 16
Joined: Tue Sep 04, 2018 11:16 am

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by Alexmoon » Mon Oct 29, 2018 8:41 am

GrblGru wrote:Release notes V3.31
Hi, friend!
I have the idea how to make a GrblGru effective for assessment of the control programm.
Current version of the program displays zero point in the lower left corner, or at a point that has user's coordinates. But it doesn't allow to define precisely errors in the control program, for example – violation of the working area limits. Wouldn't you like to add process of precision measurement of coordinates of a zero point of rather "home position" to the program?
I'd like to suggest this algorithm:
1. Set machine zero point manually or by G-code
2. GrblGru fix the zero point.
3. GrblGru gives a command to the machine for "homing cycle"
4. GrblGru receives from the machine the distance traveled from the zero point (offset from the zero point to the home position).
5. GrblGru calculates the coordinates of the zero point based on the obtained data and machine settings.
6. GrblGru sends the machine a command “return to the zero position”
7. GrblGru corrects the visualization data of the control program and checks violation of the working area.

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Tue Oct 30, 2018 1:09 pm

Thanks for your improvement suggestion and of course I am willing to add changes to the program.
However, I have not understood why it is not yet already possible to check a violation of the work area.
Probably, this is because I have not mounted any limit switches on my machine and therefore do not use homing.

But it should be so that the real machine moves into the corresponding position during homing (mostly in the back right corner).
and then the virtual machine moves in the graphic to the position entered in the Machine Manager under 'Reference Point Position'.
After that the virtual machine should be synchronized with the real machine.
If the "Check limits" switch is now set in the settings, you can only move manually within the working range.

If you load a GCode file and start it in the simulation, the displays of the axis position turn red when you leave the working range.
Is it better to abort the program here ?

I am very interested in making GrblGru suitable for practical use.
So, please can you explain again why this procedure does not work ? What did I ignore ?

pic 1.jpg
pic 1.jpg (703.43 KiB) Viewed 1207 times
pic 2.jpg
pic 2.jpg (917.49 KiB) Viewed 1207 times
My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

Alexmoon
Posts: 16
Joined: Tue Sep 04, 2018 11:16 am

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by Alexmoon » Mon Nov 12, 2018 7:29 am

GrblGru wrote: So, please can you explain again why this procedure does not work ? What did I ignore ?
Hi, GrblGru!
Many hobby cnc-machines have a manual drive, using a knob (this is more convenient)
But in this case, after manually setting the origin, the machine loses its coordinates.
Therefore, I thought that homing should be done after setting the origin.
Attachments
Right.jpg
Right.jpg (279.17 KiB) Viewed 1099 times

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Tue Nov 20, 2018 8:37 pm

Sorry, I still don't understand.

You're right, of course. With my solution you start Homing once. After that everything is determined. If you go somewhere after that, virtual and real position are the same.
Everything's fine. But if you adjust one of the axes by hand with the knobs, it is no longer true.

If I have understood it correctly, you touch a workpiece by turning the knobs (spindles) with the tool and then set the zero point.
How do you determine the exact length of the tool ? And how do you relate the machine to the workpiece ? I also have difficulty imagining how to touch the workpiece in X and Y direction.

Do you have a photo of how to set the zero point?
My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

Alexmoon
Posts: 16
Joined: Tue Sep 04, 2018 11:16 am

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by Alexmoon » Thu Nov 22, 2018 7:12 pm

GrblGru wrote:Sorry, I still don't understand
Hi!
My main problem is that I can't control the trajectory for going beyond the boundaries of the workspace.
Also I don't have any joystick, remote control or another way to accurately set the instrument to the zero point after performing homing cycle.
That's why I just rotate X Y Z axle shafts using knobs until the end of the tool coincides with the zero point on the Stock. After that I push the Origin button in the programme (for example GrblGru) with x=0, y=0, z=0
I configure the managing programs so that the starting point has coordinates x=0, y=0, z=0
My idea is then to perform a homing cycle to measure the distance from origin to home position. Then connect the machine coordinates to the virtual ones, return to the origin and start executing the managing program already controlling its boundaries.
This applies mainly to the X and Y axes. The Z axis can be disregarded.

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Fri Nov 30, 2018 7:47 pm

Thanks, I think I get it now. :)

I think we can do that with the help of macros. But I need your help.
As already mentioned, I don't have any reference switches on my machine. Therefore I would like to ask you to try the following:

1. start the homing process
2. press the macro button "parameters" and note the positions.
3. touch your part as described with the knobs.
4. press the macro button "parameters" and note the positions.
5. press the "Origin" button.
6. press the macro button "parameters" and note the positions.
7. start the homing process
8. press the macro button "parameters" and note the positions.

This is to find out how and where GRBL processes and stores the homing position.
If we know in which values the distance between the homing position and the reference position (0,0,0) is contained,
we can create a new macro that travels the corresponding route.

If you don't see the macro bar on the right side of the screen, you can turn it on in the settings.
Image 001.png
Image 001.png (80.16 KiB) Viewed 956 times
Image 002.png
Image 002.png (27.73 KiB) Viewed 956 times
My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Thu Dec 06, 2018 8:04 pm

Release note GrblGru V3.32

Unfortunately I haven't been able to document the improvements and innovations made to the GrblGru program lately.
In order to reduce this backlog a little, I would like to introduce the new functions chamfering and thread whirling to you today.

While thread whirling of internal threads is well known, the possibility of producing external threads is rather unknown.
In this little video I would like to show you how to make a screw (made of styrofoam) and a nut.

Up to now I have always been of the opinion that thread whirling could only be used for special cases due to the relatively high costs of the tool.
But after I made good experiences with the production of thread whirlers from old taps from the scrap crate,
I will be considering this procedure more frequently in the future.

Free download, as usual from my dropbox bit.ly/2xF1KJ8_GrblGru_Release

Have fun with GrblGru

My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

GrblGru
Posts: 231
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Fri Dec 28, 2018 9:00 pm

Release notes V3.33

"Between the years" is known to be the time when you always want to do all the things you don't get to do in the rest of the year. For me, documentation is at the top of the list.
Therefore I would like to present you today the new tool management in my program GrblGru. In the focus is the possibility to integrate pictures of your milling cutters into the program.
Unfortunately, I always very quickly forget which cutter is good for what, and a picture and some notes helps me a lot.

As usual you will find a short video in the attachment showing the current status.
I would be pleased about suggestions, improvements, tips etc. But of course criticism is also welcome.

Have fun with GrblGru


My workflow: Only a 2D-editor and GrblGru, that's it
Free download from https://GrblGru.com
Youtube: https://www.youtube.com/channel/UC4_AHk ... 61ZW4qBHWA

Post Reply