Solids
Mass calculation formulas for solid bodies.
- mauspaf.masslibrary.solids.circular_cone(r=None, h=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'d': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all circular cone properties for any given set of inputs
- Parameters:
r (float) – Radius.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.cube(a=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all cube properties for any given set of inputs
- Parameters:
a (float) – edge lenght of cube.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.cylinder_full(r=None, d=None, le=None, v=None, s=None, rho=None, m=None, ix=None, iy=None, iz=None, units={'d': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'le': 'm', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all cylinder properties for any given set of inputs.
- Parameters:
r (float) – Radius.
d (float) – Diameter.
le (float) – Length.
v (float) – Volume.
s (float) – Surface area.
rho (float) – Density.
m (float) – Mass.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.ellipsoid(a=None, b=None, c=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'b': 'm', 'c': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all ellipsoid properties for any given set of inputs
- Parameters:
a (float) – Semi axis z-direction.
b (flaot) – Semi axis x-direction.
c (flaot) – Semi axis y-direction.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.elliptic_paraboloid(a=None, b=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, units={'a': 'm', 'b': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 'v': 'm³'}, calc_mode='values')
Returns all elliptic paraboloid properties for any given set of inputs.
- Parameters:
a (float) – Semi axis in x-direction.
b (float) – Semi axis in y-direction.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.elliptical_cylinder(a=None, b=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'b': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all elliptical cylinder properties for any given set of inputs
- Parameters:
a (float) – Semi axis x-direction.
b (flaot) – Semi axis y-direction.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.elliptical_hemispheroid(r=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all elliptical hemisperoid properties for any given set of inputs
- Parameters:
r (float) – Radius.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.frustum_cone(R=None, r=None, D=None, d=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'D': 'm', 'R': 'm', 'd': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all frustum cone properties for any given set of inputs
- Parameters:
R (float) – Base radius.
r (float) – Top radius.
D (float) – Base diameter.
d (float) – Top diameter.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.hemisphere(r=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'d': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all hemisphere properties for any given set of inputs
- Parameters:
r (float) – Radius.
d (float) – Diameter.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.hollow_cylinder(ro=None, ri=None, do=None, di=None, t=None, le=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'di': 'm', 'do': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'le': 'm', 'm': 'kg', 'rho': 'kg/m³', 'ri': 'm', 'ro': 'm', 's': 'm²', 't': 'm', 'v': 'm³'}, calc_mode='values')
Returns all hollow cylinder properties for any given set of inputs
- Parameters:
ro (float) – Outer Radius.
ri (float) – Inner radius.
do (float) – Outer Diameter.
di (float) – Inner diameter.
t (float) – Wall thickness.
le (float) – Length.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.hollow_sphere(ro=None, ri=None, do=None, di=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, t=None, units={'di': 'm', 'do': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 'ri': 'm', 'ro': 'm', 's': 'm²', 't': 'm', 'v': 'm³'}, calc_mode='values')
Returns all hollow sphere properties for any given set of inputs
- Parameters:
ro (float) – Outer radius.
ri (float) – Inner radius.
do (float) – Outer diameter.
di (float) – Inner diameter.
t (float) – Wall thickness.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.outer_half_torus(R=None, r=None, D=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'D': 'm', 'R': 'm', 'd': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all outer half torus properties for any given set of inputs
- Parameters:
R (float) – Radius.
r (float) – Truss radius.
D (float) – Diameter.
d (float) – Truss diameter.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.prismoid(b0=None, b1=None, c0=None, c1=None, h=None, A0=None, A1=None, Am=None, i0x=None, i0y=None, i0z=None, i1x=None, i1y=None, i1z=None, imx=None, imy=None, imz=None, ix=None, iy=None, iz=None, x=None, v=None, rho=None, m=None, s=None, units={'A0': 'm²', 'A1': 'm²', 'Am': 'm²', 'b0': 'm', 'b1': 'm', 'c0': 'm', 'c1': 'm', 'h': 'm', 'i0x': 'm⁴', 'i0y': 'm⁴', 'i0z': 'm⁴', 'i1x': 'm⁴', 'i1y': 'm⁴', 'i1z': 'm⁴', 'imx': 'm⁴', 'imy': 'm⁴', 'imz': 'm⁴', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³', 'x': 'm'}, calc_mode='values')
Returns all prismoid properties for any given set of inputs
- Parameters:
b0 (float) – Lenght of Base.
b1 (float) – Lenght of Top.
c0 (float) – Width of Base.
c1 (flaot) – Width of Top.
h (float) – Height.
A0 (float) – Area of Base.
A1 (float) – Area at h/2.
Am (float) – Area of Top.
i0x (float) – Area moment of inertia about x axis of A0.
i0y (float) – Area moment of inertia about y axis of A0.
i0z (float) – Area moment of inertia about z axis of A0.
i1x (float) – Area moment of inertia about x axis of A1.
i1y (float) – Area moment of inertia about y axis of A1.
i1z (float) – Area moment of inertia about z axis of A1.
imx (float) – Area moment of inertia about x axis of Am.
imy (float) – Area moment of inertia about y axis of Am.
imz (float) – Area moment of inertia about z axis of Am.
ix (float) – Moment of inertia about x.
iy (float) – Moment of inertia about y.
iz (float) – Moment of inertia about z.
x (float) – Centroid.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.rectangular_prism(a=None, b=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'b': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all rectangular prism properties for any given set of inputs
- Parameters:
a (float) – Width.
b (float) – Lenght.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.rectangular_pyramid(a=None, b=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'b': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all rectangular pyramid properties for any given set of inputs
- Parameters:
a (float) – Width
b (float) – Length.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.revolutioned_paraboloid(r=None, h=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'d': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all revolutioned paraboloid properties for any given set of inputs
- Parameters:
r (float) – Radius.
h (float) – Height.
d (float) – Diameter.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.right_angled_wedge(a=None, b=None, h=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'a': 'm', 'b': 'm', 'h': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all right angled wedge properties for any given set of inputs
- Parameters:
a (float) – Width.
b (float) – Length.
h (float) – Height.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.solid_ogive(R=None, r=None, d=None, D=None, h=None, v=None, rho=None, m=None, s=None, units={'D': 'm', 'R': 'm', 'd': 'm', 'h': 'm', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all solid ogive properties for any given set of inputs
- Parameters:
R (float) – Radius of curvature.
r (float) – Radius.
D (float) – Distance to curvature origin.
d (float) – Radius of truncated nose.
h (float) – Height.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.sphere(r=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'d': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all sphere properties for any given set of inputs
- Parameters:
r (float) – Radius
d (float) – Diameter.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.spherical_sector(r=None, h=None, iz=None, v=None, rho=None, m=None, units={'h': 'm', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 'v': 'm³'}, calc_mode='values')
Returns all spherical sector properties for any given set of inputs
- Parameters:
r (float) – Radius.
h (float) – Height.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.spherical_segment(r=None, h=None, iz=None, v=None, rho=None, m=None, s=None, units={'h': 'm', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all spherical segment properties for any given set of inputs
- Parameters:
r (float) – Radius.
h (float) – Height.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.
- mauspaf.masslibrary.solids.torus(R=None, r=None, D=None, d=None, ix=None, iy=None, iz=None, v=None, rho=None, m=None, s=None, units={'D': 'm', 'R': 'm', 'd': 'm', 'ix': 'kg·m²', 'iy': 'kg·m²', 'iz': 'kg·m²', 'm': 'kg', 'r': 'm', 'rho': 'kg/m³', 's': 'm²', 'v': 'm³'}, calc_mode='values')
Returns all torus properties for any given set of inputs
- Parameters:
R (float) – Radius.
r (float) – Truss radius.
D (float) – Diameter.
d (float) – Truss diameter.
ix (float) – Moment of inertia about x axis.
iy (float) – Moment of inertia about y axis.
iz (float) – Moment of inertia about z axis.
v (float) – Volume.
rho (float) – Density.
m (float) – Mass.
s (float) – Surface area.
calc_mode (str) – Calculation mode. Either ‘values’ (to calculate missing numerical values) or ‘sets’ (to calculate valid input sets of variables). Default value is ‘values’.