PathTests.TestPathAdaptive Namespace Reference

Classes

class  TestPathAdaptive
 

Functions

def getGcodeMoves (cmdList, includeRapids=True, includeLines=True, includeArcs=True)
 
def pathOriginatesInBox (cmd, minPoint, maxPoint)
 
def setDepthsAndHeights (op, strDep=20.0, finDep=0.0)
 

Variables

string expected_moves_test01
 

Function Documentation

◆ getGcodeMoves()

def PathTests.TestPathAdaptive.getGcodeMoves (   cmdList,
  includeRapids = True,
  includeLines = True,
  includeArcs = True 
)
getGcodeMoves(cmdList, includeRapids=True, includeLines=True, includeArcs=True)...
Accepts command dict and returns point string coordinate.

◆ pathOriginatesInBox()

def PathTests.TestPathAdaptive.pathOriginatesInBox (   cmd,
  minPoint,
  maxPoint 
)

◆ setDepthsAndHeights()

def PathTests.TestPathAdaptive.setDepthsAndHeights (   op,
  strDep = 20.0,
  finDep = 0.0 
)
setDepthsAndHeights(op, strDep=20.0, finDep=0.0)... Sets default depths and heights for `op` passed to it

Variable Documentation

◆ expected_moves_test01

string PathTests.TestPathAdaptive.expected_moves_test01
Initial value:
1= "G1 X32.5 Y32.5 Z5.0; \
2G1 X17.5 Y32.5 Z5.0; \
3G1 X17.5 Y30.0 Z5.0; \
4G1 X32.5 Y30.0 Z5.0; \
5G1 X32.5 Y27.5 Z5.0; \
6G1 X17.5 Y27.5 Z5.0; \
7G1 X17.5 Y25.0 Z5.0; \
8G1 X32.5 Y25.0 Z5.0; \
9G1 X32.5 Y22.5 Z5.0; \
10G1 X17.5 Y22.5 Z5.0; \
11G1 X17.5 Y20.0 Z5.0; \
12G1 X32.5 Y20.0 Z5.0; \
13G1 X32.5 Y17.5 Z5.0; \
14G1 X17.5 Y17.5 Z5.0"