Misc. typos
- Tooltip uniformity - source comment typo fixes - remove double whitespaces
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Example how to use the basic robot class Robot6Axis which represent a 6-Axis
|
||||
# industrial robot. The Robot Module is dependend on Part but nor on other Modules.
|
||||
# industrial robot. The Robot Module is dependent on Part but not on other Modules.
|
||||
# It works mostly with the basic types Placement, Vector and Matrix. So we need
|
||||
# only:
|
||||
from Robot import *
|
||||
@@ -56,7 +56,7 @@ del rob,Start,t,l,w
|
||||
# === working with the document ===
|
||||
#
|
||||
# Working with the robot document objects:
|
||||
# first creat a robot in the active document
|
||||
# first create a robot in the active document
|
||||
if(App.activeDocument() == None):App.newDocument()
|
||||
|
||||
App.activeDocument().addObject("Robot::RobotObject","Robot")
|
||||
@@ -96,7 +96,7 @@ print(App.activeDocument().Trajectory.Trajectory)
|
||||
|
||||
# === Exporting the trajectory ===
|
||||
# the Trajectory is exported by python. That means for every Control Cabinet type is a Post processor
|
||||
# python module. Here is in detail the Kuka Postprocessor descriped
|
||||
# python module. Here is in detail the Kuka Postprocessor described
|
||||
from KukaExporter import ExportCompactSub
|
||||
|
||||
ExportCompactSub(App.activeDocument().Robot,App.activeDocument().Trajectory,tempfile.gettempdir()+'/TestOut.src')
|
||||
|
||||
Reference in New Issue
Block a user