Skip to content

Commit

Permalink
Arch: Removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Sep 6, 2016
1 parent 8e50c83 commit 56ff892
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Mod/Arch/ArchRoof.py
Expand Up @@ -70,32 +70,32 @@ def makeRoof(baseobj=None,facenr=0, angles=[45.,], run = [], idrel = [0,],thickn
obj.Base.ViewObject.hide()
edges = Part.__sortEdges__(w.Edges)
l = len(edges)

la = len(angles)
alist = angles
for i in range(l-la):
alist.append(angles[0])
obj.Angles=alist

lr = len(run)
rlist = run
for i in range(l-lr):
#rlist.append(w.Edges[i].Length/2.)
rlist.append(250.)
obj.Runs = rlist

lidrel = len(idrel)
rellist = idrel
for i in range(l-lidrel):
rellist.append(0)
obj.IdRel = rellist

lthick = len(thickness)
tlist = thickness
for i in range(l-lthick):
tlist.append(thickness[0])
obj.Thickness = tlist

lover = len(overhang)
olist = overhang
for i in range(l-lover):
Expand Down Expand Up @@ -494,10 +494,10 @@ def createProfilShape (self, points, midpoint, rot, vec, run, d, f):
return profilShp

def execute(self,obj):

if self.clone(obj):
return

import Part, math, DraftGeomUtils
pl = obj.Placement
#self.baseface = None
Expand Down Expand Up @@ -593,11 +593,11 @@ def getSubVolume(self,obj):
self.execute(obj)
return self.sub
return None

def computeAreas(self,obj):

"computes border and ridge roof edges length"

if hasattr(obj,"RidgeLength") and hasattr(obj,"BorderLength"):
rl = 0
bl = 0
Expand Down

0 comments on commit 56ff892

Please sign in to comment.