XGview a small gcode viewer

XGview a small gcode viewer

Postby xpix » Thu Dec 19, 2013 2:18 pm

Hello,

the intrest from comunity was wrong. I stopped the development. Here the Sourcecode:

https://github.com/xpix/XGView

cu and have fun
xpix

hello,

last month i checked a new language C#.

I was very impressed about the super Visual Express IDE with here Intellisense. Very nice, i try something and decide to make a small Project:

sh_001.PNG
First Screenshot
sh_001.PNG (132.14 KiB) Viewed 2355 times


It's a easy to use gcode viewer. He is very fast, i used a tutorial from a german book and add load and reset button. I'll publish the source tomorrow. The Parser for gcode is very simple, now he understand all G0 and G1 Moves ... but at this time he has Problems with ARC's, he draw only a line but for the first start the program are very slim and fast:

http://www.youtube.com/watch?v=csrHxIPgjlg

It exists a LOT ToDos in my Brain:

* Mouse support for zoom, rotate and move camera
* Drop file and load it
* start with argument to load gcode file
* gcode support (Planes, Arc's, ...)

May some People want to test this small Program, let me know and what do u think about it?

cu
xpix
Last edited by xpix on Tue Jul 01, 2014 7:27 am, edited 1 time in total.
xpix
 
Posts: 218
Joined: Thu Sep 06, 2012 6:47 am

Re: XGview a small gcode viewer

Postby WillAdams » Thu Dec 19, 2013 2:54 pm

Very cool!

Post a download link and we'll add it to the wiki. I've been wanting a light-weight G-code previewer (NC-Corrector bogs down on my machine --- I'm using an old free version of NC Plot), so this could be perfect for me.

Things I'd love to see:

- an option for dropping a folder full of files and auto-chaining them together
- detect file changes and auto-refresh the preview each time a file changes
- the ability to measure the extent of a given set of files and create a minimal G-code file which would traverse the working area

There were a bunch of other ideas from the forum thread about a ShapeOko app: viewtopic.php?f=6&t=1321
Shapeoko 1 #364R “Watchmaker” w/NEMA17s, ¼″ driveshaft, alu spacers, double MakerSlide(375mm) X-, Acme Screw Z-, 1M Y-Axis
Shapeoko 3XL #0006 w/Makita RT0701 Router w/0.125″ Elaire collet
Nomad 883 Pro #596 (bamboo)
WillAdams
 
Posts: 7892
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15

Re: XGview a small gcode viewer

Postby akhlut » Thu Dec 19, 2013 5:46 pm

Excellent! You should check out repetier-host. It has a very nice gcode previewer.

Sent from my SAMSUNG-SGH-I717 using Tapatalk
akhlut
 
Posts: 304
Joined: Wed Mar 27, 2013 1:16 am

Re: XGview a small gcode viewer

Postby xpix » Fri Dec 20, 2013 12:04 pm

WillAdams wrote:Very cool!

Things I'd love to see:

- an option for dropping a folder full of files and auto-chaining them together
- detect file changes and auto-refresh the preview each time a file changes
- the ability to measure the extent of a given set of files and create a minimal G-code file which would traverse the working area



For the first time i try to display arc's, this is very hard but possible :)

To your points:
- drag and drop works now, to display a folder with files is possible. I'll think about it.
- auto-refresh are a very nice idea ... on todo
- traverse ... why the extra gcode file, what is the target?
xpix
 
Posts: 218
Joined: Thu Sep 06, 2012 6:47 am

Re: XGview a small gcode viewer

Postby WillAdams » Fri Dec 20, 2013 12:23 pm

xpix wrote:- traverse ... why the extra gcode file, what is the target?


As a final safety check, before running a file, I like to make a matching file which moves the gantry completely around the working envelope --- I load and run the traversing file before loading and running the actual cutting file.
Shapeoko 1 #364R “Watchmaker” w/NEMA17s, ¼″ driveshaft, alu spacers, double MakerSlide(375mm) X-, Acme Screw Z-, 1M Y-Axis
Shapeoko 3XL #0006 w/Makita RT0701 Router w/0.125″ Elaire collet
Nomad 883 Pro #596 (bamboo)
WillAdams
 
Posts: 7892
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15

Re: XGview a small gcode viewer

Postby cvoinescu » Fri Dec 20, 2013 1:11 pm

WillAdams wrote:As a final safety check, before running a file, I like to make a matching file which moves the gantry completely around the working envelope --- I load and run the traversing file before loading and running the actual cutting file.

Excellent idea. Better bump into a limit at the beginning of the job, rather than in the middle of it and ruin the job and/or break a bit.
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk
cvoinescu
 
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK

Re: XGview a small gcode viewer

Postby xpix » Fri Dec 20, 2013 1:13 pm

WillAdams wrote:
xpix wrote:- traverse ... why the extra gcode file, what is the target?


As a final safety check, before running a file, I like to make a matching file which moves the gantry completely around the working envelope --- I load and run the traversing file before loading and running the actual cutting file.


Cool, i put this on todo ...
xpix
 
Posts: 218
Joined: Thu Sep 06, 2012 6:47 am

Re: XGview a small gcode viewer

Postby xpix » Sun Dec 22, 2013 3:24 pm

Today i was succesfull to display ARCS with command G2 and G3. Deep Thanks to he creator of universalGcodeSender: Will. He help me to understand his code in UGS to display curves with G2 and G3 commands.

This was a milestone for the viewer, now i move to Berlin and celebrate the christmas time with my Family :)

At end of this year i'll publish the exe file for some beta tests. Here a small screenshot:

Arcs.PNG
First running arcs
Arcs.PNG (79.2 KiB) Viewed 2254 times
xpix
 
Posts: 218
Joined: Thu Sep 06, 2012 6:47 am

Re: XGview a small gcode viewer

Postby akhlut » Sun Dec 22, 2013 5:36 pm

Fantastic!

Sent from my SAMSUNG-SGH-I717 using Tapatalk
akhlut
 
Posts: 304
Joined: Wed Mar 27, 2013 1:16 am

Re: XGview a small gcode viewer

Postby xpix » Mon Dec 30, 2013 3:28 pm

Hello and a happy new Year!!!

Ok, here is the first beta version from XGView. please download the exefile and try to start this:

https://www.dropbox.com/sh/8ikic51swda3 ... GDI_3D.exe

sh_002.PNG
Published Beta
sh_002.PNG (54.9 KiB) Viewed 2199 times


I guess u need minimum .Net 4.0. Ok, here the released points:

* DragNDrop possible, put gcode file in mainwindow
* rotate in all axis via buttons
* display only GRBL compatible gcode
* display maximum/minimum in status bar after load gcode file
* add menu bar with load, quit reset and about
* resort navigate buttons
* can draw arc's!!! Thanks to will from UGS!

So, hope u like it, if u have some problem with gcode files. Please send me the file and i want to test this.
xpix
 
Posts: 218
Joined: Thu Sep 06, 2012 6:47 am

Next

Return to Software - CAD, CAM, Workflow Help

Who is online

Users browsing this forum: No registered users and 1 guest