Inscread plate strap size
Also fix mass printing on all objects Signed-off-by: Arnaud Morin <arnaud.gfpv@mailops.fr>
This commit is contained in:
@@ -114,11 +114,6 @@ if "show_object" not in globals(): # running outside CQ-editor
|
||||
|
||||
show_object(result)
|
||||
|
||||
# Mass report
|
||||
def report():
|
||||
vol = result.val().Volume()
|
||||
print(f" Mass = {vol * CF_DENSITY:5.2f} g")
|
||||
print(f" Mass x4 = {4 * vol * CF_DENSITY:5.2f} g")
|
||||
|
||||
if __name__ == "__main__":
|
||||
report()
|
||||
v = result.val().Volume()
|
||||
print("%-12s %.2f g" % ("motor base", v * CF_DENSITY))
|
||||
|
||||
Reference in New Issue
Block a user