Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 277
Posts: 277   Pages: 28   [ Previous Page | 19 20 21 22 23 24 25 26 27 28 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 679559 times and has 276 replies Next Thread
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 588
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

Looks OK! applause
Thanks for the effort!
Thanks also for the hints with the insets.
I'll try it tomorrow on my own variant and for the most common LaFs.
Probably I will publish a new version. thinking
Thanks again!
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Jun 22, 2024, 8:59:29 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 588
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

As I promises I've test it with your settings.
That's what the majority of users (common desktops or laptops) will see:

Considering that:
1. Our tastes differ when it comes to colors;
2. It's difficult (for me) to make the plugin highly customizable for all kind of particular users.
3. I'm interested more in the functionality of the plugin than how it look under many different circumstances.
I suggest you to make and share your plugin variant (let's say 4.6.DMA or 4.6.DARK or whatever) dedicated for peoples like you with huge monitor(s) and a dark theme installed.
You've started already and it is a good start. Unfortunately, you'll have to maintain it.
You could post it in the same place with mine to be more easy to find.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Jun 23, 2024, 8:38:41 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
byDMA
Member
Member's Avatar

GERMANY | POLAND
Joined: Jun 8, 2024
Post Count: 25
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

Hi Dorin, tank you for testing. I've seen it that way too.
I'm still learning. The settings of insets are ok for scaling 2, but not for scaling 1. I have seen elsewhere in the code of SH3D and in the plugin "Generate Stairs" how to make the insets dynamic. I'm not doing a separate version, either it's running as it should or I'm not releasing anything.
I'll get back to you when I've tested it for both scales.
[Jun 23, 2024, 1:46:43 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
byDMA
Member
Member's Avatar

GERMANY | POLAND
Joined: Jun 8, 2024
Post Count: 25
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

@Dorin
What LAFs are you using? The first one seems to be standard-metal, it's out the box LAF under Linux. And the second one?

And one more question: can you tell me, where ist the code in this file for the coordinates?
[Jun 23, 2024, 1:55:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 588
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

The second one is Nimbus, also out the box LaF under linux.
I've simply add:
-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel
in the bash file for SH3D.
You need to test only on default, the Nimbus is optional.
The axes is there:
roofPreview = new ModelPreviewComponent(true, true, true, true );
at 174 on GenrateRoofPluginView v.4.6

To have a more versatile UI for a plugin we need:
1. to have the necesary informations BEFORE the start of plugin or the UI. Something like this:
for (UIManager.LookAndFeelInfo laf : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(laf.getName())) {
UIManager.setLookAndFeel(laf.getClassName());
//UIManager.getLookAndFeelDefaults().put("Panel.background", Color.white);
//UIManager.getLookAndFeelDefaults().put("Button.contentMargins", new InsetsUIResource(0,0,0,0));
}
}
And probably more.
2. To pack the plugin with all sizes(16, 32, 64) of icons
3. To put cases everywhere it need to use it.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Jun 23, 2024, 3:47:13 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 588
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

I'm not doing a separate version, either it's running as it should
First you have to analyze if it worth.
In my case there is 5 + ~4 people which really appreciate it.
In your case (dark theme) I've countered 3~4.
Personally I do it for my own pleasure. I have already a roof over head and I don't intend to make another(not in this life).

The axes came from SH3D.
For me I've adopted another approach:
I know you don't like colors but... I don't find another solution biggrin

----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Jun 23, 2024, 4:40:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
LZQ
Newbie



korea
Joined: Jul 31, 2022
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Generate roof plugin

very good🙂
[Jun 27, 2024, 8:01:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 277   Pages: 28   [ Previous Page | 19 20 21 22 23 24 25 26 27 28 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved