ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
635 stars 202 forks source link

Can i create a empty IFC Model and write Three.js Mesh to it? #127

Open MichaelHilgers opened 2 years ago

MichaelHilgers commented 2 years ago

Hello @tomvandig

Can i create a empty IFC Model and write Three.js Mesh to it? I have create a 3d hall configurator with three.js and i want to export the complet three.js model to ifc. https://konfigurator.ligna-systems.com/ image

@tomvandig have you any idea how i can do it, please?

Thanks!

tomvandig commented 2 years ago

Hi @MichaelHilgers

I've started making this at some point in the past, but I've never completed it. Luckily this is rather simple, if you just want to export simple BREPS.

You can find my progress here: https://github.com/tomvandig/web-ifc-three/commits/export (last 4 commits).

That's a branch of web-ifc-three that exports all meshes in the threejs scene to web-ifc, and then allows the user to export and download the ifc file.

If you are serious about this, I know many people would love to have that branch converted into a full-featured exporter for threejs.

If you need more info, come find me on the discord channel, I'd be happy to help you out further.

Cheers, Tom

MichaelHilgers commented 2 years ago

Hi Tom

Thanks. I send you a message on discord.

Michael


Von: Tom van Diggelen @.***> Gesendet: Freitag, 7. Januar 2022, 18:52 An: tomvandig/web-ifc Cc: Michael Hilgers; Mention Betreff: Re: [tomvandig/web-ifc] Can i create a empty IFC Model and write Three.js Mesh to it? (Issue #127)

Hi @MichaelHilgershttps://github.com/MichaelHilgers

I've started making this at some point in the past, but I've never completed it. Luckily this is rather simple, if you just want to export simple BREPS.

You can find my progress here: https://github.com/tomvandig/web-ifc-three/commits/export (last 4 commits).

That's a branch of web-ifc-three that exports all meshes in the threejs scene to web-ifc, and then allows the user to export and download the ifc file.

If you are serious about this, I know many people would love to have that branch converted into a full-featured exporter for threejs.

If you need more info, come find me on the discord channel, I'd be happy to help you out further.

Cheers, Tom

— Reply to this email directly, view it on GitHubhttps://github.com/tomvandig/web-ifc/issues/127#issuecomment-1007608426, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADBYFOHBVW4MNUJKWUFVEQDUU4R7NANCNFSM5LO5XE7Q. You are receiving this because you were mentioned.Message ID: @.***>

makc commented 2 years ago

@MichaelHilgers are you still working on this? @tomvandig what would be the expected result here? what about meshes that arent solids?

QuimMoya commented 2 years ago

I will take care of this bounty.

mysterybear commented 2 years ago

How's this one going?

NHQue commented 1 year ago

Yes, would also be interested in it!