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: 20
Posts: 20   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 41515 times and has 19 replies Next Thread
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 625
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

@2. I think, now I've understood.
If I have to solve this problem I could use one of two solutions:
S1. Draw the exterior (and the interior structural) walls with their thickness and maximum needed height.
Then add how many levels you want at needed elevation.
Draw necessary rooms (not need to cover the entire level).
S2. Draw a big room as interior limit of building.
Add levels with rooms and furniture (machines).
Then surround it with walls.

For an existing building probably I will use first method.

I'm not a developer, and not a professional for designing houses.
Me either! Moreover, I'm not a programmer either.

About IFC: While have another type of license not GPL probably someone could make a plugin to export/import this kind of file format.
My personal opinion: SH3D was made for peoples like me who don't have many skills or knowledge but want to dream at their home.

So, it appear we don't have a deal crying but we cud remain friends. smile
----------------------------------------
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
[Dec 9, 2024, 11:04:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MuskatNuss
Newbie



Switzerland
Joined: Nov 29, 2024
Post Count: 15
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

FreeCAD use IfcOpenShell. I use IfcConvert from IfcOpenshell to convert customer Files into step files at work.

(On IfcOpenShell Bonsai is also mentioned.)
[Dec 9, 2024, 12:09:26 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: 625
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

1. I want to remain friends even we have different opinions.
2. In my country it's a joke question:
"Why simple when it can be complicated?"
3. I've study IfcConverter man. It convert drawings in different 3D object definition (obj, dae, collada, etc).
SH3D export only in obj +mtl but cud import the majority of formats.
4. IfcConverter can export SVG files and the SH3D program can too.
I used this as an intermediary between SH3D and AutoCAD through InkScape which can convert in DWG.
5. SH3D can export as html5 to be viewed in a browser. IfcConverter???
6. I have not noticed the reverse process, from obj (dae, collada etc) to IFC format.
Eg. Export some walls (FreeCAD+BIM) as obj and import it in a new FreeCAD project. It remain "walls" or simple ordinary meshes?
7. My personal opinion:
- make your machines in FreeCAD and export it as objects. It's the best program for this.
- if you need a house for this machines the simplest way is to use SH3D and import the machines as furniture.

Probably you cud explain more precisely what problem you've encountered, what you want to do and some of us will give you some advises.

I(we) willing to help anyone to solve their problems with this software. So, keep asking!
----------------------------------------
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
[Dec 9, 2024, 9:18:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MuskatNuss
Newbie



Switzerland
Joined: Nov 29, 2024
Post Count: 15
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

My Request would fit perfectly with: "Why simple when it can be complicated?"

I still wish the fast house creator where someone could enter inner distance for width, length and height (an user even could measure himself with a rule) and count of levels of his house and get a dummy building where user could start staging.

after entering four values, most user see a building with measures of their property. And could start placing furniture or walls to split a room.
[Dec 10, 2024, 8:39:16 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
YGYL
Advanced Member
Member's Avatar


Joined: Feb 5, 2013
Post Count: 137
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

I'm kind of an experienced user. I've been using Sweet Home 3D for over a decade.
I think the suggestion of “MuskatNuss” is fine. Although I don't usually use it myself, not everyone can draw a room with Sweet Home 3D. Often, they can't even draw the walls, much less the floor or ceiling.
If there was simple parametric modeling, then it would definitely increase the number of users. After all, Sweet Home 3D is all about simplicity.

The kind of people who often have to show their clients schematics of where to place equipment need this feature even more!
[Dec 10, 2024, 8:58:56 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1225
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

"Why simple when it can be complicated?"
If you want to just enter the four corners of a room and the number and height of levels that is extremely easy to do.

Save a new empty project and close it. Extract the Home.xml file from the .sh3d file. It will look like this:
<?xml version='1.0'?>
<home version='7400' name='template.sh3d' camera='topCamera' selectedLevel='level-466d6260-f5f6-4552-bdb9-d2c355c39cd6' wallHeight='250.0'>
<property name='com.eteks.sweethome3d.SweetHome3D.CatalogPaneDividerLocation' value='240'/>
<property name='com.eteks.sweethome3d.SweetHome3D.ColumnWidths' value='231,79,67,43,43'/>
<property name='com.eteks.sweethome3d.SweetHome3D.ExpandedGroups' value=''/>
<property name='com.eteks.sweethome3d.SweetHome3D.FrameHeight' value='844'/>
<property name='com.eteks.sweethome3d.SweetHome3D.FrameMaximized' value='true'/>
<property name='com.eteks.sweethome3d.SweetHome3D.FrameWidth' value='1162'/>
<property name='com.eteks.sweethome3d.SweetHome3D.FrameX' value='0'/>
<property name='com.eteks.sweethome3d.SweetHome3D.FrameY' value='52'/>
<property name='com.eteks.sweethome3d.SweetHome3D.MainPaneDividerLocation' value='468'/>
<property name='com.eteks.sweethome3d.SweetHome3D.PlanPaneDividerLocation' value='522'/>
<property name='com.eteks.sweethome3d.SweetHome3D.PlanScale' value='0.03607176'/>
<property name='com.eteks.sweethome3d.SweetHome3D.PlanViewportX' value='0'/>
<property name='com.eteks.sweethome3d.SweetHome3D.PlanViewportY' value='0'/>
<property name='com.eteks.sweethome3d.SweetHome3D.ScreenHeight' value='1055'/>
<property name='com.eteks.sweethome3d.SweetHome3D.ScreenWidth' value='1920'/>
<property name='com.eteks.sweethome3d.swing.PhotoPanel.PhotoDialogHeight' value='593'/>
<property name='com.eteks.sweethome3d.swing.PhotoPanel.PhotoDialogWidth' value='424'/>
<property name='com.eteks.sweethome3d.swing.PhotoPanel.PhotoDialogX' value='745'/>
<property name='com.eteks.sweethome3d.swing.PhotoPanel.PhotoDialogY' value='228'/>
<furnitureVisibleProperty name='NAME'/>
<furnitureVisibleProperty name='WIDTH'/>
<furnitureVisibleProperty name='DEPTH'/>
<furnitureVisibleProperty name='HEIGHT'/>
<furnitureVisibleProperty name='VISIBLE'/>
<environment groundColor='FF91634F' skyColor='00CCE4FC' lightColor='00D0D0D0' ceillingLightColor='00D0D0D0' photoWidth='400' photoHeight='228' photoAspectRatio='VIEW_3D_RATIO' photoQuality='2' videoWidth='320' videoAspectRatio='RATIO_4_3' videoQuality='0' videoFrameRate='25'/>
<compass x='-100.0' y='50.0' diameter='100.0' northDirection='0.0' longitude='0.08581202' latitude='0.91367984' timeZone='Europe/Amsterdam' visible='false'/>
<observerCamera attribute='observerCamera' lens='PINHOLE' x='50.0' y='50.0' z='170.0' yaw='5.4977875' pitch='0.19634955' fieldOfView='1.0995575' time='1708344000000'/>
<camera attribute='topCamera' lens='PINHOLE' x='216.28342' y='3069.0542' z='1843.0659' yaw='3.0865703' pitch='0.545' fieldOfView='1.0995575' time='1708333200154'/>
<level id='level-466d6260-f5f6-4552-bdb9-d2c355c39cd6' name='Level 1' elevation='0.0' floorThickness='20.0' height='250.0' elevationIndex='1'/>
</home>

Remove the line with the level and replace it with a place holder, something like "###" or whatever you think looks fancy. Save it and rename the file to "housetemplate.xml".

Create a script that receives the parameters for the 4 room corners, the level height, and the number of levels.
In the script write a memory string or string variable creating the number of level lines according to the parameter for the number of levels and the height parameter. That will create the levels for a home. You will have to calculate the elevations using the level height and floor thickness for each consecutive level. The level id's must be unique for each level but can be as simple as "level-001".

A room definition looks like this:
<room id='room-0f3253ce-86f9-4286-97df-beaae4a53ece' level='level-466d6260-f5f6-4552-bdb9-d2c355c39cd6' ceilingVisible='true' ceilingFlat='true'>
<point x='0.0' y='0.0'/>
<point x='1000.0' y='0.0'/>
<point x='1000.0' y='500.0'/>
<point x='0.0' y='500.0'/>
</room>

For each level add a room definition to the memory string using the room parameters to set the point values.

Open the "housetemplate.xml" file and update the top line: set "selectedLevel" to the id you generated for the first level and set "wallHeight" to the level height parameter value.
Replace the place holder with the content of the memory string and save it as "Home.xml". Zip the Home.xml file with a name of your choice and the extension .sh3d. You can open this in Sweet Home 3D and it will have all the levels and rooms as defined. Save it and the missing "Home" file will be created in the .sh3d file.

Voila, you have your 'house' created with the parameters passed to your script. Since it's basically all file and string manipulation you can use any script or programming language you want.

Personally I think it's pretty useless because very soon a user will want to add more parameters to refine the process. Different level heights, multiple different rooms, add the walls, etc. etc.
That will quickly escalate to something like.... Sweet Home 3D laughing
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Dec 10, 2024, 10:08:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MuskatNuss
Newbie



Switzerland
Joined: Nov 29, 2024
Post Count: 15
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

Nice. May I try something with ChatGPT (Im not into a developer).

Personally I think it's pretty useless because very soon a user will want to add more parameters to refine the process...


That sounds like you think it is bad.
If really someone dig into it and add more possibility into that - you found a new contributor to SH3D.

Users like me who - perhaps somewhat annoyingly - advertise an idea that they think is brilliant, I would say, are rather rare.


  • Common user will use this feature to create a one room house to stage e.g. their living room.
  • More interested people build their house, add walls and dig automatically deeper into how a building could be made with SH3D.
  • and the rest will start learning to use the full potential of SH3D

[Dec 10, 2024, 2: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 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1225
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

That sounds like you think it is bad.
Not bad, just not something I'm willing to put time and effort in. Maybe a plugin developer is willing to whip up an entry dialog for the parameters and use the Sweet Home 3D functions to generate a basic home. If the intention is to further develop the house you will still need to learn a few basics. If you know these then drawing a room and adding walls is so simple that you do it faster than entering a set of parameter values..
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Dec 10, 2024, 3:32:36 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: 625
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

I'm not really convince I've correct understood (I'm old and dump anyway)
So, being already a YAUP specialist I think I cud do this for you.
1. Dorin's first law: "If you don't like AS IS, DIY."
First Amendment: "If you can't DIY, steal."
Second Amendment: "If you can't DIY or steal, pay."
2. How much do you offer for a personal plugin to do exactly what you explain so far? What about for some updated versions?
3. I like open source, but I don't like doing useless work for free. But I can do it for money.
4. Before making a decision, you should look at this tread .
----------------------------------------
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
[Dec 10, 2024, 7:17:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1225
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wishlist: Fast house Creator

@dorin
From what I understand MuskatNuss wants a window where he can enter 4 x,y pairs for the corners of a room, a number of levels, and the height for the levels. Those numbers then should generate a project with those levels and a room with the given coordinates on each level.

@MuskatNuss
dorin created another plugin that might take you partway: the regular room plugin. Select 4 sides and give a side length and coordinates for the center of the room. It will create a square room at the given position. Not exactly what you want but better than nothing. Copy/paste the room to extra levels.
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Dec 10, 2024, 7:54:22 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 20   Pages: 2   [ Previous Page | 1 2 ]
[ 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