Print at Dec 16, 2025, 12:52:34 PM

Posted by kbon at Aug 8, 2012, 10:35:05 AM
Re: New plugin: Advanced plan editing
Thanks for the quick answer!

About connecting walls:
You're right about the dialog box, I didn't consider cases of more than two walls. When I wrote that, I already had the idea of intersecting lines in mind, and such a dialog box would've eliminated the need of a second menu button. I'll see if I can come up with a usable solution :)


About wall thickness:
The intuitive perception of the "resize" operation is (at least to me) that I pick an object and can resize X and Y in different directions. Technically of course, that means moving the edge points.
If I select a few walls, I can resize them (i.e. the convex hull, or the rectangle they span).
Now I select a single wall. I can only adjust its length, not the thickness if it's a horizontal/vertical wall (the greyed out field for Y). Obviously this is because a wall consists of only 2 edgeds. Resizing a diagonal wall then behaves like regarding that wall as the diagonal of a rectangle, and move that rectangle, i.e. those 2 points. Now of course you're right, the "resize" dialog does not fit for changing wall thickness, all of its UI elements are already in use.

I came up with the "resize" dialog, because I only tried it with single horizontal walls, and the Y-field was greyed out. One could then use the Y field to adjust the thickness, but as mentioned above, now I see it's not suited for this :)
My example says "outside" becaus it's an example ^^ I mentioned "one side" before, of course it has to be "left" or "right". In the case of an example, I as the user of course know which one of left/right I'd have to choose when I want to change "outside".

So yes, I'd need a separate dialog for that. And of course I'm aware that UI and intuitiveness often proves as the harder part, but as it may be seen from my explanations, I thought it could be easily integrated into your "resize" UI leaving only the mathematical part ^^
So as this requires a whole new dialog box, I guess I'll just try it myself. Currently reading into JPanel and other Java stuff (enabling "undo" etc). I hope I can come up with a working peace of code soon :)