|
Sweet Home 3D Forum » List all forums » » Forum: 3D models and textures » » » Thread: Problems with categories in BlendSwap-CC-0 furniture library |
||
| Print at Dec 19, 2025, 2:19:25 AM |
|
|
| Posted by ninja592 at Sep 8, 2020, 10:54:30 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Interesting... this is what the PluginFurniturecatalog.properties for the modified version shows: #What I also noticed is that my 2 test objects, the chicken and the iPhone show up correctly in the file: id#85=Blend Swap CC-0#chickenid#64=Blend Swap CC-0#iphoneSo the entries in the file look correct, but when I import the .sh3f file into SH3D, they show up incorrectly. I'm not sure if I understand your second question. What I did with the libraries was: - download zip file to external drive - unzip file to external drive - make modifications via FurnitureLibraryEditor-1.25.jar - save modified file with a different name on external drive - double-click modified .sh3f file to import it into SH3D |
| Posted by harbinger at Sep 8, 2020, 4:43:12 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Ok, maybe we're getting somewhere. It seems that FLE should be renumbering the entries when saving, and SH3D's reader expects to start at entry #1. I've added, subtracted, and renumbered quite a few entries in all my SH3F files, but they always get listed in numerical order, starting with #1. Renumber your two entries so that they are listed as #1 and #2 (instead of #85 and #64), and make sure that the edited .properties file is in its correct place in the furniture folder hierarchy, and pull up SH3D again. EDIT: also remove the # in front of the ID line, so that it reads: id=SweetHome3D#BlendSwap-CC-0-Models SH3D may need that ID line, but the # renders it as a comment line. Does this fix it? |
| Posted by harbinger at Sep 9, 2020, 5:16:32 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Ok, I can verify the problem is not with the numbering. I opened CC-0 with FLE, added and applied a new category to one furniture entry, saved it with the same path name, opened the modified .properties file and verified the category for that entry was indeed changed, opened the SH3F file in SH3D, and saw that the new category was not applied. IOW, I replicated ninja's problem. Doing further testing.... |
| Posted by harbinger at Sep 9, 2020, 6:38:02 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library GOOD NEWS! I figured out the problem. I thought it was odd that the ID of each entry in the .properties file contained the name of the BlendSwap file within the ID, but this wasn't the case for the other sh3f .properties files. So on a hunch, I took that out of the ID text and left the id name, checked it in SH3D, and sure enough that was the problem. So here's how you fix it: 1. Open BlendSwap-CC-0.sh3f with 7-zip, or some other decompression program. 2. Extract the file PluginFurnitureCatalog.properties onto your desktop. 3. Open the file with a text editing program like Notepad, and do a Find/Replace. 4. In the Find field, enter Blend Swap CC-0# and mind the spaces and trailing pound sign. Replace all instances. You should notice this text disappear from the id= lines of each furniture entry. 5. Save the file and put it back into the SH3F archive. Close the archive. 6. You can then make changes with FLE, then open it directly with SH3D. The new categorization should be correct. I don't know why the SH3F reader in Sweet Home would treat an edited file that way, but at least it's there if we need it. If all goes well, consider this thread [RESOLVED]! ![]() |
| Posted by ninja592 at Sep 9, 2020, 2:10:34 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Wow, thank you for your tests harbinger! Unfortunately I didn't get the same results... I followed your steps exactly with my modified file and also removed the extra # in front of "id=SweetHome3D#BlendSwap-CC-0-Models", but I still get the same behavior. Then I took the original file and did exactly the same steps, but it still didn't work correctly. I then compared another modified file (from BlendSwap-CC-BY) that imported correctly and this is what it shows: # So they look similar when modified but one imports correctly while the other doesn't... @harbinger: Could you post the start of your modified BlendSwap-CC-0 file and your first entry please? Maybe I can find something in there if I compare it... |
| Posted by ninja592 at Sep 12, 2020, 12:16:29 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library I have found the problem! I checked the contents of BlendSwap-CC-0.sh3f again and noticed that there is PluginFurnitureCatalog.properties but also PluginFurnitureCatalog_en_US.properties. In the en_US file, the item names + categories still had the original names and did not contain my modifications. My Windows was set to US English, after I changed it to UK English everything was exactly where it needed to be in SH3D Then I thought I'll try to remove the PluginFurnitureCatalog_en_US.properties file from BlendSwap-CC-0.sh3f and changed the Windows language back to US English and it worked as well. Problem resolved Thank you so much harbinger, I would have never thought to look into the contents of the *.sh3f file! |
| Posted by harbinger at Sep 12, 2020, 6:30:41 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library I'm so glad we were able to put our brains together to solve the problem! |
|
|
|
Current timezone is GMT Dec 19, 2025, 2:19:25 AM |