How to z-rotate a rectangle in perspective using inskcape?

I have managed to draw a limited perspective sketch in Inkscape. My aim is to add rectangles in perspective (like the black one already in the picture) but rotating on the z axis (xy plane) to illustrate that this figure moves along a pivot that runs along this axis.
The rotation should be from the intersection with the axis, so I’ve tried to move the rotation center and then rotate the object but it’s not producing the desired result.

Here is a PNG of my sketch:

enter image description here


  1. Create something like this:

    enter image description here

    The black lines on the left are your axes. The cyan object on the left is a perfect rhombus that is parallel to your bottom axes. The red object on the right is a perfect square. The rectangles on the right are what I understand that you want to put into perspective with the black spot marking the intersection of the axes.

  2. Apply path → object to path to all objects in the right half.

  3. Group all objects in the right half.
  4. Select the group and then the rhombus. Apply extensions → modify path → perspective. You should get something like this:

    enter image description here

  5. Remove the red and cyan rhombus.

  6. Align the transformed rectangles on the vertical axis using the black dot:

    enter image description here

Source : Link , Question Author : Matias Andina , Answer Author : Wrzlprmft

Leave a Comment