France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Wow! MASSIS framework seems to do some terrific things with Sweet Home 3D, and the video shown at the home page of MASSIS framework is amazing. Do you work on this project, or do you happen to use it?
At the moment, there's no support for BIM/IFC in Sweet Home 3D but that would be nice. Some time ago, someone started a project for this purpose but it doesn't look like he went very far
Converting IFC files to OBJ files should be a solution, but OBJ imported 3D models are considered as a whole object / piece of furniture in Sweet Home 3D, making it difficult to arrange this kind of home.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Great ! we can replace the characters by vehicles and go to 500 miles Indianpolis or the Monaco Grand Prix !
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
And at the end, why not using Sweet Home 3D to improve the management of traffic jams!?!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
USA
Joined: Mar 25, 2015
Post Count: 153
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Wow! I have absolutely no practical use for MASSIS - so it will definitely be the next thing I decide to learn! (I had stumbled over FlexSim earlier, researching problems with Sketchup exports, and it seemed pretty much sufficiently irrelevant to my current needs to be a winner - but MASSIS's used of SH3D as the modeling engine moves it into first place.)
Joined: May 14, 2016
Post Count: 3
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Sorry for that I had lots work to do and I forgot this. Thank you for providing the requested information. I did't work on MASSIS project, but I hope to build my research environment(kind of indoor disaster simulation) base on it. That's why I want to know how to import IFC file to Sweet Home 3d. I saw the Sweet Home 3D BIM Plugin project earlier, but it seems not to be done. BTW, I saw that SH3D have JAVA API. Is it possible to make a plugin to import IFC file to SW3D by myself? If it is possible, where or how should I start? I'm really new and not familiar with these. Thank you guys for reading my questions, I really hope you can help me.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Programming a plug-in able to import IFC files would be a good start. First, you should learn how to write a plug-in, then create objects of the com.eteks.sweethome3d.model package from the data read in an IFC file and add these objects to the edited Home instance. The magic of MVC will make them appear at screen automatically. As far as I know, IFC / BIM files exists at binary and XML formats, and it should be more easy to decode the XML files using Java DOM API (or SAX API if the file is big).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Mar 3, 2015
Post Count: 882
Status:
Offline
Re: How should I let Sweet Home 3D import IFC file?
Hello everybody, Still interested about this "MASSIS subject"? I invite you to read this interesting interview in the blog. Many thanks, Rafael. How goes on your plug-in, Robin?