1
0
mirror of https://gitlab.com/MisterBiggs/stl-process.git synced 2025-08-03 20:11:31 +00:00

add comments

This commit is contained in:
2022-04-09 12:04:07 -07:00
parent 7facc6c0aa
commit 3d52c55f09
2 changed files with 4 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ end
models = Dict(
# Inertia math: https://en.wikipedia.org/wiki/List_of_moments_of_inertia#List_of_3D_inertia_tensors
# Properties(volume, center_of_gravity, inertia)
# Properties(volume, center_of_gravity, inertia, surface_area)
"cube.stl" => Properties(2.0^3, center, I_mat .* 2^2 / 6, 6 * 2^2), # l = 2
"sphere.stl" => Properties(4 / 3 * pi, center, I_mat .* 2 / 5, 4π), # r = 1
"2_4_8_cuboid.stl" =>