BRL-CAD
|
Files | |
file | objects.h |
Macros | |
#define | GED_CHECK_COMB(_gedp, _dp, _flags) |
#define | GED_CHECK_EXISTS(_gedp, _name, _noisy, _flags) |
#define | GED_CHECK_READ_ONLY(_gedp, _flags) |
#define | GED_CHECK_REGION(_gedp, _dp, _flags) |
#define | GED_DB_DIRADD(_gedp, _dp, _name, _laddr, _len, _dirflags, _ptr, _flags) |
#define | GED_DB_LOOKUP(_gedp, _dp, _name, _noisy, _flags) |
#define | GED_DB_GET_INTERNAL(_gedp, _intern, _dp, _mat, _resource, _flags) |
#define | GED_DB_PUT_INTERNAL(_gedp, _dp, _intern, _resource, _flags) |
Functions | |
int | ged_adjust (struct ged *gedp, int argc, const char *argv[]) |
int | ged_attr (struct ged *gedp, int argc, const char *argv[]) |
Set, get, show, remove or append to attribute values for the specified object. More... | |
int | ged_cat (struct ged *gedp, int argc, const char *argv[]) |
int | ged_comb_color (struct ged *gedp, int argc, const char *argv[]) |
int | ged_comb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_comb_std (struct ged *gedp, int argc, const char *argv[]) |
int | ged_combmem (struct ged *gedp, int argc, const char *argv[]) |
int | ged_copy (struct ged *gedp, int argc, const char *argv[]) |
int | ged_copyeval (struct ged *gedp, int argc, const char *argv[]) |
int | ged_copymat (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edcodes (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edcomb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edit (struct ged *gedp, int argc, const char *argv[]) |
int | ged_exists (struct ged *gedp, int argc, const char *argv[]) |
int | ged_form (struct ged *gedp, int argc, const char *argv[]) |
int | ged_get (struct ged *gedp, int argc, const char *argv[]) |
int | ged_get_comb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_group (struct ged *gedp, int argc, const char *argv[]) |
int | ged_heal (struct ged *gedp, int argc, const char *argv[]) |
int | ged_hide (struct ged *gedp, int argc, const char *argv[]) |
int | ged_instance (struct ged *gedp, int argc, const char *argv[]) |
int | ged_keep (struct ged *gedp, int argc, const char *argv[]) |
int | ged_lc (struct ged *gedp, int argc, const char *argv[]) |
int | ged_list (struct ged *gedp, int argc, const char *argv[]) |
int | ged_make_name (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mat4x3pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mat_ae (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mat_mul (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mat_scale_about_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mater (struct ged *gedp, int argc, const char *argv[]) |
int | ged_material (struct ged *gedp, int argc, const char *argv[]) |
int | ged_match (struct ged *gedp, int argc, const char *argv[]) |
int | ged_put_comb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_put (struct ged *gedp, int argc, const char *argv[]) |
int | ged_red (struct ged *gedp, int argc, const char *argv[]) |
int | ged_remove (struct ged *gedp, int argc, const char *argv[]) |
int | ged_unhide (struct ged *gedp, int argc, const char *argv[]) |
int | ged_rmater (struct ged *gedp, int argc, const char *argv[]) |
int | ged_wmater (struct ged *gedp, int argc, const char *argv[]) |
int | ged_inside_internal (struct ged *gedp, struct rt_db_internal *ip, int argc, const char *argv[], int arg, char *o_name) |
int | ged_inside (struct ged *gedp, int argc, const char *argv[]) |
int | ged_3ptarb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_arb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_annotate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pipe_append_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_arced (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bev (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bo (struct ged *gedp, int argc, const char *argv[]) |
Manipulate opaque binary objects. More... | |
int | ged_bot (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_condense (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_decimate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_dump (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dbot_dump (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_edge_split (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_face_fuse (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_face_sort (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_face_split (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_flip (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_fuse (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_merge (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_smooth (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_split (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_sync (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_vertex_fuse (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_remesh (struct ged *gedp, int argc, const char *argv[]) |
int | ged_brep (struct ged *gedp, int argc, const char *argv[]) |
int | ged_brep2 (struct ged *gedp, int argc, const char *argv[]) |
int | ged_cc (struct ged *gedp, int argc, const char *argv[]) |
int | ged_clone (struct ged *gedp, int argc, const char *argv[]) |
int | ged_coil (struct ged *gedp, int argc, const char *argv[]) |
int | ged_constraint (struct ged *gedp, int argc, const char *argv[]) |
int | ged_cpi (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pipe_delete_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dsp (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edarb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edmater (struct ged *gedp, int argc, const char *argv[]) |
int | ged_ev (struct ged *gedp, int argc, const char *argv[]) |
int | ged_facetize (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find_arb_edge_nearest_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find_bot_edge_nearest_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find_bot_pnt_nearest_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_metaball_add_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_metaball_delete_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find_metaball_pnt_nearest_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_metaball_move_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find_pipe_pnt_nearest_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_fracture (struct ged *gedp, int argc, const char *argv[]) |
int | ged_get_bot_edges (struct ged *gedp, int argc, const char *argv[]) |
int | ged_get_type (struct ged *gedp, int argc, const char *argv[]) |
int | ged_in (struct ged *gedp, int argc, const char *argv[]) |
int | ged_importFg4Section (struct ged *gedp, int argc, const char *argv[]) |
int | ged_joint (struct ged *gedp, int argc, const char *argv[]) |
int | ged_joint2 (struct ged *gedp, int argc, const char *argv[]) |
int | ged_kill (struct ged *gedp, int argc, const char *argv[]) |
int | ged_killall (struct ged *gedp, int argc, const char *argv[]) |
int | ged_killrefs (struct ged *gedp, int argc, const char *argv[]) |
int | ged_killtree (struct ged *gedp, int argc, const char *argv[]) |
int | ged_lt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_make (struct ged *gedp, int argc, const char *argv[]) |
int | ged_make_pnts (struct ged *gedp, int argc, const char *argv[]) |
int | ged_mirror (struct ged *gedp, int argc, const char *argv[]) |
int | ged_move_arb_edge (struct ged *gedp, int argc, const char *argv[]) |
int | ged_move (struct ged *gedp, int argc, const char *argv[]) |
int | ged_move_all (struct ged *gedp, int argc, const char *argv[]) |
int | ged_move_arb_face (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_move_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_bot_move_pnts (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pipe_move_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_nmg (struct ged *gedp, int argc, const char *argv[]) |
int | ged_nmg_collapse (struct ged *gedp, int argc, const char *argv[]) |
int | ged_nmg_fix_normals (struct ged *gedp, int argc, const char *argv[]) |
int | ged_nmg_simplify (struct ged *gedp, int argc, const char *argv[]) |
int | ged_ocenter (struct ged *gedp, int argc, const char *argv[]) |
int | ged_orotate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_oscale (struct ged *gedp, int argc, const char *argv[]) |
int | ged_otranslate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_prefix (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pipe_prepend_pnt (struct ged *gedp, int argc, const char *argv[]) |
int | ged_protate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pscale (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pset (struct ged *gedp, int argc, const char *argv[]) |
int | ged_ptranslate (struct ged *gedp, int argc, const char *argv[]) |
int | ged_pull (struct ged *gedp, int argc, const char *argv[]) |
int | ged_push (struct ged *gedp, int argc, const char *argv[]) |
int | ged_putmat (struct ged *gedp, int argc, const char *argv[]) |
int | ged_region (struct ged *gedp, int argc, const char *argv[]) |
int | ged_rfarb (struct ged *gedp, int argc, const char *argv[]) |
int | ged_rotate_arb_face (struct ged *gedp, int argc, const char *argv[]) |
int | ged_rot_point (struct ged *gedp, int argc, const char *argv[]) |
int | ged_set_transparency (struct ged *gedp, int argc, const char *argv[]) |
int | ged_shells (struct ged *gedp, int argc, const char *argv[]) |
int | ged_sphgroup (struct ged *gedp, int argc, const char *argv[]) |
int | ged_whatid (struct ged *gedp, int argc, const char *argv[]) |
int | ged_xpush (struct ged *gedp, int argc, const char *argv[]) |
int | ged_npush (struct ged *gedp, int argc, const char *argv[]) |
int | ged_voxelize (struct ged *gedp, int argc, const char *argv[]) |
int | ged_decompose (struct ged *gedp, int argc, const char *argv[]) |
int | ged_human (struct ged *gedp, int argc, const char *argv[]) |
int | ged_shader (struct ged *gedp, int argc, const char *argv[]) |
int | ged_tire (struct ged *gedp, int argc, const char *argv[]) |
int | ged_track (struct ged *gedp, int argc, const char *argv[]) |
int | ged_tracker (struct ged *gedp, int argc, const char *argv[]) |
int | ged_track2 (struct bu_vls *log_str, struct rt_wdb *wdbp, const char *argv[]) |
int | wdb_importFg4Section_cmd (void *data, int argc, const char *argv[]) |
int | ged_pnts (struct ged *gedp, int argc, const char *argv[]) |
int | ged_stat (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dplot (struct ged *gedp, int argc, const char *argv[]) |
DEPRECATED int | ged_get_obj_bounds (struct ged *gedp, int argc, const char *argv[], int use_air, point_t rpp_min, point_t rpp_max) |
Geometry EDiting Library Database Generic Object Functions.
These are functions that operate on database objects.
#define GED_CHECK_COMB | ( | _gedp, | |
_dp, | |||
_flags | |||
) |
Check if the object is a combination
#define GED_CHECK_EXISTS | ( | _gedp, | |
_name, | |||
_noisy, | |||
_flags | |||
) |
Lookup database object
#define GED_CHECK_READ_ONLY | ( | _gedp, | |
_flags | |||
) |
Check if the database is read only
#define GED_CHECK_REGION | ( | _gedp, | |
_dp, | |||
_flags | |||
) |
Check if the object is a region
#define GED_DB_DIRADD | ( | _gedp, | |
_dp, | |||
_name, | |||
_laddr, | |||
_len, | |||
_dirflags, | |||
_ptr, | |||
_flags | |||
) |
add a new directory entry to the currently open database
#define GED_DB_LOOKUP | ( | _gedp, | |
_dp, | |||
_name, | |||
_noisy, | |||
_flags | |||
) |
Lookup database object
#define GED_DB_GET_INTERNAL | ( | _gedp, | |
_intern, | |||
_dp, | |||
_mat, | |||
_resource, | |||
_flags | |||
) |
Get internal representation
#define GED_DB_PUT_INTERNAL | ( | _gedp, | |
_dp, | |||
_intern, | |||
_resource, | |||
_flags | |||
) |
Put internal representation
int ged_adjust | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Adjust object's attribute(s)
int ged_attr | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set, get, show, remove or append to attribute values for the specified object.
The arguments for "set" and "append" subcommands are attribute name/value pairs. The arguments for "get", "rm", and "show" subcommands are attribute names. The "set" subcommand sets the specified attributes for the object. The "append" subcommand appends the provided value to an existing attribute, or creates a new attribute if it does not already exist. The "get" subcommand retrieves and displays the specified attributes. The "rm" subcommand deletes the specified attributes. The "show" subcommand does a "get" and displays the results in a user readable format.
int ged_cat | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List attributes (brief).
int ged_comb_color | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set combination color.
int ged_comb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create or extend combination w/booleans.
int ged_comb_std | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create or extend a combination using standard notation.
int ged_combmem | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set/get comb's members.
int ged_copy | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Copy a database object
int ged_copyeval | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Copy an 'evaluated' path solid
int ged_copymat | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Copy the matrix from one combination's arc to another.
int ged_edcodes | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit region ident codes.
int ged_edcomb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit combination.
int ged_edit | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit objects, by using subcommands.
int ged_exists | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Checks to see if the specified database object exists.
int ged_form | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
returns form for objects of type "type"
int ged_get | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get object attributes
int ged_get_comb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get combination information
int ged_group | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create or append objects to a group
int ged_heal | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Heal command to heal the defects in bots
int ged_hide | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set the "hidden" flag for the specified objects so they do not appear in an "ls" command output
int ged_instance | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Add instance of obj to comb
int ged_keep | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Save/keep the specified objects in the specified file
int ged_lc | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List attributes of regions within a group/combination.
int ged_list | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List object information, verbose.
int ged_make_name | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Make a unique object name.
int ged_mat4x3pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Multiply a point by a 4x4 matrix yielding the transformed point
int ged_mat_ae | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a matrix given an azimuth and elevation
int ged_mat_mul | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a matrix that is the result of multiplying the two specified matrices
int ged_mat_scale_about_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a matrix that will scale about a given point
int ged_mater | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Modify material information.
int ged_material | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Apply and modify material properties to a specific object.
int ged_match | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Globs expression against database objects, does not return tokens that match nothing
int ged_put_comb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set combination attributes
int ged_put | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a database object
int ged_red | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit region/comb
int ged_remove | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Remove members from a combination
int ged_unhide | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Unset the "hidden" flag for the specified objects so they will appear in a "t" or "ls" command output
int ged_rmater | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Read material properties from a file.
int ged_wmater | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Write material properties to a file for specified combination(s).
int ged_inside_internal | ( | struct ged * | gedp, |
struct rt_db_internal * | ip, | ||
int | argc, | ||
const char * | argv[], | ||
int | arg, | ||
char * | o_name | ||
) |
int ged_inside | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Finds the inside primitive per the specified thickness.
int ged_3ptarb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Creates an arb8 given the following: 1) 3 points of one face 2) coord x, y or z and 2 coordinates of the 4th point in that face 3) thickness
int ged_arb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Creates an arb8 given rotation and fallback angles
int ged_annotate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Creates an annotation.
int ged_pipe_append_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Append a pipe point.
int ged_arced | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Allow editing of the matrix, etc., along an arc.
int ged_bev | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Tessellates each operand object, then performs the boolean evaluation, storing result in 'new_obj'
int ged_bo | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Manipulate opaque binary objects.
Must specify one of -i (for creating or adjusting objects (input)) 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}}
int ged_bot | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Query or manipulate properties of bot
int ged_bot_condense | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create new_bot by condensing old_bot
int ged_bot_decimate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Uses edge decimation to reduce the number of triangles in the specified BOT while keeping within the specified constraints.
int ged_bot_dump | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Dump bots to the specified format.
int ged_dbot_dump | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Dump displayed bots to the specified format.
int ged_bot_edge_split | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Split the specified bot edge. This splits the triangles that share the edge.
int ged_bot_face_fuse | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create new_bot by fusing faces in old_bot
int ged_bot_face_sort | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Sort the facelist of BOT solids to optimize ray trace performance for a particular number of triangles per raytrace piece.
int ged_bot_face_split | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Split the specified bot face into three parts (i.e. by adding a point to the center)
int ged_bot_flip | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Flip/reverse the specified bot's orientation.
int ged_bot_fuse | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Fuse bot
int ged_bot_merge | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create bot_dest by merging the bot sources.
int ged_bot_smooth | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Calculate vertex normals for the BOT primitive
int ged_bot_split | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Split the specified bot
int ged_bot_sync | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Sync the specified bot's orientation (i.e. make sure all neighboring triangles have same orientation).
int ged_bot_vertex_fuse | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Fuse bot vertices
int ged_bot_remesh | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Remesh an existing bot.
This routine will take an existing BoT and perform a global remeshing. This operation will heal and repair some polygonal mesh errors such as elimination of dangling faces, elimination of overlapping faces, and closure of small gaps (solidity errors).
This routine currently only works on solid mesh geometry.
int ged_brep | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
BREP utility command
int ged_brep2 | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
int ged_cc | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create constraint object
int ged_clone | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Performs a deep copy of object.
int ged_coil | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Make coil shapes.
int ged_constraint | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
create, update, remove, and list geometric and dimensional constraints.
int ged_cpi | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Copy cylinder and position at end of original cylinder
int ged_pipe_delete_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Delete the specified pipe point.
int ged_dsp | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
DSP utility command
int ged_edarb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Arb specific edits.
int ged_edmater | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit combination materials.
Command relies on rmater, editit, and wmater commands.
int ged_ev | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Evaluate objects via NMG tessellation
int ged_facetize | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Facetize the specified objects
int ged_find_arb_edge_nearest_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find the arb edge nearest the specified point in view coordinates.
int ged_find_bot_edge_nearest_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find the bot edge nearest the specified point in view coordinates.
int ged_find_bot_pnt_nearest_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find the bot point nearest the specified point in view coordinates.
int ged_metaball_add_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Add a metaball point.
int ged_metaball_delete_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Delete a metaball point.
int ged_find_metaball_pnt_nearest_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find the metaball point nearest the specified point in model coordinates.
int ged_metaball_move_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move a metaball point.
int ged_find_pipe_pnt_nearest_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find the pipe point nearest the specified point in model coordinates.
int ged_fracture | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Given an NMG solid, break it up into several NMG solids, each containing a single shell with a single sub-element.
int ged_get_bot_edges | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get a bot's edges
int ged_get_type | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get the object's type
int ged_in | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a primitive via keyboard.
int ged_importFg4Section | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Makes a bot object out of the specified section.
int ged_joint | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Joint command ported to the libged library.
int ged_joint2 | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
New joint command.
int ged_kill | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Kill/delete the specified objects from the database
int ged_killall | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Kill/delete the specified objects from the database, removing all references
int ged_killrefs | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Kill all references to the specified object(s).
int ged_killtree | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Kill all paths belonging to objects
int ged_lt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List object's tree as a tcl list of {operator object} pairs
int ged_make | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Make a new primitive.
int ged_make_pnts | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Creates a point-cloud (pnts) given the following: 1) object name 2) path and filename to point data file 3) point data file format (xyzrgbsijk?) 4) point data file units or conversion factor to mm 5) default diameter of each point
int ged_mirror | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Mirror the primitive or combination along the specified axis.
int ged_move_arb_edge | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move an arb's edge through point
int ged_move | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move/rename a database object
int ged_move_all | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move/rename all occurrences object
int ged_move_arb_face | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move an arb's face through point
int ged_bot_move_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move the specified bot point. This can be relative or absolute.
int ged_bot_move_pnts | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move the specified bot points. This movement is always relative.
int ged_pipe_move_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Move the specified pipe point.
int ged_nmg | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
NMG command with subcommands for altering NMG datastructure.
int ged_nmg_collapse | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Decimate NMG primitive via edge collapse
int ged_nmg_fix_normals | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Attempt to fix an NMG primitive's normals.
int ged_nmg_simplify | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Simplify the NMG primitive, if possible
int ged_ocenter | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set/get object center.
int ged_orotate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Rotate obj about the keypoint by
int ged_oscale | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Scale obj about the keypoint by sf.
int ged_otranslate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Translate obj by dx dy dz.
int ged_prefix | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Prefix the specified objects with the specified prefix
int ged_pipe_prepend_pnt | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Prepend a pipe point.
int ged_protate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Rotate obj's attributes by rvec.
int ged_pscale | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Scale obj's attributes by sf.
int ged_pset | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set an obj's attribute to the specified value.
int ged_ptranslate | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Translate obj's attributes by tvec.
int ged_pull | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Pull objects' path transformations from primitives
int ged_push | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Push objects' path transformations to primitives
int ged_putmat | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Replace the matrix on an arc
int ged_region | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create or append objects to a region
int ged_rfarb | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Makes and arb given a point, 2 coord of 3 pnts, rot, fb and thickness.
int ged_rotate_arb_face | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Rotate an arb's face through point
int ged_rot_point | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Rotate the point.
int ged_set_transparency | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set the transparency of the specified object
int ged_shells | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Breaks the NMG model into separate shells
int ged_sphgroup | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create or append objects to a group using a sphere
int ged_whatid | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Return the specified region's id.
int ged_xpush | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Push object path transformations to solids, creating primitives if necessary
int ged_npush | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
int ged_voxelize | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Voxelize the specified objects
int ged_decompose | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Decompose nmg_solid into maximally connected shells
int ged_human | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a human
int ged_shader | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Simpler, command-line version of 'mater' command.
int ged_tire | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a tire
int ged_track | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Create a track
int ged_tracker | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Usage: tracker [-fh] [# links] [increment] [spline.iges] [link...]
int wdb_importFg4Section_cmd | ( | void * | data, |
int | argc, | ||
const char * | argv[] | ||
) |
int ged_pnts | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
manipulate point set geometry
int ged_stat | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Report object information.
int ged_dplot | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
DEPRECATED int ged_get_obj_bounds | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[], | ||
int | use_air, | ||
point_t | rpp_min, | ||
point_t | rpp_max | ||
) |
DEPRECATED - use rt_obj_bounds instead