confused How should I let Sweet Home 3D import IFC file?

This topic has been viewed 12566 times and has 9 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
robin87105
Posts: 3
Joined: Sat May 14, 2016 6:03 am

How should I let Sweet Home 3D import IFC file?

Post by robin87105 »

How should I let Sweet Home 3D import IFC file

Hi, I am a beginner of Sweet Home 3D and English is not my nature language, please forgive my bad semantic and sentences.

I'm trying to use massisframework(http://www.massisframework.com/)
to make an indoor simulation environment.

MASSIS simulator uses the Sweet Home 3D tool for the design of the environment.

I want to import a BIM/IFC (Industry Foundation Classes)format file to Sweet Home 3d.

Is there any way to make Sweet Home 3d import and export ifc files?

If not, could you please suggest me how to deal with it ?

Should I convert IFC file to Wavefront .obj file before I import to Sweet Home 3d?

Thank you guys for reading my questions, I really hope you can help me. [:)]

I'm really sorry that I don't know which place is more proper to post this question, so I post at two place. Please forgive me.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How should I let Sweet Home 3D import IFC file?

Post by Puybaret »

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
User avatar
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Re: How should I let Sweet Home 3D import IFC file?

Post by bdfd »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How should I let Sweet Home 3D import IFC file?

Post by Puybaret »

And at the end, why not using Sweet Home 3D to improve the management of traffic jams!?! [:))]
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
mazoola
Posts: 152
Joined: Wed Mar 25, 2015 1:26 pm
Country: USA

Re: How should I let Sweet Home 3D import IFC file?

Post by mazoola »

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.)
robin87105
Posts: 3
Joined: Sat May 14, 2016 6:03 am

Re: How should I let Sweet Home 3D import IFC file?

Post by robin87105 »

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. [:)]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How should I let Sweet Home 3D import IFC file?

Post by Puybaret »

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
robin87105
Posts: 3
Joined: Sat May 14, 2016 6:03 am

Re: How should I let Sweet Home 3D import IFC file?

Post by robin87105 »

Hi Puybaret, thanks for your reply. It help me a lot![:)]

I will follow your suggestion and try to make a plug-in to import IFC files. [:)]
VeroniQ
Posts: 886
Joined: Tue Mar 03, 2015 9:01 am
Country: France

Re: How should I let Sweet Home 3D import IFC file?

Post by VeroniQ »

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?
jtm2020hyo
Posts: 13
Joined: Wed Jun 24, 2020 6:49 am
Country: Perú

Re: How should I let Sweet Home 3D import IFC file?

Post by jtm2020hyo »

http://www.sweethome3d.com/support/foru ... read,10345

IFC plugin work was frozen, but maybe if we do more request they might finish the work.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest