Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Rotate position
s084706
✭
Hi all,
i'm using the "WZBoxDef" command to make a box around a certain position. The only problem I have is that my robot and therefore my Wobj0 is rotated 15° around the X-axis. So when I want make these boxes they are also oriented 15° in relation to the floor, now I want to rotate them to 0° in relation to the floor. the thing is that this command uses Data type: pos and I don't know how you can rotate them.
can anybody help me with this? Or can anybody give me an alternative solution to this matter?
Thanks upfront for your help,
S084706
i'm using the "WZBoxDef" command to make a box around a certain position. The only problem I have is that my robot and therefore my Wobj0 is rotated 15° around the X-axis. So when I want make these boxes they are also oriented 15° in relation to the floor, now I want to rotate them to 0° in relation to the floor. the thing is that this command uses Data type: pos and I don't know how you can rotate them.
can anybody help me with this? Or can anybody give me an alternative solution to this matter?
Thanks upfront for your help,
S084706
0
Comments
-
Hello,ShapeData are defined in World Coordinate System. You can't apply them orientation.You can rotate your WCS or make a second task managing this.
☑️2024 - RobotStudio® User Group0 -
The only problem I have is that my robot and therefore my Wobj0 is rotated 15° around the X-axis. What exactly do you mean by this? The robot itself is not mounted flat on the floor but on a pedestal that gives it 15° tilt? If that is the case you need to change the baseframe in your system parameters (moc). Then world coordinates take care of themselves.
Lee Justice0 -
Indeed that's what I mean by that, the robot is mounted on a pedestal with a 15° angle. Indeed I think that there is no other way than move the whole orientation of my baseframe.lemster68 said:The only problem I have is that my robot and therefore my Wobj0 is rotated 15° around the X-axis. What exactly do you mean by this? The robot itself is not mounted flat on the floor but on a pedestal that gives it 15° tilt? If that is the case you need to change the baseframe in your system parameters (moc). Then world coordinates take care of themselves.
Thank you all for the tips!
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
