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.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Door swing in plan
Hi, you need to edit the door properties zipped in a SH3F file - a furniture library created with the Furniture Library editor. Within the SH3F file, you will see a file called PluginFurnitureCatalog.properties with additional model properties to be used by SH3D. Each item has a list of various properties, including optional properties to define the door swing in the 2D plan. The door properties could look something like this (for a double door, note that #1 must be changed according to model):
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Door swing in plan
PS Actually, just for the record, it is probably possible to edit these properties in the (new) Home.xml file which is now part of the .sh3d file. Some values, however, are indicated differently: relative / radians. ok
Netherlands
Joined: Apr 8, 2022
Post Count: 1180
Status:
Online
Re: Door swing in plan
thanks for the info :)
Be aware that you responded to a post from 2017. Many things have changed since then. You don't have to manually edit the sh3f file, you can now edit them in the Furniture Library Editor. The SVG mini manual is still as relevant as before.
---------------------------------------- Dodecagon.nl 800+ 3D models, manuals, and projects