Skip to content

Commit

Permalink
remove import from nsphere
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Nov 13, 2018
1 parent 5288cf0 commit a9cbdae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion trimesh/nsphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import numpy as np

from . import convex
from . import bounds

from .constants import log, tol

try:
Expand Down
6 changes: 0 additions & 6 deletions trimesh/path/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,12 +795,6 @@ def to_planar(self,
# apply the height adjustment to_3D
to_3D = np.dot(to_3D, adjust)

# do a check on to_3D
# flat[:,2] = 0
# a = transformations.transform_points(flat[referenced],
# to_3D)
# assert np.allclose(self.vertices[referenced], a)

# copy metadata to new object
metadata = copy.deepcopy(self.metadata)
# store transform we used to move it onto the plane
Expand Down
3 changes: 2 additions & 1 deletion trimesh/ray/ray_pyembree.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def __init__(self, vertices, faces, scale):
scaled = (scaled - self.origin) * self.scale

self.scene = rtcore_scene.EmbreeScene()
mesh = TriangleMesh(
# assign the geometry to the scene
TriangleMesh(
scene=self.scene,
vertices=scaled.astype(_embree_dtype),
indices=faces.astype(np.int32))
Expand Down
2 changes: 1 addition & 1 deletion trimesh/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.35.27'
__version__ = '2.35.28'

0 comments on commit a9cbdae

Please sign in to comment.