This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cad_visualization [2018/06/14 22:19] mark.naves |
cad_visualization [2018/06/14 22:23] mark.naves |
||
---|---|---|---|
Line 6: | Line 6: | ||
- | For adding the .STL geometry to Spavisual in Spacarlight, | + | For adding the .STL geometry to Spavisual in Spacarlight, |
<code matlab> | <code matlab> | ||
opt.customvis = {' | opt.customvis = {' | ||
Line 31: | Line 31: | ||
% Mark Naves | % Mark Naves | ||
% m.naves@utwente.nl | % m.naves@utwente.nl | ||
- | % 4-10-2017 | + | % 6-14-2017 |
%Just an example how to add cad data to spavisual | %Just an example how to add cad data to spavisual | ||
% | % | ||
Line 41: | Line 41: | ||
%% | %% | ||
- | x_node = 5; %position node to follow () | + | x_node = 5; %position node |
- | r_node = 6; %rotation node follow | + | r_node = 6; %rotation node |
Color = [162 195 214]./255; | Color = [162 195 214]./255; | ||
Filename = ' | Filename = ' | ||
Line 104: | Line 104: | ||
nprops(3).mass | nprops(3).mass | ||
nprops(3).mominertia | nprops(3).mominertia | ||
- | nprops(3).transfer_in = {' | ||
- | nprops(3).transfer_out = ' | ||
Line 128: | Line 126: | ||
%% SIMULATION | %% SIMULATION | ||
- | opt.transfer=true; | ||
opt.customvis = {' | opt.customvis = {' | ||
' | ' |