Arch: Fix header uniformity and remove trailing whitespace

This commit is contained in:
luz paz
2020-11-05 16:46:09 -05:00
committed by wwmayer
parent 385e4df10c
commit ccf30d98d2
45 changed files with 211 additions and 225 deletions

View File

@@ -27,9 +27,9 @@ Examples
TODO put examples here.
"""
__title__="FreeCAD Arch Component"
__title__ = "FreeCAD Arch Component"
__author__ = "Yorik van Havre"
__url__ = "http://www.freecadweb.org"
__url__ = "https://www.freecadweb.org"
import FreeCAD,Draft,ArchCommands,math,sys,json,os,ArchIFC,ArchIFCSchema
from FreeCAD import Vector
@@ -779,7 +779,7 @@ class Component(ArchIFC.IfcProduct):
subvolume = o.Subvolume.Shape.copy()
if hasattr(o,"Placement"):
subvolume.Placement = subvolume.Placement.multiply(o.Placement)
if subvolume:
if base.Solids and subvolume.Solids:
if placement: