Decaff's Garage
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage
http://www.mediafire.com/download/2f2s8 ... 160221.pdf
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- iqmal_97
- Senior Veteran
- Posts: 1773
- Joined: Fri Mar 11, 2011 8:47 am
- Favorite Aircraft: Sukhoi Su-30MKM
- Location: Somewhere in Asia
- OS: Windows 10
- Has thanked: 839 times
- Been thanked: 192 times
- Contact:
Re: Decaff's Garage
Also seeing the AIM-9X launch video was okay i guess...
jk I'm hyped af

Mein Imgur gallery. Feel free to use any of my screenshots (Crediting me is optional, but greatly appreciated)
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage

Although this doesn't look like much, this is a big accomplishment for me. This is the first time I've gotten colors to stack on top of each other. Furthermore, the black is made up of two faces, which had to be placed on the same level as the other. In under 160 lines of code (including comments, readability spacing, etc) I can convert any size SRF into an FLD.
My idea with this is that a map maker would open up Blender and create a detailed component of the map that would be hard to do in Scenery Editor. By moving different meshes into vertical layers and then combining them all into a single object and exporting as SRF, the entire thing can be brought into Scenery Editor as an FLD after running through this python script.
This is not a very efficient way to make a full map, as there are 3 extra lines of FLD file for every face compared to what it would have been had it been created in scenery editor.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage
Please stop asking about this. They will be done when they are done.YSFan wrote:How is the 747-8?
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- Nodoka Hanamura
- Veteran
- Posts: 927
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- Has thanked: 514 times
- Been thanked: 266 times
Re: Decaff's Garage
Don't rush things, YSFan. I don't keep bugging Lucas about the MAVA Fleet. I didn't bug Patrick about the Saabs.decaff_42 wrote:Please stop asking about this. They will be done when they are done.YSFan wrote:How is the 747-8?
Be patient.
- Flake
- VFA-49
- Posts: 4358
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 838 times
- Been thanked: 1248 times
- Contact:
Re: Decaff's Garage

Oh well, next time.
-
- Modding Team
- Posts: 1085
- Joined: Fri Dec 16, 2011 12:42 am
- Favorite Aircraft: McDonnell Douglas
- Has thanked: 1319 times
- Been thanked: 514 times
Re: Decaff's Garage
Are they from CHF 777s or yours, and you have them separated?
I would like to use on my little projects.
Thanks in advance.

- u2fly
- Senior Veteran
- Posts: 1347
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 886 times
- Been thanked: 295 times
- Contact:
Re: Decaff's Garage
Awesome! I also try learn Python (now I use 2.x, but try 3.x too) for making more usefull tools for YSFlight.decaff_42 wrote:I got on a bit of a Python tear this evening and decided to pick up my SRF to FLD converter again. I've been learning about classes in Python, which have been really handy for this project.
...
My idea with this is that a map maker would open up Blender and create a detailed component of the map that would be hard to do in Scenery Editor. By moving different meshes into vertical layers and then combining them all into a single object and exporting as SRF, the entire thing can be brought into Scenery Editor as an FLD after running through this python script.
This is not a very efficient way to make a full map, as there are 3 extra lines of FLD file for every face compared to what it would have been had it been created in scenery editor.
P.S.: Also, hope to make rewrited Orb server, that use Python and was created before OpenYS.
U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage
They are from CHF with a bit of reworking along the way.Lucas1997 wrote:Hey Decaff where did you get the navigation lights?
Are they from CHF 777s or yours, and you have them separated?
I would like to use on my little projects.
Thanks in advance.
@u2fly,
It was an interesting process. It also works in Python 2 and 3, although written principally for python 3
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- Flake
- VFA-49
- Posts: 4358
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 838 times
- Been thanked: 1248 times
- Contact:
Re: Decaff's Garage
Go right ahead, very curious what you can come up with. You may want to cross reference with OYS every now and again as Orb only had some of the packets defined.u2fly wrote:P.S.: Also, hope to make rewrited Orb server, that use Python and was created before OpenYS.
- plunderbird
- Contributor
- Posts: 371
- Joined: Thu Feb 17, 2011 7:05 pm
- Favorite Aircraft: F5 A10 SR71
- Location: Wellingborough England
- OS: Windows 10
- Has thanked: 44 times
- Been thanked: 39 times
- Contact:
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage
No pics because there is no way to show invisible gear when the doors are closed!

Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- Barr
- Veteran
- Posts: 1012
- Joined: Wed Mar 28, 2012 8:49 pm
- Favorite Aircraft: The Boeing 757
- Location: Providence, Rhode Island
- OS: Windows 10/Gentoo
- Has thanked: 272 times
- Been thanked: 205 times
Re: Decaff's Garage
Very interesting!decaff_42 wrote:Did some minor work on the 747-8 landing gear tonight in order to make them invisible when the landing gear doors are closed. This will hopefully make the model easier to render and thus be less computer intensive to fly, as now ~4k vertices are no longer being rendered when they do not have to be.
No pics because there is no way to show invisible gear when the doors are closed!

Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
- decaff_42
- Staff
- Posts: 3643
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 713 times
- Been thanked: 1481 times
- Contact:
Re: Decaff's Garage

Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/
Server Flight Log
Addon Database Submit Addon To Database
- u2fly
- Senior Veteran
- Posts: 1347
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 886 times
- Been thanked: 295 times
- Contact:
Re: Decaff's Garage
I very interested in your Python experiments.decaff_42 wrote:@u2fly,
It was an interesting process. It also works in Python 2 and 3, although written principally for python 3
Today found this twits:
Are you already heave some scripts for import/export FLD? And what Blender version planned to use for it?@rid_zak wrote:i started making maps on blender. i do not know is this going to work. what about you guys. #ysflight http://pic.twitter.com/cLxvgvs3yh
@decaff_42 wrote:Interesting Idea! How are you converting the blender file to an FLD file?
Also, I interested in creating simple Python+Tkinter script for preview FLD map geometry.
U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)
- NajmiCreative
- Modding Team
- Posts: 783
- Joined: Thu Sep 04, 2014 9:14 am
- Favorite Aircraft: MiG-29N,SU-30 MKM
- Location: Shah Alam,Selangor,Malaysia
- OS: Windows 10 Home
- Has thanked: 517 times
- Been thanked: 502 times
- Contact:
Re: Decaff's Garage

EDIT:
and Cargolux too(especially Cutaway livery)dbd000 wrote:Lufthansa, Korean Air and Air China would be some good looking machines too.
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
[align=center]for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)[/align]
- dbd000
- Contributor
- Posts: 415
- Joined: Wed Apr 09, 2014 4:32 am
- Favorite Aircraft: So long as it isn't fictional, I like it
- Location: Tauranga, New Zealand
- OS: Windows 10
- Has thanked: 342 times
- Been thanked: 171 times
- Contact:
Re: Decaff's Garage
Lufthansa, Korean Air and Air China would be some good looking machines too.NajmiCreative wrote:looking great on new house paint...wonder if you turn it into red/maroon-ish color version..
Who is online
Users browsing this forum: No registered users and 3 guests