Circle Drill Shape Pattern
The circle drill pattern, moves the laser beam in a circular motion at each drilling location, in the order they have been defined. The pattern can be configured to have multiple turns per drilling circle, multiple concentric circles within the drilling circle, and can be choose to scan clock wise or anti clock wise.
All the jumps and drills are velocity controlled so the pattern permits a higher accuracy drilling with greater repeatability.
CircleDrillShapePattern |
Properties
DeltaRadius | Get or Set the difference of the radii for each consecutive circles |
IsClockwise | Get or Set the scanning direction for the circle drill shape pattern. |
IsConcentricCirclesEnabled | Get or Set whether the concentric circles are enabled |
MaxRadius | Get or Set a maximum radius of the concentric circles |
MinRadius | Get or Set the minimum radius of the concentric circles |
RevsPerCircle | Get or Set the number of times a circle should be scanned |
UsePointRadiusAsMaxRadius | Get or Set whether the Max radius of the drill circles should be set to the value defined by the radius of each drill point |
Copy
DistanceUnit drillUnits = DistanceUnit.Millimeters;
scanDocument = scanDeviceManager.CreateScanDocument(GetselectedDeviceUniqueName(), drillUnits, false);
if (scanDocument != null)
{
VectorImage vectorImage = GetNewVectorImage();
int markdelayInUsec = 200;
int polydelayInUsec = 75;
int JumpDelay = 10;
int JumpSpeed = 10;
int LaserOnDelay = 5;
int LaserOffDelay = 5;
vectorImage.SetJumpDelay(JumpDelay);
vectorImage.SetMarkDelay(markdelayInUsec);
vectorImage.SetPolyDelay(polydelayInUsec);
vectorImage.SetJumpSpeed(JumpSpeed);
//Set Laser Delays
vectorImage.SetLaserOnDelay(LaserOnDelay);
vectorImage.SetLaserOffDelay(LaserOffDelay);
CircleDrillShapePattern circleDrilPat = new CircleDrillShapePattern();
circleDrilPat.DeltaRadius = 1;
circleDrilPat.IsClockwise = false;
circleDrilPat.IsConcentricCirclesEnabled = true;
circleDrilPat.MaxRadius = 6;
circleDrilPat.MinRadius = 2;
circleDrilPat.RevsPerCircle = 1;
circleDrilPat.UsePointRadiusAsMaxRadius = false;
//Create a spiral shape.
DrillShape drillShape = new DrillShape();
drillShape.SetPattern(circleDrilPat);
drillShape.AddCirclePoint(0, 0, 0, 10);
drillShape.AddCirclePoint(10, 10, 0, 10);
drillShape.AddCirclePoint(20, 20, 0, 10);
// Add the Drill shape to vector image
vectorImage.AddDrill(drillShape);
scanDocument.Scripts.Add(new ScanningScriptChunk("SC_CL_DRILLING", "ScanAll()"));
try
{
scanDocument.StartScanning();
}
catch
{
}
}