GrblGru = Free 3D-Simulation for ShapeOko2

Post Reply
GrblGru
Posts: 232
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Fri May 15, 2015 9:00 pm

Hi all,
today I only like to show you a new machine. This machine is named ShapeOko++ and has a measuring device. So, together with the 4. axis this is my absolut Dream-Machine.
Maybe sombody is interested to upgrade his ShapeOko and can use this model to think about the wide range of options it open up.

Unfortunately the upload size in this forum is limited to 512 KB. So it's not longer possible to provide my program here, because now it need more space. Until I find a professional solution (GitHub, Sourceforge etc.) I try to use my DropBox account. I'm not sure in which language DropBox will show the download dialogs.
In case of german select the button 'Herunterladen' for the download. Please inform me,if you get problems with the download.

Find the actual version here:
https://goo.gl/quFpdZ

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: 232
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Mon May 18, 2015 7:41 pm

just wanted to let you know the first results of moving the 4th axis.
Download V1.32 = https://goo.gl/quFpdZ

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: 232
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Sun Jun 28, 2015 9:53 am

A new version V1.34 is now available at https://goo.gl/quFpdZ

What's new or changed ?
- Fixed bugs in the SVG-Import and the Setup
- Full rework of the STL-Creator
- Added the gear-funktion from 'clockit' to the STL-Creator. Creating 3D-STL model of gears and screw threads.
- Simplified the STL-creation. Easy conversion from DXF and SVG into STL-files. OpenScad is no longer required.

See a short demonstration in the first attached video. For the sake of completeness I added the second video from another thread, which shows the creation of screw threads.

What comes next ?
After I have done a lot of CAD stuff, I will now be looking for some CAM functions.
Your suggestions for this topic are 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

veng1
Posts: 250
Joined: Fri Nov 30, 2012 12:09 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by veng1 » Mon Jun 29, 2015 5:20 pm

My first request is to add a check box to stop on errors.

Here's why. In testing a simulation of F-Engrave on a SO3 running at high speed, I get errors where one of the axes changes to red and the simulation then continues. I'd like it to stop on the first error so I can correct it. I either have the size of the machine wrong or the home position wrong. I'm attempting a sign that will be at the limits of the machine or as close as I can get it.

Second, it appears that the symbol for the origin is not placed at the home position( I think...). Could either that or some other symbol be placed to show where the origin is located?

Last, when I created an expanded SO2 to what I think is the size of an SO3, it did not import the router even though the .stl is in the subdirectory and the laser beam is not visible. Are those problems related or is there some way to turn on the laser/toolpath without the router being visible. I note that there doesn't seem to be an SO3 Dewalt router available not the images for an SO3.

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

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Mon Jun 29, 2015 7:03 pm

First of all thank you for your feedback.

To point 1:
Do you import the G-code or the SVG-file from F-Engrave?
It would be very helpful if you can send me the F-Engrave file that I can check my import function.
It's a good idea to stop after the first error. I will change the program.

To point 2:
The middle of imported data is always positioned at the 'Work Coordinate Origin', which you can choose with
the button 'SetWork Coordinate Origin'. This point is the end of the laser beam, which you can adjust with the 'L' parameter of the groupbox.
But I can add in the next version a symbol on the wasteboard.

To point 3:
I'm not sure to understand right. Do you design your own expanded S02 STL model and import it with the machine-manager ?
Or do you use the settings parameter 'ExtensionX' and 'ExtensionY' on the settings page ?
If you have created your own machine it would also be great, if you can send me your stl-files.

I have asked long time ago to get the SO3 stls, but it seems that Edward has no time. http://www.shapeoko.com/forum/viewtopic.php?f=37&t=5996

Sorry, that you get so much errors, but I am sure we will solve this problems.
Attachments
SettingsPage.png
SettingsPage.png (12.46 KiB) Viewed 1688 times
OriginPoint.png
OriginPoint.png (15.05 KiB) Viewed 1688 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

veng1
Posts: 250
Joined: Fri Nov 30, 2012 12:09 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by veng1 » Mon Jun 29, 2015 7:39 pm

1. G-code sent by PM.

2. The laser is not visible, see Point 3

3. I attempted to build an expanded machine using the Machine Designer and did not get what I expected so I just copied SO2 to SO3 and increased the size in the settings parameter. There is no router or laser visible. The final tool path is visible.

Yes, it appears Edward is too busy right now to release the files, perhaps understandably.

I don't think I'm getting too many errors, I think I haven't figured out all of the details yet. But because it is at least 10km to my shop and machine, without any internet besides my mobile phone, there is good reason to master this in my "nice warm chair".

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

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Mon Jun 29, 2015 8:32 pm

Wow, you are the first who try this way !!!
If I start my little adventure in this forum, I thought the main feature of the program is the possibility to build your own machine.
But it takes half a year until your 'appearancees'. So, of course I will do my very best, that you still can sit in your chair.
Thanks for the file. Please give me a little bit time to check all.
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: 232
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Tue Jun 30, 2015 6:20 pm

Point 1:
I have checked the G-code file and found the reason of the error. There are some parameters used which are defined by:
#1 = 0.2500 ( Safe Z )
#2 = -0.0050 ( Engraving Depth Z )
I have never seen this before. Which controller do you use that accept this syntax ? Whatever, I have updated the program, that now the nc-interpreter understand this syntax.
Please, let me point you to the possibility to 'import' the G-Code file. In this case the program will only read the geometry as an 2D graphics. Then you can use the ID -> NC Dialog to move, scale, mirror and rotate the 2D object. Also you can choose the normal working and the rapid traverse speed. But the (hopefully) best feature is that you can choose the infeed and the sum of infeed. For example if you choose the sum of infeed = 0.5mm and an infeed = 0.4mm GrblGru will generate 2 runs.
The first one is 0.4mm and the second one is the rest = 0.1mm. So you get x rough and one (the last) finish process.

Point 2 + 3:
I think these points are related. I have writen the 'MachineDesigner' program to give the people the chance to design their own machine.
But I have got no sign that somebody used it. So I have worked no longer at this project. But I have transferred the possibility to scale the machine into the 'GrblGru' program. You will find the both inputs on the settings page.
In your case (to simulate the SO3) I recommend to use the normal 'shapeoko2' machine and use the 'ExtensionX' and 'ExtensionY' parameter.

If you can send me some information about your router type, height, diameter etc, I can try to create the router-stl. If the body is mostly symmetric round, it would be fine if I get the profile (skyline). If we have the router in the next step we can try to build a new machine.

The new version V1.35 is available at the same place. Please inform me, if something doesn't works.
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

WillAdams
Posts: 8542
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by WillAdams » Tue Jun 30, 2015 6:40 pm

GrblGru wrote:Point 1:
I have checked the G-code file and found the reason of the error. There are some parameters used which are defined by:
#1 = 0.2500 ( Safe Z )
#2 = -0.0050 ( Engraving Depth Z )
I have never seen this before. Which controller do you use that accept this syntax ? Whatever, I have updated the program, that now the nc-interpreter understand this syntax.
Your supporting that is _very_ cool, and affords the possibility of using GrblGru as a pre-processor which will accept G-code (typically written by hand) which makes use of variables and loops &c. and then exporting G-code (or sending it to the machine) so that it uses that.

We do list some references for this: http://www.shapeoko.com/wiki/index.php/ ... References --- curious to know if you're interested in supporting that sort of thing.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets
Nomad 883 Pro #596 (bamboo)

veng1
Posts: 250
Joined: Fri Nov 30, 2012 12:09 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by veng1 » Tue Jun 30, 2015 7:42 pm

1. This is an exact copy of the output of F-Engrave. It has not been tried with any controller. I want to confirm that I'll get what I want before driving to my shop and cutting wood. That is what I see as the value of simulation, measure twice, cut once.

However, the way I read this is that is is a replaceable variable and probably defined in the G-code specification regardless of whether it is supported by a specific processor. My guess is Mach 3 would support it but I'm now playing with an SO3 in an attempt to see if it does everything I want. If not, I'll rip the controller off the SO3 and simple replace it with an Mach3 (or Mach4) chain.

2. I'm using a stock SO3 and a Dewalt 660. I also have an expanded SO2 with a Dewalt 611 but that uses Mach3.

Like probably many here, I'm eagerly awaiting Edwards release of SO3 CAD files. It's a major pain to drive to my shop to measure the hole spacing, ect., to make limit switch mounts, drive home, 3D print them and then drive back to see if they fit.

Thank you for the quick response in updating the code. I'll try it and get back to you.

Post Reply