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:
6
arm.py
6
arm.py
@@ -147,7 +147,5 @@ if "show_object" not in globals(): # running outside CQ-editor
|
||||
show_object(result)
|
||||
|
||||
if __name__ == "__main__":
|
||||
vol = result.val().Volume()
|
||||
m = vol * CF_DENSITY
|
||||
print(f"arm mass {m:.2f} g each, {4*m:.2f} g for four")
|
||||
|
||||
v = result.val().Volume()
|
||||
print("%-12s %.2f g" % ("arm", v * CF_DENSITY))
|
||||
|
||||
Reference in New Issue
Block a user