All pastes #496120 Raw Edit

Mine

public text v1 · immutable
#496120 ·published 2007-05-19 02:04 UTC
rendered paste body
        kill all paths belonging to objects
knob [-e -i -m -v] [-o v/m/e/k] [zap|zero|(x|y|z|X|Y|Z|S|ax|ay|az|aX|aY|aZ|aS|xa
dc|yadc|ang1|ang2|distadc [val])]
        emulate knob twist (e.g. knob x 1)
l [-r] <objects>
        list object information, verbose
l_muves MUVES_component1 MUVES_component2 ...
        list the MGED components that make up the specified MUVES components/sys
tems
labelvert object[s]
        label vertices of wireframes of objects
listeval
        lists 'evaluated' path solids
lm [-l] value [value value...]
        list all regions that have a MUVES_Component attribute with any of the l
isted values
loadtk [DISPLAY]
        initializes the Tk window library
loadview file
        load view from raytrace script file
lookat "x y z"
        set the look-at point
ls [-A -o -a -c -r -s -p -l] [object(s) | name/value pairs]
        list objects in this database
lt object
        list object's tree as a tcl list of {operator object} pairs
make -t | name <arb8|arb7|arb6|arb5|arb4|arbn|ars|bot|ehy|ell|ell1|epa|eto|extru
de|grip|half|nmg|part|pipe|rcc|rec|rhc|rpc|rpp|sketch|sph|tec|tgc|tor|trc>
        create a primitive
make_bb bbname object(s)
        make a bounding box (rpp) around the specified objects
match expression
        globs expression against database objects, does not return tokens that m
atch nothing
mater comb [material]
        assign/delete material to combination
matpick # or a/b
        select arc which has matrix to be edited, in O_PATH state
memprint
        print memory maps
mirface #### axis
        mirror an ARB face
mirror old new axis
        mirror solid or combination around axis
mrot x y z
        rotate view using model x,y,z
mv from to
        rename a database object
mvall from to
        rename all occurences of object
nirt [nirt(1) options] [x y z]
        trace a single ray from current view
nmg_collapse nmg_solid new_solid maximum_error_distance [minimum_allowed_angle]
        decimate NMG solid via edge collapse
nmg_simplify [arb|tgc|ell|poly] new_solid nmg_solid
        simplify nmg_solid, if possible
oed path_lhs path_rhs
        go from view to object_edit of path_lhs/path_rhs
opendb [database.g]
        close current .g file, and open new .g file
orientation quat
        set the orientation from quaternion
orot [-i] xdeg ydeg zdeg
        rotate object being edited
oscale factor
        scale object by factor
overlay file.pl [name]
        overlay the specified 2D/3D UNIX plot file
p dx [dy dz]
        set parameters
pathlist name(s)
        list all paths from name(s) to leaves
paths pattern
        lists all paths matching input path
permute tuple
        permute vertices of an ARB
pl [-float] [-zclip] [-2d] [-grid] [out_file] [|filter]
        Experimental - uses dm-plot:make UNIX-plot of view
plot [-float] [-zclip] [-2d] [-grid] [out_file] [|filter]
        make UNIX-plot of view
polybinout file
        store vlist polygons into polygon file (experimental)
pov center quat scale eye_pos perspective
        set point of view
prcolor
        print color table
prefix new_prefix object(s)
        prefix each occurrence of object name(s)
press button_label
        emulate button press
preview [-v] [-d sec_delay] [-D start frame] [-K last frame] rt_script_file
        preview new style RT animation script
prj_add  [-t] [-b] [-n] shaderfile [image_file] [image_width] [image_height]
        Appends image filename + current view parameters to shaderfile
ps [-f font] [-t title] [-c creator] [-s size in inches] [-l linewidth] file
        creates a postscript file of the current view
push object(s)
        push object(s) path transformations to solids
put object type attrs
        create a database object
putmat a/b {I | m0 m1 ... m16}
        replace matrix on combination's arc
q
        quit
qorot x y z dx dy dz theta
        rotate object being edited about specified vector
qray subcommand
        get/set query_ray characteristics
query_ray [nirt(1) options] [x y z]
        trace a single ray from current view
quit
        quit
qvrot dx dy dz theta
        set view from direction vector and twist angle
r object(s)
        create or append objects to a region
rcc-blend rccname newname thickness [b|t]
        create a blend at an end of an rcc
rcc-cap rccname newname [height] [b|t]
        create a cap (ell) at an end of an rcc
rcc-tgc rccname newname x y z [b|t]
        create a tgc with the specified apex at an end of an rcc
rcc-tor rccname newname
        create a tor from an rcc
rcodes filename
        read region ident codes from filename
read_muves MUVES_regionmap_file [sysdef_file]
        read the MUVES region_map file and optionally the sysdef file
red object
        edit a group or region using a text editor
redraw_vlist object(s)
        given the name(s) of database objects, re-generate the vlist
        associated with every solid in view which references the
        named object(s), either solids or regions. Particularly
        useful with outboard .inmem database modifications.
