pygerber icon indicating copy to clipboard operation
pygerber copied to clipboard

Add file type recognition from file extension

Open Argmaster opened this issue 2 years ago • 0 comments

I have verified that this feature is not listed as implemented in README.md on main branch (yes/no) Yes


Describe how this feature should work

While given path to a file, pygerber should have option to enable automatic file format (style) detection based on file extension.

Describe syntax of this feature

N/A

Describe why this supporting this feature is important

It would make rendering multiple files with standard extensions much easier.

Additional context

Example extension mappings:

  • https://www.candorind.com/blog/gerber-file-extensions/
  • https://gist.github.com/techniq/92a4fa18d32a2f7a9029
  • https://tinymicros.com/wiki/Protel_Gerber_Layer_Names

Argmaster avatar Sep 15 '23 22:09 Argmaster