Skip to content

Commit 88c8320

Browse files
author
pv
committed
LINT
1 parent 98b139a commit 88c8320

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_mapping.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import compas
22
import compas_libigl as igl
3-
import numpy as np
43
from compas.datastructures import Mesh
54

65

@@ -16,15 +15,15 @@ def test_map_mesh():
1615
# Use a smaller central region of the UV space
1716
u_range = [0.2, 0.8] # Avoid edges of UV space
1817
v_range = [0.2, 0.8] # Avoid edges of UV space
19-
18+
2019
# Generate grid vertices
2120
pv = []
2221
for j in range(v_num + 1):
2322
v_param = v_range[0] + j * (v_range[1] - v_range[0]) / v_num
2423
for i in range(u_num + 1):
2524
u_param = u_range[0] + i * (u_range[1] - u_range[0]) / u_num
2625
pv.append([u_param, v_param, 0])
27-
26+
2827
# Create faces (triangulated quads)
2928
pf = []
3029
for j in range(v_num):
@@ -34,7 +33,7 @@ def test_map_mesh():
3433
v1 = j * (u_num + 1) + i + 1
3534
v2 = (j + 1) * (u_num + 1) + i + 1
3635
v3 = (j + 1) * (u_num + 1) + i
37-
36+
3837
# Split quad into two triangles
3938
pf.append([v0, v1, v2])
4039
pf.append([v0, v2, v3])

0 commit comments

Comments
 (0)