EMF / WMF paths plugin - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6) +--- Thread: EMF / WMF paths plugin (/showthread.php?tid=3082) |
EMF / WMF paths plugin - edb - 11-10-2022 Hello, I have been using wings for some time and wanted to make some plugins for it. The first plugin I've made is a path importer from .emf and .wmf metafile files. As well as importing the path information, the importer also uses the fill colors of the shape. Also, with .emf files, you can clip an image to a path in Inkscape, export as a emf file, and it will be imported as a texture on the shape. The plugin works on v2.2.6 and v2.2.9. beam and source file: wpc_wmf_file_paths.tar RE: EMF / WMF paths plugin - micheus - 11-11-2022 Welcome edb and thanks for sharing this plugin. RE: EMF / WMF paths plugin - edb - 11-11-2022 Thank you! RE: EMF / WMF paths plugin - oort - 12-25-2022 edb, Thanks for your work on these import plugins. oort RE: EMF / WMF paths plugin - edb - 02-22-2023 oort Wrote:Thanks for your work on these import plugins. You're welcome oort. I should have updates to post soon. I've been testing this plugin and the SVG one for a while. RE: EMF / WMF paths plugin - edb - 02-22-2023 Many changes and fixes to the WMF/EMF importer. So far, EMF will import a 100pt square scaled to 1 unit from InkScape. Shown here with a 100pt square from a EPS file for comparison. WMF will import a 100pt square scaled from InkScape and Affinity. Files from other software might import fine but might not be the right scale. The scaling of shapes is user adjustable with a default to 100pt. updated beam and source file: wpc_wmf_file_paths.tar RE: EMF / WMF paths plugin - edb - 02-27-2023 Fixed some things and added a window to viewport scale factor used in some EMF files such as those exported by Affinity. updated beam and source file: wpc_wmf_file_paths.tar Also, a new "fit scale within view" option rescales the shapes to fit in the camera view. updated beam and source file: wpc_wmf_file_paths.tar RE: EMF / WMF paths plugin - edb - 04-10-2023 Updates of some small improvements, including an edge case for wmf files with inverted vertical window extents without an apparent viewport specified, which I've only seen being made by lotus presentation graphics. wpc_wmf_paths.tar Also the plugin was renamed to a shorter name from wpc_wmf_file_paths to wpc_wmf_paths, so the earlier plugin will need to removed from the plugins user folder or unchecked from the plugin manager. RE: EMF / WMF paths plugin - edb - 05-12-2023 A new build with recent fixes: wpc_wmf_paths.tar |