kopia lustrzana https://github.com/pviljoen2/Blender-igs
Add files via upload
rodzic
1803674143
commit
2ca19209ec
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 260 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 59 KiB |
|
@ -0,0 +1,71 @@
|
||||||
|
#!BPY
|
||||||
|
|
||||||
|
#"""
|
||||||
|
#Name: 'RailSim Bigex (.igs)...'
|
||||||
|
#Blender: 248
|
||||||
|
#Group: 'Export'
|
||||||
|
#Tooltip: 'Exports to Rail Sim intermediate geometry shape format (.igs)'
|
||||||
|
#"""
|
||||||
|
__author__ = ["HenningBR218"]
|
||||||
|
__url__ = ("www.blender.org",
|
||||||
|
"www.railsimulator.com",
|
||||||
|
"http://rail-sim.de/railsim/forumnew",
|
||||||
|
"http://rail-sim.de/railsimnew",
|
||||||
|
"http://forums.uktrainsim.com")
|
||||||
|
__version__ = "2.0.158 2010-04-21"
|
||||||
|
__bypdoc__ = """\
|
||||||
|
|
||||||
|
Exporter for Rail Sim IGS format files
|
||||||
|
|
||||||
|
Writes Rail Simulator IGS format files from Blender.
|
||||||
|
|
||||||
|
Comments, questions, suggestions for improvements?
|
||||||
|
Drop me a note: HenningBR218 ( a t ) b188 ( d o t ) de
|
||||||
|
|
||||||
|
"""
|
||||||
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# ***** END GPL LICENCE BLOCK *****
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
from sys import version
|
||||||
|
|
||||||
|
# Check Python version
|
||||||
|
if version.split()[0].split('.')[0] is '2' and \
|
||||||
|
version.split()[0].split('.')[1] is '5':
|
||||||
|
from bigex25 import InitGUI
|
||||||
|
elif version.split()[0].split('.')[0] is '2' and \
|
||||||
|
version.split()[0].split('.')[1] is '6':
|
||||||
|
from bigex26 import InitGUI
|
||||||
|
else:
|
||||||
|
exit('\nError: Only Python versions 2.5 and 2.6 are supported currently!\n')
|
||||||
|
|
||||||
|
##### preset script default behavior values
|
||||||
|
### script behavior (script internal switches)
|
||||||
|
gFlags = {
|
||||||
|
'EXPORT_LOG' : 1 , # 0: no export log
|
||||||
|
# 1: write logfile '<igs file name>_exp.log'
|
||||||
|
# Maximum log level depth is 42
|
||||||
|
'SCREENDUMPLEVEL' : 1 , # Console/screen log level depth:
|
||||||
|
# 0: none, 1: header only,
|
||||||
|
# 2: more, 42: all
|
||||||
|
'LOGFILEDUMPLEVEL' : 42 , # same for log file logging depth
|
||||||
|
'DUMP_OBJECT_OFFSET_LIST': 0 # 1: dump igs object address offset table
|
||||||
|
# 0: don't do that
|
||||||
|
}
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
InitGUI(gFlags)
|
|
@ -0,0 +1,66 @@
|
||||||
|
Blender IA/IGS exporter V2.0.158 HenningBR218 2010-04-21
|
||||||
|
|
||||||
|
1. Summary
|
||||||
|
----------
|
||||||
|
The Blender IA/IGS Exporter 2.0, (Bigex), is a Python Plugin for the very
|
||||||
|
powerful 3D modelling and animation suite Blender. Bigex allows the export
|
||||||
|
into Kuju's own IA and IGS intermediate formats. These file formats are
|
||||||
|
required to import 3D models into Rail Simulator and Rail Works.
|
||||||
|
|
||||||
|
Note: The Blender IA/IGS Exporter version 2.0 does not support the export
|
||||||
|
of animations into the IA format. This function will be
|
||||||
|
implemented in a later version.
|
||||||
|
|
||||||
|
2. Copyright, Licence, Warranty, Contact, Credits
|
||||||
|
-------------------------------------------------
|
||||||
|
All rights, including the copyright, for the Blender IA/IGS export extension
|
||||||
|
Bigex are owned by HenningBR218.
|
||||||
|
|
||||||
|
(C) HenningBR218 2009-2010
|
||||||
|
|
||||||
|
The Blender IA/IGS export extension Bigex is subject to the GNU Public Licence,
|
||||||
|
version 3 (GPL3) with the restrictions for commercial use as listed below. The
|
||||||
|
full text of the GPL3 licence can be read on the net:
|
||||||
|
www.gnu.org/licenses/gpl.html, http://www.gnu.de/documents/gpl-3.0.de.html
|
||||||
|
|
||||||
|
The usage of the Blender IA/IGS export extension Bigex is allowed for creation
|
||||||
|
of 3D models only, which are distributed without any form of compensation
|
||||||
|
(Freeware). The usage for creation of 3D models which are not distributed as
|
||||||
|
Freeware (Payware, Shareware, etc.) requires the express and written approval
|
||||||
|
of the author (Contact: henningbr218 (at) b188 (dot) de).
|
||||||
|
|
||||||
|
Each 3D model, created with the Blender IA/IGS export extension Bigex, with a
|
||||||
|
certain count of vertices gets a special marking. This mark appears later in
|
||||||
|
the 3D model in Rail Simulator / Railworks also. The evidence, that a certain
|
||||||
|
3D model was created with the Blender IA/IGS export extension Bigex is
|
||||||
|
therefore identifiable.
|
||||||
|
|
||||||
|
The usage of Bigex is at the users own risk. The Author assumes no liability
|
||||||
|
for damages, direct, indirect or consequential, to hardware, software or
|
||||||
|
person resulting from the use of this script.
|
||||||
|
|
||||||
|
Any error reports, questions or suggestions for extension of Bigex, can be
|
||||||
|
raised in the German language forum of Rail-Sim.de:
|
||||||
|
rail-sim.de, http://rail-sim.de/railsim/forumnew/index.php?board=8.0
|
||||||
|
or in the English language forum of UKTrainSim:
|
||||||
|
forums.uktrainsim.com, http://forums.uktrainsim.com/viewforum.php?f=291
|
||||||
|
|
||||||
|
The author can be contacted directly in exceptional cases via mail:
|
||||||
|
|
||||||
|
henningbr218 (at) b188 (dot) de.
|
||||||
|
|
||||||
|
All rights of registered trademarks, branding marks and names, which are
|
||||||
|
mentioned here in the manual, are and shall remain property of its current
|
||||||
|
owner.
|
||||||
|
|
||||||
|
Many thanks for the help on manual translation, review and discussion to
|
||||||
|
AndiS and Jeff Douglas (JADsHome).
|
||||||
|
|
||||||
|
3. Further information
|
||||||
|
----------------------
|
||||||
|
Further information regarding installation, usage and also detailed background
|
||||||
|
information are in the manual (Bogex_Manual.pdf)
|
||||||
|
|
||||||
|
Note: Nearly no one would be able to export a working model for RS/RW
|
||||||
|
without reading the manual. The possibilities for settings in
|
||||||
|
Blender are way to manifold.
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue