Import IFC files to Blender

1,138 views
Skip to first unread message

Emanuele Gissi

unread,
Jun 7, 2011, 1:54:36 AM6/7/11
to blenderfds

Johannes Dimyadi

unread,
Jun 7, 2011, 3:20:48 AM6/7/11
to blend...@googlegroups.com
Hi Emanuele

Yes, this is long overdue!

Thank you for the link.

Johannes

Kristopher Overholt

unread,
Jun 7, 2011, 3:32:37 AM6/7/11
to blend...@googlegroups.com
This is excellent. Does anything extra need to be done to BlenderFDS,
or will an IFC file import into Blender with this plugin and export
with BlenderFDS easily?

Personally, I'm still stuck on how to use numpy with BlenderFDS, but I
cannot think of a good way. I use virtualenv on my web server for a
custom Python install with modules, but I do not think this will work
with Blender. Have you received any feedback from other Blender devs
who use additional Python modules with Blender?

Thanks for the info!

Kris

--
Kristopher J. Overholt
Ph.D. Student, Fire Research
The University of Texas at Austin
http://www.koverholt.com
Mobile: (832) 736-3473

Emanuele Gissi

unread,
Jun 9, 2011, 10:20:42 AM6/9/11
to blend...@googlegroups.com
1) Regarding Numpy and Blender, I posted the result of my experiments more than 20 days ago but I obtained no reply from Matti side.

Here they are:

8<-----

Using NumPy in Blender is easy (for a developer!).

As you know, Blender 2.57 has its own separate installation of Python 3.2.
NumPy shall be installed into that Blender Python.

The simplest way to do that:
1) install NumPy on a local Python 3.2 installation.
2) copy the numpy folder from the lib/python3.2/site-packages subdirectory of your local Python 3.2 installation into the scripts/modules subdirectory of Blender (not into the python/lib/python3.2/site-packages subdirectory; Blender doesn't seem to look there.)

Now run Blender and open a Python console. If you do not know how, ask me.
Test NumPy by typing: import numpy
And your are done.

Use the latest numpy-1.6.0rc3 that supports Python 3.2

I had to compile it for Ubuntu as there's no binary available. Not difficult, not too easy.
There is a Windows binary ready to download.
After local installation test it in a Python console before jumping into Blender.

8<-----

ASAP I will find an easier way to install Numpy in Blender.
Hey guys, now it's your turn to dirty your hands!

2) About IFC: I could not perform any experiment about that. However the geometry is there.
That's enough for now. Something more could be done, for sure. Time will tell.

Emanuele
--
http://www.emanuelegissi.eu/

Johannes Dimyadi

unread,
Jun 9, 2011, 6:23:48 PM6/9/11
to blend...@googlegroups.com
I'll try importing a couple of IFC models over the weekend and we'll see how well it's going to work.

Johannes

Emanuele Gissi

unread,
Jun 10, 2011, 3:18:49 AM6/10/11
to blend...@googlegroups.com
Ok, thank you!
Emanuele
--
http://www.emanuelegissi.eu/

Johannes Dimyadi

unread,
Jun 12, 2011, 6:16:26 PM6/12/11
to blend...@googlegroups.com
Well, I installed the ifcblender add-on successfully and managed to import a simple ifc model, but had some difficulty viewing the model.

Importing a larger model seems to take a long time.

Also, the add-on installation gave a warning about missing components, but didn't stop it from functioning.

Will continue playing with this ifc import as it's going to be very useful.

Johannes

Stephen Olenick

unread,
Jun 21, 2011, 9:09:00 AM6/21/11
to blenderfds
I can confirm I also was able to import an IFC model into Blender.
Once it was successfully imported, it looked fine and was ready for
BlenderFDS, but I can also confirm what Johannes says, that it took an
awfully long time to import compared with other file formats.

Stephen.

