Quick Reference

 

Geometry | Meshing | Genesis | Program | Entity Parsing | Groups | Settings | Graphics

The following is brief overview of some of the most used command-line CUBIT commands.

GEOMETRY

Primitives
Brick X <> [Y <> Z <>]
Cylinder Radius <> Height <>
Frustum Z <> Radius <> [Top <>]
Frustum Z <> Maj Rad <> Min Rad <>
Prism Z <> Sides <> Rad <> [Maj <> Min <>]
Pyramid Height <> Sides <> Radius <>
Sphere Rad <> [Xpos] [Ypos] [Zpos] [Inn <>]
Torus Major Rad <> Minor Rad <>
Booleans
Unite <> [With <>] [keep]
Subtract <> From <> [keep]
Intersect <> [With <>] [keep]

Imprint <> [With <>]
Transformations

Body <> [Copy] Move <dx> <dy> <dz>
Move {} <> location {} <> [except [x] [y] [z]]
Rotate {} <> About {x| y| z|<> <> <>} Angle <>
Rotate {} <> About Vert <> Vert <> Angle <>
Rotate {} <> About Nor Of Surf <> Angle <> Body <> [Copy] Scale <> Body <> [Copy] Reflect {x| y| z|< x> }
Decomposition
Webcut {} <> Pla Vert <> [Vert]<> [Vert]<> ()
Webcut {} <> Plane Surf <> ()
Webcut {} <> Plane {xpla| ypla| zpla} [offs <>]
Webcut {} <> Tool [Body] <>
Webcut {} <> With Sheet {Body| Surf} <>
Webcut {} <> With Sheet Ext Fr Surf <>
Webcut {} <> Cyl Rad <> Axis {x| y| z| Vert <> Vert <>| } [cent ]
Options: [Noimprint| Imprint( default)], [Nomerge( default)| Merge], [group_ results] Section {} <> {{ xpla| ypla| zpla} [offs <>]} | Surf <>} [keep] [normal( default)| reverse]
File Import
Import Acis 'filename'
Export Acis 'filename' [Body <>]
Import Mesh Geometry 'filename' (options)

MESHING

Mesh {} <>
Delete Mesh {} <> [Propagate]

Intervals

{} <> Interval {<> | Hard | Soft | Default}
{} <> Size {<> | Auto}
Match Intervals {} <> [Ass Grou [Onl| Infea]] [Seed Cur <>] [Map| Pave]
Mesh schemes
{} <> Scheme ...
Curve: bias, copy, curvature, dice, equal, stretch, stride
Surface: auto, circle, copy, dice, hole, map, mirror, pave, pentagon, qtri, submap, transition, triprimitive, trimap, trimesh, triadvance, tripave
Volume: auto, copy, dice
, map, sphere, submap, sweep, tetmesh, tetinria, tetprimitive, thex, weave
Smooth {} <>
{} <> Smooth Scheme ...
Smooth schemes
Curves: laplacian, randomize
Surface: centroid area pull, equipotential, laplacian, condition number, randomize, untangle, winslow
Volume: equipotential, laplacian, condition number, untangle, randomize

GENESIS

Block <> {Group| Vol| Surf| Curv} <> [Remove]
SideSet <> {Group| Curve} <> [Remove]
NodeSet <> {} <> [Remove]
Export Genesis 'filename'
Block <> Attribute <>
Block <> Element Type
Curves: bar[| 2| 3]| beam[| 2| 3]| truss[| 2| 3]
Surfaces: quad[| 4| 8| 9]| shell[| 4| 8| 9]| tri[| 3| 6| 7]
Volumes: hex[| 8| 20| 27]| pyr| tetra[| 4| 8| 10| 14] hexshell
SideSet <> Surf <> [Rem|[ She][ For| Rev| Both]]
SideSet <> Surf <> wrt Volume <>
Reset {Genesis | Nodesets | Sidesets | Blocks}

PROGRAM

Play 'filename'
Record {' filename' | stop}
Logging {off|on file <'filename'> [resume]}
Reset
Reset Genesis
Quit

ENTITY PARSING

Examples
Surface 1 2 3 4 to 6 by 2 ...
Curve all in Volume 2 ...
Draw Edge all in Hex 32
List Curve 1 to 50 except 2 4 6
Draw Sideset 1 2 3 Curve 3 to 5 Hex 2 4 6

GROUPS

Group <> {add| equals| remove| xor} {} <>
Group <> {inters| unite} grou <> with grou <>
Group <> subtract group <> from group <>

GRAPHICS

Default mouse buttons (command line)
B1 - rotate; B2 - scale; B3 - pan
Control-B1: pick entity (In graph win: 0,1,2,3,4 - Pick vert, curv, surf, vol, body)
Shortcuts (focus in Graphics Window)
a Add to selection group
b Toggle Bounding Box on Click
c Clear "picked" Group
d Display 'picked' group, make it the selection
e Echo ID of selection to command line
f Assign function to mouse button
g List geometry of selection
h Print help
i Toggle visibility of selection
j/k Move slicing plane down/up
l List current selection (as if you typed 'list ...')
m/n List picked group/selection contents
p Toggle Persistent Wireframe
q Quit Current Mode (Exit slicing if slicing)
r Remove from 'picked' Group
s Toggle save-mesh on slice move
u Toggle mouse circle visibility
v Reset view
w Toggle Wireframe on click
x/y/z Slice along x/y/z-axis
Shift-Z Zoom on current selection
F1 Save view 1 Numbers: set what you're picking.
ESC Cancel current Action
Tab Next possible selection
Shift-Tab Previous possible selection

SETTINGS

Set Auto Sweep Scheme {Sw|Proj|Trans|Rot}
[set] Geometry Version <> (201, 300, 301, 401)
[set] Debug [on|off]
[set] Debug File <'filename'>
[set] Debug Terminal
set Default Blocks [on|off|Volumes|Surfaces]
set Default Names [on|off] [set] Echo [on|off]
set Fix Duplicate Names [on|off]
set FullHex [Use] [on|OFF]
[set] Info [on|off]
[set] Journal [on|off]
set Keep Invalid Mesh [on/off]
[set] Logging {off|on file <'filename'> [resume]}
set Match Intervals Rounding {on|off}
set Match Intervals Fast {on|off}
set Node Constraint [ON|off]
[set] Paver Smooth Meth { Def | Smooth Sch}
[set] Paver Linearsizing {off|on}
set Replacement character '.|_|@'
[set] Scheme Auto Fuzzy [Tolerance]
set {source|target} surface pattern ''
set {Corner|End} Angle
set Corner Weight
set Turn Weight
set Interval Weight
set Large Angle Weight
[set] Diagnostic {on|off}
set Suffix character '.|_|@'
[set] Smooth Meth {laplacian | isoparametric}
[set] Project Smooth [on|off]
[set] Warning [on|off]
[set] Smooth Iterations [default|]
[set] Smooth Tol <> (Default = 0.05)