Added another test to drill generator and corresponding test case

This commit is contained in:
sliptonic
2022-01-16 18:46:47 -06:00
parent 199e5264cd
commit 60f304bf15
2 changed files with 7 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ def generate(edge, dwelltime=0.0, peckdepth=0.0, repeat=1):
):
raise ValueError("edge is not aligned with Z axis")
if startPoint.z < endPoint.z:
raise ValueError("start point is below end point")
cmdParams = {}
cmdParams["X"] = startPoint.x
cmdParams["Y"] = startPoint.y