Page 1 of 29

GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Fri Nov 28, 2014 8:15 pm
by GrblGru
I'm considering to buy a ShapeOko2 machine. To see how the machine works, I looked for a
simulation program. Of course there are a lot of good programs, but I did not find any program
showing the concret ShapeOko-machine.

So I start developing a small 3D-simulation program.

The features are:

- 3D-representation of the ShapeOko 2 in working process
- other machines can be added
- laser simulation
- Simulation- and real GRBL-Mode
- work area limitation
- single step mode
- NC-editor

Maybe it's interesting for someone else.
GrblGru V1.7.7z
program installation
(436.67 KiB) Downloaded 5065 times
(old, deprecated version)

*****************************************************************************************************************

Download Actual GrblGru version : https://goo.gl/quFpdZ

*****************************************************************************************************************




*****************************************************************************************************************

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sat Nov 29, 2014 9:59 am
by GrblGru
maybe some screenshots are helpful

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sat Nov 29, 2014 11:50 am
by cvoinescu
Judging by what I see in the screenshots, am I right to assume that your program shows the toolpath, but does not simulate the cutting operation itself? OpenSCAM, for instance, given G-code and information about the geometry of the stock and the endmill, computes and shows the shape of the part that's left after milling.

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sat Nov 29, 2014 2:00 pm
by GrblGru
You are right. GrblGru shows only the toolpath, but also you can see the movement of every axis.
In single-step mode you can watch all movements step by step. So it's possible for example, to check if
one position is outside the normal working area. In this case you will see an intersection of
machineparts and the concerned axis-posion is marked red (see attched screenshot)

Unfortunately I've never heard about OpenSCAM, but your idea to calculate the part after milling
process sounds very interesting to me. Would it be usefull, if GrblGru would do this ?
Or is there any program doing this already ?

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sat Nov 29, 2014 9:22 pm
by cvoinescu
OpenSCAM already does it. It also calculates the extents of the toolpath (the bounding cuboid), so you can tell at a glance if it exceeds your workspace. It's also very easy to see if the parts fit on the stock you have.

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sun Nov 30, 2014 10:51 am
by GrblGru
Meanwhile I have installed OpenSCAM and You're right again. It's a realy good Software to show
every thing around the 3D-Workpice. I like it very much and will use it in future. Thanks for that.

In contrast to OpenSCAM the idea of GrblGru is, to show the machine and its movements in 3D.
Until now I only realized the ShapeOko2 and my self-made machine, but you can add the geometry
of your own machine.
Every machine have an entry in the file 'machine.dat' and every axis is stored in files with vertices
and triangles similar to the STL-format. If you add this files, the program will automatically show
also your machine.

In summary, one can say that GrblGru is only a simple program, and the best way to decide if it is
useful or not, is to try it. It's free.

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sun Nov 30, 2014 12:38 pm
by WillAdams
I think it's brilliant and incredibly useful --- esp. for a person who is considering or has ordered a machine.

They can try out an entire, end-to-end workflow while waiting for their machine to arrive and achieve a bit of confidence in it and a better understanding how how the machine works.

Added the following to the wiki:

== How to determine if a Shapeoko is right for you ==

Please look through the wiki, esp. the Project links and see if the machine is capable of the sort of projects which you wish to make. Check the [[Materials]] page to see if it can cut the materials necessary for your projects.

=== 3D Machine Simulation===

Forum user Grblgru has created a 3 dimensional software simulation of a Shapeoko (which can be extended to mimic other machines). This will allow one to do an end-to-end simulation of a production workflow, including (virtual) machining operations.

and will be adding a bit more on the software pages.

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Sun Nov 30, 2014 1:01 pm
by WillAdams
A couple of bug reports / notes:

- install only allows one to set the location of the program, not of the data files (should they auto-update?)
- should data files go into some sort of sub-folder?
- seems to require a larger screen size than 1024 x 768
- if you left-click drag, a bounding box is drawn, but not cleared and seems to be persistent until the program is terminated

Could post a text file listing the terms which it uses for the interface so that we can crowd-source a translation?

Some eye candy for those who are on the fence about downloading:
grblguru_screengrab.png
grblguru_screengrab.png (120.24 KiB) Viewed 37292 times

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Mon Dec 01, 2014 12:36 am
by WillAdams
GG --- are you planning on opensourcing this?

I think it'd be way cool to have it on Github or Sourceforge.

At a minimum, would you be willing to post the .zip archive to the wiki? That way non-forum members would be able to access it --- I took the liberty of mentioning it on Reddit: http://www.reddit.com/r/CNC/comments/2n ... lator_for/

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Posted: Mon Dec 01, 2014 3:57 pm
by CrazyBillybob
If you change the default install directory (from C:\program files (x86) to T:\\program files (x86) you receive and error that the directory can not be created. the path it shows as not being able to be created is C:\program files (x86). Not sure if this a valid error or just the default verbiage in a generic error.

Thanks,
CBB