Print at Dec 21, 2025, 2:09:30 PM

Posted by Puybaret at May 7, 2012, 6:58:21 PM
Re: Attach View issue
I think you're not on the easiest track. You don't need an other view factory, just use the one of Sweet Home 3D. Create a new HomeController3D instance, with home, preferences and viewFactory of Sweet Home 3D (I think you can set contentManager and undoSupport to null for your case), and call getView to get an other 3D view that you add to any window. If you don't need any mouse/keyboard interaction you can even instantiate HomeComponent3D class directly with a null controller, and add this component to a frame.

Will your project be distributed to the public?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator