Applying brushes to SVG behaviour



  • Hi. Im having some strange results applying brushes to an svg file. Here is an video:
    https://icedrive.net/s/Da1wj6aY1bx1TPPSfD3gTaiyQWPu

    Additionaly the svg file
    https://icedrive.net/s/yW4FGXzb1Cjiyu2uSFtw9zGhwxj9



  • @marce

    Applying a brush to the SVG in this state doesn't make sense to me.
    Therefore, I ungrouped the SVG and did a Break Apart.

    The nodes of an SVG can then exhibit all sorts of peculiarities that
    could also play a role here. It's important to remember that a brush
    is a shape that attempts to follow a contour. This sometimes works better,
    sometimes less so.
    .
    .
    Here some tips that may be helpful

    Try to correct this by using the brush option.
    (Open Edit Brush > Brush Option)

    In my tries the Brush Size plays a role, try a smaller Brush size.

    Try delete some of the nodes where the distortion occurs.

    And in generell try to reduce the amount of Nodes by smoothing
    the Outline.

    0_1766655543918_Break Apart.png



  • @Subpath Hi! Thanks your advice. Applying a brush with tiny width gives a nice contour effect from this
    0_1766662585123_abf2ec2b-14f8-442a-98a4-560b3074b88a-image.png
    to this
    0_1766662699322_4305921b-10e4-490c-bf0f-28eaec9e0435-image.png

    But in some places you have distortion.
    0_1766662748999_4287bb7c-8687-439f-a80e-035e990cf128-image.png



  • @marce

    I think the distortions might be due to sharp corners? I have no idea if
    VectorStyler could improve them any further.

    We should not forget that the Brush is stretched along the whole outline.

    Therefore, as I mentioned before, it might be helpful to reduce or smooth the
    nodes as much as possible.



  • @Subpath Hi! The image is a traced Tiff. With other programs, old Drawplus you get this applying a brush
    0_1766665412634_154903c9-f719-43be-8d51-b091f8ae4095-image.png
    With the more modern affinity you get something like this
    0_1766665436993_075f9afb-616b-4876-8b6b-0bbe8d17dc8b-image.png
    Appear not related to an error in the svg.
    I opened the SVG in inkscape, where it was originally traced, selected all the nodes and applied the "Auto-smoot" thing, and then exported it and opened with VS. But when you apply brush i get this anyway:

    0_1766665665694_932f1856-131f-423b-a588-d70a38dbbdab-image.png