Howto talk:Place 3D objects with WED

From FlightGear wiki
Jump to navigation Jump to search
Cquote1.png here's the first version of the script that converts object positions from earth.wed.xml into

.stg lines:

https://github.com/mherweg/d-laser-fgtools/blob/master/wed2stg.py

if you feel like improving WED, here is the code: http://developer.x-plane.com/code/#Get_the_source_code http://dev.x-plane.com/cgit/cgit.cgi/xptools.git/tree/src

In case you use blender and the 2 addons io_scene_ac3d and io_xplane2blender to convert from .ac to .obj: After import you have to go to properties->scene and add one x-plane layer. enable Export for Layer 1 and name it like the object without extension. e.g. Fence-50m-green.ac -> Fence-50m-green ..or maybe with the extension - I'll have to try that: Fence-50m-green.ac -> Fence-50m-green.ac Fence-50m-green.xml -> Fence-50m-green.xml

it would be nice to have a command line tool for this conversion step, similar to: xplane2fg http://wiki.flightgear.org/index.php?title=Howto%3AConvert_objects_from_X-Plane&type=revision&diff=81008&oldid=69852#Convert

If you edit the heading in WED then use the "north" hand of the cross to get headings from 0 to 359 degrees. avoid negative headings! you can also enter exact headings in the property menu on the bottom right in WED.

use "Edit->Duplicate" crl-sh-D to create many objects with the same heading.
— pommesschranke (August 30th, 2015). Placing objects with WED.
(powered by Instant-Cquotes)
Cquote2.png