From 118483fd4e467a4a8aa129f47880955059d1136d Mon Sep 17 00:00:00 2001 From: David Daish Date: Sat, 18 Apr 2020 18:08:35 +1200 Subject: [PATCH] Added reference to the depreciation of the ArchFloor module. --- src/Mod/Arch/ArchFloor.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/Mod/Arch/ArchFloor.py b/src/Mod/Arch/ArchFloor.py index 744c7b99ce..c8b4e845af 100644 --- a/src/Mod/Arch/ArchFloor.py +++ b/src/Mod/Arch/ArchFloor.py @@ -21,8 +21,12 @@ #* * #*************************************************************************** -"""This module provides tools to build Floor objects. Floors are used -to group different Arch objects situated at a same level. +"""This module provides tools to build Floor objects. Floors are used to group +different Arch objects situated at a same level. + +The _Floor object and this module as a whole is now obselete. It has been +superseded by the use of the BuildingPart class, set to the "Building Storey" +IfcType. """ import FreeCAD,Draft,ArchCommands, DraftVecUtils, ArchIFC @@ -51,10 +55,10 @@ __title__="FreeCAD Arch Floor" __author__ = "Yorik van Havre" __url__ = "http://www.freecadweb.org" - - def makeFloor(objectslist=None,baseobj=None,name="Floor"): - """Creates a _Floor from a list of objects. + """Obselete, superceeded by ArchBuildingPart.makeFloor. + + Creates a floor. Creates a new floor based on a group, and then adds the objects in objectslist to the new floor. @@ -166,7 +170,9 @@ Floor creation aborted.") + "\n" class _Floor(ArchIFC.IfcProduct): - """The Floor object. + """Obselete, superceeded by the BuildingPart class, with IfcType set to "Building Storey". + + The Floor object. Turns a into a floor object, then takes a list of objects to own as it's children. @@ -308,7 +314,9 @@ class _Floor(ArchIFC.IfcProduct): class _ViewProviderFloor: - """A View Provider for the Floor object.""" + """Obselete, superceeded by the ViewProviderBuildingPart class. + + A View Provider for the Floor object.""" def __init__(self,vobj): """Initialises the floor view provider.