|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Precision |
|
| Print at Dec 20, 2025, 8:51:16 AM | |
| Posted by shellie222 at Mar 30, 2022, 9:47:08 AM |
|
Precision Is there a way to prevent rounding numbers? e.g. I need a wall to be 3.135m long and following adjacent positions are getting rounded which leads to wrong dimensions. What can I do? Changing to mm didnt work - the rounding happens nevertheless |
| Posted by Puybaret at Mar 30, 2022, 3:31:33 PM |
|
Re: Precision I'm not 100% sure to understand your issue, but it seems to happen because you didn't get that walls length are measured in their middle, not along their sides. When a wall is bound to another one to form a corner, this can can lead to a longer or shorter length along wall sides. Therefore, it's not a problem of precision and you should take take into account the wall thickness. The video How to design rooms from their inner dimensions might help you too. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shellie222 at Mar 30, 2022, 4:47:19 PM |
|
Re: Precision no it does not seem so. e.g. wall 1: (0m, 0m) to (1m, 0m) 0.32m thick wall 2: (0m, 1.9825m) to (1m, , 1.9825m) 0.175m thick the value 1.9825m already gets truncated to 1.982 The dimension between them is: 1.73m where 1,735 would be correct |
| Posted by Puybaret at Mar 30, 2022, 6:00:43 PM |
|
Re: Precision Decimals smaller than a millimeter are not displayed in the user interface, but they are actually stored in the number. Note also that the precision in dimension lines created with the mouse depends on the current zoom factor in the plan, simply because of pixel precision. As explained in the help, press <enter> and type the exact length while drawing it if you want more precision without zooming in. Anyway, keep in mind that in building domain, tolerances are quite high so you shouldn't bother with higher precision. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shellie222 at Mar 31, 2022, 9:01:19 AM |
|
Re: Precision Mh, but when I input them into the text input field the last digits are deleted. That does not really look like it was stored my guess is it is not even considered. Obviously the values are way too marginal to be real life values. But as I said the results based on them (e.g. the distance between those walls) are wrong. And in this case its an error >1mm. The way it affects me is more an optical thing since the calculated values do not fit to the original (analogous) blueprint anymore |
| Posted by Puybaret at Mar 31, 2022, 9:48:20 AM |
|
Re: Precision Trust me, I'm the programmer of Sweet Home 3D and know how text fields handle numbers. And if you still don't want to trust me, you can check yourself by reading the values in the Home.xml entry contained in each SH3D file (a SH3D file is actually a ZIP file). ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shellie222 at Apr 6, 2022, 6:50:13 PM |
|
Re: Precision ok, after I worked around the other problem (thread 11700) I'll believe you. one can indeed see yEnd='198.25' So Ill have to suggest that the input field actually displays the values which are actually used. But I cant figure out how to get the dimensions "expanded" - even farthest zoomed in it is 1.74. It would be nice to have a precision setting in the settings menu or similar |
| Posted by shellie222 at Apr 21, 2022, 9:07:09 AM |
|
Re: Precision Note also that the precision in dimension lines created with the mouse depends on the current zoom factor in the plan, simply because of pixel precision. Could you tell me how I can get the actual dimensions without rounding/truncation of values then? |
| Posted by Puybaret at Apr 21, 2022, 9:25:43 PM |
|
Re: Precision Zoom in at the maximum or enter the length with the keyboard (see help for more details). ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 20, 2025, 8:51:16 AM |