|
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, 5:49:53 AM | |
| Posted by ninja592 at Aug 23, 2020, 12:46:01 PM |
|
Problems with categories in BlendSwap-CC-0 furniture library Hello, I have been using SH3D and reading the forum for a while now, but this is my first post. First of all, thank you Puybaret for this amazing software! I have recently installed the newest version of SH3D (6.4.2) and all the furniture libraries (1.7.1). I'm using FurnitureLibraryEditor-1.25 to modify the libraries from http://www.sweethome3d.com/freeModels.jsp#BlendSwapModels, which works fine with all of them except for BlendSwap-CC-0.sh3f I have changed a few categories (I'm using an "Electronics" category for "Apple iPhone" for example), but when I import my modified version of the library, it always shows the default categories ("Miscellaneous" for the "Apple iPhone") and renaming an item is not possible either. Is there another solution for this except for downloading all of these models 1-by-1? I'm using Windows 10 but I could reproduce the problem on Windows 7 with older versions of SH3D & furniture libraries as well. Thanks! |
| Posted by harbinger at Aug 23, 2020, 9:34:22 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library There is a default set of furniture that SH3D uses. If you want to customize those categories, see if this helps. |
| Posted by Puybaret at Aug 23, 2020, 10:05:45 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library If the changes you made to the furniture library don’t appear, it could be because of the following reasons: - you edited the SH3F file used by Sweet Home 3D and didn’t restart Sweet Home 3D after the modification - you edited the SH3F file under another file name, that was read after the original file in Sweet Home 3D at import time or launch time. As the pieces of furniture in the libraries available for download have an id, the ones of your library with the same id will be ignored. In this case, you should remove the original library. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by ninja592 at Aug 24, 2020, 8:23:45 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Thank you for your suggestions. I have tried to import the file again, but the furniture is still put into the wrong categories. I made sure that there is no version of the SH3F file in %UserProfile%\AppData\Roaming\eTeks\Sweet Home 3D\furniture and that SH3D was closed before I imported it again. My modifications work fine on all other libraries listed on the downloads page, except for the 3DModels-BlendSwap-CC-0-1.7.1.zip file. Any other ideas? Thanks. |
| Posted by harbinger at Aug 29, 2020, 4:14:51 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Take Blendswap out of the folder and open SH3D again. Is it still showing up? Then take all the others except Blendswap out, and open SH3D again. What's happening? |
| Posted by ninja592 at Aug 29, 2020, 5:54:36 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Thanks harbinger, I have tried your suggestions but I still have the same problem. If I remove the file, the models are not visible in SH3D anymore, but if I add the file again, the models still show up in the wrong categories, even if I delete all the others. I believe that the 3DModels-BlendSwap-CC-0-1.7.1 file itself might be corrupted, but I get the same results if I download it again & make my modifications or try on another computer. |
| Posted by Forestsun at Sep 4, 2020, 9:39:41 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library This method will work correctly? |
| Posted by harbinger at Sep 4, 2020, 8:08:11 PM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Okay I checked to see that my BlendSwap categories were showing up correctly, and I verified that they are. I am using FLE 1.25 in Windows 7 and SH3D 6.0 Beta 14. FLE opens with Java 1.8.0_181 and Java 3D 1.6.1. My FLE settings is for the Default Language (English), using a total of 35 categories. Hopefully this will help Emmanuel narrow the problem down... Other suggestions for ninja592: Make sure there are no unusual characters in either the item names or the category names. Do a search on your system for all BlendSwap furniture files. All except the eteks\sweet home 3d\furniture file should be put into the trash. Make one category change in the ORIGINAL BlendSwap file (put your modified file in the trash for now), save under a different file name, and check in SH3D. Is the single change reflected? Let's see where we are now... |
| Posted by ninja592 at Sep 5, 2020, 8:30:21 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Thanks for your suggestions harbinger, I didn't think of checking for special characters. When you mentioned you see the categories correctly, did you modify any of them? Here's what I did: - removed all furniture files - with FurnitureLibraryEditor-1.25.jar, opened the original BlendSwap-CC-0.sh3f that I downloaded from the SH3D website - deleted everything except for "Chicken" - changed the category of "Chicken" from "Characters" to "Animals" - saved the file under a different name - imported the file - the chicken was in the wrong category, it showed up in "Characters" when it should have been in "Animals" - as test I removed it again and tried with another item: changed "Apple iPhone" from category "Miscellaneous" to "iPhone" and category "Electronics", but when I imported it, neither the name change nor category change was applied - so it doesn't seem that there are individual items that are corrupted (unless I was unlucky and picked exactly the 2 broken ones ;-) I should probably mention as well that I'm using Windows & SH3D in English and I double-checked that I wasn't using any special characters for item & category names. As a comparison, when I change the category of the animals in the BlendSwap-CC-BY.sh3f library, they work fine and all the animals are imported into the "Animals" category correctly. Thanks! |
| Posted by harbinger at Sep 8, 2020, 7:53:48 AM |
|
Re: Problems with categories in BlendSwap-CC-0 furniture library Okay. I didn't realize there were 2 different BlendSwap files — I had the BY-CC, so I downloaded the the CC-0. Upon opening both pluginFurniturecatalog.properties files, I noticed that the CC-0 was an older file (copyright 2016 but perhaps last modified in July 2019), whereas my BY-CC was created August 2020 by FLE. There's quite a difference in the file headers. However in both files there is a corresponding category #x for each furniture entry, which FLE should change once you save the file after editing. So what I need for you to do now is open the MODIFIED CC - 0 properties file and tell me what you see at the top of that text file. Also, did you extract either SH3F folders from the zip archive into the furniture folder? |
| 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, 5:49:53 AM |