|
Sweet Home 3D Forum » List all forums » » Forum: Wishlist » » » Thread: Material name prefix so it doesn't show in the material list » » » » Post: Re: Material name prefix so it doesn't show in the material list |
Print at Dec 19, 2025, 5:29:08 AM |
| Posted by Keet at Sep 7, 2024, 6:38:29 PM |
|
Re: Material name prefix so it doesn't show in the material list Or maybe the model could be automatically imported as a "group", so you get just one line in the material list. That wouldn't work. A group is something entirely different from a material or a model. It isn't even related to materials. That Sweet Home 3D creates separate groups for materials doesn't mean that the obj file is constructed that way. The whole file represents the model. You could have a model exported from Blender with only a single object (o line) and no groups (g lines) and still have different materials on the model. That's very common.What I wished for has to do with the way materials are listed in the UI when you modify furniture materials. Some materials are invisible to the user, for example a hinge that is hidden inside another part or an invisible box to expand the bounding box. Those are materials I would like to be kept out of the list because there's no sense in changing those materials. Of course they should stil export with the model, just not show in the UI. That wouldn't be too hard to implement if you think about the same system that is used for deformations: a sweethome3d_* prefix but now not on a group but on a material name (usemtl line). A material name like 'sweethome3d_nolist_TheMaterialName' could be detected by the prefix just like deformations are found using the prefixes and skipped when the list for the UI is populated (but remain in the model material list). ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 19, 2025, 5:29:08 AM |