Spiral Drill Shape Pattern

The spiral drill pattern moves the laser beam in a spiral curve at each drilling location, in the order they have been defined. The pattern can be configured to scan clockwise or anti clockwise, define a pitch and specify a start circle and an end circle with number of turns to scan.

All the jumps and drills are velocity controlled so the pattern permits a higher accuracy drilling with greater repeatability.

SpiralDrillShapePattern  

 

Properties

Angle Get or Set the starting angle of the spiral pattern.
Clockwise Get or Set the direction of rotation of the spiral.
InnerRadius Get or Set the inner radius of the spiral.
InnerRotations Gets or Sets the inner rotations of the spiral.
OuterRadius Gets or Sets the outer radius of the spiral.
OuterRotations Gets or Sets the outer rotations of the spiral.
Outwards Gets or Sets whether the drilling direction should be outwards or inwards.
Pitch Gets or Sets the pitch of the spiral drill shape.
ReturnToStart Gets or Sets whether the drilling operation should continue backwards

 

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);

                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);

                //Add spiral Points to the drill shape
                drillShape.AddSpiralPoint(0, 0, 0);
                drillShape.AddSpiralPoint(10, 10, 0);
                drillShape.AddSpiralPoint(20, 20, 0);

                // Add the Drill shape to vector image
                vectorImage.AddDrill(drillShape);
                scanDocument.Scripts.Add(DefautScript());
                try
                {
                    scanDocument.StartScanning();
                }
                catch
                {
                }
            }