Re: Area calculation and auto dimensions for 2D
When using variable wall thickness the dimensions behave in a strange way. If I change all walls to the same thickness, the problem disappears.
Thanks for this hint, it is simpler when the user just select the walls that wants to have the dimension.A partial solution could be if:
a - you draw a large rectangle around your design, then select a number of walls. The dimensions of these walls are projected on the rectangle.
b - repeat if necessary.
Thanks to the tip Puybaret told me i managed to find the roompaths and display the dimensions correctly. At this moment the plugin adds both dimensions, interior and exterior.Also, I noticed that all dimensions are taken from the centre line of walls. Normally, in the Netherlands, dimensions are taken along the inside and/or outside of walls, and wall thickness is dimensioned separately.
I tried many times to replicate this error creating multilevel plans and i couldn't do it. If you are in the first level and activate the plugin it will put the dimensions to the selected walls, if you change to level 2 and activate the plugin it will erase the dimensions in level 1 and add the dimensions in level 2.Both levels get dimensions;
Im using the same code that Puybaret does, the button to add dimensions lines doesn't work correctly in the original version either. I assume it's because the curve is just a lot of straight lines with angles to make the effect.Round walls get strange dimension(s), see bottom left;
Yes, i don't want the users deleting other dimensions lines by mistake, but maybe I'm wrong and that will feel natural. In fact I was thinking to add a second button in the plugin, one to add the lines, and another to delete them, that way the user can add as many dimensions as possible without deleting them.If you save a project with dimensions, after re-opening clicking the button doesn't erase the dimensions. They have to be erased manually.