diff --git a/src/Mod/Draft/DraftSnap.py b/src/Mod/Draft/DraftSnap.py index c048c5e815..cc16e647c1 100644 --- a/src/Mod/Draft/DraftSnap.py +++ b/src/Mod/Draft/DraftSnap.py @@ -303,7 +303,10 @@ class Snapper: if Draft.getType(obj) == "Polygon": # special snapping for polygons: add the center snaps.extend(self.snapToPolygon(obj)) - + elif Draft.getType(obj) == "BuildingPart": + # special snapping for Arch building parts: add the location + snaps.append([obj.Placement.Base,'endpoint',self.toWP(obj.Pacement.Base)]) + if (not self.maxEdges) or (len(shape.Edges) <= self.maxEdges): if "Edge" in comp: # we are snapping to an edge