Search found 14 matches
- 10 Sep 2024, 08:59
- Forum: General questions
- Topic: sim.callScriptFunction via zeroMQ
- Replies: 2
- Views: 147
Re: sim.callScriptFunction via zeroMQ
Fixed the problem by myself: if ( !m_pSimClient ) return false; auto sim = m_pSimClient->getObject().sim(); json argsRet( json_array_arg ); json args( json_array_arg ); args.push_back("1"); args.push_back("2"); args.push_back("3"); //----------------------------------- ...
- 10 Sep 2024, 07:26
- Forum: General questions
- Topic: sim.callScriptFunction via zeroMQ
- Replies: 2
- Views: 147
sim.callScriptFunction via zeroMQ
I have a problem passing arguments to sim.callScriptFunction in my c++ application via zeroMQ. I'm working with the RemoteApiCLient and jsoncons library. When i build a json array with jsoncons and pass it to the respective function this function will receive just the first element of the array C++ ...
- 09 Sep 2024, 15:44
- Forum: General questions
- Topic: callScriptFunction and jsoncons for passing array
- Replies: 2
- Views: 551
Re: callScriptFunction and jsoncons for passing array
how did you solve it?
- 23 May 2022, 10:42
- Forum: General questions
- Topic: Simulation performance decrease over time
- Replies: 1
- Views: 1033
Simulation performance decrease over time
Hi, my problem refers to picking objects out of a box. You can see the process in this video: https://youtu.be/yTD8tAs-2OQ As you can see in the video one object after another gets picked out of the box. This process gets slower and slower over time despite the fact that there are less and less obje...
- 26 Nov 2021, 13:54
- Forum: General questions
- Topic: Turn off "Simulation parameters" pop-up box
- Replies: 5
- Views: 7992
Re: Turn off "Simulation parameters" pop-up box
Is it possible to suporess such pop-ups ?
In my case the pop up always appears when i start the scene on a new device in a player, because i have a lot of vertices in the scene.
That's sometimes confusing for users, when such a warning message appears.
In my case the pop up always appears when i start the scene on a new device in a player, because i have a lot of vertices in the scene.
That's sometimes confusing for users, when such a warning message appears.
- 31 May 2021, 07:35
- Forum: Bug reports
- Topic: Can't load XML-Scenes Scince 4.2.0
- Replies: 4
- Views: 29154
Can't load XML-Scenes Scince 4.2.0
Hi Guys, since i recently upgrated to Version 4.2.0 it is not possible anymore to load XML-Scenes. When i try to load a scene the Windows File-Dialog just gives me the possibility to choose ".ttt"-files. The only thing that still works is loading a XML-Scene programatically. Have i missed ...
- 13 Mar 2020, 14:57
- Forum: General questions
- Topic: Turn dynamics of objects off and on
- Replies: 8
- Views: 5871
Re: Turn dynamics of objects off and on
Ok i tested it with some primitive shapes where i didn't notice the effect. So it seems that this effect really can be traced to the fact that i use convex shapes for the Simulation. The whole Simulation seems to be smoother with primitive shapes. Here's the video for anybodies information: https://...
- 12 Mar 2020, 13:46
- Forum: General questions
- Topic: Turn dynamics of objects off and on
- Replies: 8
- Views: 5871
Re: Turn dynamics of objects off and on
Hm, i think i always did what you mentioned. My Bin is permanently not dynamic but respondable. Each object is set as a child of the bin right after it is created. I first disable all object dynamics and then move the bin. The objects are moving with the bin, as you suggested. Then i reenable all ob...
- 11 Mar 2020, 08:19
- Forum: General questions
- Topic: Turn dynamics of objects off and on
- Replies: 8
- Views: 5871
Re: Turn dynamics of objects off and on
Thanks for your effort. There are two differences. Each of my objects is a compund convex shape wich makes the simulation way more costly but i think this isn't the problem. What i also do is disabling the dynamics and after that i move the bin a little bit by simly changing it's position with sim.s...
- 06 Mar 2020, 15:59
- Forum: General questions
- Topic: Turn dynamics of objects off and on
- Replies: 8
- Views: 5871
Re: Turn dynamics of objects off and on
Your answer sounds understandable. But it doesn't seem to solve the problem. I tried to enable/disable the objects due to their height like this: function simUtils.enableDynamicsInBin(nBinHandle, bEnabled) local tWorkpieceHandles = {} local nStatic = 0 if(bEnabled)then nStatic = 0 print("enable...