Inkscape.org
Beyond the Basics Objects sharing or having linked nodes
  1. #1
    dr.spaceman dr.spaceman @dr.spaceman

    There's a problem I could need some help with. I have attached a simplified version of the problem.
    I need to have two objects (red and yellow) that share two nodes (A and B) and the segment between them (1). So that if I move node A in the red object, node A in the yellow object moves too. 
    The obvious question is why don't I just cover one of the objects with the other one?
    I need to be able to use both objects independently as well as together for a generative art project.
    I made the yellow object first, then duplicated it and moved some nodes to make the other object.
    As I work on the project, I have to move the nodes or change the curve of the line for both simultaneously. Is this possible?

    Test Objectsshareborder
  2. #2
    Polygon Polygon @Polygon🌶

    Moving&scaling yes - curvatures can't be altered simultaneously as you can't grab more than one handle at the time.

  3. #3
    dr.spaceman dr.spaceman @dr.spaceman

    OK, I figured out how to do it now. If I want to move node A for both the red and the yellow object at the same time, I have to select both objects with shift first, then use the Edit Nodes tool to make a rectangle over the nodes to select both. Since they are on top of each other, I can only select both by doing it this way.

  4. #4
    dr.spaceman dr.spaceman @dr.spaceman

    Too bad I can't change the curvature, though.

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    Here's a workaround. Open your two shapes at the intersection points and create a third shape for the overlapping area. Select all three shapes and use the node tool to move the intersections and adjust the curvature. Duplicate and [Path > Union] or [Path > Intersection] when you're happy with the layout.

    Shared Nodes
  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    Another workaround:

  7. #7
    dr.spaceman dr.spaceman @dr.spaceman
    *

    Thanks a lot @Polygon, @Paddy_CAD and @TylerDurden

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Objects sharing or having linked nodes