Inkscape.org
Beyond the Basics Looking for sample svgs with filled with horrible transforms
  1. #1
    inklinea inklinea @inklinea⛰️

    Looking for sample svgs with filled with horrible transforms

    Hello friends. 

    I wanted to ask if you could provide any links to a freely available svg you have found with horrible transforms throughout, that need to be flattened. 

    For example if you have a link to a file on creative commons or openclipart or some other trustworthy site. 

    Or if you have a simple example of your own that you cannot fix ? 

    I *think* I'm about 90% of the way to finishing an extension that forces Inkscape to internally recalculate and flatten transforms.

    Many thanks.

  2. #2
    Stella Stella @BearOfTheSeas

    Hi there, does the issue I'm having in this thread have to do with transforms being unflattened? Would you like a copy of the file in question?

  3. #3
    inklinea inklinea @inklinea⛰️

    yes, post it

    I'll have a look.

     

     

  4. #4
    Stella Stella @BearOfTheSeas

    Here you go, thanks! The power strokes are currently corrected via a width multiplier of 0.4, change this to 1 to see the weird behavior.

    Weird Post Transform Power Strokes
  5. #5
    inklinea inklinea @inklinea⛰️

    The attached video shows what I see. 

    Inkscape 1.3.2 (1:1.3.2+202311252150+091e20ef0f)  on Ubuntu 22.

     

    Peek 2023 12 20 19 53
  6. #6
    Stella Stella @BearOfTheSeas
    *

    Sorry, I wasn't clear - if you set the multiplier to 1 and compare the width dialog (the one that comes up when you shift click a control point) to your rulers you should see that it's understating the width by a factor of approximately 2.5, the same factor as the transformation. This is what I'm suspecting could be an effect of an unflattened transform, but I could be completely off base.

  7. #7
    inklinea inklinea @inklinea⛰️

    I'm not 100% sure what is causing that. 

    However, have a look at the attached file.

    I have added another layer, and hidden the orginal layer, does it behave correctly ? 

    Weird Post Transform Power Strokes Modified
  8. #8
    Stella Stella @BearOfTheSeas

    Unfortunately it still doesn't - as you can see in the attached screenshot, the selected node is showing a width of 1.6mm, yet you can see from the rulers that the width is actually around 4mm.  Did you flatten the transforms in the duplicate layer?

    Screen Shot 2023 12 20 At 2.15.55 Pm
  9. #9
    Lazur Lazur @Lazur
    *

    Here goes my 2 cents.

     

    Edit: changing the attached svg to a zipped file.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Looking for sample svgs with filled with horrible transforms