Skip to content

Commit

Permalink
Remove superflous whitespace + trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored Jan 29, 2025
1 parent 21b29a1 commit bd1a1a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cMake/FindKDL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
10 changes: 5 additions & 5 deletions src/Mod/BIM/importers/importSH3DHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def add_space(self, floor, space):
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, [])

Expand Down Expand Up @@ -1002,7 +1002,7 @@ def _get_object_to_fuse(self, floor, objects_to_project):
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)))
Expand Down Expand Up @@ -1083,7 +1083,7 @@ def process(self, parent, i, elm):
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)
Expand Down Expand Up @@ -1448,7 +1448,7 @@ def _create_curved_segment(self, wall_details, prev_wall_details, next_wall_deta
# 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")
Expand Down Expand Up @@ -1766,7 +1766,7 @@ def _create_baseboard(self, floor, wall, side, face):
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
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/OpenSCAD/OpenSCAD2Dgeom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -196,7 +196,7 @@ def hasnoparent(faceindex):
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)

Expand Down

0 comments on commit bd1a1a3

Please sign in to comment.