Open modenaxe opened 3 years ago
User Axel Koussou (not on GitHub) provided a solution:
% Thus, to fix the bug, you just have to add new_points=[]; before the loop :
for n = 1:size(points,1)
% compute torsion matrix
TorsRotMat = RotMat(torsion_angle_func_rad(points(n,axis_ind)));
% New points and axis
new_points(n,:) = (TorsRotMat*points(n,:)')';
new_normals(n,:) = (TorsRotMat*normals(n,:)')';
end
working on this on branch v0.3
The model is correct, but the visualization is not.
E.g. bug when fibula_r of Rajagopal model is processed