Search found 36 matches

by suri
14 Jul 2020, 09:20
Forum: General questions
Topic: How to import .stl CAD model?
Replies: 0
Views: 23

How to import .stl CAD model?

Hey Admin, I need to import .stl CAD model into coppeliasim. When I imported the model through file->import->mesh, I got the model in coppeliasim with one shape. Then I follow below documentation to get the robot joint tree. https://www.coppeliarobotics.com/helpFiles/en/importExport.htm https://driv...
by suri
01 Jul 2020, 06:51
Forum: General questions
Topic: How to move a robot using regular API?
Replies: 3
Views: 119

Re: How to move a robot using regular API?

Hello Admin,

If you don't mind, may I know another way as you mentioned in your last comment?
Of course, if you need to reset your robot, that's another story, but I guess that's not what you want to do.
Thanks in advance
by suri
29 Jun 2020, 14:22
Forum: General questions
Topic: How to move a robot using regular API?
Replies: 3
Views: 119

How to move a robot using regular API?

Hallo Admin, I need to move the robot using regular API(currently using sim.setObjectPosition, if any other options is there kindly let me know). When I tried to set the position of robot during simulation on, robot breaks apart. RoboHandle = sim.getObjectHandle("kira_b50") sim.setObjectPosition(Rob...
by suri
29 Jun 2020, 14:11
Forum: General questions
Topic: How to get the exact position of a shape using regular API?
Replies: 2
Views: 108

Re: How to get the exact position of a shape using regular API?

Thanks you so much. I solved the problem with your suggestion/solution.
by suri
26 Jun 2020, 07:21
Forum: General questions
Topic: How to get the exact position of a shape using regular API?
Replies: 2
Views: 108

How to get the exact position of a shape using regular API?

Hallo Admin, I need to get the exact position of a shape using regular API. I did not find an API which does exactly what I need!. I used sim.getOjectPosition(ShapeHandle,-1). But using this API I got the position of blue line in the below image. Kindly have a look. https://lh6.googleusercontent.com...
by suri
23 Jun 2020, 08:03
Forum: General questions
Topic: How to set the color of multiple shapes at once?
Replies: 7
Views: 213

Re: How to set the color of multiple shapes at once?

Hallo Admin,

Thank you so much for the kind response.

I solved my problem.
by suri
23 Jun 2020, 07:50
Forum: General questions
Topic: How can I make the object orientation zero relative to world frame?
Replies: 1
Views: 87

How can I make the object orientation zero relative to world frame?

Hello Admin I need to get the object orientation relative to world frame. I am using sim.getObjectOrientation(handle,-1). Orientation of object was zero two weeks back, but suddenly orientation changed. I wrote entire code considering this assumption. SInce the orientation changed I can not use my a...
by suri
22 Jun 2020, 11:11
Forum: General questions
Topic: How to set the color of multiple shapes at once?
Replies: 7
Views: 213

Re: How to set the color of multiple shapes at once?

Hallo Admin, sorry for the lengthy post. My problem is very simple: Collision is occurring before colliding with collidable parts. I think that it is not algorithm problem. Since I am using coppeliasim interactive shell to find out where the problem exists using APIs. I am using simple pure shapes. ...
by suri
20 Jun 2020, 12:10
Forum: General questions
Topic: How to set the color of multiple shapes at once?
Replies: 7
Views: 213

Re: How to set the color of multiple shapes at once?

Hello fferri, Thank you for the quick response. I achieved what I intended with your support. But I got another problem with that. Actually collision check is happening before colliding with the actual shape. Initially I got the child-handles through parent handle. m_handles[0] = simGetObjectHandle(...