Skip to content

Commit

Permalink
clean up and structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Jul 6, 2024
1 parent 462cba7 commit d1d8c61
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 625 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed


## [2.2.0] 2024-06-24

### Added
Expand Down
3 changes: 0 additions & 3 deletions src/compas_rhino/conversions/surfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
from __future__ import division
from __future__ import print_function

# import Rhino # type: ignore
from compas.datastructures import Mesh
from compas.geometry import NurbsSurface
from compas.geometry import Surface

# from compas.tolerance import TOL
from compas.utilities import memoize

from .geometry import point_to_compas
Expand Down
4 changes: 2 additions & 2 deletions src/compas_rhino/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def populate_vertexcolors(face):
if guid != System.Guid.Empty:
if vertexcolors:
try:
compas_rhino.objects.set_mesh_vertex_colors(guid, vertexcolors)
rs.MeshVertexColors(guid, vertexcolors)
except Exception:
pass

Expand Down Expand Up @@ -859,7 +859,7 @@ def draw_faces(faces, **kwargs):

if vertexcolors:
try:
compas_rhino.objects.set_mesh_vertex_colors(guid, vertexcolors)
rs.MeshVertexColors(guid, vertexcolors)
except Exception:
pass

Expand Down
Loading

0 comments on commit d1d8c61

Please sign in to comment.