Hi Nicolas,
sorry but the ChMatrixNM is in fact missing from the Python wrapper. There are only two solutions at the moment:
- either you modify the .i files for the SWIG wrapper, adding
support for a 6x6 ChMatrixNM, then rebuild all Chrono and generate
the Python modules (advanced stuff, but I can help). See
ChMatrix33.i to understand how. The trick is mostly in the row
%template(ChMatrix33D) chrono::ChMatrix33<double>;
that in your case could be
%template(ChMatrix66D) chrono::ChMatrixNM<double,6,6>;
- or you switch to C++ , that has a steepy learning curve but in the end it has less limitations than the Python API
best
Alessandro
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/6df9a86d-66d1-4126-99a3-a27c274b3ffan%40googlegroups.com.