https://brlcad.org/w/api.php?action=feedcontributions&user=Ssd&feedformat=atomBRL-CAD - User contributions [en]2024-03-19T04:50:04ZUser contributionsMediaWiki 1.32.2https://brlcad.org/w/index.php?title=Category:MGED_view_manipulation&diff=2221Category:MGED view manipulation2010-04-01T04:25:56Z<p>Ssd: </p>
<hr />
<div>[[category:MGED|View manipulation]]<br />
note: missing commands<br />
* [[MGED CMD geometree|geometree]]<br />
* [[MGED CMD qvrot|qvrot]]<br />
* [[MGED CMD rtedge|rtedge]]<br />
* [[MGED CMD rtabort|rtabort]]<br />
* [[MGED CMD unhide|unhide]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_object_generators&diff=2220Category:MGED object generators2010-04-01T04:25:17Z<p>Ssd: </p>
<hr />
<div>mged commands that generate new objects derived from old objects<br />
[[category:MGED|Object generators]]<br />
[[category:MGED object creation|Object generators]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_object_editing&diff=2219Category:MGED object editing2010-04-01T04:24:49Z<p>Ssd: </p>
<hr />
<div>mged commands that change objects directly or present the user with options to edit them.<br />
[[category:MGED|Object editing]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_object_creation&diff=2218Category:MGED object creation2010-04-01T04:24:18Z<p>Ssd: </p>
<hr />
<div>[[category:MGED|Object creation]]<br />
<br />
note: missing [[MGED CMD clone|clone]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_matrix_commands&diff=2217Category:MGED matrix commands2010-04-01T04:21:01Z<p>Ssd: </p>
<hr />
<div>[[category:MGED|Matrix commands]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_help&diff=2216Category:MGED help2010-04-01T04:20:51Z<p>Ssd: </p>
<hr />
<div>MGED commands that search or view internal documentation.<br />
[[category:MGED|Help]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_geometry_information_commands&diff=2215Category:MGED geometry information commands2010-04-01T04:20:40Z<p>Ssd: </p>
<hr />
<div>[[category:MGED|Geometry information commands]]<br />
<br />
note: missing [[MGED CMD get_regions|get_regions]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_file_operations&diff=2214Category:MGED file operations2010-04-01T04:20:07Z<p>Ssd: </p>
<hr />
<div>mged commands that operate on external files<br />
[[category:MGED|File operations]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_combination_commands&diff=2213Category:MGED combination commands2010-04-01T04:19:48Z<p>Ssd: </p>
<hr />
<div>[[category:MGED|Combination commands]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_BoT_operators&diff=2212Category:MGED BoT operators2010-04-01T04:19:29Z<p>Ssd: </p>
<hr />
<div>Commands that operate on [[BoT|bags of triangles]]<br />
[[Category:MGED object generators|Bot]]<br />
[[Category:MGED|Bot]]</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rcc-cap&diff=2205MGED CMD rcc-cap2010-03-17T04:38:36Z<p>Ssd: subcat</p>
<hr />
<div>[[Category:MGED|Rcc-cap]]<br />
[[Category:MGED object generators|Rcc-cap]]<br />
=rcc-cap=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rcc-cap rccname newname [height] [b|t]<br />
<br />
<br />
==Argument(s)==<br />
: '''rccname'''<br />
:: RCC shape to be 'blended'<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''[height]'''<br />
:: Height of blend in units.<br />
<br />
: '''[b|t]'''<br />
:: Either <B>B</B>ase or <B>T</B>op<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rcc-cap" command is used to round the end of a cylinder with an ellipsoid. It creates an ELL shape with the given height at one end (base [b] or top [t]) of the specified RCC. If the height option is not specified, a spherical cap will be generated. The default end is the base.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rcc-cap rcc.s cap.s 20<br />
:: Create an ELL shape named cap.s with a radius of 20 units at the base of rcc.s.<br />
<br />
: '''mged&gt;''' rcc-cap rcc.s cap.s 20 t<br />
:: Create an ELL shape named cap.s with a radius of 20 units at the top of rcc.s.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rcc-blend|rcc-blend]]<br />
: [[MGED_CMD_rcc-cap|rcc-cap]]<br />
: [[MGED_CMD_rcc-tgc|rcc-tgc]]<br />
: [[MGED_CMD_rcc-tor|rcc-tor]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:01:11 PM</div>Ssdhttps://brlcad.org/w/index.php?title=Main_page&diff=2184Main page2010-01-12T13:26:33Z<p>Ssd: revert to previous unvandalized page (link spam)</p>
<hr />
<div>__NOTOC__<br />
<br />
= BRL-CAD Wiki =<br />
<br />
Welcome to the BRL-CAD Wiki! A wiki is a type of site that allows visitors to directly contribute to the content of a website. The intention of the BRL-CAD Wiki is to get ''everyone'' in the community working together on providing the information that everyone needs. The wiki is intended as a place for any documentation, tutorials, support, examples, and other pieces of information that may be of use to others. All are welcome to contribute and anyone may edit most of the wiki pages. With everyone's help, we can make this a tremendous resource for the CAD community.<br />
<br />
Don't be shy with your contributions. Give editing a try and be proud of your contributions! If you make a mistake, they're very easy to undo and you don't even need to have an account created. If you do create an account, however, you will be credited with the contribution in the page's history. <br />
<br />
So be '''bold''' and ''have at it''!<br />
<br />
== Getting started ==<br />
<br />
* [[FAQ]]<br />
* [[Documentation]]<br />
* [[MGED Commands]] **UPDATED**<br />
* [[BRL-CAD Commands]]<br />
* [[BRL-CAD Primitives]]<br />
* [[Support]]<br />
* [http://brlcad.org/gallery Image Gallery]<br />
* [[SVN]]<br />
* [[Forums]]<br />
<br />
== Tutorials ==<br />
* [[Animation]]<br />
* [[EBM]]<br />
* [[SGI_Cube]]<br />
* [[Sketch]]<br />
* [[Cutting and Pasting PIX files]]<br />
* [[Distributed Rendering]]<br />
* [[Lighting]]<br />
<br />
== Projects == <br />
* [[Google Summer of Code]]<br />
* [[Developer Documents]]<br />
* [[iBME_Main|iBME]]<br />
<br />
== Third-party Projects ==<br />
* [[Hex]] - Create threaded metric bolts, nuts, and washers<br />
<br />
----<br />
If you are unsure on how to edit or add new pages, see the [[Help:Contents|Help]]. Consult the [http://meta.wikimedia.org/wiki/Help User's Guide] for information on using a wiki, particularly the section on [http://meta.wikimedia.org/wiki/Help:Editing editing] pages.<br />
<br />
Unless otherwise noted, all contributions to the BRL-CAD wiki are made available under the terms of the [[BSD Documentation License]] (BDL). Please refer to the wiki site [[disclaimer]] for more details.</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_bot_operators&diff=2176Category:MGED bot operators2010-01-08T03:10:35Z<p>Ssd: oops someone delete this</p>
<hr />
<div>moved to [[:category:MGED BoT operators]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:BoT_operators&diff=2175Category:BoT operators2010-01-08T03:09:13Z<p>Ssd: </p>
<hr />
<div>moved to [[:Category:MGED BoT operators]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_BoT_operators&diff=2174Category:MGED BoT operators2010-01-08T03:08:42Z<p>Ssd: New page: Commands that operate on bags of triangles Category:MGED object generators Category:MGED</p>
<hr />
<div>Commands that operate on [[BoT|bags of triangles]]<br />
[[Category:MGED object generators]]<br />
[[Category:MGED]]</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_face_fuse&diff=2173MGED CMD bot face fuse2010-01-08T03:08:25Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot face fuse]]<br />
[[Category:MGED BoT operators|Bot face fuse]]<br />
=bot_face_fuse=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_face_fuse new_bot_primitive old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]]<br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]]<br />
<br />
<br />
==Return Value(s)==<br />
: '''#'''<br />
:: Number of Faces eliminated.<br />
<br />
<br />
==Description==<br />
The "bot_face_fuse" command is used to eliminate duplicate faces from a [[MGED_Primitive_Types#BOT|BOT]] solid. It returns the number of faces eliminated<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_face_fuse bot1_fused bot1_original<br />
:: Eliminate any duplicate faces from the primitive named bot1_original and store the result in the new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot1_fused.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:02:31 PM</div>Ssdhttps://brlcad.org/w/index.php?title=Bot&diff=2172Bot2010-01-08T03:06:39Z<p>Ssd: Redirecting to BoT</p>
<hr />
<div>#redirect [[BoT]]</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_vertex_fuse&diff=2171MGED CMD bot vertex fuse2010-01-08T03:06:04Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot vertex fuse]]<br />
[[Category:MGED BoT operators|Bot vertex fuse]]<br />
=bot_vertex_fuse=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_vertex_fuse new_bot_solid old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]]<br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]]<br />
<br />
<br />
==Return Value(s)==<br />
: '''#'''<br />
:: Number of Vertices eliminated.<br />
<br />
<br />
==Description==<br />
The "bot_vertex_fuse" command is used to eliminate duplicate vertices from a [[MGED_Primitive_Types#BOT|BOT]] solid. It returns the number of vertices eliminated. No tolerance is used, so the vertices must match exactly to be considered duplicates.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_vertex_fuse bot1_fused bot1_original<br />
:: any duplicate vertices from the primitive named bot1_original and store the result in the new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot1_fused.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:03:08 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_face_sort&diff=2170MGED CMD bot face sort2010-01-08T03:05:33Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot face sort]]<br />
[[Category:MGED BoT operators|Bot face sort]]<br />
=bot_face_sort=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_face_sort triangles_per_piece bot_primitive1 [bot_primitive2 bot_primitive3 ...]<br />
<br />
<br />
==Argument(s)==<br />
: '''triangles_per_piece'''<br />
:: Triangles per piece.<br />
<br />
: '''bot_primitive1 [bot_primitive2 bot_primitive3 ...]'''<br />
:: List of [[MGED_Primitive_Types#BOT|BOT]] Primitives to be sorted.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "bot_face_sort" command is used to sort the list of triangles that constitutes the [[MGED_Primitive_Types#BOT|BOT]] primitive to optimize it for raytracing with the specified number of triangles per piece. Most BRL-CAD primitives are treated as a single object when a model is being prepared for raytracing, but [[MGED_Primitive_Types#BOT|BOT]] primitives are normally broken into "pieces" to improve performance. The raytracer normally uses four triangles per piece.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;<br />
<FONT COLOR="#FF0000">37.5 </FONT>''' bot_face_sort 4 bot1 bot2<br />
:: Sort the faces of bot1 and bot2 to optimize them for raytracing with four triangles per piece.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:02:43 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_condense&diff=2169MGED CMD bot condense2010-01-08T03:05:01Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot condense]]<br />
[[Category:MGED BoT operators|Bot condense]]<br />
=bot_condense=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_condense new_bot_primitive old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
<br />
==Return Value(s)==<br />
: '''#'''<br />
:: Number of Vertices eliminated.<br />
<br />
<br />
==Description==<br />
The "bot_condense" command is used to eliminate unused vertices from a [[MGED_Primitive_Types#BOT|BOT primitive]]. It returns the number of vertices eliminated<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_condense bot1_condensed bot1_original<br />
:: Eliminate any unused vertices from the primitive named bot1_original and store the result in the new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot1_condensed.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:01:18 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_decimate&diff=2168MGED CMD bot decimate2010-01-08T03:03:43Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot decimate]]<br />
[[Category:MGED BoT operators|Bot decimate]]<br />
=bot_decimate=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_decimate -c# -n# -e# new_bot_primitive old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''-c'''<br />
:: maximum_chord_error<br />
<br />
: '''-n'''<br />
:: maximum_normal_error<br />
<br />
: '''-e'''<br />
:: minimum_edge_length<br />
<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "bot_decimate" command reduces the number of triangles in the old_bot_primitive and saves the results to the new_bot_primitive. The reduction is accomplished through an edge decimation algorithm. Only changes that do not violate the specified constraints are performed. The maximum_chord_error parameter specifies the maximum distance allowed between the original surface and the surface of the new [[MGED_Primitive_Types#BOT|BOT]] primitive in the current editing units. The maximum_normal_error specifies the maximum change in surface normal (degrees) between the old and new surfaces. The minimum_edge_length specifies the length of the longest edge that will be decimated. At least one constraint must be supplied. If more than one constraint is specified, then only operations that satisfy all the constraints are performed<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_decimate -c 0.5 -n 10.0 bot.new abot<br />
:: Create a new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot.new by reducing the number of triangles in abot while keeping the resulting surface within 0.5 units of the surface of abot and keeping the surface normals within 10 degrees. Note that the constraints specified only relate the output [[MGED_Primitive_Types#BOT|BOT]] primitive to the input [[MGED_Primitive_Types#BOT|BOT]] primitive for a single invocation of the command. Repeated application of this command on its own [[MGED_Primitive_Types#BOT|BOT]] output will result in a final [[MGED_Primitive_Types#BOT|BOT]] primitive that has unknown relationships to the original [[MGED_Primitive_Types#BOT|BOT]] primitive.<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with up to 20.0 units of chord error between "bot_a" and "bot_c".<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -n 5.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with no guaranteed relationships to "bot_a".<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:01:34 PM</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_bot_operators&diff=2167Category:MGED bot operators2010-01-08T03:03:02Z<p>Ssd: </p>
<hr />
<div>someone delete this, I've renamed it to [[:category:BoT operators]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:BoT_operators&diff=2166Category:BoT operators2010-01-08T03:02:35Z<p>Ssd: New page: Commands that operate on bags of triangles Category:MGED object generators Category:MGED</p>
<hr />
<div>Commands that operate on [[BoT|bags of triangles]]<br />
[[Category:MGED object generators]]<br />
[[Category:MGED]]</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_bot_operators&diff=2165Category:MGED bot operators2010-01-08T03:01:08Z<p>Ssd: New page: Commands that operate on bags of triangles Category:MGED object generators Category:MGED</p>
<hr />
<div>Commands that operate on [[BoT|bags of triangles]]<br />
[[Category:MGED object generators]]<br />
[[Category:MGED]]</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_decimate&diff=2164MGED CMD bot decimate2010-01-08T02:58:38Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot decimate]]<br />
[[Category:MGED bot operators|Bot decimate]]<br />
=bot_decimate=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_decimate -c# -n# -e# new_bot_primitive old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''-c'''<br />
:: maximum_chord_error<br />
<br />
: '''-n'''<br />
:: maximum_normal_error<br />
<br />
: '''-e'''<br />
:: minimum_edge_length<br />
<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "bot_decimate" command reduces the number of triangles in the old_bot_primitive and saves the results to the new_bot_primitive. The reduction is accomplished through an edge decimation algorithm. Only changes that do not violate the specified constraints are performed. The maximum_chord_error parameter specifies the maximum distance allowed between the original surface and the surface of the new [[MGED_Primitive_Types#BOT|BOT]] primitive in the current editing units. The maximum_normal_error specifies the maximum change in surface normal (degrees) between the old and new surfaces. The minimum_edge_length specifies the length of the longest edge that will be decimated. At least one constraint must be supplied. If more than one constraint is specified, then only operations that satisfy all the constraints are performed<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_decimate -c 0.5 -n 10.0 bot.new abot<br />
:: Create a new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot.new by reducing the number of triangles in abot while keeping the resulting surface within 0.5 units of the surface of abot and keeping the surface normals within 10 degrees. Note that the constraints specified only relate the output [[MGED_Primitive_Types#BOT|BOT]] primitive to the input [[MGED_Primitive_Types#BOT|BOT]] primitive for a single invocation of the command. Repeated application of this command on its own [[MGED_Primitive_Types#BOT|BOT]] output will result in a final [[MGED_Primitive_Types#BOT|BOT]] primitive that has unknown relationships to the original [[MGED_Primitive_Types#BOT|BOT]] primitive.<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with up to 20.0 units of chord error between "bot_a" and "bot_c".<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -n 5.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with no guaranteed relationships to "bot_a".<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:01:34 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_decompose&diff=2163MGED CMD decompose2010-01-08T02:50:55Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED]]<br />
[[Category:MGED object generators]]<br />
=decompose=<br />
__TOC__<br />
<br />
==Syntax==<br />
:decompose NMG_shape [prefix]<br />
<br />
<br />
==Argument(s)==<br />
: '''NMG_shape'''<br />
:: NMG primitive to be decomposed<br />
<br />
: '''Prefix'''<br />
:: Optional. Prefix to be added to resultant NMG primitives.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "decompose" command processes an [[BRL-CAD_Primitives|NMG]] shape and produces a series of new [[BRL-CAD_Primitives|NMG]] shapes consisting of each maximally connected shell in the original [[BRL-CAD_Primitives|NMG]] shape. If an optional prefix is supplied, the resulting [[BRL-CAD_Primitives|NMG]] shapes will be named by using the prefix and adding an underscore character and a number to make the name unique. If no prefix is supplied, the default prefix "sh" will be used.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;<br />
<FONT COLOR="#FF0000">37.5 </FONT>''' decompose shape.nmg part<br />
:: Decompose the NMG shape named shape.nmg into maximally connected shells and put each resulting shell into a separate NMG shape named part_1, part_2, ....<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_nmg_collapse|nmg_collapse]]<br />
: [[MGED_CMD_nmg_simplify|nmg_simplify]]<br />
: [[MGED_CMD_facetize|facetize]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:24:57 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rpp-cap&diff=2162MGED CMD rpp-cap2010-01-08T02:49:37Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rpp-cap]]<br />
[[Category:MGED object generators|Rpp-cap]]<br />
=rpp-cap=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rpp-cap rppname newname face height [0|1]<br />
<br />
<br />
==Argument(s)==<br />
: '''rppname'''<br />
:: Name of RPP to be rounded<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''face'''<br />
:: Face of rppname to round.<br />
<br />
: '''height'''<br />
:: Height of extrude.<br />
<br />
: '''[0|1]'''<br />
:: See Description below.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rpp-cap" command creates an ARB6 with the specified height at a particular face of the given RPP. The optional "0" and "1" refer to the orientation of the ARB6. If "0" is chosen, the peaks of the ARB6 are positioned at the midpoint between the first and second points and at the midpoint between the third and fourth points of the specified face. If "1" is chosen, the peaks of the ARB6 are positioned at the midpoint between the first and fourth points and at the midpoint between the second and third points of the specified face. The default is 0.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rpp-cap rpp.s cap.s 1234 20<br />
:: Create an ARB6 shape named cap.s that extends 20 units from the 1234 face of the RPP. The peaks of the ARB6 will be at the midpoint between point 1 and 2 and at the midpoint between 3 and 4.<br />
<br />
: '''mged&gt;''' rcc-cap rcc.s cap.s 1234 20 1<br />
:: Create an ARB6 shape named cap.s that extends 20 units from the 1234 face of the RPP. The peaks of the ARB6 will be at the midpoint between point 1 and 4 and at the midpoint between 2 and 3.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rpp-arch|rpp-arch]]<br />
: [[MGED_CMD_rpp-cap|rpp-cap]]<br />
: [[MGED_Glossary|MGED Glossary]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:05:11 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_oed&diff=2161MGED CMD oed2010-01-04T05:28:59Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Oed]]<br />
[[Category:MGED matrix commands|Oed]]<br />
[[Category:MGED combination commands|Oed]]<br />
[[Category:MGED object editing|Oed]]<br />
=oed=<br />
__TOC__<br />
<br />
==Syntax==<br />
:oed path_lhs path_rhs<br />
<br />
<br />
==Argument(s)==<br />
: '''path_lhs'''<br />
:: Path to combination or region that contains path_rhs.<br />
<br />
: '''path_rhs'''<br />
:: Path to a Primitive.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "oed" command places MGED directly into the matrix edit mode. The path_rhs must be a path to a primitive shape, and path_lhs must be a path to a combination that includes the first component of path_rhs as one of its members. The edited matrix will be the matrix in the final component of path_lhs that corresponds to the first component of path_rhs. The last component in path_rhs is used as the reference shape during object editing.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' oed group1/group2<br />
:: Place MGED into matrix edit mode, editing the matrix in group2 that corresponds to region1, using shapea as the reference shape.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 1:54:44 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_edmater&diff=2160MGED CMD edmater2010-01-04T05:28:03Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Edmater]]<br />
[[Category:MGED object editing|Edmater]]<br />
=edmater=<br />
__TOC__<br />
<br />
==Syntax==<br />
:edmater &lt;combinations&gt;<br />
<br />
<br />
==Argument(s)==<br />
: '''<combinations>'''<br />
:: List of db combinations.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "edmater" command places the user in an editor ready to edit a file filled with [[MGED_CMD_shader|shader]] arguments for the combinations listed on the command line. The arguments placed in the file for editing are the shader name and its own arguments, RGB color, RGB_valid flag, and the inheritance flag. The editor used is whatever the user has set in the environment variable EDITOR. If EDITOR is not set, then /bin/ed is used.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' edmater comb1 comb2<br />
:: Edit the shader parameters for combinations named comb1 and comb2<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_shader|shader]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:39:14 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_ted&diff=2159MGED CMD ted2010-01-04T05:27:40Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Ted]]<br />
[[Category:MGED object editing|Ted]]<br />
=ted=<br />
__TOC__<br />
<br />
==Syntax==<br />
:'''ted''' <br />
<br />
<br />
==Argument(s)==<br />
: No Arguments for this command.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "ted" command places the parameters of the currently edited primitive shape into a file, then starts a text editor for the user to modify the parameters. The editor used is whatever the user has set in the environment variable ''EDITOR''. If ''EDITOR'' is not set, then ''/bin/ed'' is used. mged must be in the primitive edit mode prior to using this command. The [[MGED_CMD_red|red]]command performs a similar function for combinations. <br />
<br />
<br />
==Example(s)==<br />
<br />
:mged> '''ted ''' <br />
:: Use a text editor to modify the currently edited shape. <br />
<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_red|red]]<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/12/2007 at: 7:25:02 AM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_sed&diff=2158MGED CMD sed2010-01-04T05:25:27Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Sed]]<br />
[[Category:MGED object editing|Sed]]<br />
=sed=<br />
__TOC__<br />
<br />
==Syntax==<br />
:sed ''path''<br />
<br />
<br />
==Argument(s)==<br />
: '''path'''<br />
:: Path to valid BRL-CAD Primitive.<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "sed" command places MGED directly into the primitive edit mode. The path must uniquely identify a primitive shape. If the shape is only referenced once in the objects being displayed, then path may simply be the shape name. If the shape is multiply referenced, then the path should be the full path from a top level displayed object to the primitive shape to be edited. The [[MGED_CMD_who|who]] command will return a list of the top-level objects currently being displayed. <br />
<br />
==Example(s)==<br />
: mged> '''sed shape1''' <br />
:: Enter primitive edit state for shape1<br />
<br />
==See Also==<br />
: [[MGED_CMD_who|who]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/12/2007 at: 7:21:10 AM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_edcodes&diff=2157MGED CMD edcodes2010-01-04T05:25:08Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Edcodes]]<br />
[[Category:MGED combination commands|Edcodes]]<br />
[[Category:MGED object editing|Edcodes]]<br />
=edcodes=<br />
__TOC__<br />
<br />
==Syntax==<br />
:edcodes [-n] &lt;objects&gt;<br />
<br />
<br />
==Argument(s)==<br />
: '''-n'''<br />
:: No action option.<br />
<br />
: '''<objects>'''<br />
:: DB Object List<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "edcodes" command puts the user into an editor to edit a file that has been filled with the ident, air code, material code, LOS, and name of all the regions in the specified objects. The user may then modify the entries (except for the names). The editor used is whatever the user has set in the environment variable EDITOR. If EDITOR is not set, then /bin/ed is used.<br />
<br />
If the ''-n'' option is provided, then no objects are renamed instead only reporting the objects that would be changed.<br />
<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' edcodes object1 object2<br />
:: Edit the region codes for all regions below object1 and object2.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:37:34 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_red&diff=2156MGED CMD red2010-01-04T05:20:28Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Red]]<br />
[[Category:MGED combination commands|Red]]<br />
[[Category:MGED object editing|Red]]<br />
=red=<br />
__TOC__<br />
<br />
==Syntax==<br />
:red combination<br />
<br />
<br />
==Argument(s)==<br />
: '''combination'''<br />
:: Valid BRL-CAD combination in current DB.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "red" command creates a file describing the specified combination and starts an editor for the user to modify the combination. The environment EDITOR variable will be used to select the editor. If EDITOR is not set, then /bin/ed will be used. All the attributes of BRL-CAD regions and combinations may be edited in this way. The region specific attributes will be ignored if the combination is not a region and is not set to be a region during editing. It is not necessary to be in an editing mode to run this command. The rm, r, comb, c, and g commands provide some basic combination editing capabilities.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' red group2<br />
:: Edit the combination group2 with the user’s editor of choice.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_regions|regions]]<br />
: [[MGED_CMD_rm|rm]]<br />
: [[MGED_CMD_r|r]]<br />
: [[MGED_CMD_c|c]]<br />
: [[MGED_CMD_g|g]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:02:01 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_sph-part&diff=2155MGED CMD sph-part2010-01-04T05:15:08Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Sph-part]]<br />
[[Category:MGED object generators|Sph-part]]<br />
=sph-part=<br />
__TOC__<br />
<br />
==Syntax==<br />
:sph-part ''sph1name sph2name newname ''<br />
<br />
<br />
==Argument(s)==<br />
: '''sph1name'''<br />
:: Name of a Valid BRL-CAD Sphere Primitive.<br />
<br />
: '''sph2name'''<br />
:: Name of a Valid BRL-CAD Sphere Primitive.<br />
<br />
: '''newname '''<br />
:: Name for destination PART.<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "sph-part" command creates a PART shape that encompasses two specified SPH shapes based on their parameters.<br />
<br />
==Example(s)==<br />
: mged> '''sph-part sph1.s sph2.s part.s''' <br />
:: Create a PART shape named part.s that surrounds the spheres sph1.s and sph2.s. <br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/12/2007 at: 7:23:54 AM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rcc-tgc&diff=2154MGED CMD rcc-tgc2010-01-04T05:14:12Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rcc-tgc]]<br />
[[Category:MGED object generators|Rcc-tgc]]<br />
=rcc-tgc=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rcc-tgc rccname newname x y z [b|t]<br />
<br />
<br />
==Argument(s)==<br />
: '''rccname'''<br />
:: RCC shape to be 'blended'<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''x y z'''<br />
:: Apex<br />
<br />
: '''[b|t]'''<br />
:: Either <B>B</B>ase or <B>T</B>op<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rcc-tgc" command creates a TGC shape with the specified apex (x y z) at one end (base [b] or top [t]) of the specified RCC. The default end is the base.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rcc-tgc rcc.s tgc.s 0 2 4<br />
:: Create a TGC shape named tgc.s with an apex at (0 2 4) from the base of rcc.s.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rcc-blend|rcc-blend]]<br />
: [[MGED_CMD_rcc-cap|rcc-cap]]<br />
: [[MGED_CMD_rcc-tgc|rcc-tgc]]<br />
: [[MGED_CMD_rcc-tor|rcc-tor]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:01:20 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rfarb&diff=2153MGED CMD rfarb2010-01-04T05:13:36Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rfarb]]<br />
[[Category:MGED object creation|Rfarb]]<br />
=rfarb=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rfarb <br />
<br />
<br />
==Argument(s)==<br />
: No Arguments for this command.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rfarb" command creates a new ARB8 shape based on rotation and fallback angles. The command prompts the user for all the required information. In addition to the name for the new shape and the rotation and fallback angles, the user is prompted for the coordinates of one corner of the ARB8 and for two of the three coordinates of the other three vertices of one face of the ARB8. The other coordinate of each of these vertices is calculated in order to ensure that the face is planar. The user is then prompted for a thickness, and the first face is extruded normally by the specified thickness to complete the ARB8.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rfarb<br />
:: Create a new ARB8 shape according to arguments supplied in answer to prompts.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:03:49 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rcc-blend&diff=2152MGED CMD rcc-blend2010-01-04T05:12:28Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rcc-blend]]<br />
[[Category:MGED object generators|Rcc-blend]]<br />
=rcc-blend=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rcc-blend rccname newname thickness [b|t]<br />
<br />
<br />
==Argument(s)==<br />
: '''rccname'''<br />
:: RCC shape to be 'blended'<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''thickness'''<br />
:: Thickness of blend in units.<br />
<br />
: '''[b|t]'''<br />
:: Either <B>B</B>ase or <B>T</B>op<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rcc-blend" command generates a blend at an end (base [b] or top [t]) of the specified RCC shape. The thickness is the radius of the TOR curvature. The blend is saved as a region made up of an RCC and a TOR. The default end is the base. Examples: mged> rcc-blend rcc.s blend.s 10 -- Create a region named blend.s that extends 10 units from the base of rcc.s.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rcc-blend rcc.s blend.s 10<br />
:: Create a region named blend.s that extends 10 units from the base of rcc.s.<br />
<br />
: '''mged&gt;''' rcc-blend rcc.s blend.s 10 t<br />
:: Create a region named blend.s that extends 10 units from the top of rcc.s.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rcc-blend|rcc-blend]]<br />
: [[MGED_CMD_rcc-cap|rcc-cap]]<br />
: [[MGED_CMD_rcc-tgc|rcc-tgc]]<br />
: [[MGED_CMD_rcc-tor|rcc-tor]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:00:55 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_nmg_simplify&diff=2151MGED CMD nmg simplify2010-01-04T05:08:30Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Nmg simplify]]<br />
[[Category:MGED object generators|Nmg simplify]]<br />
=nmg_simplify=<br />
__TOC__<br />
<br />
==Syntax==<br />
:nmg_simplify [arb|tgc|poly] new_shape nmg_shape<br />
<br />
<br />
==Argument(s)==<br />
: '''[arb|tgc|poly]'''<br />
:: Object Type to attempt to create<br />
<br />
: '''new_shape'''<br />
:: New Object Name<br />
<br />
: '''nmg_shape'''<br />
:: Object to be simplified.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "nmg_simplify" command attempts to convert an existing nmg_shape to a simpler primitive shape type. The user may specify which type to attempt by including arb, tgc, or poly on the command line. If no shape type is specified, all will be attempted in the above order. If tgc is specified, the code will attempt to determine if the nmg_shape is an approximation of a TGC shape.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' nmg_simplify poly shapea.poly shapea.nmg<br />
:: Convert the NMG shape named shapea.nmg to a polysolid named shapea.poly.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_nmg_collapse|nmg_collapse]]<br />
: [[MGED_CMD_nmg_simplify|nmg_simplify]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 1:54:37 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_inside&diff=2150MGED CMD inside2010-01-04T05:08:01Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Inside]]<br />
[[Category:MGED object generators|Inside]]<br />
=inside=<br />
__TOC__<br />
<br />
==Syntax==<br />
:inside {outside_shape_name new_inside_shape_name <parameters>]<br />
<br />
<br />
==Argument(s)==<br />
: '''outside_shape_name'''<br />
:: Valid BRL-CAD Solid.<br />
<br />
: '''inside_shape_name'''<br />
:: Name of new shape<br />
<br />
: '''&lt;Parameters&gt;'''<br />
:: Parameters dependant on outside_shape_name<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "inside" command creates a new shape that is inside an existing shape. This command is typically used to create an inside shape that can be subtracted from the original shape to produce a hollow shell. The command is typically used with no arguments, and it prompts the user for all needed information; however, all the parameters may be supplied on the command line. If MGED is in [[MGED_Glossary|primitive edit mode]] when the "inside" command is issued, then the shape currently being edited will be used as the "outside_shape." Similarly, if MGED is in [[MGED_Glossary|matrix edit mode]] when the "inside" command is executed, then the current [[MGED_Glossary|key shape]] will be used as the outside shape.<br />
<br />
<br />
==Example(s)==<br />
: '''mged>''' inside out_arb in_arb 1 1 1 1 1 1<br />
:: Create a shape named in_arb such that each face is 1 [[MGED_CMD_units|unit]] from the corresponding face in out_arb.<br />
<br />
: '''mged>''' inside in_arb 1 1 1 1 1 1<br />
:: Create a shape named in_arb such that each face is 1 [[MGED_CMD_units|unit]] from the corresponding face in the current [[MGED_Glossary|key shape]] or the shape currently being edited.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_sed|sed]]<br />
: [[MGED_CMD_oed|oed]]<br />
: [[MGED_CMD_keypoint|keypoint]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 1:13:17 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_fracture&diff=2149MGED CMD fracture2010-01-04T05:07:44Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Fracture]]<br />
[[Category:MGED object generators|Fracture]]<br />
=fracture=<br />
__TOC__<br />
<br />
==Syntax==<br />
:fracture NMG_shape [prefix]<br />
<br />
<br />
==Argument(s)==<br />
: '''NMG_shape'''<br />
:: Source NMG Primitive<br />
<br />
: '''[prefix]'''<br />
:: Prefix to be added to resultant NMG primitives.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "fracture" command creates a new NMG shape for every "face" in the specified NMG_shape. The new shapes will be named by adding an underscore and a number to the prefix. If no prefix is specified, then the NMG_shape name provided is used in place of the prefix.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' fracture shape1.nmg f<br />
:: Create a series of NMG shapes named "f_#", one for each face in shape1.nmg.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_facetize|facetize]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:57:14 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_facetize&diff=2148MGED CMD facetize2010-01-04T05:07:36Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Facetize]]<br />
[[Category:MGED object generators|Facetize]]<br />
=facetize=<br />
__TOC__<br />
<br />
==Syntax==<br />
:facetize [-ntT] [-P#] new_object old_object<br />
<br />
<br />
==Argument(s)==<br />
: '''-n'''<br />
:: Specifies that the resulting shape should be saved as an NMG shape.<br />
<br />
: '''-t'''<br />
:: Create TNURB faces rather than planar approximations (this option is still under development)<br />
<br />
: '''-T'''<br />
:: Specifies that all faces in the new_object should be triangulated.<br />
<br />
: '''-P#'''<br />
:: Number of CPUs to use for this command. Currently ignored.<br />
<br />
: '''new_object'''<br />
:: Name for resultant Primitive<br />
<br />
: '''old_object'''<br />
:: Name of source primitive or collection.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "facetize" command creates new_object as a [[BRL-CAD_Primitives|BOT]] shape by tessellating all the primitive shapes in old_object and then performing any Boolean operations specified in old_object.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' facetize region1.nmg region1.r<br />
:: Create a facetized BOT version of existing object region1.r.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:54:53 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_copyeval&diff=2147MGED CMD copyeval2010-01-04T05:07:10Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Copyeval]]<br />
[[Category:MGED matrix commands|Copyeval]]<br />
[[Category:MGED object generators|Copyeval]]<br />
=copyeval=<br />
__TOC__<br />
<br />
==Syntax==<br />
:copyeval new_primitive path_to_old_ primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''new_primitive'''<br />
:: Name for new primitive<br />
<br />
: '''path_to_old_primitive'''<br />
:: Path to existing primitive<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
Objects in a BRL-CAD model are stored as Boolean trees (combinations), with the members being primitive shapes or other Boolean trees. Each member has a transformation matrix associated with it. This arrangement allows a primitive to be a member of a combination, and that combination may be a member of another combination, and so on. When a combination is displayed, the transformation matrices are applied to its members and passed down through the combinations to the leaf (primitive shape) level. The accumulated transformation matrix is then applied to the primitive before it is drawn on the screen. The "copyeval" command creates a new primitive object called new_ primitive by applying the transformation matrices accumulated along the path_to_old_primitive to the leaf primitive shape object at the end of the path and saving the result under the name new_ primitive. The path_to_old_ primitive must be a legitimate path ending with a primitive shape.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' copyeval shapeb comb1/comb2/comb3/shapea<br />
:: Create shapeb from shapea by applying the accumulated transformation matrices from the path comb1/comb2/comb3.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:08:15 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_bot_decimate&diff=2146MGED CMD bot decimate2010-01-04T05:06:53Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Bot decimate]]<br />
[[Category:MGED object generators|Bot decimate]]<br />
=bot_decimate=<br />
__TOC__<br />
<br />
==Syntax==<br />
:bot_decimate -c# -n# -e# new_bot_primitive old_bot_primitive<br />
<br />
<br />
==Argument(s)==<br />
: '''-c'''<br />
:: maximum_chord_error<br />
<br />
: '''-n'''<br />
:: maximum_normal_error<br />
<br />
: '''-e'''<br />
:: minimum_edge_length<br />
<br />
: '''new_bot_primitive'''<br />
:: Destination [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
: '''old_bot_primitive'''<br />
:: Source [[MGED_Primitive_Types#BOT|BOT]] <br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "bot_decimate" command reduces the number of triangles in the old_bot_primitive and saves the results to the new_bot_primitive. The reduction is accomplished through an edge decimation algorithm. Only changes that do not violate the specified constraints are performed. The maximum_chord_error parameter specifies the maximum distance allowed between the original surface and the surface of the new [[MGED_Primitive_Types#BOT|BOT]] primitive in the current editing units. The maximum_normal_error specifies the maximum change in surface normal (degrees) between the old and new surfaces. The minimum_edge_length specifies the length of the longest edge that will be decimated. At least one constraint must be supplied. If more than one constraint is specified, then only operations that satisfy all the constraints are performed<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' bot_decimate -c 0.5 -n 10.0 bot.new abot<br />
:: Create a new [[MGED_Primitive_Types#BOT|BOT]] primitive named bot.new by reducing the number of triangles in abot while keeping the resulting surface within 0.5 units of the surface of abot and keeping the surface normals within 10 degrees. Note that the constraints specified only relate the output [[MGED_Primitive_Types#BOT|BOT]] primitive to the input [[MGED_Primitive_Types#BOT|BOT]] primitive for a single invocation of the command. Repeated application of this command on its own [[MGED_Primitive_Types#BOT|BOT]] output will result in a final [[MGED_Primitive_Types#BOT|BOT]] primitive that has unknown relationships to the original [[MGED_Primitive_Types#BOT|BOT]] primitive.<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with up to 20.0 units of chord error between "bot_a" and "bot_c".<br />
<br />
: '''mged&gt;''' bot_decimate -c 10.0 bot_b bot_a<br />
:: <br />
<br />
: '''mged&gt;''' bot_decimate -n 5.0 bot_c bot_b<br />
:: This sequence of commands will produce primitive "bot_c" with no guaranteed relationships to "bot_a".<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_bot_condense|bot_condense]]<br />
: [[MGED_CMD_bot_decimate|bot_decimate]]<br />
: [[MGED_CMD_bot_face_fuse|bot_face_fuse]]<br />
: [[MGED_CMD_bot_face_sort|bot_face_sort]]<br />
: [[MGED_CMD_bot_vertex_fuse|bot_vertex_fuse]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 12:01:34 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rpp-cap&diff=2145MGED CMD rpp-cap2010-01-04T05:01:10Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rpp-cap]]<br />
[[MGED object generators|Rpp-cap]]<br />
=rpp-cap=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rpp-cap rppname newname face height [0|1]<br />
<br />
<br />
==Argument(s)==<br />
: '''rppname'''<br />
:: Name of RPP to be rounded<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''face'''<br />
:: Face of rppname to round.<br />
<br />
: '''height'''<br />
:: Height of extrude.<br />
<br />
: '''[0|1]'''<br />
:: See Description below.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "rpp-cap" command creates an ARB6 with the specified height at a particular face of the given RPP. The optional "0" and "1" refer to the orientation of the ARB6. If "0" is chosen, the peaks of the ARB6 are positioned at the midpoint between the first and second points and at the midpoint between the third and fourth points of the specified face. If "1" is chosen, the peaks of the ARB6 are positioned at the midpoint between the first and fourth points and at the midpoint between the second and third points of the specified face. The default is 0.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rpp-cap rpp.s cap.s 1234 20<br />
:: Create an ARB6 shape named cap.s that extends 20 units from the 1234 face of the RPP. The peaks of the ARB6 will be at the midpoint between point 1 and 2 and at the midpoint between 3 and 4.<br />
<br />
: '''mged&gt;''' rcc-cap rcc.s cap.s 1234 20 1<br />
:: Create an ARB6 shape named cap.s that extends 20 units from the 1234 face of the RPP. The peaks of the ARB6 will be at the midpoint between point 1 and 4 and at the midpoint between 2 and 3.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rpp-arch|rpp-arch]]<br />
: [[MGED_CMD_rpp-cap|rpp-cap]]<br />
: [[MGED_Glossary|MGED Glossary]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:05:11 PM</div>Ssdhttps://brlcad.org/w/index.php?title=BRL-CAD_Primitives&diff=2144BRL-CAD Primitives2010-01-04T04:56:12Z<p>Ssd: /* bot */</p>
<hr />
<div>[[category:MGED| Primitives]]<br />
<br />
These are primitive objects that can be created in mged.<br />
<br />
Objects can be created in any of the following ways: (note: are there more? get? load from file?)<br />
;make : the mged make command creates the object with default dimensions<br />
;in : the mged in command interactively prompts for dimensions not already supplied as arguments<br />
;form :the graphical primitive editor form (* some objects not fully supported)<br />
;create : the graphical create menu<br />
<br />
When an object is selected from the create menu, you are prompted for a name, and then dropped into the primitive editor form; however, if the objec type has no form, create will do about the same as make. Some derivative objects do not have their own form, and the primitive editor will use the base object's form. Most parameters (including ones not editable from a form) have special items on the edit menu.<br />
<br />
See also [[A Survey of Implicit Constraints in Primitives]]<br />
<br />
=Arbs=<br />
Objects with an arbitrary number of points and flat faces...<br />
==arb8==<br />
Arbitrary straight-edged shape with 8 vertices. <br />
<br />
;Handled by: make in form create<br />
;Arguments: 8 Vertices in the following order: 1234 vertices for the front face, starting at bottom left, counterclockwise; then 5678 vertices for the rear face, starting at bottom left, counterclockwise.<br />
;Example: <br />
in unitcube.s arb8 0 0 0 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 1 1 0 1 1<br />
creates the unit cube (first vertex at the origin, extends for 1 unit in x, y and z direction).<br />
<br />
== arb7 ==<br />
Special case of arb8, except with point 8 merged into point 5, making the left face triangular<br />
;Handled by: make in form(arb8) create<br />
== arb6 ==<br />
Arbitrary straight-edged shape with 6 vertices, special case of arb8.<br />
;Handled by: make in form(arb8) create<br />
;Arguments: 6 Vertices in the following order: 1234 vertices for the front face, starting at bottom left, counterclockwise; then back edge is 5 on bottom, 6 on top. Top and bottom faces are triangles.<br />
;Example:<br />
<br />
in arb6.s arb6 1 -1 -1 1 1 -1 1 1 1 1 -1 1 -1 0 -1 -1 0 1<br />
<br />
== arb5 ==<br />
special case of arb8.<br />
;Handled by: make in form(arb8) create<br />
== arb4 ==<br />
special case of arb8.<br />
;Handled by: make in form(arb8) create<br />
== arbn ==<br />
Arbitrary solid bounded by N planes<br />
;Handled by: make in create<br />
;Arguments:<br />
;; Number of planes<br />
;; xyz direction vector and normal for each plane<br />
<br />
;Example:<br />
in arbn.s arbn 8 1 0 1 1 -1 0 0 1 0 1 0 1 0 -1 0 1 0 0 1 1 0 0 -1 1 0.5 0.5 0.5 1 -0.5 -0.5 -0.5 1<br />
<br />
==box==<br />
Special case of arb8<br />
;Handled by: in form(arb8)<br />
;Arguments: Vertex of first corner, direction vectors for height, width, and depth<br />
<br />
==raw==<br />
Right Angle Wedge, special case of arb6<br />
;Handled by: in form(arb8)<br />
;Arguments: Vertex of first corner, direction vectors for height, width, and depth<br />
<br />
==rpp==<br />
Rectangular Parallelpiped, special case of arb8<br />
;Handled by: make in form(arb8) create<br />
;Arguments: xmin xmax ymin ymax zmin zmax<br />
<br />
=Ellipsoids=<br />
== ell ==<br />
Ellipsoid<br />
;Handled by: make in form create<br />
;Arguments:<br />
;;V : vertex point, at the center<br />
;;vectors A B C describing the radii of the ellipses; A points front, B points right, C points up.<br />
<br />
Example:<br />
in ell.s ell 0 0 0 0 -1 0 1 0 0 0 0 1<br />
== sph ==<br />
Sphere, special case of the ellipsoid, with vectors A B and C all the same magnitude (radius).<br />
;Handled by: make in form(ell) create<br />
Arguments:<br />
;V : vertex point, at the center<br />
;radius<br />
== ellg ==<br />
Special case of ellipsoid<br />
;Handled by: in form(ell) <br />
;Arguments: two foci points, and axis length<br />
==ell1==<br />
Special case of ellipsoid<br />
;Handled by: in make form(ell) create<br />
;Arguments: vertex, vector A, radius of revolution<br />
==ehy==<br />
Elliptical hyperboloid<br />
;Handled by: make in form create<br />
;Arguments: vertex, perpendicular vectors Height and (A,r_1) major axis, (r_2) magnitude of vector B, (c) apex to asymptotes distance<br />
<br />
==epa==<br />
Elliptical paraboloid<br />
;Handled by: in make form create<br />
<br />
=Cones and Cylinders=<br />
== tgc ==<br />
Truncated general cone<br />
;Handled by: in make form create<br />
;Arguments: vertex, vectors H A B, magnitudes of vectors C D<br />
<br />
== rcc ==<br />
Right circular cylinder, special case of tgc<br />
;Handled by: in make form(tgc) create<br />
;Arguments: vertex , <br />
== rec ==<br />
Right elliptical cylinder, special case of tgc<br />
;Handled by: in make form(tgc) create<br />
;Arguments: vertex, height vector, radius<br />
== rhc ==<br />
Right hyperbolic cylinder<br />
;Handled by: in make form create<br />
;Arguments: vertex, perpendicular vectors for Height and B, (r) rectangular half width, (c) apex to asymptote distance,<br />
== rpc ==<br />
Right parabolic cylinder<br />
;Handled by: in make form create<br />
;Arguments: vertex, perpendicular vectors for Height and B, (r) rectangular half width<br />
== tec ==<br />
Truncated elliptical cone, special case of tgc<br />
;Handled by: in make form(tgc) create<br />
;Arguments: Vertex, vectors Height, A, B<br />
== trc ==<br />
Truncated right circular cone, special case of tgc<br />
;Handled by: in make form(tgc) create<br />
;Arguments: Vertex, Height vector, radius of base and top<br />
<br />
= derived from 2d=<br />
==extrude==<br />
Extrusion of a 2-d sketch<br />
;Handled by: in make form(?) create<br />
;Arguments: vertex, perpendicular vectors Height A B, sketch, K<br />
<br />
==revolve==<br />
Revolution of a 2-d sketch<br />
;Handled by: in<br />
;Arguments: vertex, revolution axis, vector in start plane, angle, sketch<br />
<br />
==dsp==<br />
;Handled by: in create<br />
;Arguments: data type (f|o), datasource, count of length and width, interpolation type, cut direction, cell size, unit elevation<br />
<br />
==ebm==<br />
extruded bit map<br />
;Handled by: in form create<br />
;Arguments: filename, width and height in cells, extrusion distance, <br />
<br />
See also [[EBM]] tutorial.<br />
<br />
The extruded bitmap (also referred to as EBM) is a solid based on a greyscale bitmap. The bitmap is an array of unsigned char values, see bw(5), and is extruded by some distance. The EBM solid requires the dimensions of the bitmap file (height and width in bytes), an extrusion length, and a transformation matrix to position the EBM. Each byte in the bitmap file is treated as the base of a cell that is extruded by the specified extrusion length. If the value of the byte is nonzero, then that cell is considered solid.<br />
<br />
==hf==<br />
Height field<br />
;Handled by: none?<br />
;Status: depreciated, use dsp instead<br />
<br />
<br />
=Other solids=<br />
<br />
== tor ==<br />
Torus<br />
;Handled by: in make form create<br />
;Arguments: vertex, normal vector, radius of revolution, tube radius<br />
== eto ==<br />
Elliptical torus<br />
;Handled by: in make form create<br />
;Arguments: vertex, normal vector, radius of revolution, vector C, (r_d) magnitude of semi-minor axis<br />
<br />
== part ==<br />
Conical particle<br />
;Handled by: in make create<br />
;Arguments: vertex, height vector, radius at v, radius at h<br />
The particle solid is a lozenge-shaped object defined by a vertex, a height vector and radii at both ends. The body of the particle is either a cylinder or a truncated cone, depending on the values of the radii. Each end of the particle is a hemisphere of the specified radius.<br />
<br />
== nmg ==<br />
n-Manifold geometry solid (non-manifold geometry)<br />
;Handled by: make create<br />
<br />
== pipe ==<br />
Hollow and solid pipes and wires<br />
;Handled by: in make create<br />
;Arguments: # points, for each point: location, inner and outer diameters, bend radius<br />
<br />
==ars==<br />
Arbitrary rectangular solid<br />
;Handled by: in make create<br />
<br />
Solids of type 'ars' (Arbitrary Faceted Solids) are defined using "waterlines". The following figure consists of a start point, some number of intermediate polygons, and an ending point. Each of the intermediate polygons have the same number of vertices and the vertices are numbered 1 thru N. In addition to the intermediate polygons a line will be created that begins at the start point, goes through each polygon at its vertex numbered 1, and terminates at the end point. This is repeated for each polygon vertex 2 thru N. The start point, polygons, and end point are each a "waterline".<br />
<br><br><br />
<need an image here to illustrate the concept><br />
<br><br><br />
the ars shape takes the following values as input:<br />
*The number of points per waterline (the number of vertices on each intermediate polygon)<br />
*The number of waterlines (the number of intermediate polygons plus 2)<br />
*X, Y, and Z for a starting point (the first waterline)<br />
*for each interior polygon (an intermediate waterline)<br />
**for each point on the polygon<br />
***X, Y, and Z for the point on the polygon<br />
*X, Y, and Z for an ending point (the last waterline)<br />
<br />
For example, the command:<br />
<br><br><br />
in x.1 ars 4 6 0 0 3 1 1 3 1 -1 3 -1 -1 3 -1 1 3 1 1 1 1 -1 1 -1 -1 1 -1 1 1 1 0 -1 0 -1 -1 -1 0 -1 0 1 -1 1 0 -3 0 -1 -3 -1 0 -3 0 1 -3 0 0 -3 <br />
<br><br><br />
Will produce a square bar with a tapered 1/8 turn twist in the middle. Of course, more waterlines in the twist and more points per waterline would make the twist smoother.<br />
<br><br><br />
[[Image:Example_ars.png|thumb|center|600px|Example ARS]]<br />
<br><br><br />
The parameters to the above ars command can be dissected as:<br />
<br />
4 : number of points per waterline (i.e. intermediate polygons have 4 vertices)<br><br />
6 : number of waterlines (four intermediate polygons plus the two endpoints)<br><br />
0 0 3 - the center of the top end of the bar<br><br />
1 1 3 1 -1 3 -1 -1 3 -1 1 3 : a 2x2 square in the xy plane at z offset 3<br><br />
1 1 1 1 -1 1 -1 -1 1 -1 1 1 : a 2x2 square oriented the same as the first but at z offset 1<br><br />
1 0 -1 0 -1 -1 -1 0 -1 0 1 -1 : a 2x2 square at a 45 degree rotation from the first squares at z offset -1<br><br />
1 0 -3 0 -1 -3 -1 0 -3 0 1 -3 : a 2x2 square at a 45 degree rotation from the first squares at z offset -3<br><br />
0 0 -3 : the center of the bottom end of the bar<br />
<br />
==metaball==<br />
;Handled by: in make form(*) create<br />
;Arguments: render method, threshold, number of points, location and field strength for each point (and blobbiness/goo factor)<br />
<br />
<br />
==nurb==<br />
Non-uniform rational b-spline<br />
;Handled by: none?<br />
<br />
==spline==<br />
surface splines<br />
;Handeld by: ?<br />
<br />
==vol==<br />
volume / voxel<br />
; Handled by: in <br />
; Arguments: filename, xyz dimensions of file (in voxels), lower and upper threasholds, xyz dimensions of a cell<br />
The vol solid is defined by a 3-dimensional array of unsigned char values. The solid requires a file of these values, the extent of the file (in bytes) in each dimension, the size of each cell, and high and low thresholds. Any value in the file that is between the thresholds (inclusive) represents a solid cell.<br />
<br />
==bot==<br />
Bag of triangles<br />
;Handled by: in make create (not edit!)<br />
;Arguments: number of verticies, number of triangles, mode (1=surface 2=solid 3=plate), triangle orientation mode (1=unoriented 2=counter-clockwise 3=clockwise), each vertex, vertex index of each triangle<br />
;See also: [[BoT]]<br />
<br />
==poly==<br />
polysolid<br />
; Handled by: none?<br />
; Status: depreciated, use bot instead<br />
<br />
=Other=<br />
==Sketch==<br />
2d outline<br />
;Handled by: make form(sketch editor) create<br />
;See also: [[sketch]]<br />
<br />
==grip ==<br />
Grip -- support for joints, non-geometric (does not show in rt)<br />
;Handled by: in make form create<br />
Arguments:<br />
;C : Center<br />
;N : normal vector<br />
;L : magnitude<br />
<br />
== half ==<br />
halfspace<br />
;Handled by: in make form create<br />
;Arguments: Normal, distance from origin<br />
A half space is the portion of space on one side of a plane. It is represented by its boundary (the plane) and its outward-pointing normal vector. <br />
==binunif==<br />
Uniform-array binary object<br />
;Handled by: in create (not edit!)<br />
;Arguments: minor type (fdcsiLCSIL), data file, number of values</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_tor-rcc&diff=2143MGED CMD tor-rcc2010-01-04T04:54:15Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Tor-rcc]]<br />
[[Category:MGED object generators|Tor-rcc]]<br />
=tor-rcc=<br />
__TOC__<br />
<br />
==Syntax==<br />
:'''tor-rcc''' ''torname newname''<br />
<br />
<br />
==Argument(s)==<br />
: '''torname'''<br />
:: Name of valid BRL-CAD TOR.<br />
<br />
: '''newname'''<br />
:: Name of the to be created RCC.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "tor-rcc" command creates an RCC shape that fills in the hole of a specified TOR. <br />
<br />
<br />
==Example(s)==<br />
:mged> '''tor-rcc tor.s rcc.s''' <br />
:: Create an RCC named ''rcc.s'' to fill in the hole in the middle of ''tor''.''s. '' <br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/12/2007 at: 7:26:04 AM</div>Ssdhttps://brlcad.org/w/index.php?title=Category:MGED_object_generators&diff=2142Category:MGED object generators2010-01-04T04:52:18Z<p>Ssd: </p>
<hr />
<div>mged commands that generate new objects derived from old objects<br />
[[category:MGED]]<br />
[[category:MGED object creation]]</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_shells&diff=2141MGED CMD shells2010-01-04T04:51:06Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Shells]]<br />
[[Category:MGED object generators|Shells]]<br />
=shells=<br />
__TOC__<br />
<br />
==Syntax==<br />
:shells ''NMG_shape'' <br />
<br />
<br />
==Argument(s)==<br />
: '''NMG_shape '''<br />
:: Valid BRL-CAD NMG Primitive.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "shells" command separates the specified NMG shape into its constituent shells. Each shell is written to the database as a separate NMG object with a name of the form "shell" with a number appended to make the name unique. If the NMG has only one shell, then only one new object will be created. This differs from the [[MGED_CMD_decompose|decompose]] command in that [[MGED_CMD_decompose|decompose]] will actually break the object into a number of separate shells if possible. <br />
<br />
==Example(s)==<br />
: mged> '''shells object.nmg''' <br />
:: Break the NMG shape named object.nmg into its constituent shells. <br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_decompose|decompose]]<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/12/2007 at: 7:22:35 AM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_rpp-arch&diff=2140MGED CMD rpp-arch2010-01-04T04:50:54Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Rpp-arch]]<br />
[[Category:MGED object generators|Rpp-arch]]<br />
=rpp-arch=<br />
__TOC__<br />
<br />
==Syntax==<br />
:rpp-arch rppname newname face<br />
<br />
<br />
==Argument(s)==<br />
: '''rppname'''<br />
:: Name of RPP to be rounded<br />
<br />
: '''newname'''<br />
:: Name of resultant object<br />
<br />
: '''face'''<br />
:: Face of rppname to round.<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
"rpp-arch" command is used to round a specified face of an RPP by creating an RCC based on the parameters of the RPP.<br />
<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' rpp-arch rpp.s arch.s 1234<br />
:: Create an RCC shape named arch.s at the 1234 face of the RPP.<br />
<br />
<br />
==See Also==<br />
: [[MGED_CMD_rpp-arch|rpp-arch]]<br />
: [[MGED_CMD_rpp-cap|rpp-cap]]<br />
: [[MGED_Glossary|MGED Glossary]]<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 2:04:58 PM</div>Ssdhttps://brlcad.org/w/index.php?title=MGED_CMD_mirror&diff=2139MGED CMD mirror2010-01-04T04:49:30Z<p>Ssd: </p>
<hr />
<div>[[Category:MGED|Mirror]]<br />
[[Category:MGED object generators|Mirror]]<br />
=mirror=<br />
__TOC__<br />
<br />
==Syntax==<br />
:mirror -x|-y|-z old_object new_object<br />
<br />
<br />
==Argument(s)==<br />
: '''old_object'''<br />
:: Valid BRL-CAD Primitive<br />
<br />
: '''new_object'''<br />
:: Name of new object to be created<br />
<br />
: '''-x|-y|-z'''<br />
:: Axis to mirror across<br />
<br />
<br />
==Return Value(s)==<br />
: No Return Values for this command.<br />
<br />
<br />
==Description==<br />
The "mirror" command creates new_object by duplicating old_object and reflecting it along the indicated axis. If old_object is a primitive shape, then a new shape is created, with parameters adjusted to accomplish the mirror operation. If old_object is a combination, then new_object will simply be a copy of old_object with all of its members’ matrices set to perform the appropriate reflection.<br />
<br />
==Example(s)==<br />
: '''mged&gt;''' mirror -x shape1 shape1_mirror<br />
:: Make a copy of shape1, name it shape1_mirror, and adjust its parameters so that it is a mirror image of shape1 across the yz plane.<br />
<br />
<br />
==See Also==<br />
: No related commands.<br />
<br />
<br />
----<br />
<br />
Page Generated by David Loman on: 10/11/2007 at: 1:52:26 PM</div>Ssd