Remove superflous whitespace + trailing newlines

This commit is contained in:
luzpaz
2025-01-29 07:18:13 -05:00
committed by Chris Hennes
parent 1e05c59ce8
commit 0d96954bca
3 changed files with 8 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
IF ( CMAKE_PKGCONFIG_EXECUTABLE )
MESSAGE( STATUS "Detecting KDL" )
SET(ENV{PKG_CONFIG_PATH} "${KDL_INSTALL}/lib/pkgconfig/")
MESSAGE( "Looking for KDL in: ${KDL_INSTALL}")
PKGCONFIG( "orocos-kdl >= 1.4.0" KDL_FOUND KDL_INCLUDE_DIRS KDL_DEFINES KDL_LINK_DIRS KDL_LIBS )

View File

@@ -482,7 +482,7 @@ class SH3DImporter:
if floor.id not in self.spaces:
self.spaces[floor.id] = []
self.spaces[floor.id].append(space)
def get_spaces(self, floor):
return self.spaces.get(floor.id, [])
@@ -1002,7 +1002,7 @@ class LevelHandler(BaseHandler):
if not wire.isClosed():
# Sometimes the wire is not closed because the edges are
# not sorted and do not form a "chain". Therefore, sort them,
# recreate the wire while also rounding the precision of the
# recreate the wire while also rounding the precision of the
# Vertices in order to avoid not closing because the points
# are not close enough
wire = Part.Wire(Part.__sortEdges__(self._round(sv.Shape.Edges)))
@@ -1083,7 +1083,7 @@ class RoomHandler(BaseHandler):
reference_face.recompute()
floor.getObject(floor.ReferenceFacesGroupName).addObject(reference_face)
# NOTE: for room to properly display and calculate the area, the
# NOTE: for room to properly display and calculate the area, the
# Base object can not be a face but must have a height...
footprint = App.ActiveDocument.addObject("Part::Feature", "Footprint")
footprint.Shape = reference_face.Shape.extrude(Z_NORM)
@@ -1448,7 +1448,7 @@ class WallHandler(BaseHandler):
# The Length property is used in the Wall to calculate volume, etc...
# Since make Circle does not calculate this Length I calculate it here...
self.importer.set_property(spine, "App::PropertyFloat", "Length", "The length of the Arc", length, group="Draft")
# The Start and End property are used in the Wall to determine Facebinders
# The Start and End property are used in the Wall to determine Facebinders
# characteristics...
self.importer.set_property(spine, "App::PropertyVector", "Start", "The start point of the Arc", start, group="Draft")
self.importer.set_property(spine, "App::PropertyVector", "End", "The end point of the Arc", end, group="Draft")
@@ -1766,7 +1766,7 @@ class WallHandler(BaseHandler):
def _get_faces(self, wall):
"""Returns the name of the left and right face for `wall`
The face names are suitable for selection later on when creating
The face names are suitable for selection later on when creating
the Facebinders and baseboards. Note, that this must be executed
once the wall has been completely constructed. If a window or
door is added afterward, this will have an impact on what is

View File

@@ -34,7 +34,7 @@ class Overlappingfaces():
def __init__(self,facelist):
self.sortedfaces = sorted(facelist,key=(lambda shape: shape.Area),reverse=True)
self.builddepdict()
@staticmethod
def dofacesoverlapboundbox(bigface,smallface):
return bigface.BoundBox.isIntersection(smallface.BoundBox)
@@ -196,7 +196,7 @@ class Overlappingfaces():
toolface=fusefaces([faces[tfi] for tfi in directchildren])
faces[fi]=faces[fi].cut(toolface)
removefaces(directchildren)
faces =[face for index,face in enumerate(faces) if index not in finishedwith]
return fusefaces(faces)