API: Creating workobject
in RobotStudio
Hello!
An other question regarding workobjects.
In the RsWorkobject class it is possible to create a workobject at a location with x, y and z, and RX, RY, RZ for the orientation.
However, I wonder if it is possible to use three Vector3 to specify both location and orientation. Example, the first vector3 will be the origin of the workobject, the second will define the x axis and the third will define the y axis.
Kind regards
Daniel
An other question regarding workobjects.
In the RsWorkobject class it is possible to create a workobject at a location with x, y and z, and RX, RY, RZ for the orientation.
However, I wonder if it is possible to use three Vector3 to specify both location and orientation. Example, the first vector3 will be the origin of the workobject, the second will define the x axis and the third will define the y axis.
Kind regards
Daniel
0
Comments
-
-
I found that RS has a function like the one we want in the API
0 -
The Matrix4 class has a number of methods for creating a matrix from
points. Check out Matrix4.FromTwoPointXY() etc.
regards,
Johannes
Johannes Weiman
Software Engineer
ABB Robotics0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings