It worked right outside the box for you? withiout any code playing or strange installations?
IFC import in Linux mint doesn't work.
Re: IFC import in Linux mint doesn't work.
Kind of... found cmake-gui help.
Bernd's post more than one year ago and IfcOpenShell README.md :-
https://forum.freecadweb.org/viewtopic. ... f&start=10
https://github.com/IfcOpenShell/IfcOpenShell
Seem my problem somehow at some earlier point was similar to sergiobini (freezing) but now seem different - a problem between Linux Mint and Fedora? I am checking IfcOpenShell, not much on Fedora in fact...
See screencapture on the setting in cmake-gui... hope it helps.
- sergiobini
- Posts: 17
- Joined: Thu Nov 23, 2017 3:49 pm
- Location: Italy
- Contact:
Re: IFC import in Linux mint doesn't work.
Sorry,
this is the file i was talking about
this is the file i was talking about
- Attachments
-
- kitchen_cabinet_58x60x90_classic_line_0.ifc
- (63.34 KiB) Downloaded 124 times
Re: IFC import in Linux mint doesn't work.
I just used the ifcopenshell 0.5.0-preview2 and compile
(EDIT: note again i am on Fedora - problem may be platform specific)
I am not sure the above make some difference - my attempt to export and reimport a simple wall and window still have problem - only window is re-imported...
But i try your file, the cabinet is there (though not shown in the Equipment object, but need to turn on the underlying shape object)
BTW, any recommendation on ifcviewer in linux?
Re: IFC import in Linux mint doesn't work.
As I said in last post, I just used the ifcopenshell 0.5.0-preview2 and compile - in Fedora 25 which have oce.
I also get AppImage to my understanding use occ kind of 'built-in'.
My attempt to export and reimport a simple wall and window still have problem - only window is re-imported.
Need to have an IFCviewer on linux to see if export always have problem.
Thanks for any idea?
AppImage
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12802 (Git)
Build type: None
Branch: master
Hash: 91bb7ed0c51ba47f011199af7bc0a3a2964cf5be
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Fedora Przemof Repo
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12435 (Git)
Build type: Unknown
Branch: master
Hash: 725a5b6545e41654595ed54ed2b9f4a55aa6ca1b
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
I also get AppImage to my understanding use occ kind of 'built-in'.
My attempt to export and reimport a simple wall and window still have problem - only window is re-imported.
Need to have an IFCviewer on linux to see if export always have problem.
Thanks for any idea?
AppImage
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12802 (Git)
Build type: None
Branch: master
Hash: 91bb7ed0c51ba47f011199af7bc0a3a2964cf5be
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Fedora Przemof Repo
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12435 (Git)
Build type: Unknown
Branch: master
Hash: 725a5b6545e41654595ed54ed2b9f4a55aa6ca1b
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
- Attachments
-
- Test_ Arch Wall & Window Opening_17_ Linux_ Wall with openings_ use 0.50rc_ 3 _0.17_PrzemofRepo_oce.ifc
- (8.7 KiB) Downloaded 59 times
-
- Test_ Arch Wall & Window Opening_16_ Linux_ Wall with openings_ use 0.50rc_ 2.ifc
- (8.87 KiB) Downloaded 126 times
-
- Test _ Ifc export import_ Wall & Window_ 01.fcstd
- (12.79 KiB) Downloaded 124 times
Re: IFC import in Linux mint doesn't work.
The IFC viewer I use on linux if ifcplusplus, works pretty well. Usually if a file imports in it without error, then it's a good file.
Indeed a first important step is to look if the IFC file has a problem, or the FreeCAD IFC importer.
Indeed a first important step is to look if the IFC file has a problem, or the FreeCAD IFC importer.
Re: IFC import in Linux mint doesn't work.
Thanks!
This site right? - https://github.com/ifcquery/ifcplusplus
Seems needs to try compile again
BTW, I visited site below some time ago http://www.ifcwiki.org/index.php/Open_Source- they have the ifcplusplus 'outdated' http://www.ifcplusplus.com/. I thought the software no longer exist as it lead to some japanese website.
Thanks anyway.
Re: IFC import in Linux mint doesn't work.
Seems like there is still activity on the ifcplusplus repo though: https://github.com/ifcquerypaullee wrote: ↑Wed Dec 13, 2017 1:57 pm BTW, I visited site below some time ago http://www.ifcwiki.org/index.php/Open_Source- they have the ifcplusplus 'outdated' http://www.ifcplusplus.com/. I thought the software no longer exist as it lead to some japanese website.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: IFC import in Linux mint doesn't work.
Yes, i found the correct / updated site. Thanks.
p.s.
Off-topic info for reference, hope it helps:
- I try to compile on Fedora 25 the source from IfcPlusPlus:
> It failed as it require CMake3.9.4, QT etc. etc., F25 only have something like 3.9.4
. (force install 3.9.4 ok, but can't do with QT etc.)
- Then I find Bernd's thread and repo https://forum.freecadweb.org/viewtopic. ... &start=100:
> Which fail too with some log... will try harder
...
-- Linux OS --> Qt4 is used
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1318 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
SimpleViewerExample/CMakeLists.txt:18 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/paullee/IfcPlusPlus-master_Bernd-repo/build/CMakeFiles/CMakeOutput.log".
p.s.
Off-topic info for reference, hope it helps:
- I try to compile on Fedora 25 the source from IfcPlusPlus:
> It failed as it require CMake3.9.4, QT etc. etc., F25 only have something like 3.9.4
. (force install 3.9.4 ok, but can't do with QT etc.)
- Then I find Bernd's thread and repo https://forum.freecadweb.org/viewtopic. ... &start=100:
> Which fail too with some log... will try harder
...
-- Linux OS --> Qt4 is used
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1318 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
SimpleViewerExample/CMakeLists.txt:18 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/paullee/IfcPlusPlus-master_Bernd-repo/build/CMakeFiles/CMakeOutput.log".
Re: IFC import in Linux mint doesn't work.
Hi, with help from Twohot and Bernd, ifc++ 'kind of' works!
Found the files I test output + input = already have no wall! (Reading the content of file also find no word about 'wall'). Only windows as they were imported in FreeCAD.
So as of now, for my Fedora 25:-
- Export works only for window object only (?), wall sort of disappear
- Seem import (the) window and sergiobini's cabinet are both okay
- Import ifc++ IfcOpenHouse.ifc: have apparently roof not working
- Would test more
Linux Mint
- Seem import not yet ok(?)
Found the files I test output + input = already have no wall! (Reading the content of file also find no word about 'wall'). Only windows as they were imported in FreeCAD.
So as of now, for my Fedora 25:-
- Export works only for window object only (?), wall sort of disappear
- Seem import (the) window and sergiobini's cabinet are both okay
- Import ifc++ IfcOpenHouse.ifc: have apparently roof not working
- Would test more
Linux Mint
- Seem import not yet ok(?)