Board index FlightGear Development

Blender 2.6 AC3D Importer & Exporter

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Re: Blender 2.6 AC3D Importer & Exporter

Postby WoodSTokk » Fri Jun 01, 2018 12:41 pm

Necolatis wrote in Fri Jun 01, 2018 12:11 am:It works in 2.79 also.


Solved!
I have installed the addon via "File" -> "User Preferences" -> [TAB] "Add-ons" -> [BUTTON] "Install Add-on from File..." and choise the file "Blender-AC3D-master.zip".
Blender copied all files under "/home/{user}/.config/blender/2.79/scripts/addons/Blender-AC3D-master/io_scene_ac3d/", but the addon was not listed.
I have moved the files to "/home/{user}/.config/blender/2.79/scripts/addons/io_scene_ac3d/" and now it works.
This mean that Blender also create the directory "Blender-AC3D-master" inside the path, but that doesn't work.
WoodSTokk
 
Posts: 296
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2018.3.1
OS: Debian Buster/Sid

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Fri Jul 12, 2019 11:29 pm

Blender 2.8 RC candidate is available ! Yohooooooooo :)
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby www2 » Thu Aug 01, 2019 1:29 pm

And of today blender 2.8 is release.
I think we need to focus on porting fg2blender[1] to blender 2.8
[1]: https://sourceforge.net/p/pafteam/fg2bl ... ster/tree/
www2
 
Posts: 260
Joined: Thu Apr 16, 2009 1:58 pm

Re: Blender 2.6 AC3D Importer & Exporter

Postby Necolatis » Thu Aug 01, 2019 2:23 pm

In some weeks, we should have a script available. Scott has already gotten much of the importer working in 2.80 and I will shortly start on the exporter.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1986
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2019.1.2
OS: Windows 10

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Thu Aug 01, 2019 10:08 pm

www2 wrote in Thu Aug 01, 2019 1:29 pm:And of today blender 2.8 is release.
I think we need to focus on porting fg2blender[1] to blender 2.8
[1]: https://sourceforge.net/p/pafteam/fg2bl ... ster/tree/


Good evening, (ou Bonsoir, c'est comme vous voulez :) )

I think that the fg2blender, from the PAF team (a french group of super geeks) is far beyond the other majic79 blender ac script [1]. But i must admit that i didn't try the fg2blender addon. What a shame (read on).

However, the fg2blender script (according to what i have read from the source code), has way more features.
For example, exporting animation to xml file from within Blender sounds so awesome. That feature seems unbelievable.

I really think that both efforts, once merged, would be a killer ac plugin.

(Please, a hit to these developers of these two ac exporter script. Work togheter and take a look to the x-plane exporter script [2] as an inspiration of what others have. That's a gold mine of what a true FGFS ac exporter script should be able to do. Please, try to be better than that X-plane, or at least use all FGFS (xml & co) features in that exporter script) . Just telling, after sawing these last commit's of these scripts, their last commit's and their docs, it feels like the developers think that their script is finished. Don't take it bad. (Look to what a community, working together, is able to achieve ! The language barrier shouldn't be a reason).

(And please 2.0, take a look to all these awesome aircraft's the PAF team made. I really think that something bad happen as their aircraft's didn't made the official FG repo. Feels like FGFS devs never look to the "concurrent", what a bad way.

[1] https://github.com/majic79/Blender-AC3D
[2] https://github.com/X-Plane/XPlane2Blender

Anyway, i really want to thanks these developers, as i'm using stuff made by others ;)
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby Necolatis » Fri Aug 02, 2019 8:57 am

I don't recommend using the old Majic script you link to. I fixed tons of bugs and added many features to it. Some of the fixed got accepted, but he stopped responding, so its now hosted here: https://github.com/NikolaiVChr/Blender-AC3D

I personally will not use fg2blender even if was bug free (last time I tried it, it had plenty) and supported all xml features (which it doesn't). I dont need a script to rewrite my xml files or rearrange/delete my comments.
Also prefer xml over that gui, plus it don't have english instruction.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1986
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2019.1.2
OS: Windows 10

Re: Blender 2.6 AC3D Importer & Exporter

Postby xDraconian » Fri Aug 02, 2019 2:21 pm

@dvanmosselbeen,

I've abandoned my version of these AC3D scripts in favor of collaborating with Nikolai toward a single supported version.
I've got plenty of ideas, including support for animation, but limited time so I anticipate that it will evolve slowly.

Scott
xDraconian
 
Posts: 240
Joined: Sun Jan 21, 2018 5:53 am
Version: Git
OS: Linux Mint

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Sat Aug 03, 2019 9:44 am

Hi guys,

Thanks for your reply and thanks for continuing to work together on the AC exporter script :)

I think the Blender wiki page [1] should be updated with this info as it still point to the old AC exporter script. Users like me read the wiki and are then using the old script :)

BTW, if you need a French2English translator, hit me ;)

[1] http://wiki.flightgear.org/Blender
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby www2 » Thu Aug 08, 2019 2:36 pm

@Necolatis
Export to xml is useful for building cockpits, aircraft interior in combination of a asset manager that can import instruments from $FGROOT/Aircraft/Instruments-3d.
And animate things like flaps, rudder, doors, etc
www2
 
Posts: 260
Joined: Thu Apr 16, 2009 1:58 pm

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Thu Aug 08, 2019 4:20 pm

Hi guys :)
Just a side note.

* I have updated the Blender wiki page and removed links pointing to the old unmaintained AC3D scripts. Also added a link on that wiki page pointing to the dedicated Blender AC3D import and export wiki page. Removed that link pointing to this forum thread as it shouldn't be on that page (see next point).

* On the Blender AC3D import and export wiki page i have added a line pointing to this forum thread.

Kind regards,
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby wlbragg » Thu Aug 08, 2019 4:29 pm

Thank you for cleaning that up. It took awhile for me to understand we had multiple choices and what they all did and didn't do. Still don't have it memorized so it is nice to have a reference source.

Speaking of choices, fg2blender, is this a different type of ac import/export script for Blender?

Even with its flaws, if it is related and has any useful features that can be used currently or eventually adapted to the maintained script, should it be included in the same wiki as another option of even just as a reference?
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4909
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Blender 2.6 AC3D Importer & Exporter

Postby wkitty42 » Thu Aug 08, 2019 5:00 pm

i may have misunderstood but my understanding is that fg2blender is for using blender for scenery work... not craft models... ???
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5695
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Thu Aug 08, 2019 5:18 pm

wlbragg wrote in Thu Aug 08, 2019 4:29 pm:Thank you for cleaning that up. It took awhile for me to understand we had multiple choices and what they all did and didn't do. Still don't have it memorized so it is nice to have a reference source.

Speaking of choices, fg2blender, is this a different type of ac import/export script for Blender?

Even with its flaws, if it is related and has any useful features that can be used currently or eventually adapted to the maintained script, should it be included in the same wiki as another option of even just as a reference?


A few users where still using the old unmaintained Blender AC script, myself included :) So i wanted to remove that line of confusion.

You're completely right ! I added some info about FG2Blender on the http://wiki.flightgear.org/Blender_AC3D ... and_export. I don't have more info right now but we have a starting point :)
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Thu Aug 08, 2019 5:32 pm

www2 wrote in Thu Aug 08, 2019 2:36 pm:@Necolatis
Export to xml is useful for building cockpits, aircraft interior in combination of a asset manager that can import instruments from $FGROOT/Aircraft/Instruments-3d.
And animate things like flaps, rudder, doors, etc


I support your request at 100%

That animation features could be an option, use it or not (check / uncheck option during export). So no worries about overwriting files etc.
(But i'm speaking of things i don't implement, so that may be ignored)
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

Re: Blender 2.6 AC3D Importer & Exporter

Postby dvanmosselbeen » Thu Aug 08, 2019 6:48 pm

wkitty42 wrote in Thu Aug 08, 2019 5:00 pm:i may have misunderstood but my understanding is that fg2blender is for using blender for scenery work... not craft models... ???


No, the script is targeted to aircraft modeling and importing (not exporting apparently) (FlightGear) xml animation with the Blender animation system (keyframe) and bones system. The script is also able to import / export to ac. But after a quick tests, the file size is close to 15% bigger than Nikolai's work. So i suspect there's a lot of junk in the final ac file.

I just have installed the script and got it working with Blender 2.79b. Not sure if everything work as expected yet.

Found some forum topics (on the PAF forum) with some video too so far. Even some FG (French) wiki page.

* http://wiki.flightgear.org/Fr/fg2blender (This one i can translate to English if needed, if it's worth to do so)
* http://equipe-flightgear.forumactif.com ... pt-blender
* http://equipe-flightgear.forumactif.com ... fg2blender
* http://equipe-flightgear.forumactif.com ... fg2blender

(THIS IS IN NO WAY AN ATTEMPT TO BYPASS NIKOLAI'S WORK. IT'S JUST SOME ATTEMPT TO LOOK AT WHAT WE COULD GET BACK, EVENTUALLY MERGE STUFF... If FG2BLENDER IS WORTH OF IT OF COURSE.
ANYWAY FG2BLENDER IS ABANDONEWARE, KEEP THAT IN MIND. NIKOLAI'S WORK IS CURRENT AND UP TO DATE.)
Proud to work on Belgian sceneries: https://github.com/dvanmosselbeen and the Rans S-6S aircraft: https://github.com/dvanmosselbeen/Rans-S-6S
dvanmosselbeen
 
Posts: 68
Joined: Sat Feb 26, 2011 2:54 pm
Location: Brussel
Callsign: B-ITCH
IRC name: dvanmosselbeen
Version: git
OS: Debian / Windwoss

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests