IFC Viewer ifcplusplus

This forum section is only for IFC-related issues
User avatar
yorik
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: IFC Viewer ifcplusplus

Postby yorik » Sun Dec 08, 2013 11:43 pm

Apparently XInitThreads() must be called before running any threaded application. I tried to add this at the beginning of the viewer code, but no luck. I guess it's way more complex than that. Maybe the author of ifcplusplus can help?
User avatar
bernd
Posts: 9037
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: IFC Viewer ifcplusplus

Postby bernd » Mon Dec 09, 2013 12:06 am

yorik wrote:Apparently XInitThreads() must be called before running any threaded application...
Exactly, I did it and it workt for me. I had to add the C++11 standard as well and include X11 and thread. Found it at the internet here http://stackoverflow.com/questions/1151 ... r-using-qt :D
Attachments
screen.jpg
screen.jpg (136.78 KiB) Viewed 2702 times
jmaustpc
Posts: 9619
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: IFC Viewer ifcplusplus

Postby jmaustpc » Mon Dec 09, 2013 12:53 am

Look at that shed! Wow ...think of all the "good stuff" you could put in there ....if you had that shed...and somewhere big enough to fit it. :)
User avatar
bernd
Posts: 9037
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: IFC Viewer ifcplusplus

Postby bernd » Mon Dec 09, 2013 7:27 pm

jmaustpc wrote:... you could put in there ....if you had that shed...
Since it is possible to import that shed to FreeCAD one could put may be 1.000.000 of the electrical boards inside that shed which could be imported into FreeCAD too (viewtopic.php?f=9&t=5107). :D
User avatar
bernd
Posts: 9037
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: IFC Viewer ifcplusplus

Postby bernd » Mon Dec 09, 2013 11:06 pm

I gave ifcplusplus running on linux a permanent home on https://github.com/berndhahnebach/IFCPlusPlus
User avatar
yorik
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: IFC Viewer ifcplusplus

Postby yorik » Tue Dec 10, 2013 11:43 am

Wow excellent job Bernd! Finally a working linux IFC viewer!
User avatar
yorik
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: IFC Viewer ifcplusplus

Postby yorik » Tue Dec 10, 2013 11:53 am

Ah, I had to set EXE_LINKER_FLAGS variable in cmake to "-lX11", you might want to update that...
User avatar
bernd
Posts: 9037
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: IFC Viewer ifcplusplus

Postby bernd » Tue Dec 10, 2013 10:03 pm

yorik wrote:Wow excellent job Bernd! Finally a working linux IFC viewer!
Just put together the work of others. It's may be getting even better. The maintainer of ifcplusplus has interest in merging the code of the fork from Sylivian Marie (the one my ifcplusplus is based on). It would make ifcplusplus run on osx which is important because most of architects use osx. It means may be we'll get compatible with the main repository. Would be great, would'nt it :D
User avatar
yorik
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: IFC Viewer ifcplusplus

Postby yorik » Tue Dec 10, 2013 11:26 pm

Definitely. Maybe the author of ifcplusplus, who claimed it's too much work to maintain a linux version, doesn't realize that it's not so much, now that some helpful people have thrown the bases :geek:

One other thing I noticed - and apparently in your screenshot too - is that the icons are missing from the buttons on the left toolbar. Strange, all the resources system seems in place...
User avatar
yorik
Site Admin
Posts: 11645
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: IFC Viewer ifcplusplus

Postby yorik » Tue Dec 10, 2013 11:38 pm

Now next urgent task, make the freecad ifc exporter :)