New answers tagged

0

The code below seemed to work. As example used this Torus shape and integrated a basic rotation equation, from scipy.integrate import odeint from stl import mesh def skew(a): return np.array([[0,-a[2],a[1]],[a[2],0,-a[0]],[-a[1],a[0],0]]) your_mesh = mesh.Mesh.from_file('torus.stl') prop = your_mesh.get_mass_properties() R0 = np.eye(3,3) omega = np....


Top 50 recent answers are included