Skip to content

Commit d1d8c61

Browse files
committed
clean up and structure
1 parent 462cba7 commit d1d8c61

File tree

4 files changed

+434
-625
lines changed

4 files changed

+434
-625
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107107

108108
### Removed
109109

110-
111110
## [2.2.0] 2024-06-24
112111

113112
### Added

src/compas_rhino/conversions/surfaces.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
from __future__ import division
33
from __future__ import print_function
44

5-
# import Rhino # type: ignore
65
from compas.datastructures import Mesh
76
from compas.geometry import NurbsSurface
87
from compas.geometry import Surface
9-
10-
# from compas.tolerance import TOL
118
from compas.utilities import memoize
129

1310
from .geometry import point_to_compas

src/compas_rhino/drawing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def populate_vertexcolors(face):
781781
if guid != System.Guid.Empty:
782782
if vertexcolors:
783783
try:
784-
compas_rhino.objects.set_mesh_vertex_colors(guid, vertexcolors)
784+
rs.MeshVertexColors(guid, vertexcolors)
785785
except Exception:
786786
pass
787787

@@ -859,7 +859,7 @@ def draw_faces(faces, **kwargs):
859859

860860
if vertexcolors:
861861
try:
862-
compas_rhino.objects.set_mesh_vertex_colors(guid, vertexcolors)
862+
rs.MeshVertexColors(guid, vertexcolors)
863863
except Exception:
864864
pass
865865

0 commit comments

Comments
 (0)