gotcha

Author Topic: Curves between nodes turn to lines when I duplicate  (Read 1173 times)

April 04, 2018, 10:20:51 AM
Read 1173 times

hydara

  • Sr. Newbie

  • Offline
  • **

  • 2
Hi all,

I have come back to Inkscape after not using it for a while to edit a drawing. After I duplicate it, I select Object > Ungroup to edit the individual components, and immediately the lines between the nodes of the drawing become straight (when in the original they are curves). This is not solved by selecting Edit path by nodes > Make selected segments curves, nor by Edit path by nodes > Make selected nodes smooth. Am I forgetting something? I have attached an image of the before (left) and after (right) I ungroup the object.

Thanks for any help!
comparison.jpg
*comparison.jpg
(1287 kB . 5688x4266)
(viewed 273 times)
  • X11 2.7.11
  • Mac OS X 10.13.2

April 04, 2018, 01:09:51 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
This is a butterfly wing, right? Can you rather share  the SVG file, or a similar file that shows the behaviour?

April 05, 2018, 02:03:32 AM
Reply #2

TMadisson

  • Full Member

  • Offline
  • ****

  • 50
  • Gender
    Male

    Male
Could this be due to the threshold settings? These can be found along the top while working on the object. There maybe a setting in there that could help, but i could be right off the mark. Just an idea. Hope you get it sorted.
  • 0.92.3
  • Windows 10 64bit, i7
!'ɯ uoʇ ɐuʇ!-soɔ!ɐן; !'ɯ ɾnsʇ uoʇ nsǝɹ ɟɹ!ǝupןʎ

April 05, 2018, 11:39:37 AM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

I can't think of any obvious reason for this, so probably it's not just something you've forgotten.  Yes, we'll need the SVG file to be able to investigate.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 06, 2018, 12:30:03 AM
Reply #4

hydara

  • Sr. Newbie

  • Offline
  • **

  • 2
Hi all,

Thanks a lot for the replies! Here is the .svg file (it is indeed a butterfly). I hope some of you can work out what is happening because I am not having much luck here...

Thanks again!
  • X11 2.7.11
  • Mac OS X 10.13.2

April 06, 2018, 02:48:06 AM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
How very strange!

I also experience the curves going straight on Ungroup!

When I look at your original image (the Group of 2) in the XML Editor, it identifies the node types as all "c"s, which means corner/cusp nodes (which make straight segments).  But I don't understand how they can be straight segments identified in XML Editor, but be displayed as curves on the canvas.

The node types explain why the segments go straight, but it doesn't explain how they can be looking like curves while they are still in the group.

This problem is over my head.  I can find things going wrong, but I don't know what's causing it.  Hopefully someone else will know, or at least have a clue?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 06, 2018, 09:01:16 AM
Reply #6

TMadisson

  • Full Member

  • Offline
  • ****

  • 50
  • Gender
    Male

    Male
How did you create the lines?

I have just come up with a possible solution for you: select one half of the butterfly, then go to Path > Object to Path and that seems to help retain the shape when you ungroup it.

There is also a path called path3913 that doesn't show anything up on my Inkscape. Is there something there on others?

  • 0.92.3
  • Windows 10 64bit, i7
!'ɯ uoʇ ɐuʇ!-soɔ!ɐן; !'ɯ ɾnsʇ uoʇ nsǝɹ ɟɹ!ǝupןʎ

April 06, 2018, 10:53:50 AM
Reply #7

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
1. You can update your Inkscape version, if you want to. We're at 0.92.3 already, you missed 3 intermediate versions.
2. There have been path effects applied previously to the paths that behave weirdly. But the indication as to *which* path effect that was has been deleted from the path data. Still, the shape that the path effect had created was still in the path data, along with the shape of the original path, without the effect applied. When the grouping is removed, somehow also the shape indication gets removed. So this is how it happened.
I have no idea how the path effect info had been removed from the paths. Did you do any manual edits via XML editor or via text editor on the SVG file?

Selecting the affected paths (find them by searching for "inkscape:original-d" in the Find dialog, make sure to check search in Attribute names and Properties), then doing Path -> Object to Path fixes the issue, and that's the only way it can work.

April 06, 2018, 10:54:39 AM
Reply #8

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Ah, sorry, for Mac you can only update to 0.92.2 currently!

April 07, 2018, 10:54:06 AM
Reply #9

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Moini, what clue did you see, about previously having a path effect applied?  Is it just because there could be no other explanation?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 07, 2018, 12:08:14 PM
Reply #10

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
It's because it had the corresponding info in the svg tag for the path. Something with 'original' in the attribute name. d-original?...