Skip to content

Commit

Permalink
Arch: more bugfixing in ifc exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Dec 20, 2013
1 parent bdb5eef commit 8db8db4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Mod/Arch/ifcWriter.py
Expand Up @@ -283,8 +283,9 @@ def __init__(self,filepath="",name="",owner="",organization="",application="Pyth
pno = create(self._fileobject,"IfcPersonAndOrganization",[self._person,self._org,None])
app = create(self._fileobject,"IfcApplication",[self._org,version,application,uid()])
self._owner = create(self._fileobject,"IfcOwnerHistory",[pno,app,None,"ADDED",None,pno,app,now()])
self.Placement = self.addPlacement()
self._repcontext = create(self._fileobject,"IfcGeometricRepresentationContext",[None,'Model',3,1.E-05,self.Placement,None])
self.Placement = self.addPlacement(local=False)
dim0 = create(self._fileobject,"IfcDirection",getTuple((0,1,0)))
self._repcontext = create(self._fileobject,"IfcGeometricRepresentationContext",[None,'Model',3,1.E-05,self.Placement,dim0])
dim1 = create(self._fileobject,"IfcDimensionalExponents",[0,0,0,0,0,0,0])
dim2 = create(self._fileobject,"IfcSIUnit",[dim1,"LENGTHUNIT","MILLI","METRE"])
dim3 = create(self._fileobject,"IfcSIUnit",[dim1,"AREAUNIT",None,"SQUARE_METRE"])
Expand Down

0 comments on commit 8db8db4

Please sign in to comment.