Points: apply clang-formatting

This commit is contained in:
wmayer
2023-09-01 17:33:18 +02:00
committed by wwmayer
parent dd9c1e1b05
commit 8d24f0c021
32 changed files with 2829 additions and 2359 deletions

View File

@@ -32,6 +32,7 @@ __url__ = "https://www.freecad.org"
import FreeCAD
import Points
def make_points_from_geometry(geometries, distance):
for geom in geometries:
global_plm = geom.getGlobalPlacement()
@@ -54,8 +55,10 @@ def make_points_from_geometry(geometries, distance):
points.Points = kernel
points.Placement = plm
if len(points_and_normals[1]) > 0 and len(points_and_normals[0]) == len(points_and_normals[1]):
if len(points_and_normals[1]) > 0 and len(points_and_normals[0]) == len(
points_and_normals[1]
):
points.addProperty("Points::PropertyNormalList", "Normal")
points.Normal = points_and_normals[1]
points.purgeTouched()
points.purgeTouched()