NC Files
14 Mar 2014 03:37 #44780
by ArcEye
PROGRAM_PREFIX=
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
[FILTER]
www.linuxcnc.org/docs/html/config/ini_co...sub_filter_section_a
regards
www.linuxcnc.org/docs/html/config/ini_co...ub_display_section_a
[FILTER]
www.linuxcnc.org/docs/html/config/ini_co...sub_filter_section_a
regards
Please Log in or Create an account to join the conversation.
21 Mar 2014 23:40 #45040
by tjamscad
Will this work, I want to open bascially any file type.
FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .ngc gcode file
PROGRAM_EXTENSION = .txt possible gcode file
PROGRAM_EXTENSION = .nc possible gcode file
PROGRAM_EXTENSION = .NGC gcode file
PROGRAM_EXTENSION = .TXT possible gcode file
PROGRAM_EXTENSION = .NC possible gcode file
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
ngc = gcode file
txt = gcode file
nc = gcode file
NGC = gcode file
TXT = gcode file
NC = gcode file
FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .ngc gcode file
PROGRAM_EXTENSION = .txt possible gcode file
PROGRAM_EXTENSION = .nc possible gcode file
PROGRAM_EXTENSION = .NGC gcode file
PROGRAM_EXTENSION = .TXT possible gcode file
PROGRAM_EXTENSION = .NC possible gcode file
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
ngc = gcode file
txt = gcode file
nc = gcode file
NGC = gcode file
TXT = gcode file
NC = gcode file
Please Log in or Create an account to join the conversation.
22 Mar 2014 01:45 #45050
by ArcEye
Try it, if you don't want to mess up your own config, try editing one of the sim config ini files.
It should do, you will just have to change the file type to any file in the file selecting dialog, or you won't see them.
regards
Will this work, I want to open bascially any file type.
Try it, if you don't want to mess up your own config, try editing one of the sim config ini files.
It should do, you will just have to change the file type to any file in the file selecting dialog, or you won't see them.
regards
Please Log in or Create an account to join the conversation.
22 Mar 2014 20:02 #45096
by ArcEye
Hi
Now back in front of a linux machine
Your entry would not have worked, largely because you have the entry 'gcode file' where in fact there should be an executable which is used to load that file.
You could use /usr/bin/axis but that is unnecessary because all files are loaded by axis, it is just that some require the output from another file to be loaded and not the file itself, eg image-to-gcode
This is the optimal entry
You can add any file extensions to the list in the comma seperated fashion shown
Listing them produces a menu entry on the file chooser dialog, so that files with those extensions are visible
Note the pic below lists the same extensions as my list and that the file loaded is actually a .txt file
regards
Now back in front of a linux machine
Your entry would not have worked, largely because you have the entry 'gcode file' where in fact there should be an executable which is used to load that file.
You could use /usr/bin/axis but that is unnecessary because all files are loaded by axis, it is just that some require the output from another file to be loaded and not the file itself, eg image-to-gcode
This is the optimal entry
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .ngc,.NGC,.nc,.NC,.txt,.tap Gcode file
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
dxf = image-to-gcode
py = python
You can add any file extensions to the list in the comma seperated fashion shown
Listing them produces a menu entry on the file chooser dialog, so that files with those extensions are visible
Note the pic below lists the same extensions as my list and that the file loaded is actually a .txt file
regards
Please Log in or Create an account to join the conversation.
21 May 2014 01:26 - 21 May 2014 01:27 #47115
by LAIR82
Last edit: 21 May 2014 01:27 by LAIR82.
Please Log in or Create an account to join the conversation.
21 May 2014 15:40 #47145
by ArcEye
Hi
You will have to ask Norbert on his thread re Gmoccapy, I don't know anything about it.
If it still uses the ini file entries but does not have a default 'All Files' drop down, you could probably add it like so
regards
You will have to ask Norbert on his thread re Gmoccapy, I don't know anything about it.
If it still uses the ini file entries but does not have a default 'All Files' drop down, you could probably add it like so
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .ngc,.NGC,.nc,.NC,.txt,.tap Gcode file
PROGRAM_EXTENSION = .* All Files
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
dxf = image-to-gcode
py = python
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds