Loading...
The examples shown in this section were created using RV2 v1.0.0. They will be updated soon, and be compatible with the latest release of RV2.
from compas.datastructures import Mesh from compas_rhino.artists import MeshArtist FILE_I = 'form_remeshed.json' FILE_O = 'form_dual.json' mesh = Mesh.from_json(FILE_I) dual = mesh.dual() dual.to_json(FILE_O) artist = MeshArtist(dual, layer="RV2::Dual") artist.clear_layer() artist.draw_faces()
from compas.datastructures import Mesh from compas_rhino.artists import MeshArtist FILE = 'form_dual.json' mesh = Mesh.from_json(FILE_I) artist = MeshArtist(mesh, layer="RV2::Normals") artist.clear_layer() artist.draw_faces() artist.draw_vertexnormals(scale=1)