YSFS 2.0 - YSFlight Scripts for Blender 2.75+

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

YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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.

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

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. ;)
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

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

Post by u2fly »

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.

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
Deleted User 2704

Re: YSFS 2.0 - YSFlight Tools for Blender 2.75+

Post by Deleted User 2704 »

YOU ARE IN BREACH OF MIT LICENSE!
I'M VERY VERY ANGLY!
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Flake »

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.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
Deleted User 2704

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Deleted User 2704 »

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...
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

@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.

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
Deleted User 2704

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Deleted User 2704 »

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

I delete exportsrf repository.
And I won't release any release exportsrf.
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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)

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
lorDuckFeet
Modding Team
Modding Team
Posts: 1085
Joined: Fri Dec 16, 2011 12:42 am
Favorite Aircraft: McDonnell Douglas
Has thanked: 1320 times
Been thanked: 515 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by lorDuckFeet »

I downloaded the Blender 2.75 but I don't know how to install the YSFlight Scripts. HALP. (Sorry My knowledge is limited)
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
Deleted User 2433

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Deleted User 2433 »

i'll upgrade my blender when an IMPORT DNM script is written. :lol:
Deleted User 2704

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Deleted User 2704 »

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
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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.

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

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 526 times

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by decaff_42 »

(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.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
flyer17
Contributor
Contributor
Posts: 210
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: 199 times
Contact:

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by flyer17 »

decaff_42 wrote: Sat Apr 01, 2017 1:29 pm Image
like that has seen the aircrafts on the ys flight aircraft preview
Image
Gelb2
Newbie
Newbie
Posts: 5
Joined: Sun May 19, 2019 6:22 am
Favorite Aircraft: Su-37
OS: Windows

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by Gelb2 »

I can't find script window for blender 2.77
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFS 2.0 - YSFlight Scripts for Blender 2.75+

Post by u2fly »

Gelb2 wrote: Tue May 21, 2019 8:15 amI can't find script window for blender 2.77
I would recommend you install Blender 2.49b + latest version of YSFS 1.x addon: YSFS 2.x addon for Blender 2.7x not fully functional yet. But I'm working on it!

All open-source tools collected as repositories in "YSFlight-OpenSource" organization on GitHub:

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests