You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nizartaha Hi Nizar, are you using compas 1.5? On newer COMPAS releases (2.x+), this was moved to the tolerance module. However, I think the storage to json will not round things, it will preserve original precision, but the precision will be used for comparisons and other geometric operations. Changing it in the json would be a destructive operation, if you really want to round the data, you will need to do something more explicitly. (@tomvanmele correct me if I'm wrong here, please)
compas.set_precision(0.001)
AttributeError: module 'compas' has no attribute 'set_precision'
https://compas.dev/compas/1.5.0/api/generated/compas.set_precision.html
I wanted to round the Frame values to 6 digits , how is it possible when using
compas.json_dump
?The text was updated successfully, but these errors were encountered: