Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Hi,
New member here. I've followed the guidelines re: seeking answers (looking at FAQ's, the manual, etc.) but have NOT found answer to my problem. It's this: my bezier lines seem to have a mind of their own. For example I create a simple straight line with the Bezier Tool and set its width to 1pixel. However, Inkscape (Version 0.92.1 r15371 on Windows 10 home) keeps reverting it to 0.999. Or if I set it 35 pixels, Inkscape will revert to 34.999.
This doesn't seem that important but I am noticing that the widths of the Bezier curves I'm attempting to create are inconsistent. I'm at my wit's end. I tried uninstalling and reinstalling this version but the same problem occurs. Thanks for any suggestions.
New member here. I've followed the guidelines re: seeking answers (looking at FAQ's, the manual, etc.) but have NOT found answer to my problem. It's this: my bezier lines seem to have a mind of their own. For example I create a simple straight line with the Bezier Tool and set its width to 1pixel. However, Inkscape (Version 0.92.1 r15371 on Windows 10 home) keeps reverting it to 0.999. Or if I set it 35 pixels, Inkscape will revert to 34.999.
This doesn't seem that important but I am noticing that the widths of the Bezier curves I'm attempting to create are inconsistent. I'm at my wit's end. I tried uninstalling and reinstalling this version but the same problem occurs. Thanks for any suggestions.
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Have you noticed what happened to cause the width to change? Or did you notice when it happened?
My best guess is that you inadvertently have an LPE applied to the paths. But it would be better if you can identify what happens which causes the width to change, and share an SVG file which displays the problem with us, in case we need to look deeper into it.
If this is happening when you scale the object (make it smaller), then you need to look at a button on the Selection tool control bar "When scaling objects, scale the stroke width by the same proportion" button (4th from the right).
If something else seems to be the trigger, as I said, let us know. We might want to look at an SVG file that shows the problem, especially if we haven't seen the problem before.
My best guess is that you inadvertently have an LPE applied to the paths. But it would be better if you can identify what happens which causes the width to change, and share an SVG file which displays the problem with us, in case we need to look deeper into it.
If this is happening when you scale the object (make it smaller), then you need to look at a button on the Selection tool control bar "When scaling objects, scale the stroke width by the same proportion" button (4th from the right).
If something else seems to be the trigger, as I said, let us know. We might want to look at an SVG file that shows the problem, especially if we haven't seen the problem before.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Additional thing to try: Update to 0.92.2, the current version. It's maybe not going to solve this issue, but it contains many bug fixes for the previous version (uninstall first, then install the new version to avoid other issues).
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Thank you so much for the reply.
It's not occurring when I scale objects up or down. (I'm aware of that button.) Let me clarify further. (sorry!)
I create a simple straight Bezier Line. I attempt to change it to a path ('Stroke to Path'). After doing this, the line width becomes variable!
I'm attaching the .svg file for your review. Again thank you so much.
It's not occurring when I scale objects up or down. (I'm aware of that button.) Let me clarify further. (sorry!)
I create a simple straight Bezier Line. I attempt to change it to a path ('Stroke to Path'). After doing this, the line width becomes variable!
I'm attaching the .svg file for your review. Again thank you so much.
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Ok I just downloaded 92.2 and the exact same thing just happened! I created another sample file which shows the strange results. Thanks for your help.
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Like this??
Single bezier path, stroke to path:

Single bezier path, stroke to path:

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/
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/
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Could you please add the original path into the file, too?
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Moini - Not sure what you're asking me to provide. But I'll add the steps I took before the end result. File's attached now.
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Yes, exactly, this was what I was asking for.
Can you now upload a copy of your preferences file? I cannot reproduce with my Inkscape, so I think some setting in Inkscape must be off to give you that result.
You can find the file if you follow the link given at Edit > Preferences > System > User preferences.
I suspect there's a problem with your precision settings.
Can you now upload a copy of your preferences file? I cannot reproduce with my Inkscape, so I think some setting in Inkscape must be off to give you that result.
You can find the file if you follow the link given at Edit > Preferences > System > User preferences.
I suspect there's a problem with your precision settings.
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Something is wacky with the converted path's xml...
I daresay we have a bug. I get similar on my system.
Maybe related to to the OPs issue, maybe not.
Code: Select all
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.796;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 143,199 c -3,1 -5,2 -8,5 v 0 c 4,-3 7,-4 10,-4 3,1 6,2 10,4 7,4 16,8 30,0 v 0 c -14,7 -23,3 -30,0 -3,-2 -6,-4 -10,-5 -1,0 -1,0 -2,0 z"
id="path4666"
I daresay we have a bug. I get similar on my system.
Maybe related to to the OPs issue, maybe not.
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/
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/
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
The 'd' thing with all the values with a single decimal max is probably related to the issue, the text-related info for a bare path is weird. I cannot reproduce that in a new and empty file - but I can in the original file.
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Yeah, numeric precision at low values seems to mess things up a bit. Fun testing... 



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/
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/
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
By 'Preference File' do you mean the specific Pen setting? I took a screen shot of it. Will try to attach it.
Sorry I'm not a real techie so sort of stumbling through this.
....
Ok I rec'd a message when trying to attach the file that it was too big (I saved the screen shot as a .png in Paint)!!
Are you looking for 'Ctr + click dot size' setting (i'm not sure what that is)? It's set to 2.90 times current stroke width....
Sorry I'm not a real techie so sort of stumbling through this.
....
Ok I rec'd a message when trying to attach the file that it was too big (I saved the screen shot as a .png in Paint)!!
Are you looking for 'Ctr + click dot size' setting (i'm not sure what that is)? It's set to 2.90 times current stroke width....
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
P.S. Ok I'm making headway ... I just learned that the Preference file is kept here:
~/.config/Inkscape/preferences.xml (0.47 and later)
So now I'm just searching around in my C: Programs/Inkscape for it. Not having much luck. If you have a tip for me, it would be appreciated. ha ha
~/.config/Inkscape/preferences.xml (0.47 and later)
So now I'm just searching around in my C: Programs/Inkscape for it. Not having much luck. If you have a tip for me, it would be appreciated. ha ha
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Set the file browser to display hidden files. See https://www.howtogeek.com/howto/windows ... ows-vista/
(the article is for Win 7, 8, and 10).
(the article is for Win 7, 8, and 10).
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
~ means your home folder. So C:\Users\yourname
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Sorry - what I should have written, instead of the above two posts:
You can find the file if you follow the link given at Edit > Preferences > System > User preferences. (as I said above)
You can find the file if you follow the link given at Edit > Preferences > System > User preferences. (as I said above)
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
I'd set the numeric precision to 8, in preferences... Last button on the top right. Look for SVG output.
Then try the drawing.
Then try the drawing.
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/
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/
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Beth,
I have the same issue with stroke to path. Since I don't use that option very much, I do a simple workaround - add more nodes. You can do this before or after applying stroke to path. Very easy, select your object or path, in node mode select all the nodes (or just the ones involved), click the + to add nodes, might need to click it a couple of times. I usually forget to do this until after I've used stroke to path, but once nodes are added, it appears normal again, sometimes I chg the nodes to be smooth type. quick and easy.
dee
I have the same issue with stroke to path. Since I don't use that option very much, I do a simple workaround - add more nodes. You can do this before or after applying stroke to path. Very easy, select your object or path, in node mode select all the nodes (or just the ones involved), click the + to add nodes, might need to click it a couple of times. I usually forget to do this until after I've used stroke to path, but once nodes are added, it appears normal again, sometimes I chg the nodes to be smooth type. quick and easy.
dee
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Hey! I set the precision to 8 in preferences, and I'm not experiencing any weirdness after I set the stroke to a Path. Cool! THANKS!!!
Question re: where my Inkscape Preference file is and how to locate it. So, it's 'C:\Users\Beth/config/Inkscape/preferences.xml, correct? When I enter that in the Windows Search bar, I get no results. I did switch on my 'Hidden Files' too.
Not sure how generous of your time you're still feeling, but I ran into an error message in the particular project I'm working on, for the 3rd time. I'm attempting to apply 'Perspective' to a 67-node path object I created. Here's the error message:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension.Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml
Technical details:
No module named lxml
Question re: where my Inkscape Preference file is and how to locate it. So, it's 'C:\Users\Beth/config/Inkscape/preferences.xml, correct? When I enter that in the Windows Search bar, I get no results. I did switch on my 'Hidden Files' too.
Not sure how generous of your time you're still feeling, but I ran into an error message in the particular project I'm working on, for the 3rd time. I'm attempting to apply 'Perspective' to a 67-node path object I created. Here's the error message:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "C:\Program Files\Inkscape\python\Lib/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension.Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml
Technical details:
No module named lxml
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Just wanted to quickly say THANKS again. I love Inkscape for its simplicity and straightforwardness. 3 months ago I found Nick Saporito's Youtube Inkscape tutorials, and I am loving it. Down side is I have to learn Adobe Illustrator 'cuz that's what the employers want.
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Another user had this issue a while back and this was the solution at the time:
Here's where I'd look for preferences.xml:
(FWIW, there are other Ai users here too...)
I had this problem on 64-bit Windows 7 and discovered it was caused by a previous installation of Python, which had installed an environment variable called PYTHONHOME in the system variables. Deleting this variable solved the problem. This isn't at all a satisfactory solution, because whatever it was that was previously using that environment variable now can't, but at least it makes Inkscape work.
He is how to get rid of it:
- From the Start menu, type "System" and select System from the list (under 'Control Panel').
- Click on 'Advanced System Settings' from the panel on the left.
- Click the 'Environment Variables' button at the bottom.
- Under 'System Variables', scroll down until you find a variable called 'PYTHONPATH', write down what its value is, so that you can recreate it if you need it, and then delete it.
-Close and open Inkscape, and try to see if it's worked. (There was no need to restart the computer in my case).
Here's where I'd look for preferences.xml:
(FWIW, there are other Ai users here too...)
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/
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/
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Just for clarity: we don't need the preferences file anymore, as you've changed the precision value (out of curiosity: do you remember the value it had originally?), but if you ever need it, you can look up where it is located from inside Inkscape, following the instructions: "You can find the file if you follow the link given at Edit > Preferences > System > User preferences" - or, if everything on your Windows system is on default settings, as it most probably is, use the screenshot above by TD for guidance.
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Precision was set to '2'.
Thanks again for all your help.
After work today I'll see how it is acting.
Thanks again for all your help.
After work today I'll see how it is acting.
Re: Bezier lines inconsistent width (Inkscape 0.92.1 r15371)
Thank, Beth - that value fits the SVG data we saw. Let us know how it goes with the Python!
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)