SpiralDrillShapePattern OuterRotations

Gets or Sets the outer rotations of the spiral. The outer rotations define the number of turns the laser should scan after reaching the outer radius.

public float OuterRotations {get;Set}

 

Return value

float The number of rotations to scan

 

Example

Copy
SpiralDrillShapePattern spiralDrilPat = new SpiralDrillShapePattern();
spiralDrilPat.Clockwise = true;
spiralDrilPat.Angle = 0;
spiralDrilPat.InnerRadius = 5;
spiralDrilPat.InnerRotations = 2;
spiralDrilPat.OuterRadius = 10;

spiralDrilPat.OuterRotations = 2;

spiralDrilPat.Outwards = false;
spiralDrilPat.Pitch = 1;
spiralDrilPat.ReturnToStart = false;

//Create a drill shape.
DrillShape drillShape = new DrillShape();
drillShape.SetPattern(spiralDrilPat);