ifcopenshell on windows

This forum section is only for IFC-related issues
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ifcopenshell on windows

Post by sgrogan »

bernd wrote:@sgrogan: would you update the win builds?
Should be in >= 0.16.6214, please test.
https://github.com/freecad/freecad/releases
"fight the good fight"
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcopenshell on windows

Post by bernd »

sgrogan wrote:
bernd wrote:@sgrogan: would you update the win builds?
Should be in >= 0.16.6214, please test.
https://github.com/freecad/freecad/releases
64bit works very well, thanks sgrogan! Did you update 32bit as well?
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ifcopenshell on windows

Post by sgrogan »

bernd wrote:64bit works very well, thanks sgrogan! Did you update 32bit as well?
Yes I built and unpdated both versions.
"fight the good fight"
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: ifcopenshell on windows

Post by saso »

link to two ifc issues discussed in the other topic viewtopic.php?f=8&t=11557&start=50#p112305
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcopenshell on windows

Post by bernd »

@sgrogan:

thomas has fixed the issue viewtopic.php?f=23&t=14058 but oce will not compile for me. Without oce no ifcopenshell. Would you try the windows build scipt if you have success? I got lots of help but still have not yet succeeded. See issue on github https://github.com/IfcOpenShell/IfcOpenShell/issues/27
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ifcopenshell on windows

Post by sgrogan »

bernd wrote:Would you try the windows build script if you have success?
I will try tonight. I will first try without updating the dependencies, in case this is the problem.
"fight the good fight"
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcopenshell on windows

Post by bernd »

sgrogan wrote:
bernd wrote:Would you try the windows build script if you have success?
I will try tonight. I will first try without updating the dependencies, in case this is the problem.
Thanks. It is what I have should done too :evil: , but just deleted them before I started to compile ...
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ifcopenshell on windows

Post by sgrogan »

I think it worked not updating the dependencies. But I get errors.
Reverting to the previous IfcOpenShell builds in the dev snapshots I get the same errors.

Code: Select all

Traceback (most recent call last):
  File "<string>", line 1, in <module>
<type 'exceptions.SyntaxError'>: ('invalid syntax', ('C:\\Users\\Chris\\GitHub\\FCAutoBuild\\var\\build_x86_VC9\\Mod\\Arch\\importIFC.py', 124, 59, '    global DEBUG, PREFIX_NUMBERS, SKIP, SEPARATE_OPENINGS,\n'))
Trying Yorik's testhouse.ifc

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.16.6381 (Git)
Build type: Release
Branch: master
Hash: ab89c9af94e2ae6f40ac79717e47b44efa4b3db2
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
32-bit doesn't have the updated ifc, I get the same with the updated libraries and 64-bit same FreeCAD version.

The new IFC x64 build is here:https://github.com/sgrogan/FreeCAD/rele ... .5-pre_Ifc
swap out dev_bin\bin\Lib\site-packages\ifcopenshell

TLDR: I think the error is from FreeCAD not due to the IFC build?
"fight the good fight"
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcopenshell on windows

Post by bernd »

Thanks, I'll investigate. Where can I download yoriks testhouse.ifc?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcopenshell on windows

Post by bernd »

The culprit was introduces with: https://github.com/FreeCAD/FreeCAD/comm ... cb0ce248e9

On Windows there is a syntax error in importIFC.py

- start FreeCAD
- type import importIFC in python console

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6381 (Git)
Build type: Release
Branch: master
Hash: ab89c9af94e2ae6f40ac79717e47b44efa4b3db2
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a

I have no acces to a linux machine means I can not test on linux.
Post Reply