You are here :   Welcome » Calculate a surface area with Inkscape
 
Slideshow
Luthiery work
 ↑  
Woodworking
Woodturning
 ↑  
Leather work
Softwares
Search
 
Close
Contact Me
Visits

   visitors

   visitors online

rss This article is available in the standard RSS format for publication on your website :
http://www.labellenote.fr/data/en-articles.xml

Calculate a surface area with Inkscape

Inkscape offers a very interresting feature that allows to calculate precisely the surface area of any shape.
This can be connected to the real world, using a photography of a real object, that would have been imported in the software and scaled to real size first.
 
It can be very usefull for the luthier, in order to adjust the size of a sound-hole, for instance when it is not circular (oval  or ff shape).
There is indeed an optimal size of the sound-hole, depending on the volume of the sound-box (see article).
 
In the following exemple, it is not a string instrument, but a Cajòn (percussion box), which is supposed to have, according to the plan, a circular sound-hole with a 12 cm diameter.
In my case, I didn't want to have a circular sound-hole, but something more funny, and I went for a footprint shape.
Obviously, the total surface of the holes composing the footprints must be equivalent to a 12cm disk.
 
Here is how I proceed:
  1. Calculate the surface that we need to respect  : 12 cm diameter = 113.1 cm².
     
  2. Find a model : exemple :  deux_pieds.png. You can also start from a photo.
 
deux_pieds.png
 
  1. Import this bitmap image in Inkscape :
    File  / Import ..., then select the image and answer  "embed"  to the following question.
     
  2. Vectorize the bitmap, that is to say transform its contours into a vectorial path:
    Path / Trace bitmap ...

    aire_importer_pieds.png

    You need to play a little bit with the setup of the different parameters to get a suitable preview (Update button) :

    aire_vectoriser_bitmap.png

     
  3. Once the path has been created, you can discard the bitmap image, wich is still behind.
    Move the path object that is at the foreground and delete the image that is at the background :

    aire_supprimer_bitmap.png
     
  4. In my case, it is a filled shape,it is more handy to get only the contours, with no filling.
    Take care to have a single contour. Sometimes, the vectorization function ends up with a kind of wide contour, like a filet,
    and the calculated surface will not be the inner surface, but the surface of that filet (For that reason, do not select contour detection).
    Take care also to get a single object. If not, you can gather the bits with Path / Union.

    aire_contour_remplissage.png
     
  5. We can now measure the surface area of our feet :
    Extensions/ Visualize Path / Measure Path ...
    Measurement Type : Area
    Length Unit : cm (in my case !)
    Font size : (widen)

    Offset : 0
    Click the "Live preview" check box to see a preview of the calculated area appearing in the middle of the drawing :

    aire_apercu.png

     
  6. We still have to resize the drawing to reach the exact area we are looking for.
    You need to grab and move one corner of the selection box, while pressing the CTRL key to keep the width/heigth ratio respected.

    aire_resize.png


     
  7. And after a few attempts, we eventually obtain the wanted area !

    aire_resu.png

 

Voila ! Comments are welcome.

Christophe

 

 

 




Unless explicitly specified, all works presented on this page are released under a
Creative Commons BY-NC-SA International License.
Licence Creative Commons
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License




Creation date : 05/09/2013 : 13:59
Last update : 06/09/2013 : 12:05
Category : - Some tricks
Page read 12658 times


Reactions to this article

Nobody gave a comment yet.
Be the first to do so!

Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Captcha reload
copy the code :
Contact Me
Visits

   visitors

   visitors online