Files
speckle-aectech-masterclass/server/test_mesh_diff.py
T

12 lines
341 B
Python

import mesh_diff as md
from specklepy.api.credentials import get_default_account
STREAM_ID = "8325294b8f"
COMMIT_ID = "c207299871" # current commit
PREV_COMMIT_ID = "b9f376d75d" # previous commit
account = get_default_account()
md.authenticate(account.token)
# uncomment for debug
md.compare_meshes(STREAM_ID, COMMIT_ID, PREV_COMMIT_ID)