34
edits
(→Propeller: note about constant-speed propellers.) |
(→Visualization: adding reference for yasim gnuplot based visualizer.) |
||
Line 281: | Line 281: | ||
== Visualization == | == Visualization == | ||
[[File:Yasim_visualisation_dc6.png|thumb|dc6 | |||
=== Blender visualization tool === | |||
[[File:Yasim_visualisation_dc6.png|thumb|dc6 FDM in Blender]]To make the programmed aircraft visible it is possible to load and compare it with the 3D model within [[Blender]]. They applaud for this ''very'' useful script goes to M. Franz, thank you very much! | |||
For Blender versions <= 2.4 the script is located in FlightGears source code {{flightgear file|utils/Modeller/yasim_import.py}}. | For Blender versions <= 2.4 the script is located in FlightGears source code {{flightgear file|utils/Modeller/yasim_import.py}}. | ||
Line 302: | Line 305: | ||
This is good enough for simple checks. But if you are working on the YASim configuration, then you need a | This is good enough for simple checks. But if you are working on the YASim configuration, then you need a | ||
quick and convenient way to reload the file. In that case continue after (4): | quick and convenient way to reload the file. In that case, continue after (4): | ||
(5) switch the button area at the bottom of the blender screen to "Scripts Window" mode (green python snake icon) | (5) switch the button area at the bottom of the blender screen to "Scripts Window" mode (green python snake icon) | ||
Line 337: | Line 340: | ||
The cursor coordinates display in the script area, however, shows the coordinates in YASim space. | The cursor coordinates display in the script area, however, shows the coordinates in YASim space. | ||
Note that object names don't contain XML indices but element numbers. YASim_hstab#2 is the third | Note that object names don't contain XML indices but element numbers. YASim_hstab#2 is the third | ||
hstab in the whole file, not necessarily in its parent XML group. A floating point part in the | hstab in the whole file, not necessarily in its parent XML group. A floating-point part in the | ||
object name (e.g. YASim_hstab#2.004) only means that the geometry has been reloaded that often. | object name (e.g. YASim_hstab#2.004) only means that the geometry has been reloaded that often. | ||
It's an unavoidable consequence of how Blender deals with meshes. | It's an unavoidable consequence of how Blender deals with meshes. | ||
Line 362: | Line 365: | ||
launchbar -> dashed line for up angles, T-line for down angles | launchbar -> dashed line for up angles, T-line for down angles | ||
A note about step (0) for Windows users: the mentioned path is inside the folder where Blender lives, something like <code>C:\Program Files\Blender Foundation\Blender\.blender\scripts</code>. | A note about step (0) for Windows users: the mentioned path is inside the folder where Blender lives, something like <code>C:\Program Files\Blender Foundation\Blender\.blender\scripts</code>. | ||
=== Gnuplot visualization tool === | |||
[https://github.com/bitwisetech/yasiVers yasiVers] is a tool for visualization of YASim calculations. | |||
== Export of YASim internals to property tree == | == Export of YASim internals to property tree == |
edits