From 7d3688e59ba26548a32a6da00ca16c2b6ca96b27 Mon Sep 17 00:00:00 2001 From: Andrew Lock <69500916+andrewjlock@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:18:30 +1000 Subject: [PATCH] Update base.py Add True argument to check() in get_mass_properties_with_density() --- stl/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/base.py b/stl/base.py index f3953ce..5215874 100644 --- a/stl/base.py +++ b/stl/base.py @@ -655,7 +655,7 @@ def __repr__(self): def get_mass_properties_with_density(self, density): # add density for mesh,density unit kg/m3 when mesh is unit is m - self.check() + self.check(True) def subexpression(x): w0, w1, w2 = x[:, 0], x[:, 1], x[:, 2]