Difference between revisions of "Extrude"

From BRL-CAD
Line 4: Line 4:
 
  |[[Image:extrude_example.png|resize|256px|Example extrude object created with "in" command]]
 
  |[[Image:extrude_example.png|resize|256px|Example extrude object created with "in" command]]
 
  |}
 
  |}
 +
 +
The "extrude" command is only working for "boxes" (also called arbs).
 +
 +
You can create an "extrude" object through the normal object creation facilities.
 +
You can either run the "in" command or use the Create menu.  The 'in' 
 +
command will interactively prompt you for parameters.
 +
 +
Here is an example of a sketch creation followed by an extrude  object
 +
creation based on it.
 +
 +
Sketch creation:
 +
<pre>
 +
put sketch_example sketch V {0 0 0} A {1 0 0} B {0 1 0} VL { {0 0} {1 0} {1 1} {0 1} } SL {
 +
  {line S 0 E 1} {line S 1 E 2} {line S 2 E 3} {line S 3 E 0} }
 +
 +
</pre>

Revision as of 18:28, 5 July 2014


Example extrude object created with "in" command

The "extrude" command is only working for "boxes" (also called arbs).

You can create an "extrude" object through the normal object creation facilities. You can either run the "in" command or use the Create menu. The 'in' command will interactively prompt you for parameters.

Here is an example of a sketch creation followed by an extrude object creation based on it.

Sketch creation:

put sketch_example sketch V {0 0 0} A {1 0 0} B {0 1 0} VL { {0 0} {1 0} {1 1} {0 1} } SL {
   {line S 0 E 1} {line S 1 E 2} {line S 2 E 3} {line S 3 E 0} }