- Posts: 5712
- Thank you received: 0
FileManager extensions
5 years 11 months ago #189637
by phillc54
FileManager extensions was created by phillc54
In my ini file I have:
Printing INFO.PROGAM_FILTERS_EXTENSIONS shows:
When using FileManager to open files the extensions are used individually, Is it possible to use them simultaneously, with the exception of "all files"
Code:
[FILTER]
PROGRAM_EXTENSION = .nc,.tap remove z axis stuff
Printing INFO.PROGAM_FILTERS_EXTENSIONS shows:
Code:
['*.ngc', '*.nc', '*.tap', '*']
When using FileManager to open files the extensions are used individually, Is it possible to use them simultaneously, with the exception of "all files"
Please Log in to join the conversation.
5 years 11 months ago #189638
by cmorley
Replied by cmorley on topic FileManager extensions
This is something i have been just working on.
The file dialog works as you want so it is possible.
it wasn't clear to ma at the time how to apply multiple filters simultaneously.
So short answer no but hopefully in the soonish future.
Chris
The file dialog works as you want so it is possible.
it wasn't clear to ma at the time how to apply multiple filters simultaneously.
So short answer no but hopefully in the soonish future.
Chris
Please Log in to join the conversation.
5 years 11 months ago #189639
by phillc54
Replied by phillc54 on topic FileManager extensions
Great, thanks Chris.
Another thing, when I go to Edit Mode the New, Open and Save buttons don't appear to do anything. I guess I am missing something.
Another thing, when I go to Edit Mode the New, Open and Save buttons don't appear to do anything. I guess I am missing something.
Please Log in to join the conversation.
5 years 11 months ago #189640
by cmorley
Replied by cmorley on topic FileManager extensions
Do you have the 'file dialog' option turned on in the screenoption widget?
And yes it does look like the new button doesn't clear the text as it should - i'll fix that.
And yes it does look like the new button doesn't clear the text as it should - i'll fix that.
Please Log in to join the conversation.
5 years 11 months ago #189641
by phillc54
Replied by phillc54 on topic FileManager extensions
Oops. :blush:
Last question today. When a file is opened and run through a filter then a temp file is created and opened by LinuxCNC. Is the original filename available somewhere?
Last question today. When a file is opened and run through a filter then a temp file is created and opened by LinuxCNC. Is the original filename available somewhere?
Please Log in to join the conversation.
5 years 11 months ago #189642
by cmorley
Replied by cmorley on topic FileManager extensions
try ACTION.prefilter_path
It should hold the last loaded file name as a string.
It should hold the last loaded file name as a string.
Please Log in to join the conversation.
5 years 11 months ago #189643
by phillc54
Replied by phillc54 on topic FileManager extensions
Thank you, that works a treat.
Please Log in to join the conversation.
5 years 11 months ago #189760
by cmorley
Replied by cmorley on topic FileManager extensions
ok I pushed an upgrade so extensions work properly in file_manager
Chris
Chris
Please Log in to join the conversation.
5 years 11 months ago #189762
by phillc54
Replied by phillc54 on topic FileManager extensions
Great, thanks again Chris.
Please Log in to join the conversation.
5 years 11 months ago #189845
by phillc54
Replied by phillc54 on topic FileManager extensions
Still doesn't seem to work.
Code:
[FILTER]
PROGRAM_EXTENSION = .nc,.tap
ngc = ./plasmac/plasmac_gcode.py
nc = ./plasmac/plasmac_gcode.py
tap = ./plasmac/plasmac_gcode.py
Warning: Spoiler!
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.163 seconds
