C# Class Canguro.Commands.Model.AddGridCmd

Command to add a Frame based grid
Inheritance: Canguro.Commands.ModelCommand
显示文件 Open project: rforsbach/Treu-Structure

Protected Properties

Property Type Description
dx float
nx int

Private Properties

Property Type Description
beamGrid3D void

Public Methods

Method Description
Run ( Canguro services ) : void

Executes the command. Gets the parameters and calls beamGrid3D() to make the grid.

Private Methods

Method Description
beamGrid3D ( Canguro model, float x0, float y0, float z0, float ux, float uy, float uz, float vx, float vy, float vz, float wx, float wy, float wz, int nu, int nv, int nw, bool doLines, StraightFrameProps props ) : void

Creates a Grid with frames given an origin, 3 vectors and number of bays in the 3 directions. Joints at the base are not connected and have restricted translation.

Method Details

Run() public method

Executes the command. Gets the parameters and calls beamGrid3D() to make the grid.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
return void

Property Details

dx protected_oe static_oe property

protected static float dx
return float

nx protected_oe static_oe property

protected static int nx
return int