Board index FlightGear Development

Blender 2.80 AC3D

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.80 AC3D

Postby Necolatis » Mon Mar 23, 2020 6:47 pm

line 527 to 552 in AC3D.py:

Code: Select all
                x = '{0:.7f}'.format(round(vert[0], 7)).rstrip('0').rstrip('.')
                # with more than 5 digits the Blender (2.79) internal float
                # representation becomes unreliable. Like 1 can
                # become 0.999999 and stuff.
                y = '{0:.7f}'.format(round(vert[1], 7)).rstrip('0').rstrip('.')
                z = '{0:.7f}'.format(round(vert[2], 7)).rstrip('0').rstrip('.')
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2108
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.80 AC3D

Postby dg-505 » Mon Mar 23, 2020 7:53 pm

Necolatis wrote in Mon Mar 23, 2020 6:47 pm:line 527

Did you maybe mean 547? :wink:

Can I also change it to more than 7 digits?
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 656
Joined: Mon Jun 02, 2014 2:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 18.04.4 LTS

Re: Blender 2.80 AC3D

Postby Necolatis » Mon Mar 23, 2020 8:00 pm

yes you can
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2108
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.80 AC3D

Postby dg-505 » Mon Mar 23, 2020 8:02 pm

Okay, thank you :)
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 656
Joined: Mon Jun 02, 2014 2:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 18.04.4 LTS

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest