Inkscape.org
Beginners' Questions How to write dimensions of a plan ?
  1. #1
    Nicolas Michel Nicolas Michel @namichel

    Hi all
    I have to draw interior layout plans.
    As a basic user of Inkscape, I found simple to use it

    But I need to write dimensions of every piece, Usually I draw lines, then I use the text box tool.
    But it's a monkey job, a software should do that automatically.
    (I was an architect 20 years ago, our software at the time did that, it seems basic to me)

    I've seen an Inkscape extension called dimensions
    https://inkscape.org/fr/~fsmMLK/%E2%98%85dimensions

    After hours to trying to understand how to install it, it appear in the extension menu but I have this error :

    /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
    Traceback (most recent call last):
      File "dimensions.py", line 883, in <module>
        dimension = Dimensions()
      File "dimensions.py", line 95, in __init__
        self.arg_parser.add_argument("--LINinvertSide", type=self.bool, dest="LINinvertSide", default=False)
    AttributeError: 'Dimensions' object has no attribute 'bool'

    No idea how to debug it, is there any other simple method to write dimensions of a draw ?

    Thanks !

  2. #2
    Tyler Durden Tyler Durden @TylerDurden
    1. Describe your OS (your computer's Operating System: Mac/Windows/Linux/etc. & version).
    2. Describe the version of Inkscape and the installer you used (the file you downloaded from the website: .msi/.exe/.zip/other )
    3. Describe any special hardware being used, like tablet/stylus or multiple monitors.

    https://inkscape.org/forums/questions/get-good-answers-here/

     

  3. #3
    Nicolas Michel Nicolas Michel @namichel

    Hi Tyler

    Tanks for your answer

    You're right, I forgot to give theses info, which are necessary to fix the dimensions plugin.

     

    but basically my question is: "is there any other simple method to write dimensions of a draw ?"
    Which is a general question and not related to my computer

     

    $ cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=20.04
    DISTRIB_CODENAME=focal
    DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

    $ inkscape --version
    Inkscape 1.2 (1:1.2+202205241504+da316b6974)

    $ cat cpuinfo |grep "model name"
    model name    : Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    model name    : Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    model name    : Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    model name    : Intel(R) Core(TM) i5-7400 CPU @ 3.00GH

    $ head -n1 meminfo
    MemTotal:        8026312 kB

    namichel

    $ pwd
    /home/nic/.config/inkscape/extensions
    $ ls -l
    total 12K
    drwxr-xr-x 2 root root 4.0K mai 28 23:18 dimensions/
    drwxr-xr-x 2 root root 4.0K mai 28 23:09 inkscapeMadeEasy/
    drwxrwxr-x 3 nic  nic  4.0K fév 23 20:12 textextLib/

    $ cat /etc/apt/sources.list.d/inkscape_dev-ubuntu-stable-focal.list
    deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main
    # deb-src http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main

     

     

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    There are the Measure Tool in the lefthand toolbox, and the measure segments path effect, for starters.

    But Inkscape is not necessarily the best tool for the task... why not use one of the many fine free/inexpensive CAD programs available? 

  5. #5
    Nicolas Michel Nicolas Michel @namichel

    Thank you for your answer, Tyler

    The measure tool do not write the dimension on the page... Am I wrong ?

    Usually I draw the line, then I write de dimension in a text box, but it take more time to do it than to draw the full object.


    I admit Inkscape is not a CAD tool, but I like to use it.
    I tried freeCAD which is definitively not the right tool, even less than inkscape :  it's a 3D soft not a 2D one
    I tried QCAD which could be OK but it is very limited in the rendering possibility and painful to learn

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    The Measure tool has  Mark Dimension feature.

     

    Aside:

    Almost all 3D parametric CAD programs have extensive sketching tools used to create profiles. Constraints (not found in Inkscape) are so useful.

    LibreCad is a nice little native DXF editor that supports layers. More like older AutoCad.

  7. #7
    Nicolas Michel Nicolas Michel @namichel

    Whow !

    I missed this feature.

    Thank you so much !

  8. #8
    mendy mendy @mendy

    As @TylerDurden mentioned about Cad. First off there is definately a learning curve on FreeCad. Had Turbocad and on switch to Linux no more Turbocad. Did try FreeCad and was overwhelmed due to learning new Linux. It is possibly usable in your case to draw dimensions with arrows. The image below is FreeCad / Part Design / Create Body / Create Sketch / X-Y plane. Then TechDraw / Insert Page / Insert View (the sketch) and dimension. Printed out and using as template to make a gasket. Rectangle box is just to get gasket material from roll. Note: this sketch would not work as is to create 3d object. There is also an Arch workbench for architectual drawings, haven't tried. The gasket center hole is offset 0.100" off centerline of bolt holes and finished matched original.

     

  9. #9
    vanzandtj vanzandtj @vanzandtj

    I have Inkscape 1.2 running on Debian Linux.  I have these issues with the Measure and Mark Dimension features:

    - The legend (with X, Y, etc.) is so close to the mouse cursor (much closer than in the above video) that it's hard to align it with a drawn object. 

    - The arrow does not match what I dragged - It's about 88% as long.

    - The displayed dimension is also slightly less than the dragged length (about 99.3%)

    - The arrow is very bold (width .01 in, but the object I'm drawing is only 17 mm wide).  

    - The arrow points are too close to the ends of the arrow shaft, so the square ends of the shaft are visible.

    I see controls for the font size, but not for the other aspects.  Am I missing something?

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to write dimensions of a plan ?