Print at Dec 24, 2025, 10:29:30 AM

Posted by Puybaret at Jun 10, 2012, 10:03:38 PM
Re: Add furniture into the default furniture library from a plugin
Just create some instances of com.eteks.sweethome3d.model.CatalogPieceOfFurniture and add them to the furniture catalog returned by getFurnitureCatalog method available in the user preferences. To configure correctly CatalogPieceOfFurniture instances, have a look to com.eteks.sweethome3d.io.DefaultFurnitureCatalog class.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator