Print at Dec 16, 2025, 2:46:09 PM

Posted by messefilme at Aug 20, 2020, 10:21:10 AM
Scaling issue for the background image, wrong aspect and size
Dear all,
I want to create a 3D model of a house. I've got a CAD plan which was exported to PDF. I want to use it as background image to draw the walls. Therefore I exported it to .png using GIMP.

During import dialog there is just one line which can be used to specify the size of a wall inside the bitmap. I'm missing the possibility to specify x and y of the bitmap to perform an automated resize inside Sweet Home 3D to correct the aspect ratio of such bitmap.

The result of my import was that the background image differs from the walls I draw and specify manually.

I tried to modify the image in PDF and cropped it exactly outside the walls to avoid any white area around the floor plan. Then I resized the picture by ignoring aspect ratio by entering the values of x and y of the house: 888 x 862 pixels.

This picture was again exported to .png format. In import dialog I specified the outer wall = full x size of the bitmap and entered 888 cm. I moved the 0-point to x=12 and y=12 because the walls are 24 cm thick.

The result is still not what I expected. The 0-point is perfect but the x-size and the y-size of the bitmap are smaller than the drawn walls.

It seems that there is a scaling problem or I'm doing something wrong. I put start point and end point of a wall to the exact size of my CAD plan, e.g. start=0 and end=888, distance=888. When I check the y-size I found out that the wall distance of the background image is 845 but it should be 863.

Maybe I'm doing something wrong. So please give me some tips how to do it that every size fits. Thanks a lot.