Skip to content

Commit

Permalink
remove vtk file
Browse files Browse the repository at this point in the history
  • Loading branch information
mountain committed May 10, 2024
1 parent 9602c56 commit fa4d6b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions polyclash/gui/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import pyvista as pv
import colorsys

from os import path as osp
from polyclash.data.data import triangles, pentagons, triangle2faces, pentagon2faces
from polyclash.data.data import triangles, pentagons, triangle2faces, pentagon2faces, cities, polysmalls, polylarges
from polyclash.gui.constants import face_continent_colors, face_oceanic_color

model_path = osp.abspath(osp.join(osp.dirname(__file__), "mesh.vtk"))
mesh = pv.read(model_path)

faces_list = [[4] + list(small) for small in polysmalls] + [[4] + list(large) for large in polylarges]
mesh = pv.PolyData(cities, np.hstack(faces_list))


def adjust_hue(rgb_color, adjustment_factor):
Expand Down
Binary file removed polyclash/gui/mesh.vtk
Binary file not shown.

0 comments on commit fa4d6b2

Please # to comment.