Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Inputs Defined within the Channel Function
Wiki Markup
{float:left|border=2px solid black}
[!lamina label.bmp|width=200px!|AutoCAD Channel Program]
Top View
{float}
Wiki Markup
{float:left|border=2px solid black}
[!individual lamina.bmp|width=550px!|AutoCAD Channel Program]
Front View
{float}


origin - is a 3*1 matrix with x,y,z positions corresponding to the point where the first lamella will be drawn.

...

laminai+4 - Enters the command "offset" into AutoCad. The offset function is used to move the selected object a specified distance from its original location.

laminai+5 - Enters The command 'stringit' turns the the variable "t" into AutoCada dimensionless number and cuts the number off after 5 decimal points. t represents the distance that the selected object is to be offset. The command 'stringit' turns the the variable "t" into a dimensionless number.

laminai+6 - Uses the 'point' function to turn the 3*1 matrix 'origin' into a text format that AutoCad can read.

...

laminai+8 - Uses the 'concat' function to create a character string out of a space, the AutoCad command "line," a space, the character string created in line0, and a space. The purpose of the character string is to create a line in AutoCad between the two points specified in line0.

laminai+9 - Uses the 'concat' function to create a character string out of a the AutoCad command "line," a space, the character string created in line1 and a space. The purpose of the character string is to create a line in AutoCad between the two points specified in line1.

laminai+10 - Uses the 'concat' function to create a character string out of the AutoCad command "z e region w," a space, a point described below, a space, the second point described below and a space. The purpose of the character string is to create a region based on the two points specified.

first point:

  • x: origin0 - amp
  • y: origin1
  • z: origin2

second point:

  • x: laminalast0 + t + amp
  • y: laminalast1
  • z: laminalast2

z: zoom
e: extents
region: creates a region based on two specified points.
w: specifies corners for the window in which the region is to be created.

laminai+11 - Uses the concat function to create a character string out of the AutoCad command extrude, a space, the point 'origin,' a space, a space, the variable 'l,' a space and the "0."

laminai+12 - Uses the concat function to create a character string out of the AutoCad command rotate3d, a space, the point 'origin,' a space, a space, the command "y," a space and a num2str (-(90-angle/deg)) if the angle is not 90 degrees.

laminai+13 - Uses the concat functino to create a character string out of the AutoCad command array, a space, the point 'origin,' a space, a space, the command "R," a space, num2str(numbafflecols, a space,num2strbaffles and a space.

laminai+14 - Together laminai+14 and laminai+15 - for an if statement. Laminai+14 uses the concat function to create a character string that enters the dimensionless number "yspace" if numbafflecols is less that 1.

laminai+16 -lamina - 15 - Enters "" into the command line if the condition in laminai+14 is not forfilled.