YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Note that alterations to the YSFlight .EXE is forbidden
Post Reply
User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Tue Apr 19, 2016 5:47 am

Now some scripts for creating addons for YSFlight can be installed in one click from user setting dialog in Blender.
GET IT NOW! - http://github.com/Symbian9/ysfs_2_0
--
Some other scripts planned to implement in this tool box soon
* NACA Airfoil generator - http://davidawehr.com/projects/airfoil_generator.html
* http://airplanes3d.net/scripts-250_e.xml
* http://airplanes3d.net/downloads-000_e.xml
* https://github.com/Antonioya/blender/tr ... /measureit
Last edited by u2fly on Fri Apr 29, 2016 7:37 am, edited 10 times in total.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
Flake
Staff
Staff
Posts: 3968
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR600RR. Shit I mean Boeing F/A-18A.
Location: Newcastle, Australia
OS: Windows 10 (x64)
Has thanked: 651 times
Been thanked: 929 times

Re: [BLENDER] YSFS 2.0 - YSFlight Tools for Blender 2.75+

Post by Flake » Tue Apr 19, 2016 5:57 am

So this is a direct conversion from the old 2.49b sources to the new 2.75+ blender?

If so, the reliability of the SRF/DNM exporting should be identical if I am not mistaken.

In this case, I will most likely be making the upgrade myself. Some of the new functions in the latest builds of blender are really useful, for example I have moved models to a new blender build in the past to use the better decimate function which doesn't just remove polygons but simplifies the mesh by looking for polygons that can be merged with the least distortion to the model itself. ;)

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: [BLENDER] YSFS 2.0 - YSFlight Tools for Blender 2.75+

Post by u2fly » Tue Apr 19, 2016 6:08 am

OfficerFlake wrote:So this is a direct conversion from the old 2.49b sources to the new 2.75+ blender?
If so, the reliability of the SRF/DNM exporting should be identical if I am not mistaken.
As I know, it was rewrited from scratch by mrmofumofu
Read this - viewtopic.php?t=8145
OfficerFlake wrote:In this case, I will most likely be making the upgrade myself. Some of the new functions in the latest builds of blender are really useful, for example I have moved models to a new blender build in the past to use the better decimate function which doesn't just remove polygons but simplifies the mesh by looking for polygons that can be merged with the least distortion to the model itself. ;)
Things that you talk about is not YSFlight specific, but Blender only futures.

Also, at this moment CLA variables export not work yet, but, think I will fix it soon and add property dialog for that too.

Main target is collecting all needed functions for designing YS addons in one widget on Tool Shelf (without needs find some specific functions in many other menus and submenus).
Work in progress, so you can help impove it.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
mrmofumofu
Modding Team
Modding Team
Posts: 63
Joined: Mon Nov 02, 2015 4:45 pm
Favorite Aircraft: MiG-35
Location: Nara, Japan
OS: Linux(Arch Linux)
Has thanked: 14 times
Been thanked: 63 times
Contact:

Re: YSFS 2.0 - YSFlight Tools for Blender 2.75+

Post by mrmofumofu » Tue Apr 19, 2016 12:34 pm

YOU ARE IN BREACH OF MIT LICENSE!
I'M VERY VERY ANGLY!
C/C++/C#/Python/PHP/JavaScript...etc
For support me, bought me a vodka!

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Tue Apr 19, 2016 1:25 pm

mrmofumofu wrote:YOU ARE IN BREACH OF MIT LICENSE!
I'M VERY VERY ANGLY!
I will add license information, but in your "release_v2.0.zip" there no any license file, look inside this:
https://github.com/pasutisu/exportsrf/r ... e_v2.0.zip

License file now only in "master" branch, so try reupload your release with license files, please.
Anyway, I add links to your original github page. Don't worry about it and do not think that I "fork" specially, I only try improve it and you are welcome in using this sources too.
This is only effort for different scripts in one panel on ToolShelf in Blender.

But one more change I recommend you to do is renaming "ExportSRF" to "ExplodeSRF" in file "explode_srf.py".

Also, I add 3rd party addons in my zip as data, but "ysfs_2_0.py" is my own work.
Licensing issues for that: https://www.blender.org/forum/viewtopic.php?t=18832
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
Flake
Staff
Staff
Posts: 3968
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR600RR. Shit I mean Boeing F/A-18A.
Location: Newcastle, Australia
OS: Windows 10 (x64)
Has thanked: 651 times
Been thanked: 929 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Flake » Tue Apr 19, 2016 10:51 pm

mrmofumofu wrote:YOU ARE IN BREACH OF MY LICENSE!
I'M VERY VERY ANGRY!
And for this, I am also not happy.

There's a clear misunderstanding here of rights to use, so I encourage you both to work together to sort this out. Until such time, u2fly, I have removed the link as a precautionary measure.

Please contact the admin team if you wish to dispute, this is perfectly acceptable.

I will not lock the topic JUST YET, but I will be hovering my finger on the lock button so to say. Please discuss and resolve the issues at hand. :) I trust you can both resolve peacefully and respectfully like adults.

As a software developer myself, I do understand and appreciate Mr Mofumofu's rights, but I also acknowledge the possible ambiguous interpretation of rights. Hence why I have not issued any formal warnings to anyone (yet).

That said, we at HQ have a policy to not allow addons of any type to be posted if the original works author does NOT give permissions for derivative works to be made. This is why I have taken this action so to be consistent with this policy.

Please do see the admin team, both of you, to discuss further if needed.

User avatar
mrmofumofu
Modding Team
Modding Team
Posts: 63
Joined: Mon Nov 02, 2015 4:45 pm
Favorite Aircraft: MiG-35
Location: Nara, Japan
OS: Linux(Arch Linux)
Has thanked: 14 times
Been thanked: 63 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by mrmofumofu » Wed Apr 20, 2016 12:33 am

Sorry OfficerFlake...
I missed adding LICENSE file to release binary...

But I wish you follow my licence(MIT License).
And only in following that, I accept to use my script freely.

I'd hoped you to contact me before release...
And if including my code with small changes, writing my name to authors...
C/C++/C#/Python/PHP/JavaScript...etc
For support me, bought me a vodka!

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Wed Apr 20, 2016 1:43 pm

@OfficerFlake and @mrmofumofu,
As, I sad above I already add authors of scripts used in YSFS 2.0 and give a links.
I'm not hack original "exportsrf" scripts, and try use it legally as fork according to MIT License. I hope we can make it better, but you sad this:
mrmofumofu wrote:You forked my source so I understood you will be improbe my code yourself. Please do it by yourself!
Or did you, @mrmofumofu, change point of view? I hope we can collaborate for creating new generation scripts for YSFlight add-ons developers.
Another question is, did @mrmofumofu use original "YSFS" scripts created by "Vincent A. and Josiah H" in his work, that was copyrighted under GNU GPLv2 License:
http://sourceforge.net/projects/ysfsblender/
If so, then "exportsrf" must be licensed under GNU GPLv2 too.

Anyway, I use fork of opensource "exportsrf" under MIT License and save original authors of if too (but I dont understand why you choose this license and not WTFPL).

My original script is only "ysfs_2_0.py" that I can license under any other license.

As I know, there no problems to include in one zip different scripts under different licenses, only need include all this licenses and in README file tell what file use each license.

P.S.: About legacy on YSFHQ, I'm sure there are many problems in different addons where logos and trademarks used without permission of their copyright holders in hope that author think about "fair use", but sometime this is not true.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
mrmofumofu
Modding Team
Modding Team
Posts: 63
Joined: Mon Nov 02, 2015 4:45 pm
Favorite Aircraft: MiG-35
Location: Nara, Japan
OS: Linux(Arch Linux)
Has thanked: 14 times
Been thanked: 63 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by mrmofumofu » Wed Apr 20, 2016 3:47 pm

importmqo is pymeshio's fork, but exportsrf series are full scratch.

I delete exportsrf repository.
And I won't release any release exportsrf.
C/C++/C#/Python/PHP/JavaScript...etc
For support me, bought me a vodka!

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Fri Apr 29, 2016 11:01 am

FIRST RELEASE!
YSFS 2.0.1 now published for testing!

GET IT NOW! ysfs_2_0-1.zip(10 Kb)
You can use it in Blender 2.75 or above. Please, give feedback if you will try it!
Credits: see README.md (attached in zip)
License: MIT License (attached in zip)
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
DuckFeet97LOR
Modding Team
Modding Team
Posts: 1054
Joined: Fri Dec 16, 2011 12:42 am
Favorite Aircraft: All
Location: Federative Republic of Brazil
OS: Windows 10 Pro X64
Has thanked: 1164 times
Been thanked: 458 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by DuckFeet97LOR » Fri Sep 09, 2016 10:53 am

