Inkscape Community
Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: uxhamby on January 24, 2019, 03:08:37 PM
-
I have been using Visio since 1993, before it was sold into the hands of Microsoft.
One of the features I like and use a lot is creating arrow ended dimension lines for objects, with an integral text field dynamically displaying the relevant dimension with units.
Despite a day or two of researching, I cant find a way to do this in Inkscape.
I'd like to switch over to Inkscape as my old XP machine running Visio is getting long in the tooth and I have otherwise migrated everything I do over to linux.
So, how do I create dynamically annnotated dimension lines in Inkscape?
Pls see the attached pdf of a typical Visio doc showing the sort of dimensioning lines to which I refer.
Thanks,
Brian H.
[ You are not allowed to view attachments ]
-
Welcome to the forum!
There's an external extension for drawing the arrows. I've never used it, so I don't know if it includes the ability to add the text or not.
https://github.com/Rutzmoser/inkscape_dimensioning
Here are instructions for installing the extension: https://inkscape.org/learn/faq/#how-install-new-extensions-palettes-document-templates-symbol-sets-icon-sets-etc It sounds like you probably will be able to understand those instructions. But if you need more detailed instructions, I can show you some steps that I wrote for those who are less technically inclined. Just let me know.
I think I heard that there will be a new LPE (live path effect) for dimensioning arrows, in an upcoming new version of Inkscape. It's possible that it's already available in the version 1.0 alpha, but I don't know that for sure. If you'd like to try it out, let us know and we can give you a link to it.
(Hmm, I guess I need to get around to installing the newest stable version 0.92.4. Possibly it's even available there??)
-
Hi.
There is a live path effect that can generate dimensioning which updates with the shape -haven't seen it in the current stabile but knowing it is in the development master branch, probably made it into 1.0 alpha build.
Then again, sadly you are out of luck. Since 0.924, inkscape dropped supporting win xp systems so not sure if you could install these versions.
-
I'd switch to Linux in that case. Have a look at Ubuntu, Linux Mint or elementary OS, with xfce as desktop.
-
There's an external extension for drawing the arrows. I've never used it, so I don't know if it includes the ability to add the text or not.
I have tried that but havent got it to work yet. (I'll read the instructions you quote) Don't think it does the dynamic text though.
possible that it's already available in the version 1.0 alpha, but I don't know that for sure. If you'd like to try it out, let us know and we can give you a link to it.
I would like to try the version 1.0 beta please send me a d/l link. Thanks.
I'd switch to Linux in that case. Have a look at Ubuntu, Linux Mint or elementary OS, with xfce as desktop.
I have new machines running Linux Mint 19 that I am very happy with. Once I can get assurance that I can replace Visio with Inkscape, I'll pull the plug on my old XP box.
Thanks all,
Brian H.
-
https://inkscape.org/release/inkscape-1.0alpha0/
-
Thanks.
-
Well I have tried out the V1.0 beta and found a set of extensions called "Visualize Path" amongst which "Measure Path is offered. Seems promising.
When I try to use it however, all the response I get is a long winded error message:
/tmp/.mount_Inksca4SxeSO/usr/share/inkscape/extensions/inkex/deprecated.py:67: DeprecationWarning: Effect.OptionParser or `optparse` is very old, it was deprecated when python 2.7 came out in 2009 and is now replaced with `argparser`. You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument` the arguments are similar.
warnings.warn(msg, DeprecationWarning)
/tmp/.mount_Inksca4SxeSO/usr/share/inkscape/extensions/inkex/deprecated.py:67: DeprecationWarning: Effect.affect is now `Effect.run()` with the same args
warnings.warn(msg, DeprecationWarning)
Traceback (most recent call last):
File "measure.py", line 267, in <module>
e.affect()
File "/tmp/.mount_Inksca4SxeSO/usr/share/inkscape/extensions/inkex/deprecated.py", line 144, in affect
return self.run(args=args)
File "/tmp/.mount_Inksca4SxeSO/usr/share/inkscape/extensions/inkex/base.py", line 73, in run
ret = self.effect()
File "measure.py", line 132, in effect
inkex.errormsg(_("Failed to import the numpy modules. These modules are required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy."))
NameError: global name '_' is not defined
Apparently I am missing some "numpy modules" from python.
AAAAAAAAAAARG!
-
These are three errors:
1. AppImage seems to lack numpy. Not your fault. Known issue here:
https://gitlab.com/inkscape/inbox/issues/41
2. Extension tries to translate the error text, but can't. Due to almost all extensions being broken currently.
3. Trying this on an installed version of the alpha (not AppImage), it skips the non-translatable error message error, and gives me one about
"AttributeError: 'module' object has no attribute 'composeParents'".
So, it's broken in many ways, fixing one won't help the other, and if you cannot program in Python or package AppImage, there's nothing you can do.
-
Except for using 0.92.4 for production instead. Which crashes quite frequently, though. 0.92.3 seemed more stable to me.
-
You realize that "alpha" is less stable than "beta", right? Extremely experimental version. I thought you might already know that, so I mention it just in case.
But I thought you wanted to try 1.0 alpha to find out if the new LPE is in it? Is it?
Measure Path is available in the current stable version (where it should be working without errors, afaik). But it only gives you the text. It's not the complete solution that you want. However, there's probably a way to create a somewhat streamlined process, if you wanted to try a compromise. For example, I'm thinking maybe a custom document template might offer some possibilities. Or a 2 step process, with the Dimensioning extension plus Measure Path. Or maybe other routine?
Isn't there a way, using the Measurement tool, to turn the measurement marks into objects? I think there is. I'm not very familiar with that tool, and find it confusing and hard to use. But with some research, it might be possible this would work. Fortunately there is some instructional material on it. Find the Inkscape article in this issue of Full Circle magazine. I haven't read this one, but it's from a very good series! http://fullcirclemagazine.org/issue-121/
Moini, is there any beta version currently? Or is all the new work going into 1.0 alpha?
-
Here is the latest development built for win 64bit:
download link (https://ci.appveyor.com/project/inkscape/inkscape/builds/21920052/job/yp8juqb9d54j6u8w/artifacts)
It has a live path effect called "measure segments".
[ You are not allowed to view attachments ]
-
Wow, that looks awesome!
Thanks for the intro, Lazur :)