microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.02k stars 6.31k forks source link

Feature Request: DXF preview #17271

Open smithjl1 opened 2 years ago

smithjl1 commented 2 years ago

Description of the new feature / enhancement

The addition of SVG file preview has been extremely useful. Could this be expanded to include the DXF vector file format?

Scenario when this would be used?

Current process requires opening heavy supporting apps to preview the vector, such as Autodesk, Inkscape, Corel Draw, Illustrator, etc. Using the same mechanism as SVG file preview would offer similar benefits.

Supporting information

DXF is an open-source vector file format created and supported by Autodesk.

crutkas commented 2 years ago

would be great if you could provide 1 or 2 sample files here.

smithjl1 commented 2 years ago

Sure thing - here's 2 sample files. Note that I wasn't allowed to upload a DXF, so I've made them a .TXT extension. Please change the extension back to DXF to test. Thanks! DXF-Sample 1.dxf.txt DXF-Sample 2.dxf.txt

callmeTayyy commented 2 years ago

From what I understand, all of the File Explorer add-ons use WebView2. That means that the previews use a web browser (MS Edge) under the hood, to open the SVG. Since DXF is not a web standard, I think it is unlikely to come into fruition.

crutkas commented 2 years ago

That is not true, we are using it for certain things but not everything. Our markdown previewer is an actual application for instance.

callmeTayyy commented 2 years ago

That is not true, we are using it for certain things but not everything. Our markdown previewer is an actual application for instance.

I'm sorry, I didn't know that. Thanks for clarifying. ☺

crutkas commented 2 years ago

No worries. Preview pane can use a lot of stuff. Also remember a web view 2 control needs to be hosted by an app :)

alula-fpv commented 1 year ago

Would be very helpful if this could be extended for .dxf preview, Thanks.

nnkrishnan commented 7 months ago

It would be great if PowerToys could also support DWG files as well. Typically, to open/preview them, we are required to install large CAD packages. These packages also take a lot of time to load the file on startup. So, if Peek can support both DXF and DWG, it will be a great feature.

nckrwlmn commented 4 weeks ago

Bump this, we need support for DXF files. It's an industry standard CAD format, it ought to be supported.