图像
 
 

5168

 

12547

Dimensions

Inkscape extension to assist creating dimension annotations.

Inkscape Extensions

图形大小
1202x379
文件大小
48.7 KB
创建于
类型
image/png
General Public License v3 (GPLv3)

链接

Maren Hachmann 发表了 :

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

fsmMLK 发表了 :

yes! tks

Maren Hachmann 发表了 :

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

Philippe SIMONS 发表了 :

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 发表了 :

Please see Community page for links to support communities.

mbarcelos 发表了 :

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

fsmMLK 发表了 :

What do you mean by serif dimension?

Lin Yuan 发表了 :

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 发表了 :

I cannot make this work on Windows...

mbarcelos 发表了 :

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 发表了 :

included new marker styles, including serif. =)

vanzandtj 发表了 :

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 发表了 :

I will check what is going on.

vanzandtj 发表了 :

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 发表了 :

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 发表了 :

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 发表了 :

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 发表了 :

No answer ??

sdbbs 发表了 :

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 发表了 :

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.

登录后发言!