Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Door swing in plan
Very good, thanks. In Sourceforge you insist on LAL licence, but also list GPL, CC-BY and CC-0 in the directory. LAL is ok I guess, but CC-BY is more common (and emphasises acknowledgement which could make it more tempting to produce models). Preference?
France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: Door swing in plan
I don't want to mix license system for a given library. It would be too complicate for the end users. I guess that for those who are not aware about free license, it must be already not that simple. But as CC-BY seems to be more popular than LAL nowadays, I would like to write to all contributors to get their agreement to distribute their models under CC-BY too. But if I don't get the answer or agreement of only one contributor, it will become a mess. Not a very motivating task, but in case of success all the models available in the 3D models page would be available under CC-BY!
By the way, the 65 GPL models available in Sweet Home 3D were designed by me, so if ever all contributed models can be available under CC-BY, I won't mind to offer these GPL models under CC-BY license too.
PS: Before all that, I have to study in details the difference between LAL and CC-BY.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Sep 18, 2013, 12:54:22 PM]
Iceland
Joined: Nov 1, 2016
Post Count: 2
Status:
Offline
Re: Door swing in plan
Hi I´m having problem adding a door swing to a door. This is what I do:
1. open a .skp file in SketchUp. Export as 3D model... obj. 2. open furnitureLibrary Editor 1.19. Drag and drop the obj file in there. 3. make changes in the editor and "save library in a different file" 4. In SH3D, Furniture, import furniture library. = THIS WORKS Now changing the PluginFurnitureCatalog.properties... 1. Changing MyFile.sh3f to MyFile.zip 2. open/unzip MyFile.zip (makes a folder) 3. open MyFile folder 4. open PluginFurnitureCatalog.properties in TextEdit 5. making changes:
#here is the OLD file... name#1=Doorjulia16a category#1=Doors and windows icon#1=/Doorjulia16a.png model#1=/Doorjulia16a/Doorjulia.obj multiPartModel#1=true width#1=88 depth#1=20 height#1=210 movable#1=false doorOrWindow#1=true creator#1=HHG
#here is the EDITED file...
name#1=Doorjulia16a category#1=Doors and windows icon#1=/Doorjulia16a.png model#1=/Doorjulia16a/Doorjulia.obj multiPartModel#1=true width#1=88 depth#1=20 height#1=210 movable#1=false doorOrWindow#1=true doorOrWindowWallThickness#1=20.0 doorOrWindowWallDistance#1=3.0 doorOrWindowSashXAxis#1=111.4 doorOrWindowSashYAxis#1=30.0 doorOrWindowSashWidth#1=110.0 doorOrWindowSashStartAngle#1=180 doorOrWindowSashEndAngle#1=270 creator#1=HHG
6. save file 7. zip MyFile folder 8. change name of MyFile.zip to MyFile.sh3d 9. Furniture, import furniture library 10. Program tells me its imported. And the sh3f file is created in "furniture" folder.
Nothing shows up in categories.
------- So my guess is that I can not make these name changes, change a zip file to sh3f file. It has to go through FurnitureLibrary Editor. But I don´t know how to do this after editing the PluginFurnitureCatalog.properties
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Door swing in plan
Hi Hafsteinn,
Good news is that your property editing looks perfectly valid. Tried them, no problem there, except some odd values, such as the door swing/opening being outside the model, but that should not prevent the file from working. A couple of suggestions based on similar troubles:
Is PluginFurnitureCatalog.properties saved in plain text format?
In step 6: change name of MyFile.zip to MyFile.sh3d - that should be MyFile.sh3f.
I would also suggest a slightly different approach to avoid some problems from zipping. If you send me the file 1. Rename MyFile.sh3f to MyFile.zip. 2. Just open MyFile.zip 3. Copy PluginFurnitureCatalog.properties to another directory. 4.-6. Make changes to the outside file and save. 7. Copy that file back into MyFile.zip (confirm replace). 8. Rename MyFile.zip to MyFile.sh3f.
From here on, it should be enough to double-click MyFile.sh3f for the library to be imported - but Furniture, import furniture library should also work - and result in a correct file being placed in the user directory.
You could also check if the .sh3f file opens in FurnitureLibraryEditor after it has been edited. Sometimes opening and saving a file with FurnitureLibraryEditor will fix the PluginFurnitureCatalog.properties, I have not quite figured out why, but it could be an invalid linefeed (cr/lf, lf or cr).
If you wish, you can send me the edited .zip/sh3f file. A look should reveal what is wrong.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Door swing in plan
By the way - in addition to the above - just for your info - here are the values I used (after testing yours) for a normal door with a doorframe of 10 cm The original values do work, and may be the way you want them, but they could be a bit confusing if someone else tried them on a similar door. So I changed doorOrWindowWallThickness# so the frame protrudes on both sides of the wall, and I moved the door swing to inside the doorframe. I also added a full cut-out to avoid an empty frame being filled:
Iceland
Joined: Nov 1, 2016
Post Count: 2
Status:
Offline
Re: Door swing in plan
Hi
Thanks for the fast reply :)
Is PluginFurnitureCatalog.properties saved in plain text format?
I don´t know. I don´t think so. I think it is saved in the same format that it comes, = .properties. I can change it to .txt and then it changes appearance.
In step 6: change name of MyFile.zip to MyFile.sh3d - that should be MyFile.sh3f.
This was a typo :) it was supposed to be MyFile.sh3f.
It now works for me. I´m not sure what the problem is, but it has something to do with saving the PluginFurnitureCatolog.properties again OR manipulating the .sh3f file. Probably the latter. .... - Maybe the problem is that I´m using mac OS X and the zip program that comes with it by default changes the file somehow...
So doing what you suggested, but with out copying the file out of the zip file. My solution was to download a zip program, ( https://macitbetter.com/BetterZip-Quick-Look-Generator/ ) . This program enabled me to open the zip file with out extracting it. From there I could open the PluginFurnitureCatalog.properties file, make changes to it and save it. Then just saving the zip file again and changing the extension to .sh3f.
Then Furniture... import furniture library. :)
The original values do work, and may be the way you want them, but they could be a bit confusing if someone else tried them on a similar door. So I changed doorOrWindowWallThickness# so the frame protrudes on both sides of the wall, and I moved the door swing to inside the doorframe. I also added a full cut-out to avoid an empty frame being filled:
Thanks for cleaning up my file. I was going to do it when I had this working, but much better having it done for me :)
Germany
Joined: Jun 15, 2017
Post Count: 16
Status:
Offline
Re: Door swing in plan
Hello, sorry for waking the old thread. I'm trying to add door swing to the imported door, actually door sash that should be visible in 2D plan. According to this thread posts, I should edit PluginFurnitureCatalog.properties file which is zipped into .sh3d file. However, when I save my imported door as a .sh3d and unzip it, there is no such file. I get one folder named 1 (and inside it files model.mtl. model.obj, and one png and jpeg file), and four files, 0, contentdigests, home and home.xml. Furniture editor doesn't help in finding PluginFurnitureCatalog.properties file.