fbpx

CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Please or Register to create posts and topics.

simCNC customized file-open prompt

Hi everyone,

just wanted to share some of my latest ideas/prototypes with the community.

The standard file-open prompt was hard to navigate on touch screens and I wanted to see some additional information even before opening the file.

So I created a small tool using tk with tree:

  • On expanding a tree node (=file), the Gcode file is parsed for used WCS(s), tool(s) and the Post Processor comment line
  • Upon selection, d.openGCodeFile( string filePath ) gets called to load the GCode

So far I did not try with really large 3d files, but here I could also adjust the PP to output the information as comments in the header rows.

If you are interested I would be happy to share my code, once the tool is complete. 

Best regards,
André 

Uploaded files:
  • filemgr2.png
Chris Mannion, CS-Lab Support and 2 other users have reacted to this post.
Chris MannionCS-Lab Supportdylan1024Dobbelju

Hi,

A very interesting idea.
If you want, we can put your project (when you finish it) in this thread.
I'm sure many users will like it.

Best regards,

Wojtek

Did not really find time to work on the file open prompt until today...
But here is the first beta of the code and an updated screenshot. 

https://github.com/AndreUeberbach/simcnc/tree/main/File%20Manager

Restrictions

  • Currently you can only define one fixed folder in the code
  • Information like comments, tools, wcs requires a modification in the post processor. Will be posting some information on my knowledge base shortly on which changes I did to the standard Fanuc PP in Fusion360. I found this to be more efficient, especially for larger files. Nevertheless, a function to fetch tools from the file itself is still existing in the code in case you need it.

Installation

  • Copy script and folder "icon" to profile/<yourprofile>/
  • Create a new tool button in your GUI and trigger the fileManager.py script
  • Done

Cheers,
André

Uploaded files:
  • filemanager_screenshot.png
CS-Lab Support and Dobbelju have reacted to this post.
CS-Lab SupportDobbelju

Super!
One question, do you ever sleep? 😉

Regards,

Wojtek

andre has reacted to this post.
andre

I was about to ask the same... A lot of the topics I placed in the forum are already implemented in the simCNC Beta. 😉 

Glad you like it! It will take some more fine tuning, but overall I am happy with the functionality already.

Regards,
André

CS-Lab Support has reacted to this post.
CS-Lab Support

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland