Files
speckle_automate-spatial_jo…/Geometry/p.py
T
Jonathon Broughton 3a7529fc0d Dependencies
2023-11-12 18:23:19 +00:00

18 lines
193 B
Python

import pymesh
import numpy as np
vertices = [
[0, 0, 0],
[1, 0, 0],
[1, 1, 0],
[0, 1, 0]
]
faces = [
[0, 1, 2],
[0, 2, 3]
]
mesh = pymesh.form_mesh(vertices, faces)