You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The model is correct, but the visualization is not.
E.g. bug when fibula_r of Rajagopal model is processed
The text was updated successfully, but these errors were encountered:
modenaxe
changed the title
[VTP writer] bug when fibula_r of Rajagopal model is processed
[VTP writer] sometimes indices and coordinates are messed up
Feb 17, 2021
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
The model is correct, but the visualization is not.
E.g. bug when fibula_r of Rajagopal model is processed
The text was updated successfully, but these errors were encountered: