receding spaces and divisions in parallel lines

Post questions on how to use or achieve an effect in Inkscape.
andwan0
Posts: 1
Joined: Fri Sep 21, 2012 7:48 pm

receding spaces and divisions in parallel lines

Postby andwan0 » Wed Mar 27, 2013 3:26 am

Hi guys

In Inkscape, I like to import a picture or a room then map out a wireframe of the room. I can pin-point the corners and connect the dots, but need to map out equal-sized floor grid (eg. 5x5 or 10x7, etc). Doing this manually is painstaking when using the "receding spaces and divisions in parallel lines" technique. So I was wondering if anyone know if there's a Inkscape extension/plug-in that can do this?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: receding spaces and divisions in parallel lines

Postby Lazur » Wed Mar 27, 2013 6:43 am

You can use the tiled clone option at the edit menu.

-draw one tile of the grid with the rectangle tool with the exact size, using only fill and no outlines
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Tiles-Shift.html
-at the tiled clone's shift panel set 0% for x and y
-after cloning select the clones, press Shift+Alt+D, then add outline colour and set no fill
-remove original tile
-select all the tiles and combine or group them together

Probably you need only a grid, and not tiles everywhere, then you should draw the grid in a bit different way.
Instead of drawing one tile, this time you need to draw one row and one column to start -with fills only.
Then, with the tiled cloning, the method is the following:
-select the drawn row and make tiled clones of it,
set row numbers to needed size
set columns to 1
set shift x per row 0%
set shift y per row to 100%
then, selecting the drawn column, make tiled clones of it similar way:
set column numbers to needed size
set row number to 1
set shift x per column 1000%
set shift y per column to 0%

after that, select all the clones, press Shift+Alt+D, then add outline colour and set fill to none
-remove original tiles
-select all the remaining tiles and combine or group them together

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: receding spaces and divisions in parallel lines

Postby druban » Wed Mar 27, 2013 4:44 pm

andwan0 wrote:receding spaces and divisions in parallel lines

This sounds like you want a perspective effect, not a tiled effect. Inkscape has a perspective extension. Using it is not too difficult but if you are happy with evenly sized tiles as in the previous instruction then all is well. however if you need something like this then you will have to follow a procedure fairly carefully.

On the left I have perspective mapped the 3 X 5 grid to the 'floor' of a 'room' that is drawn in perspective, and on the right the same 3 X 5 grid is mapped to a 'floor' drawn orthographically, that is with parallel, not receding lines. I used the perspective extension (left) and the envelope extension (right).
rect6609.png
rect6609.png (223.81 KiB) Viewed 1454 times
Last edited by druban on Wed Mar 27, 2013 6:07 pm, edited 3 times in total.
Your mind is what you think it is.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: receding spaces and divisions in parallel lines

Postby Lazur » Wed Mar 27, 2013 5:43 pm

Oh it was a 3D problem? Well, if ortographic projected view is good enough, you can import a simple floorplan with the floor tiles as an svg drawing to blender, where you can extrude the walls in no time.
Then, after converting them to meshes, you can export the file into a wavefront .obj, that can be called through the extension/render 3D object panel, by previously saving the .obj to Inkscape\share\extensions\Poly3DObjects. It definitely works with objects that have more complex geometry too.
So, it is possible to create accurate 3D geometry in(to) inkscape, without the fuzz.

Edit:
Tried out exporting svg curves to obj, and it appears it is converted to tris -so it is better to draw the tiles from a plane, then subdividing it.
Other thing that appeared is, that inkscape messed up some faces front-back position, which can be hard to correct -on that head.
Also, choosing the right view is a bit complicated by the numbers, to result in even scaled axises.
Image

By the way when ortographic view is good, then an accurate grid can be drawn also with the interpolate extension.


Return to “Help with using Inkscape”