Christophe Mineau

La Belle Note

Partageons nos idées, partageons nos savoir-faire.

Calculate a surface area with Inkscape

Calculate a surface area with Inkscape

3-Minute Read

Calculate a surface area with Inkscape
Table of contents :

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

  1. 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

  1. 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

  1. 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

  1. 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

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

aire_resu.png

Voila ! Comments are welcome.

Christophe

Say Something


Older readers comments


Recent Posts

Categories

About

Site de partage et d'échange de Christophe Mineau.