Advertisement
danfalck

crash_commands.py

Jan 12th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import Path
  2. c0 = Path.Command("G17")
  3. c1 = Path.Command("G20")
  4. c2 = Path.Command("G54")
  5. p = Path.Path([c0, c1,c2])
  6. o = App.ActiveDocument.addObject("Path::Feature","mypath")
  7. o.Path = p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement