Skip to content

Commit

Permalink
Arch: fixed bug in wall extrusions
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 2, 2014
1 parent bf101bb commit 3b86494
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Mod/Arch/ArchComponent.py
Expand Up @@ -361,8 +361,12 @@ def getProfiles(self,obj,noplacement=False):
if noplacement:
base.Placement = FreeCAD.Placement()
if not base.Solids:
if base.Faces:
if base.Faces:
import DraftGeomUtils
if not DraftGeomUtils.isCoplanar(base.Faces):
return []
return [base]

basewires = []
if not base.Wires:
if len(base.Edges) == 1:
Expand Down

0 comments on commit 3b86494

Please sign in to comment.