Is there anything like "rubber-bands"?

Post questions on how to use or achieve an effect in Inkscape.
theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Is there anything like "rubber-bands"?

Postby theozh » Tue Feb 21, 2017 9:09 am

The thing I am looking for is basically something like the diagram connectores (Ctrl+F2).
However, these seem to be pretty limited and seem only to be able to connect object centers.
I would like to connect two selectable nodes of two different objects and if I move them the rubber-bands will follow.
Is this somehow possible?
Win7/64, Inkscape 0.92.2

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Is there anything like "rubber-bands"?

Postby Moini » Tue Feb 21, 2017 9:47 am

There does exist a new LPE (http://wiki.inkscape.org/wiki/index.php ... ttach_Path) that can do that.
Usage is not straightforward, though, so you may need to experiment a bit.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Is there anything like "rubber-bands"?

Postby brynn » Tue Feb 21, 2017 10:03 am

Generally you can get rubberband-like movement, by selecting certain nodes together, then they move together.

But I'm not clear what exactly you're doing. Could you explain it with a little more detail, or maybe even an a quick example?

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: Is there anything like "rubber-bands"?

Postby theozh » Tue Feb 21, 2017 10:54 am

Thanks @Moini, for the hint. Uhh, this is not intuitive and self-explaining at all :shock: . I need to spend more time on that.

Right, @brynn, if you select the nodes of the object you want to move plus the first nodes of the connecting lines/paths you get a kind of rubberband behaviour. I simply would move the objects around and don't want to bother about the linking/connecting lines, they should just follow like rubberbands.
I just want to have more flexibility than with the diagram connectors (Ctrl+F2). Maybe, I haven't understood completely how they should work.
Win7/64, Inkscape 0.92.2

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: Is there anything like "rubber-bands"?

Postby theozh » Tue Feb 21, 2017 8:10 pm

Thanks again, @Moini, "LPE Attach Path" is the thing called I was looking for.
Indeed, as @Moini said, not easy to figure out how it works. I had the Stroke order: "Stroke,Fill,Marker" and was wondering why I get strage results. Apparently, in my case it needs "Fill, Stroke, Marker".
One example see below.
The idea to this example originally came from the post: viewtopic.php?f=5&t=31847
Where it was asked for partial visibility of objects or stacking order of "connected" objects.

AttachPath.gif
AttachPath.gif (196.69 KiB) Viewed 1426 times
Last edited by theozh on Wed Feb 22, 2017 3:12 am, edited 1 time in total.
Win7/64, Inkscape 0.92.2

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Is there anything like "rubber-bands"?

Postby brynn » Tue Feb 21, 2017 8:14 pm

As far as I remember, the Connector lines used to work like that - where if you move one of the boxes or circles (or whatever is being connected) and the lines/paths move along with it. I haven't tested it in some years though. As I recall, there were at least a couple of options for the style of the connection. The lines could touch or maybe even snap to....hmm....no it was before snapping was introduced, that's how long it's been since I've tested that tool! Anyway, the lines could touch the object, or stop some standard distance away from it, or be aligned to the center of the object (although the line itself didn't enter inside the object)

I remember some discussion, somewhere, and it was some years ago as I said, where Connector tool was being discussed. It sounded like a new version had resulted in bugs being introduced to the tool, which either had not been fixed, or the suspicion was whether the tool, which is not used much (in the opinions of whoever was discussing it) was worth fixing, or maybe should be dropped. But I don't remember who was discussing it.

I can't seem to get the first couple of buttons on the control bar to work. Although there might be some trick I either don't remember or haven't learned.

Oh I see. Ok, the lines do still follow the objects, if you move the objects. But they don't do it live. The connector lines only auto-adjust when I release the mouse button. It seems like I've seen a pref somewhere that makes the adjustment live, but I don't remember if it affects Connector tool or other tool.

Hhm, it seems like if you don't use the center connector handle to begin or end the connector line, and only connect the lines to the stroke of the objects, they won't follow the object when you move the object.

That's all I've got. The manual probably explains a few things.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Is there anything like "rubber-bands"?

Postby brynn » Tue Feb 21, 2017 8:18 pm

I didn't realize you were talking about speech balloons. Connector tools does entirely different thing from speech balloons.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Is there anything like "rubber-bands"?

Postby Moini » Tue Feb 21, 2017 11:14 pm

@theoz: Cool use of the feature, wouldn't have thought of this!
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Is there anything like "rubber-bands"?

Postby tylerdurden » Wed Feb 22, 2017 12:44 am

Yeah, that's a neat trick!
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Is there anything like "rubber-bands"?

Postby brynn » Fri Feb 24, 2017 5:52 pm

theozh, while searching for something else, I came across this video of Jabier's about what I think is a new LPE that's not in Inkscape yet:

https://www.youtube.com/watch?v=lOWTeZC_LjM

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: Is there anything like "rubber-bands"?

Postby theozh » Fri Feb 24, 2017 11:57 pm

@brynn, thanks for that hint. It's the LPE "transform by 2 points" and it is at least in Inkscape 0.92.0.
It's an interesting feature for path transformations but as far as I experienced the path does not keep "sticking" to the other object(s), whereas the LPE "Attach Path" does.
Win7/64, Inkscape 0.92.2


Return to “Help with using Inkscape”