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:
Arnaud Morin
2026-09-21 22:22:01 +02:00
parent e70d2abed2
commit e29f86fa70
9 changed files with 42 additions and 65 deletions

View File

@@ -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))