GrblGru = Free 3D-Simulation for ShapeOko2

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

GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Fri Nov 28, 2014 8:15 pm

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 4995 times
(old, deprecated version)

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

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

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




*****************************************************************************************************************
Last edited by GrblGru on Tue May 19, 2015 6:19 pm, edited 5 times in total.
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: 230
Joined: Sat Nov 01, 2014 5:44 pm

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Sat Nov 29, 2014 9:59 am

maybe some screenshots are helpful
Attachments
ScreenShot2.pdf
self made 'Milli'
(453.12 KiB) Downloaded 1690 times
ScreenShot1.pdf
ShapeOko in action
(505.72 KiB) Downloaded 1109 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

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by cvoinescu » Sat Nov 29, 2014 11:50 am

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.
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

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

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Sat Nov 29, 2014 2:00 pm

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 ?
Attachments
Intersection.pdf
x-axis outside working area
(362.46 KiB) Downloaded 666 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

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by cvoinescu » Sat Nov 29, 2014 9:22 pm

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.
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

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

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by GrblGru » Sun Nov 30, 2014 10:51 am

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.
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: 8514
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 » Sun Nov 30, 2014 12:38 pm

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.
Shapeoko 3XL #0006 w/Makita RT0701 Router w/0.125″ and ¼″ Elaire precision collets
Nomad 883 Pro #596 (bamboo)

WillAdams
Posts: 8514
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 » Sun Nov 30, 2014 1:01 pm

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 36625 times
Shapeoko 3XL #0006 w/Makita RT0701 Router w/0.125″ and ¼″ Elaire precision collets
Nomad 883 Pro #596 (bamboo)

WillAdams
Posts: 8514
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 » Mon Dec 01, 2014 12:36 am

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/
Shapeoko 3XL #0006 w/Makita RT0701 Router w/0.125″ and ¼″ Elaire precision collets
Nomad 883 Pro #596 (bamboo)

CrazyBillybob
Posts: 197
Joined: Mon Dec 16, 2013 2:09 pm
Location: Ohio
Contact:

Re: GrblGru = Free 3D-Simulation for ShapeOko2

Post by CrazyBillybob » Mon Dec 01, 2014 3:57 pm

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

Post Reply