コード例 #1
0
ファイル: KM_AxisGroup.cs プロジェクト: Xtails-Inc/KMotionX
        /// <summary>
        /// Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination
        /// with aditional a,b,c, axes linearly interpolated
        /// </summary>
        public void AddArc(double endx, double endy, double centerx, double centery,
                           CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c)
        {
            var direction = clockwise ? KMotion_dotNet.CANON_DIRECTION.CANON_CLOCKWISE : CANON_DIRECTION.CANON_COUNTERCLOCKWISE;

            _Controller.CoordMotion.ArcFeed(_Velocity,
                                            (int)plane, endx, endy, centerx, centery,
                                            (int)direction, finalz, a, b, c, 0, 0);
        }
コード例 #2
0
ファイル: KM_AxisGroup.cs プロジェクト: jo2502/KMotionX
 /// <summary>
 /// Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination
 /// with aditional a,b,c, axes linearly interpolated
 /// </summary>
 public void AddArc(double endx, double endy, double centerx, double centery,
     CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c)
 {
     var direction = clockwise ? KMotion_dotNet.CANON_DIRECTION.CANON_CLOCKWISE : CANON_DIRECTION.CANON_COUNTERCLOCKWISE;
     _Controller.CoordMotion.ArcFeed(_Velocity,
         (int)plane, endx, endy, centerx, centery,
         (int)direction, finalz, a, b, c, 0, 0);
 }