Added preambles option to fromShapes to prevent Path.Area from emmitting a preamble before every block of movement.

This commit is contained in:
Markus Lampert
2017-08-19 18:00:37 -07:00
parent 36284251cb
commit f2483f2ff0
3 changed files with 17 additions and 12 deletions

View File

@@ -215,6 +215,8 @@ class ObjectOp(PathOp.ObjectOp):
pathParams['resume_height'] = obj.StepDown.Value
pathParams['retraction'] = obj.ClearanceHeight.Value
pathParams['return_end'] = True
# Note that emmitting preambles between moves breaks some dressups and prevents path optimization on some controllers
pathParams['preamble'] = False
if self.endVector is not None:
pathParams['start'] = self.endVector