Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
2
Question by Wouterbalk · Jul 20, 2016 at 02:28 PM · inputasset

IFC import

Goodday,

For our project, a infra building we created several familys with a lot of "shared parameters in Revit. now we would like to see them back in Unity 3D but i don`t see any option to import the IFC file.

can someone help me with this isseu

thank`s a lot, kind regards

Wouter Balk

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by mthorade · Dec 06, 2016 at 12:55 PM

IFC import in Unity would be awesome, but currently
one has to first convert the IFC file into one of the formats that Unity understands:
https://docs.unity3d.com/Manual/HOWTO-importObject.html
Have a look at DAE, OBJ, and FBX, they might be suited for your job.

Revit can export to Filmbox FBX:
https://en.wikipedia.org/wiki/FBX

IfcOpenShell comes with a command line tool IfcConvert:
http://ifcopenshell.org/ifcconvert.html
That tool can convert IFC to Collada DAE or Wavefront OBJ.
https://en.wikipedia.org/wiki/COLLADA
https://en.wikipedia.org/wiki/Wavefront_.obj_file

This blog suggests to use Cinema4D to convert IFC into Filmbox FBX:
http://cad-3d.blogspot.de/

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eldamir88 · Jan 17, 2020 at 11:27 AM 0
Share

In my project, I have some success with letting IfcConvert convert the IFC file to OBJ and X$$anonymous$$L. Then load the OBJ into the scene and parse the meta and hierarchy from the X$$anonymous$$L file to reorganize the element tree to fit.

Takes some scripting and fiddling, but it works

avatar image
1

Answer by lohx · Nov 12, 2016 at 04:56 PM

hi all,

we are also looking for way to import IFC files into Unity. We are working in AEC sector as well and want to evaluate the possibility to make a app to use IFC data with VR. If it would be possible to get also Psets into Unity it would open up a hole new variety of possible applications.

Thanks for any hints!

Florian

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Clogboy · Feb 20, 2017 at 10:13 PM

Have you opened an IFC file in notepad before? The format is almost begging for a script writer to turn that raw data into a unity mesh model.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by H-Alex · Nov 07, 2017 at 04:02 PM

@Wouterbalk @lohx

It's hard to convert ifc to polygonal straight from the ifc file because it's mostly a procedural generation of primitives (extrudes, loft, surfaces...) and there are lots of operations to manage before having anything to work properly.

I've had the same need for a long time and had hard time finding a solution. I developed this plugin for Bim Vision that exports ifc to an optimized polygonal model (.obj) that can be imported right away in Unity.

Feel free to check it out and try the demo version.

PolyEx .OBJ Exporter

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Clogboy · Nov 08, 2017 at 07:52 AM 0
Share

Does it do any sort of data handling? When data doesn't matter I just pass the FBX through 3DS $$anonymous$$ax so everything with the same material is meshed together. When it does matter I generate a CSV in Dynamo and import it in Unity.

avatar image H-Alex Clogboy · Nov 08, 2017 at 01:06 PM 0
Share

Not yet but if this is a requested feature I'll add that to the next release. What is the data that is exported from Dynamo and that you need in Unity ? Btw, how do you initially convert to fbx ? from all the solutions I tried, I've had troubles finding one that managed multiple building / sites, that keep colors / object names / layers etc.... The plugin I developed also manages material / ifc entity / layer merges, thus avoiding the need for an intermediate software.

avatar image Clogboy H-Alex · Nov 08, 2017 at 02:02 PM 0
Share

I'll keep it in $$anonymous$$d for my next project. I just link it into 3DS $$anonymous$$ax to combine geometries with the same material, but still have to recreate the materials in Unity. I usually recreate the shaded Revit material (no textures).

When working with a big building or a site, I make several smaller FBX exports and then link them all in one 3DS $$anonymous$$ax model which I export to FBX again. In this way, you can do a fair bit of material- and model management that's easy to maintain and should perform well. Requires more prep work but it will pay off in the end. I've made a few AR 'holograms' this way for the Daqri smart helmet.

Show more comments
avatar image
0

Answer by rresende · Mar 16, 2018 at 07:03 PM

I'm working on a process to get element parameter:

In Revit: - Export FBX - Run Dyanmo script that produces a XML file with Element Id and other info extracted from the elements (currently Category but any element info can be included). - List item

In Unity run a script that -Imports FBX -Reads element id from element name in the Hierarchy - Parses XML file for id and aditional info

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image OzyBear · Mar 27, 2018 at 10:49 AM 0
Share

Could you share your unity script with us?

avatar image JCIPL · Feb 27, 2019 at 06:43 AM 0
Share

cool.... can you share that script pls in GitHub

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

76 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity input stutter with new Input System and 3rd Person Starter Asset 2 Answers

Is there a way to update InputSystem by Fixed Time without stuttering in 2020.3.33f1 or higher? 0 Answers

How can I have a uniform struct in a Shader? 0 Answers

Differentiate between types of key press 1 Answer

How do you detect if a touch is hitting an object? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges