Skip to content

Commit 2cfc188

Browse files
author
pv
committed
CLEANUP
1 parent b0939c1 commit 2cfc188

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/examples/example_intersections.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
# Intersections
5252
# ==============================================================================
5353

54-
index_face = {index: face for index, face in enumerate(mesh.faces())}
55-
5654
hits_per_rays = intersection_rays_mesh(rays, trimesh.to_vertices_and_faces())
5755

5856
intersection_points = []

docs/examples/example_intersections_barycentric.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import compas.geometry
22
import compas.datastructures
3-
from compas_libigl.intersections import intersection_rays_mesh, intersection_ray_mesh
3+
from compas_libigl.intersections import intersection_ray_mesh
44
from compas_libigl.intersections import barycenter_to_point
55
from compas_viewer import Viewer
66
from compas.colors import Color
@@ -20,8 +20,6 @@
2020

2121
point, idx, u, v, w = hits_per_ray[0][0], hits_per_ray[0][1], hits_per_ray[0][2], hits_per_ray[0][3], hits_per_ray[0][4]
2222

23-
index_face = {index: face for index, face in enumerate(mesh.faces())}
24-
2523
intersections = []
2624
for hit in hits_per_ray:
2725
point, idx, w, u, v = hit

0 commit comments

Comments
 (0)