|
Sweet Home 3D Forum » List all forums » » Forum: Wishlist » » » Thread: Area calculation and auto dimensions for 2D » » » » Post: Re: Area calculation and auto dimensions for 2D |
Print at Dec 22, 2025, 11:27:06 AM |
| Posted by danielfranklinr at Mar 19, 2013, 3:30:28 AM |
|
Re: Area calculation and auto dimensions for 2D Sorry i took so long to post again. I don't have a lot of free time out of the office. I created a first version of the plugin and posted it on sourceforge , but there are some things I have to modify. In short the Plugin does the following: If you activate the button the first time it adds the dimension lines for every wall in the selected level. If you activate the button for the second time it will delete all the dimension lines created in the first activation. The points i'll be looking are the following: 1.- There has to be a way to calculate for each wall the correct offset. Some times the dimension line will be positioned inside the house. 2.- The function that Puybaret told is private so i had to extract it and encapsulate it in the plugin. The function needed the user preferences and the pixel length, but I couldn't manage to find a way to get them from the Plugin. 3.- I haven't found a way to separate the outer walls from the inner walls. Maybe creating an algorythm detecting the outermost points of the house could help detecting if a wall is inside those bounds or not, thus indicating the outer walls from the inner ones. I hope you can try the plugin and give me some feedback, as soon as i get the bugs fixed I'll post again here. |
|
|
Current timezone is GMT Dec 22, 2025, 11:27:06 AM |