On Jun 12, 6:16 pm, Johannes Dimyadi <jdimy...@gmail.com> wrote:
> Well, I installed the ifcblender add-on successfully and managed to import a
> simple ifc model, but had some difficulty viewing the model.
>
> Importing a larger model seems to take a long time.
>
> Also, the add-on installation gave a warning about missing components, but
> didn't stop it from functioning.
>
> Will continue playing with this ifc import as it's going to be very useful.
>
> Johannes
>
> On Fri, Jun 10, 2011 at 7:18 PM, Emanuele Gissi <emanuele.gi...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Ok, thank you!
> > Emanuele
>
> > On Fri, Jun 10, 2011 at 12:23 AM, Johannes Dimyadi <jdimy...@gmail.com>wrote:
>
> >> I'll try importing a couple of IFC models over the weekend and we'll see
> >> how well it's going to work.
>
> >> Johannes
>
> >> On Fri, Jun 10, 2011 at 2:20 AM, Emanuele Gissi <emanuele.gi...@gmail.com
> >> > wrote:
>
> >>> 1) Regarding Numpy and Blender, I posted the result of my experiments
> >>> more than 20 days ago but I obtained no reply from Matti side.
>
> >>> Here they are:
>
> >>> 8<-----
>
> >>> Using NumPy in Blender is easy (for a developer!).
>
> >>> As you know, Blender 2.57 has its own separate installation of Python
> >>> 3.2.
> >>> NumPy shall be installed into that Blender Python.
>
> >>> The simplest way to do that:
> >>> 1) install NumPy on a local Python 3.2 installation.
> >>> 2) copy the numpy folder from the lib/python3.2/site-packagessubdirectory of your local Python 3.2 installation into the
> >>> scripts/modules subdirectory of Blender (*not* into the
> >>> python/lib/python3.2/site-packages subdirectory; Blender doesn't seem to
> >>> look there.)
>
> >>> Now run Blender and open a Python console. If you do not know how, ask
> >>> me.
> >>> Test NumPy by typing: import numpy
> >>> And your are done.
>
> >>> Use the latest numpy-1.6.0rc3 that supports Python 3.2
>
> >>> I had to compile it for Ubuntu as there's no binary available. Not
> >>> difficult, not too easy.
> >>> There is a Windows binary ready to download.
> >>> After local installation test it in a Python console before jumping into
> >>> Blender.
>
> >>> 8<-----
>
> >>> ASAP I will find an easier way to install Numpy in Blender.
> >>> Hey guys, now it's your turn to dirty your hands!
>
> >>> 2) About IFC: I could not perform any experiment about that. However the
> >>> geometry is there.
> >>> That's enough for now. Something more could be done, for sure. Time will
> >>> tell.
>
> >>> Emanuele
>
> >>> On Tue, Jun 7, 2011 at 9:32 AM, Kristopher Overholt <koverh...@gmail.com
> >>> > wrote:
>
> >>>> This is excellent. Does anything extra need to be done to BlenderFDS,
> >>>> or will an IFC file import into Blender with this plugin and export
> >>>> with BlenderFDS easily?
>
> >>>> Personally, I'm still stuck on how to use numpy with BlenderFDS, but I
> >>>> cannot think of a good way. I use virtualenv on my web server for a
> >>>> custom Python install with modules, but I do not think this will work
> >>>> with Blender. Have you received any feedback from other Blender devs
> >>>> who use additional Python modules with Blender?
>
> >>>> Thanks for the info!
>
> >>>> Kris
>
> >>>> On Tuesday, June 7, 2011, Johannes Dimyadi <jdimy...@gmail.com> wrote:
> >>>> > Hi Emanuele
> >>>> > Yes, this is long overdue!
> >>>> > Thank you for the link.
> >>>> > Johannes
>
> >>>> > On Tue, Jun 7, 2011 at 5:54 PM, Emanuele Gissi <
> >>>> emanuele.gi...@gmail.com> wrote:
> >>>> > Maybe we are interested in this:
>
> >>>>http://www.blender3darchitect.com/2011/06/import-ifc-files-to-blender...

Johannes Dimyadi

unread,
Jun 21, 2011, 9:38:42 AM6/21/11
to blend...@googlegroups.com
Hi Stephen

Would be interesting to see how well it would export to FDS via BlenderFDS, particularly with complex model.

Johannes
Reply all
Reply to author
Forward
0 new messages