Image
 
 

5021

 

12370

Dimensions

Inkscape extension to assist creating dimension annotations.

Inkscape Extensions

Area
1202x379
Size
48.7 KB
Created
Type
image/png
General Public License v3 (GPLv3)

Link

Maren Hachmann wrote :

fsmMLK, could it be that the name is accidentally the one of the image instead of the extensions'?

fsmMLK wrote :

yes! tks

Maren Hachmann wrote :

Maybe you want to change the name of your upload, then? Click on Edit to change the title.

Philippe SIMONS wrote :

Hello fsmMLK,
I am new to Inkscape, running on mas OS, Iam trying to add this extension but it does not show up in the Extension menu.
I have download and copied the content of inkscapeMadeEasy first in my /Users/username/.config/inkscape/extensions and then the content of inkscapeDimensions ...
but nothing .
Can you help please.

brynn wrote :

Please see Community page for links to support communities.

mbarcelos wrote :

Hello! Thanks for this! Could you do a option with serif dimension?

fsmMLK wrote :

What do you mean by serif dimension?

Lin Yuan wrote :

when I first created a linear linear, everything worked fine. But when I then create a linear dimensions, the dimension arrow of the previously created disappears.
Can you fix this?
Also, can the annotated arrows be the same as linear linears?
Thanks

Daniel La Valle wrote :

I cannot make this work on Windows...

mbarcelos wrote :

Serif dimmension: https://allaboutcad.com/wp-content/uploads/2019/04/acadtips_arch_dim-4.jpg

There is a way to? Also, how to change font style in all?

fsmMLK wrote :

included new marker styles, including serif. =)

vanzandtj wrote :

Thank you very much for the "Dimensions" tool! It's a great timesaver. I do have a question about the numerical value shown for the dimension. Under document properties, I set the scale factors to 1.0 user units per mm. I created a 40 mm square, set display units (at the top of the Inkscape window) and the dimension units (in the Dimensions window) both to "in", and the dimension scale factor to 1.0. Inkscape displays a width and height of 1.575 in as expected (40/25.4=1.5748). However, the Dimensions tool (with two significant digits) indicates "0.42". Where does that come from? I expected it to indicate "1.58", like Inkscape. I could change the Dimensions scale factor (to approximately 1.58/.42) to correct the displayed dimension, but why would that be necessary?

fsmMLK wrote :

I will check what is going on.

vanzandtj wrote :

Upon further investigation, I found Inkscape 0.92 seems to handle scaling poorly. Specifically, when setting the scale factor (in document properties) different from 1, the view box has a different size than the page as expected. However, the rulers still show the position and size of the paper, not the view box. Also, the X, Y, W, and H values are for the paper rather than the view box. This makes it awkward to specify object sizes using real-world dimensions.

This seems to have been fixed in Inkscape 1.0beta1. However, the Dimensions extension apparently doesn't work there. (I installed the files in the extensions directory, but nothing showed up in the extensions menu.) I hope you will port the Dimensions extension to 1.0beta1. In fact, since they have apparently changed the way scaling works, effort spent on 0.92 might have to be repeated with 1.0.

I'm running Inkscape 0.92 under Debian Linux, and 1.0beta1 under MacOS.

vanzandtj wrote :

My mistake - I'd installed the files incorrectly in Inkscape 1.0beta1 on the Mac. After fixing that, the Dimensions extension does show up in the extensions menu. Unfortunately it generates an error:

Traceback (most recent call last):
File "dimensions.py", line 7, in <module>
import inkscapeMadeEasy_Draw as inkDraw
File "/Users/jrv/Library/Application Support/Inkscape/config/inkscape/extensions/inkscapeMadeEasy_Draw.py", line 44, in <module>
import textextLib.textext as textext
File "/Users/jrv/Library/Application Support/Inkscape/config/inkscape/extensions/textextLib/textext.py", line 121
except StandardError, e:
^
SyntaxError: invalid syntax

fsmMLK wrote :

my extension is not ready to run with inkscape 1.0. I am waiting to have a more stable 1.0 version and some expension documentation to make the adjustments.

reselty wrote :

Hi fsmMLK

I got so many mistakes trying to make your extension run.
Played with Inkscape 0.91 + 0.48 / Latex en-/dis-abled in config as well with + without # in "inkscapeMadeEasy_Draw.py"

See my errors:
Use Latex in config: disabled AND enabled (tried both)
inkscapeMadeEasy_Draw.py: # useLatex=False

Traceback (most recent call last): File "dimensions.py", line 7, in <module> import inkscapeMadeEasy_Draw as inkDraw

File "D:\z_Temp_nicht BackUpn\USB-Stick,20140205\Programme\Graphik,Zeichnen\inkscape-0.48.5-1-win32\inkscape\share

\extensions\inkscapeMadeEasy_Draw.py", line 44, in <module> import textextLib.textext as textextImportError: No module

named textextLib.textext

************************************************

Use Latex in config: enabled
inkscapeMadeEasy_Draw.py: useLatex=False
-->
Traceback (most recent call last): File "dimensions.py", line 7, in <module> import inkscapeMadeEasy_Draw as inkDraw

File "D:\z_Temp_nicht BackUpn\USB-Stick,20140205\Programme\Graphik,Zeichnen\inkscape-0.48.5-1-win32\inkscape\share

\extensions\inkscapeMadeEasy_Draw.py", line 26 useLatex=False ^IndentationError: unexpected indent

************************************************

Use Latex in config: disabled
inkscapeMadeEasy_Draw.py: useLatex=False
-->
Traceback (most recent call last): File "dimensions.py", line 7, in <module> import inkscapeMadeEasy_Draw as inkDraw

File "D:\z_Temp_nicht BackUpn\USB-Stick,20140205\Programme\Graphik,Zeichnen\inkscape-0.48.5-1-win32\inkscape\share

\extensions\inkscapeMadeEasy_Draw.py", line 26 useLatex=False ^IndentationError: unexpected indent

************************************************

D:\z_Temp_nicht BackUpn\USB-Stick,20140205\Programme\Graphik,Zeichnen\inkscape-0.48.5-1-win32\inkscape\share\extensions

\textextLib\textext.py:63: DeprecationWarning: the md5 module is deprecated; use hashlib instead import os, sys, tempfile,

traceback, glob, re, md5, copy

************************************************

I do not have installed as you write (even dont know from where and why):
| |-- CircuitSymbolsLatexPreamble.tex <-- add this file to textextLib subdirectoy
|-- drawAmpOp.py
|-- drawArrows.py
|-- drawDiodes.py
|-- drawRLC.py
|-- drawSignals.py
|-- drawSources.py
|-- drawSwitches.py
|-- drawTransistors.py

Thank you for any help !

reselty wrote :

No answer ??

sdbbs wrote :

Hi all,

Just wanted to post a link to my installation notes for this extension, without Latex, on Ubuntu 18.04 :

install_fsmMLK_inkscapeDimensions_ubuntu18.md
https://gist.github.com/sdbbs/0c0eb498b050b1db3cbf30f76b8bb49a

Victor Westmann wrote :

Hi @reselty. Maybe if you try to post this into our official forum or on our chat (chat.inkscape.org) someone will try to take a look, but no promises.

Please log in to leave a comment!