refresh
        send new control list
regdebug [number]
        toggle display manager debugging or set debug level
regdef ident [air [los [material]]]
        change next region default codes
regions file object(s)
        make ascii summary of regions
reid assembly regionID
        assign region IDs to all regions under some assembly/combination startin
g with the given region ID number
release [name]
        release display processor
remat assembly GIFTmater
        assign a given material ID number to all regions under some assembly/com
bination
reset
        Reset view such that all solids can be seen
rfarb
        makes arb given point, 2 coord of 3 pts, rot, fb, thickness
rm comb object(s)
        remove members from a combination
rmater filename
        read combination materials from filename
rmats file
        load view(s) from 'savekey' file
rot "x y z"
        rotate the view
rotobj [-i] xdeg ydeg zdeg
        rotate object being edited
rpp-arch rppname newname face
        create an arch at a face of an rpp
rpp-cap rppname newname face height [0|1]
        create a cap (arb6) at a face of an rpp
rrt prog [options]
        invoke prog with view
rt [options] [-- objects]
        do raytrace of view or specified objects
rt_gettrees procname [-i] [-u] treetops...
        create an rt instance object
rtabort
        abort the associated raytraces
rtarea [options] [-- objects]
        report the exposed and presented areas in the current view
rtcheck [options]
        check for overlaps in current view
rtedge [options] [-- objects]
        do edge rendering of view or specified objects
rtweight [options] [-- objects]
        report the approximate weight and centroid of displayed geometry
savekey file [time]
        save keyframe in file (experimental)
saveview file [args]
        save view in file for RT
sca sfactor
        scale by sfactor
sed <path>
        solid-edit named solid
setview x y z
        set the view given angles x, y, and z in degrees
shaded_mode [-a |-auto] [0|1|2]
        get/set shaded mode
shader comb {shader_name {keyword value keyword value ...}}
        assign shader using Tcl list format
shells nmg_model
        breaks model into seperate shells
showmats path
        show xform matrices along path
size vsize
        set/get the view size
solids file object(s)
        make ascii summary of solid parameters
sph-part sph1name sph2name newname
        create a part from two sph's
status [state|Viewscale|base2local|local2base|
        toViewcenter|Viewrot|model2view|view2model|
        model2objview|objview2model|help]
        get view status
summary [p r g]
        count/list primitives/regions/groups
sv x y [z]
        move view center
sync
        forces UNIX sync
t [-a -c -r -s]
        table of contents
t_muves
        list all the known MUVES components/systems
ted
        text edit a solid's parameters
title description
        Set/get database title
tol [abs|rel|norm|dist|perp [#]
        Set/get tessellation and calculation tolerances
tops [-n] [-u] [-g]
        find all top level objects
tor-rcc torname newname
        create an rcc from a tor
tra dx dy dz
        translate by (dx,dy,dz)
track <parameters>
        adds tracks to database
translate x y z
        trans object to x,y, z
tree [-c] [-i n] [-o outfile] object(s)
        print out a tree of all members of an object
unhide [objects]
        unset the "hidden" flag for the specified objects so they will appear in
 a "t" or "ls" command output
units [mm|cm|m|in|ft|...]
        change units
vars [var=opt]
        get/set mged variables
vdraw write|insert|delete|read|length|send [args]
        Expermental drawing (cnuzman)
view center|size|eye|ypr|quat|aet
        get/set view parameters (local units).
vnirt x y
        trace a single ray from x y
vquery_ray x y
        trace a single ray from x y
vrot xdeg ydeg zdeg
        rotate viewpoint
wcodes filename object(s)
        write region ident codes to filename
wdb_binary (-i|-o) major_type minor_type dest source
        manipulate opaque objects.
                 Must specify one of -i (for creating or adjusting objects (inpu
t))
                 or -o for extracting objects (output).
                 If the major type is "u" the minor type must be one of:
                      "f" -> float
                      "d" -> double
                      "c" -> char (8 bit)
                      "s" -> short (16 bit)
                      "i" -> int (32 bit)
                      "l" -> long (64 bit)
                      "C" -> unsigned char (8 bit)
                      "S" -> unsigned short (16 bit)
                      "I" -> unsigned int (32 bit)
                      "L" -> unsigned long (64 bit)
                 For input, source is a file name and dest is an object name.
                 For output source is an object name and dest is a file name.
                 Only uniform array binary objects (major_type=u) are currently
supported
whatid region
        return the specified region's id
which_shader Shader(s)
        lists all combinations using the given shaders
whichair code(s)
        find regions with the specified air code(s)
whichid [-s] id(s)
        find regions with the specified id(s)
who [r(eal)|p(hony)|b(oth)]
        list the top-level objects currently being displayed
wmater filename comb(s)
        write combination materials to filename
x [lvl]
        print solid table & vector list
xpush object
        push object path transformations to solids, creating solids if necessary

zoom sf
        zoom view by specified scale factor
mged>