[PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Note that alterations to the YSFlight .EXE is forbidden
Post Reply
Deleted User 2704

[PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Mon Nov 02, 2015 4:52 pm

It made for adding function exporting YSFLIGHT SURF(.srf)!
It will work with upper Blender 2.75!

https://github.com/pasutisu/exportsrf
Last edited by Deleted User 2704 on Thu Feb 11, 2016 2:44 pm, edited 2 times in total.

Deleted User 2704

Re: [PLUGIN]SURF Exporter for latest Blender!

Post by Deleted User 2704 » Wed Nov 04, 2015 1:47 pm

Currentry developing dnm import method

User avatar
decaff_42
First Class Membership
First Class Membership
Posts: 3413
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 537 times
Been thanked: 1192 times
Contact:

Re: [PLUGIN]SURF Exporter for latest Blender!

Post by decaff_42 » Fri Nov 13, 2015 9:06 pm

This SRF exporter seems to work great! I was able to export a mesh from Blender 2.75 and import the generated SRF in Blender 2.49 with no errors.

Will there be an import SRF script developed? I find that tool frequently used in my work in Blender 2.49.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

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.

Deleted User 2704

Re: [PLUGIN]SURF Exporter for latest Blender!

Post by Deleted User 2704 » Thu Feb 11, 2016 1:10 pm

Released.
explodesrf is a little present.
https://github.com/pasutisu/exportsrf

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

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by u2fly » Thu Feb 11, 2016 2:58 pm

mrmofumofu wrote:Released.
explodesrf is a little present.
https://github.com/pasutisu/exportsrf
For those who have only Blender 2.6x this script can be installed after changes in scripts string:
'blender' : (2, 75, 0),
Replace this string to next:
'blender' : (2, 60, 0),
After this save and install as other plugins for Blender 2.6x
http://wiki.blender.org/index.php/Doc%3 ... on/Add-Ons
--
@mrmofumofu, hope that you will make import scripts soon.
Please, make it!
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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)

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Thu Feb 11, 2016 3:34 pm

I suggest upper 2.75 because I tested only that.
BMesh is currently experimental so do so.

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

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by u2fly » Thu Feb 11, 2016 3:50 pm

mrmofumofu wrote:I suggest upper 2.75 because I tested only that.
BMesh is currently experimental so do so.
I dont yet test latest scripts, but previouse version I can normally run inside Blender 2.69 after manipulation described in comment above.
But, for my opinion "exportsrf" is bad name for it. Maybe try rename to "export_srf"?
Anyway, THANKS FOR IT!
Be wait for "import_srf" and "import_dnm".
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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)

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Thu Feb 11, 2016 10:24 pm

I will implement Decaff's idea "reducing SURF filesize".

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Sun Feb 14, 2016 5:18 am

importmqo added
X axis reverse bug fixed

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

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by u2fly » Tue Mar 22, 2016 1:53 am

mrmofumofu wrote:It will work with upper Blender 2.75!
Please, update your scripts to new Blender 2.77 API
https://wiki.blender.org/index.php/Dev: ... 77/Add-ons
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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)

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Tue Mar 22, 2016 4:51 pm

u2fly wrote: Please, update your scripts to new Blender 2.77 API
https://wiki.blender.org/index.php/Dev: ... 77/Add-ons
You forked my source so I understood you will be improbe my code yourself.
Please do it by yourself!

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

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by u2fly » Tue Mar 22, 2016 6:24 pm

mrmofumofu wrote:
u2fly wrote: Please, update your scripts to new Blender 2.77 API
https://wiki.blender.org/index.php/Dev: ... 77/Add-ons
You forked my source so I understood you will be improbe my code yourself.
Please do it by yourself!
I don't work on it, only give a news about Blender API upgrading, thats all.
Do what you want and keep us in course when you make updates.
The only target for fork was make reserve copy of it, thats all, nothing personal.
Currently I'm work only on GUI for "ysradar.py" from Eric.
--
I also test your "export_dnm.py", and resulted DNM sometime has wrong parenting or orientation and export process always give me error notification while save to DNM

Code: Select all

Traceback (most recent call last):
File "/initrd/mnt/dev_save/blender/2.77/scripts/addons/export_dnm.py", line 259, in execute
  fp.write(surf.srf())
File "/initrd/mnt/dev_save/blender/2.77/scripts/addons/export_dnm.py", line 168, in srf
  if self.obj.parent.type == 'MESH' \
AttributeError: 'NoneType' object has no attribute 'type'


location: <unknown location>:-1
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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)

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Wed Mar 23, 2016 4:46 am

u2fly wrote:I don't work on it, only give a news about Blender API upgrading, thats all.
Do what you want and keep us in course when you make updates.
I can not test that ver,so can do nothing.
And I do not obligated to support.
It not stable so support by yourself.

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Thu May 12, 2016 1:54 pm

exportsrf ver 2.2 released.
Environment difference option added.
Thanks for utachy(flip normals)!

(AFTER 2.0+, EXPORTSRF IS NOT LICENSED OPEN SOURCE LICENSE BY MY POLYCY.)
Last edited by Deleted User 2704 on Mon Jan 09, 2017 3:04 am, edited 1 time in total.

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Wed Jun 08, 2016 9:12 am

exportsrf ver 3.0 released
* single filed
* add importsrf/dnm
* unshadow added to importmqo

Thanks for debugging Utachy and Sasha!

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

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by u2fly » Wed Jun 08, 2016 1:08 pm

mrmofumofu wrote:exportsrf ver 3.0 released
* single filed
* add importsrf/dnm
* unshadow added to importmqo

Thanks for debugging Utachy and Sasha!
Is this "mofumofu.py" same as it was on pastebin, posted on mChat?
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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)

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Fri Jun 10, 2016 5:59 am

I forgot.

Deleted User 2704

Re: [PLUGIN]exportsrf - Blender 2.7 SURF Exporter

Post by Deleted User 2704 » Fri Jun 17, 2016 1:40 am

ver 3.1
*Added setting rotate axis
*Fix some bug

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest