Elvas Tower: Blender Exporter Update - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Blender Exporter Update New Version 4.4 Available Rate Topic: -----

#1 User is offline   pwillard 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 807
  • Joined: 03-March 08
  • Gender:Male
  • Location:Cumming, Ga
  • Simulator:OpenRails
  • Country:

Posted 14 July 2023 - 07:48 AM

To whom it may concern...

A new version of the Blender Exporter for MSTS and ORTS is available with updated documentation.

Its currently located on GitHub so there is a likelihood it will remain available for the long term no matter what happens.

The Documentation is available separately at: https://github.com/p...RTSExporter.pdf

The Exporter Add-On kit is available at: https://github.com/p...TS_Exporter.zip

Note: This release just adds the option to export a `DDS` file in the `S` file instead of automatically assuming you wanted `ACE` file references.

Pete

Exporter Location: https://github.com/p...S_ORTS_Exporter
Document Location (including the source code and how to re-create it): https://github.com/p...STSORTSExporter

#2 User is online   wacampbell 

  • Member since Nov. 2003
  • Group: Fan: Traction Nuts
  • Posts: 2,347
  • Joined: 22-November 03
  • Gender:Male
  • Location:British Columbia, Canada
  • Country:

Posted 14 July 2023 - 10:04 AM

View Postpwillard, on 14 July 2023 - 07:48 AM, said:

To whom it may concern...
A new version of the Blender Exporter for MSTS and ORTS is available with updated documentation.


Pete has agreed to handle maintenance and update work for the Blender Exporter. Thanks Pete!

#3 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 503
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 14 July 2023 - 04:16 PM

Thank you Pete.

#4 User is offline   ExRail 

  • Fireman
  • Group: Status: Active Member
  • Posts: 156
  • Joined: 31-December 21
  • Gender:Male
  • Simulator:ORNYMG
  • Country:

Posted 20 July 2023 - 02:47 PM

Must to be this section in the s. that's the subject
images ( 12
image ( Cabintest.ace )
image ( Cockpit_Glass.ace )
image ( Metal_512x512.ace )
)

It felt wrong seeing them during error checking, of witch I have done a lot lately,
so good to see them go and good to se there is development.

I have been thinking how the exporter or a program scanning that Matrix section in the .s
could create a cvf file template based on the object name in the collection,
since many of them can only mean one thing like MAIN_RES:0:12 must be a Digital and MAIN_RES:0:19:220 must be a Gauge,
MAIN_RES:1 must be an animated Dial , if the exporter knows PANTO_DISPLAY:0 should use a Multistate_Display with two states and so on, maybe add more :flags:flags to the objects name, but maybe it's to messy going full
MAIN_RES:0:20:200:-100!100:0xFFFF00:1:1:PSI

just thoughts.

Edit: Another one was since Blender are sorting objects alphabetic and disabling that don't do much, would it be beneficial to use Groupname:MAIN_RES:0:20:200 as an option, and have the s. exporter ignore the first text until after the first :

I have a brake panel but the Digital gauges are scattered in B,E & M section's, and I was also reading http://www.elvastowe...2d-and-3d-cabs/

what I imagine:

BRPANEL:BRAKE_CYL:0:19:220
BRPANEL:EQ_RES:1:19:205
BRPANEL:MAIN_RES:0:20:200

I should properly just learn Python...Looking in the py code and not finding : or 0x3A/58, wait a minute, the exporter don't care about the object names, and are just exporting: matrix BRAKEPANEL:BRAKE_CYL:0:19:220 without problems so i could just add this functionality in my own version if I wanted it that much. This looks like a good place or above before the call to it, to do that.
def WriteMatrices( self, stf ):
// Here maybe
print ("Writing matrices")
count = len( self.Matrices )
stf.WriteLine( ' matrices ( {0}'.format( count ) )
for i in range( 0,count):
self.Matrices[i].Write( stf )
stf.WriteLine( ' )' )

But I need more reasons to learn python and spend hours on that right now.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users