예제 #1
0
    def arc_feed(self, end_x, end_y, center_x, center_y, rot, end_z, a, b, c, u, v, w):
        if self.suppress > 0:
            return

        self.first_move = False
        self.in_arc = True
        try:
            # this self.lo goes straight into the c code, cannot be changed
            self.lo = tuple(self.last_pos)
            segs = gcode.arc_to_segments(self, end_x, end_y, center_x, center_y,
                                         rot, end_z, a, b, c, u, v, w, self.arcdivision)
            self.straight_arcsegments(segs)
        finally:
            self.in_arc = False
예제 #2
0
 def arc_feed(self, x1, y1, cx, cy, rot, z1, a, b, c, u, v, w):
     self.lo = tuple(self.lo)
     segs = gcode.arc_to_segments(
         self, x1, y1, cx, cy, rot, z1, a, b, c, u, v, w, self.arcdivision)
     self.straight_arcsegments(segs)
예제 #3
0
 def arc_feed(self, x1, y1, cx, cy, rot, z1, a, b, c, u, v, w):
     self.lo = tuple(self.lo)
     segs = gcode.arc_to_segments(self, x1, y1, cx, cy, rot, z1, a, b, c, u, v, w, self.arcdivision)
     self.straight_arcsegments(segs)