Files
speckle_automate-basic_clas…/Geometry/mocks.py
T
Jonathon Broughton a06c9023fc
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
better mock Mesh
2023-11-13 03:37:59 +00:00

14 lines
304 B
Python

class mypymesh:
class Mesh:
def __init__(self, vertices, faces):
self.vertices = vertices
self.faces = faces
@property
def volume(self):
return 0
@staticmethod
def boolean(_other, _operation):
return mypymesh.Mesh([], [])