GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OPENDB(nged) BRL-CAD User Commands OPENDB(nged)

opendb - Closes the current database file and opens database.g.

opendb [-f] [database.g]

Closes the current database file and opens database.g. If database.g is not found, the current database is left open. If database.g is not specified on the command line, the name of the current database file is returned.

If the -f option is specified and the database.g is a v4 geometry database, the file will be read with a flipped binary endianness encoding. This is useful for binary-incompatible v4 geometry files that were created on a different platform type.

Binary-incompatible v4 geometry database files that can be auto-detected will be automatically converted if all resulting matrices are valid.

The first example shows the use of the opendb command to close the current database file and open the one specified. The second example shows the use of the command with no database name, which returns the name of the current database file.

Example 1. Close the current database and open another one.

mged>opendb model.g

Closes the current database file and opens model.g.

Example 2. Return the name of the current database file.

mged>opendb

Returns the name of the current database file.

Example 3. Open and upgrade a binary-incompatible v4 file.

mged>opendb -f model.g mged>dbupgrade

Closes any currently open database and opens model.g as a binary-incompatible v4 geometry database.

BRL-CAD Team

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
06/07/2022 BRL-CAD

Search for    or go to Top of page |  Section n |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.