3ds Max to SL Importer

Name

maxport.exe

Description

Program to import prims from 3ds Max to Second Life or OpenSim.

Export prims from 3ds Max using Prim Composer, then use maxport.exe to import the xml file into Second Life.

Imports to Second Life Main Grid by default. Use –loginuri to specify an alternate grid. OpenSim supported. Use –test for SL Beta Test Grid.

Prims are rezzed 2 meters above the avatar in SL. In OpenSim, use –rz to specify height of rez. Avatar is logged in at last location if none specified. To use a different avatar location, use –sim -x -y -z (all must be provided).

Synopsis

    maxport.exe --firstname fname --lastname lname --password pwd
                              --inputxml "filepath" [other options]

For more examples, see the Examples Section later in this page.

Options

REQUIRED: –firstname –lastname –password –inputxml

Category: Avatar

-l, --lastname

(Type: Value required, Value Type:[String])
The last name of the avatar.

-f, --firstname

(Type: Value required, Value Type:[String])
The first name of the avatar.

-p, --password

(Type: Value required, Value Type:[String])
The password of the avatar.

Category: Grid

-t, --test

(Type: Flag, Value Type:[Boolean])
Connect to the Second Life Beta Test Grid.

-u, --loginuri

(Type: Value optional, Value Type:[String])
Connect to an alternate grid such as OpenSim.

-m, --main

(Type: Flag, Value Type:[Boolean])
Connect to the Second Life Main Grid. (default)

Category: Location

--rz

(Type: Value optional, Value Type:[Single])
absolute z coordinate to rez at. (defaults to 2m above avatar)

-s, --sim

(Type: Value optional, Value Type:[String])
Name of the simulator. Use with -x -y -z. (defaults to last
location)

-x, --x

(Type: Value optional, Value Type:[Single])
Avatar’s absolute x coordinate in simulator. Use with –sim.

-y, --y

(Type: Value optional, Value Type:[Single])
Avatar’s absolute y coordinate in simulator. Use with –sim.

-z, --z

(Type: Value optional, Value Type:[Single])
Avatar’s absolute z coordinate in simulator. Use with –sim

Category: Input

-i, --inputxml

(Type: Value required, Value Type:[String])
The filepath to an XML file exported by Prim Composer

Category: Special

--delay

(Type: Value optional, Value Type:[Int32])
Increase the value to slow down the import. (Defaults to 1). For OpenSim with SQLite DB, use value of 10 or more.

--noaction

(Type: Flag, Value Type:[Boolean])
No action will be taken. Info only.

--force

(Type: Flag, Value Type:[Boolean])
Forces the import to continue, even if one of the safety checks
fails.

Category: Help

-h, --help

(Type: Flag, Value Type:[Boolean])
Prints the command line options that are available.

Examples

To import projA.xml into SL using the Test User avatar.

maxport.exe --firstname Test --lastname User --password test --main -i
      "c:\projects\projA\projA.xml"

Short option names can be catenated and then followed by their values.
For instance, all of the following mean the same thing:

♦ –loginuri a –inputxml b
♦ -u a -i b
♦ -ui a b

To import projA.xml into OpenSim running on the local machine.

maxport.exe -flp Test User test -ui "http://127.0.0.1:9000"
      "c:\projects\projA\projA.xml"

You can also specify options using environment variables of the same name.

Credits

Maxport uses the following opensource components:

♦ libsecondlife (http://www.libsecondlife.org/)
♦ csharpoptparse (http://sourceforge.net/projects/csharpoptparse/)

Copyright

Maxport: Copyright 2008 Shack Dougall. All rights reserved.

http://liferain.com/downloads/primcomposer/




Bad Behavior has blocked 665 access attempts in the last 7 days.