-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 2.7 and selfcompiled ifcopenshell #2
Comments
It's not the Python version that is the problem. Simply IfcOpenShell has been changed in the mean-time. Usually these changes under the hood are not affecting end-user code dramatically, but in this case, the datatypes for aggregates have changed, breaking the attribute value inspection code in this module. The only real solution is to stick to the IfcOpenShell that is provided in this repository, I don't think I will find the time soon to synchronize this module with contemporary IfcOpenShell. In case you are curious to dig deeper: The vector types (https://github.com/DURAARK/pyIfcExtract/blob/master/ifc_query.py#L61) are now all obsolete. So remove these two lines. Then here (https://github.com/DURAARK/pyIfcExtract/blob/master/ifc_query.py#L66) you might be able to simply check for @berndhahnebach Bernd, out of curiosity, can I ask why you are interested in this module? |
To be honest I'm not really interested in the module. There was a disscussion on FreeCAD forum about the module an some guy tested the module with the ifcopenshell included in FreeCAD and failed. I tried to help and gave it a try too. Thank you Thomas for the detailed description. What dou you think? The issue should be left open in case someone else comes accross. If someone is really interested the most importand informations why it does not work with uptodate ifcopenshell are just here ... Meet you at IfcOpenShell forum :-) kind regards bernd |
If chakkree is interested in making this work and send a PR to make it forward compatible with newer version of IfcOpenShell, I will happily help fix it. Otherwise the 'solution' is to use the bundled version of IfcOpenShell in this repository :) |
@thomas |
Does pyIfcExtract support python 2.7.x? I try to use pyIfcExtract with python 2.7.9 and self compiled IfcOpenShell on Debian Jessie on commit
and got the following error
see thread on FreeCAD forum too http://forum.freecadweb.org/viewtopic.php?f=23&t=15948
kind regards bernd
The text was updated successfully, but these errors were encountered: