40
edits
m (cat: Modeling) |
(update for new version) |
||
| Line 1: | Line 1: | ||
[[File:Dhc6-fdm-real.png|thumb|YASim FDM and aircraft model, overlayed in Blender.]] | [[File:Dhc6-fdm-real.png|thumb|YASim FDM and aircraft model, overlayed in Blender.]] | ||
Load and visualize YASim FDM geometry in Blender 2.5/6. | Load and visualize YASim FDM geometry in Blender 2.5/6/7. | ||
Due to the major changes in Blender, from version 2.4 to 2.5, the original script, by M. Franz, had to be ported. For Blender versions prior to 2.5 please see the original script.<ref>See: [[YASim#Visualization]] | Due to the major changes in Blender, from version 2.4 to 2.5, the original script, by M. Franz, had to be ported. For Blender versions prior to 2.5 please see the original script.<ref>See: [[YASim#Visualization]] | ||
| Line 8: | Line 8: | ||
== Installation == | == Installation == | ||
''' | '''Download:''' https://github.com/rebootl/simple_yasim_import-git/releases | ||
'''Install it as blender addon'''<ref>For more information see: | '''Install it as blender addon'''<ref>For more information see: https://www.blender.org/manual/extensions/python/add_ons.html | ||
</ref>: | </ref>: | ||
Download the script | Download and unzip the script on your local computer. | ||
Start Blender and go to ''File --> User Preferences... --> Addons''. | Start Blender and go to ''File --> User Preferences... --> Addons''. | ||
Click on ''Install from File...'' (at the bottom) and select the downloaded script. | Click on ''Install from File...'' (at the bottom) and select the downloaded script <code>simple_yasim_import.py</code>. | ||
Tick the checkbox to enable the script. | Tick the checkbox to enable the script. | ||
| Line 77: | Line 77: | ||
* YASim item names are shown by default in the viewport. (Controllable by a checkbox.) | * YASim item names are shown by default in the viewport. (Controllable by a checkbox.) | ||
* Every item get's a material assigned. Materials are reused. | * Every item get's a material assigned. Materials are reused. | ||
* As of version 0.6 material transparency is enabled by default. | |||
=== XML Elements === | === XML Elements === | ||
| Line 83: | Line 84: | ||
</ref>. | </ref>. | ||
* The <dir> element is not supported for now. | * The '''<dir>''' element is not supported for now. | ||
* <propeller> The propeller is always vertical and it's thrust vector always points along the x-Axis. | * '''<propeller>''' The propeller is always vertical and it's thrust vector always points along the x-Axis. | ||
[[File:Propeller-1-marked-small.png|Imported propeller item, in Blender, marked.]] | [[File:Propeller-1-marked-small.png|thumb|Imported propeller item, in Blender, marked.]] | ||
== Nice to have == | * '''<rotor>''' One blade is shown, where the initial angle ''phi0'' is ignored. | ||
: The incidence is shown at the blade root, where ''chord'' is simply used for the length. The blade tip is always flat (at a zero degree incidence). When ''ccw'' = 0 the incidence angle is currently inverted. However, it is unclear wheter this is correct (?). | |||
: The entire rotor is rotated according to the normal vector (pointing "up"). | |||
: Finally, the forward vector is drawn as it is defined. | |||
== Bugs / Nice to have == | |||
* Calculate and draw the aircraft center of gravity by click (through the standalone YASim). | * Calculate and draw the aircraft center of gravity by click (through the standalone YASim). | ||
* Currently no custom error handling is implemented. | |||
* Suggestions ? | * Suggestions ? | ||
Please report any bugs, questions or suggestions to the forum topic.<ref>http://forum.flightgear.org/viewtopic.php?f=4&t=17267 | Please report any bugs, questions or suggestions to the forum topic.<ref>http://forum.flightgear.org/viewtopic.php?f=4&t=17267 | ||
edits