Brucek5 Posted September 26, 2021 Share Posted September 26, 2021 I'm using Affinity Designer to create "Paths" for a Windows .NET application in XAML. When I'm done in Affinity Designer, I export in the .SVG format and import into InkScape. Then I use InkScape to export to a .XAML file. What I have found is if I create a path in Affinity Designer and only move control points, everything is fine. But if I move a path, Affinity Designer is applying a transform. When converted to .XAML, there's whole bunch of transform code for every path moved. Is there a way to move a path where it simply moves all the control points rather than wrapping them in a transform, or "Bake" the .SVG or .afdesign file where all paths are absolute points (hence removing all the transforms)? Bruce Kingsley Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted September 26, 2021 Share Posted September 26, 2021 Not entirely certain what you mean by Control Points. I am going to go on the assumption that you mean Nodes. I am also assuming the moving is done in Designer not InkScape. When you move a path are you shearing or rotating it? If so then just select the path with the move tool and use the Boolean Add function. Layer > Geometry > Add. Quote Mac Pro (Late 2013) Mac OS 12.7.2 Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
PixelPest Posted September 26, 2021 Share Posted September 26, 2021 You can get rid of matrix transforms in Inkscape with this extension: https://github.com/Klowner/inkscape-applytransforms Quote Link to comment Share on other sites More sharing options...
BofG Posted September 27, 2021 Share Posted September 27, 2021 9 hours ago, Brucek5 said: I'm using Affinity Designer to create "Paths" for a Windows .NET application in XAML. When I'm done in Affinity Designer, I export in the .SVG format and import into InkScape. Then I use InkScape to export to a .XAML file. What I have found is if I create a path in Affinity Designer and only move control points, everything is fine. But if I move a path, Affinity Designer is applying a transform. When converted to .XAML, there's whole bunch of transform code for every path moved. Is there a way to move a path where it simply moves all the control points rather than wrapping them in a transform, or "Bake" the .SVG or .afdesign file where all paths are absolute points (hence removing all the transforms)? Bruce Kingsley In the svg export settings, tick "flatten transforms". Quote Link to comment Share on other sites More sharing options...
Brucek5 Posted September 27, 2021 Author Share Posted September 27, 2021 Thanks for the help, it worked! I can't believe I missed the "flatten transforms" option. BofG 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.