Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/h/Chiplotle-0.4/chiplotle/tools/hpgltools/transpose.py   Chiplotle(Download)
from chiplotle.hpgl.abstract.hpgl import _HPGL
from chiplotle.tools.hpgltools.is_primitive_absolute import is_primitive_absolute
from chiplotle.geometry.core.coordinate import *
 
def _transpose_command(arg, val):
   from chiplotle.tools.iterabletools.ispair import ispair
   val = Coordinate(*val)
   if is_primitive_absolute(arg): 

src/c/h/Chiplotle-0.4/chiplotle/tools/hpgltools/convert_relatives_to_absolutes.py   Chiplotle(Download)
from chiplotle.tools.hpgltools.pens_updown_to_papr import pens_updown_to_papr
from chiplotle.tools.hpgltools.is_primitive_absolute import is_primitive_absolute
from chiplotle.tools.hpgltools.pr_to_pa import pr_to_pa
from chiplotle.geometry.core.coordinate import Coordinate
from chiplotle.geometry.core.coordinatearray import CoordinateArray
   for e in lst:
      ## if has absolute position, keep track of last point...
      if is_primitive_absolute(e):
         if isinstance(e.xy, CoordinateArray):
            last_position = e.xy[-1]