Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 12
Posts: 12   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 25877 times and has 11 replies Next Thread
son87a
Newbie




Joined: Oct 28, 2021
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to add new 3d models for SweetHome3D JS?

Hi,
When I add applicationParams.furnitureCatalogURLs = ["lib/resources/DefaultFurnitureCatalog.json"];
The console show error:

TypeError: a.getResourceBundles is not a function
at DefaultFurnitureCatalog.readFurnitureCatalog (sweethome3d.min.js:20)
at DefaultFurnitureCatalog.readDefaultFurnitureCatalogs (sweethome3d.min.js:20)
at new DefaultFurnitureCatalog (sweethome3d.min.js:20)
at new DefaultUserPreferences (sweethome3d.min.js:20)
at SweetHome3DJSOnlineApplication.SweetHome3DJSApplication.getUserPreferences (sweethome3d.min.js:20)
at new a (sweethome3d.min.js:20)
at SweetHome3DJSOnlineApplication.SweetHome3DJSApplication.createHomeController (sweethome3d.min.js:20)
at sweethome3d.min.js:20
at a.fireCollectionChanged$java_lang_Object$int$com_eteks_sweethome3d_model_CollectionEvent_Type (sweethome3d.min.js:20)
at a.fireCollectionChanged (sweethome3d.min.js:20)

[Nov 9, 2021, 3:38:22 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to add new 3d models for SweetHome3D JS?

For more information about adding 3D models to Sweet Home 3D JS, see also my answer here.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[May 4, 2023, 3:43:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 12   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved