When integrating dxf2gcode in linuxcnc, case sensitivity comes into play if the extension is in capital letters (.DXF). In my case, I made the following changes:
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION =.DXF 2D ACad/QCad Drawing
PROGRAM_EXTENSION =.dxf 2D ACad/QCad Drawing
dxf = dxf2gcode.py
DXF = dxf2gcode.py
PROGRAM_FILTER = python
PROGRAM_EXTENSION = *.py Python Script
Is there a way to remove case sensitivity (as applies to the .dxf extension) without redundancy?
I ran into this problem when I downloaded a sample .DXF file from the web. The edit above was my weak attempt at solving the issue. However, it doesn't cover all possibilities.
I have a little programming knowledge and that helped me see the problem, but not everyone is in the same boat. It would also be a relatively simple fix to point out to users that extensions would need to be converted to lowercase, at the very least.
Thanks in advance