I downloaded the Blender 2.75 but I don't know how to install the YSFlight Scripts. HALP. (Sorry My knowledge is limited)
Visit my YSFlight Photo Gallery https://postimg.org/gallery/2gdij8h68/
Cheers,
Lucas OR.[/center]

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Tue Sep 13, 2016 7:11 pm

Lucas1997 wrote:I downloaded the Blender 2.75 but I don't know how to install the YSFlight Scripts. HELP. (Sorry My knowledge is limited)
Try read this instruction for Blender:
>>> http://m.wikihow.com/Add-an-Addon-in-Blender
Or watch this
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
Swift
Veteran
Veteran
Posts: 728
Joined: Fri Jan 09, 2015 7:51 pm
Favorite Aircraft: Mig-41 Firefly, Mig-21, F/A-53A Foxtrot
Location: The Mün
OS: Windows 7 Ultimate
Has thanked: 70 times
Been thanked: 254 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Swift » Tue Sep 13, 2016 10:10 pm

i'll upgrade my blender when an IMPORT DNM script is written. :lol:
Image
Товарищ волк знает, кого кушать. Кушает, и никого не слушает, и слушать, судя по всему, не собирается.
Comrade wolf knows who to eat. He eats without listening to anybody and it seems he is not ever going to listen.

-Vladimir Putin

User avatar
mrmofumofu
Modding Team
Modding Team
Posts: 63
Joined: Mon Nov 02, 2015 4:45 pm
Favorite Aircraft: MiG-35
Location: Nara, Japan
OS: Linux(Arch Linux)
Has thanked: 14 times
Been thanked: 63 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by mrmofumofu » Thu Sep 15, 2016 5:19 am

Swift wrote:i'll upgrade my blender when an IMPORT DNM script is written. :lol:
I developed ImportDNM at here.
Currently it is stub.
viewtopic.php?t=8145
C/C++/C#/Python/PHP/JavaScript...etc
For support me, bought me a vodka!

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Wed Dec 28, 2016 12:57 am

Well, now I collect many usefull tools on own Github project:
http://github.com/YSFlight-opensource
--
In this topic I will try collect some usefull addons for Blender 2.7+, that may be usefull in some manner:
http://github.com/Pullusb/SB_auto-blueprint - Create a blueprint of the selected object in one click
Image
to
Image
More usefull addons coming soon.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
u2fly
Veteran
Veteran
Posts: 1083
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 562 times
Been thanked: 235 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly » Sat Apr 01, 2017 12:56 pm

YSFS 2.0.2 (test version)
Here is my latest development version of "YSFS 2.x" add-on for Blender 2.78 (or above).
Image
CHANGELOG:
  • add-on placed in "User Preferencess... > Add-ons > Airplanes 3D" category in Blender menu;
  • added import DNM/SRF on tool panel and in import dialog;
  • added "NACA Airfoil" generator on "YSFS" panel;
  • added "Cars" generator on "YSFS" panel;
  • other small fixes.
ATTENTION! This add-on still in development!
Some function may not work or will work incorrect, so DON'T USE IT FOR SERIOUSE MODELING!
Attachments
ysfs2x_20170401.zip
(test version)
(50.99 KiB) Downloaded 18 times
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“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
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
decaff_42
Legend
Legend
Posts: 3307
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 402 times
Been thanked: 1008 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by decaff_42 » Sat Apr 01, 2017 1:29 pm

(1) Export srf does not include colors unless a material is applied. Should default to white.
(2) Unless a material is applied, then blender 2.49 only imports the vertices. Probably a symptom of missing the colors for each face.
(3) Import DNM wrecks the parent-child relationships and only seems to import the srfs and centers them all at the origin. It also removes any animations.
Image
(4) Export DNM has multiple errors:
- object centers are offset
- z axis is flipped

2.78:
Image
2.49:
Image
Polygon Crest:
Image
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
flyer17
Contributor
Contributor
Posts: 188
Joined: Thu Mar 16, 2017 6:38 pm
Favorite Aircraft: boeing 787 dreamliner
Location: probably no where
OS: windows 7
Has thanked: 19 times
Been thanked: 176 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by flyer17 » Sat Apr 01, 2017 7:21 pm

decaff_42 wrote:
Sat Apr 01, 2017 1:29 pm
Image
like that has seen the aircrafts on the ys flight aircraft preview

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest