|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate roof plugin |
||
| Print at Jan 21, 2026, 9:17:45 AM |
|
|
| Posted by byDMA at Jun 18, 2024, 1:56:07 AM |
|
Re: Generate roof plugin So, that is the raster plan: ![]() If I'm wrong let me know. Try this: Mac may be not correct, we will correct this later. Its experimental (replace the lines for layout): |
| Posted by byDMA at Jun 18, 2024, 2:17:14 AM |
|
Re: Generate roof plugin Buttons (Reset and About) are not corect in center, we make it later, show me than the window. |
| Posted by dorin at Jun 19, 2024, 12:17:56 PM |
|
Re: Generate roof plugin Sorry for the late reaction. I have a big cervical pain for a week and it doesn't stop yet. Your new arrangement look like this: <DMA-01> ![]() <DMA-02> ![]() Some comments: 1. The single thing I've do was to add 2 spaces after the degree sign to make it more legible and increase the edge field (red arrow on DMA-01) 2. As you can see, to add extra rows don't change (improve) the aspect. The grid don't have a fixed size. 3. I've also used the Deutsch translations to show you how to different LaF render it.(red ellipses). 3.1. The truncated long text it's an old problem. 3.2. I'm curious how other applications have solve this in germane (LO, Blender, LibreCAD etc) 3.3. My solution was to find words as short as possible to use in titles and add some Tool tips with a large description.(eg. Thick in place of Thicknesses) 3.3.1 This has to be the translators task. For sample:Böschungsneigung could be replaced with Winkel or Feinjustierung with Fein 3.4. All this are necessary to keep an homogeneity between systems and their custom LaFs. 4. Some of my opinions about the ergonomy of a UI application: 4.1. Like in reading: from left to right and from top to bottom. 4.2. The most used near to top, continuing down with rarely used and finished with bottom OK or Cancel. 4.3. Almost all devices have a Reset button. Almost always is hard accessible to prevent accidental actions. So, in my opinion, considering this, I put the Reset button on top right corner, away from used controls an Ok button. I've thinking (from my personal experience), after a half of hour of work to fine tuning a roof to finally press Reset in place of Ok. Well, most users probably aren't as old and stupid as me, but preemptively... 5. My arrangement also takes care of possible future improvements. (Look at the probably v5.0, if will ever be) ---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law |
| Posted by Puybaret at Jun 19, 2024, 12:28:30 PM |
|
Re: Generate roof plugin Dorin, get a good rest, Sweet Home 3D doesn’t worth that you get more pain ![]() ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by byDMA at Jun 19, 2024, 8:33:07 PM |
|
Re: Generate roof plugin Hi Dorin, thank you, the grids are very well. try this and SEND me privat the compiled plugin for test. The width of the edge panel we create with list width, not spaces. |
| Posted by byDMA at Jun 19, 2024, 8:38:46 PM |
|
Re: Generate roof plugin it is a hole file GenerateRoofPluginView.java I have changed the: 1. windows size to 800x600 2. about button 3. Edge-Panel list width -> should resize the scroll panel width 4. autor TextField -> set manually width to 250, this should resize the columns width 6-7 |
| Posted by dorin at Jun 20, 2024, 7:15:46 PM |
|
Re: Generate roof plugin @1. The preview size you've propose could be good. @2. The About button will remain GREEN for my public versions. Some people could receive a customized version. @3. Could be a solution but it is away too wide for other languages. A compromise could be to replace Edges:Slope (Kanten: Neigung) text with only Edges (Kanten). Another solution could be to replace JList with JTable or Jeks and include a header. The invisibility checkbox could be also added for every edge to replace the eye indicator. @4. This setting has not the expected effect. it is a hole file GenerateRoofPluginView.java You've modified few lines: 177, 231, 344(// Need cast int), 346, 421, 422 (//Wrong), 478. For the above lines was enough to make proposal like in patches. For the createUI method it's Ok to post it entirely as you've done in the paste. I hope to not upset you. I'm not a programmer so my opinion don't count too much. ---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law |
| Posted by byDMA at Jun 20, 2024, 11:33:09 PM |
|
Re: Generate roof plugin Dorin, may be you can create a repository by sourceforge? |
| Posted by Puybaret at Jun 21, 2024, 1:00:58 AM |
|
Re: Generate roof plugin byDMA, creating a repository is probably not something that will help Dorin to rest and recover at the moment. I already asked him in the past if he could improve the layout of his plug-in to make it more compliant under macOS, something that he performed very gently. Maybe, we shouldn’t ask him perfection and anyway, the look and feel of a user interface always depends on one’s taste. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by byDMA at Jun 22, 2024, 12:43:58 PM |
|
Re: Generate roof plugin So, here we are. I compiled it myself and experimented with the sizes. Now it does not matter which language is used and how long or short the words are in the TittledBorder. There is no need to do tricks with the words when translating. I also tried to distribute the components and the distances evenly. ![]() ![]() ![]() Only this is needed: 1. fix width of the edgeList 2. corrected grids explained: ipadx changes the width of JScrollPanel with the EdgeList. scrollEdgesPane -> 200 faceAngleSlider -> 125 |
|
|
|
Current timezone is GMT Jan 21, 2026, 9:17:45 AM |