Search found 42 matches

by Justus
16 Aug 2019, 19:49
Forum: General questions
Topic: Modify path control point
Replies: 1
Views: 875

Modify path control point

Hi, I have a situation where I need to continously (every sim step) adjust a path (simulation of a complex chain tensioning mechanism). I can use sim.cutPathCtrlPoints and sim.insertPathCtrlPoints in combination with a table containing all path control point data. But is there are more elegant way t...
by Justus
18 Feb 2019, 18:15
Forum: General questions
Topic: Sensors, scripts, tia portal. Small Project. Students need some help
Replies: 3
Views: 1046

Re: Sensors, scripts, tia portal. Small Project. Students need some help

Hi Kaktuz, Multiple issues in your code/scene: the if/then block is not finished (it needed an extra "end") function sim.readProximitySensor needs the handle of the sensor object. So: resF=sim.readProximitySensor("Proximity_sensor0") should be: resF=sim.readProximitySensor(sim.getObjectHandle("Proxi...
by Justus
18 Feb 2019, 17:46
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 1874

Re: Get current value of combobox

Happy to see that simUI.getComboboxSelectedIndex is available in v3.6.0! (just a note: the online documentation does not mention the function)
by Justus
18 Feb 2019, 17:36
Forum: Bug reports
Topic: sim.addScriptText seems to not work any more in Version 3.6
Replies: 2
Views: 716

Re: sim.addScriptText seems to not work any more in Version 3.6

I can confirm this issue, a simple child script like this: local hndScript=sim.addScript(sim.scripttype_childscript+sim.scripttype_threaded) local strScriptText="print('hello world!')" sim.setScriptText(hndScript,strScriptText) sim.associateScriptWithObject(hndScript,sim.getObjectHandle('Dummy0')) w...
by Justus
11 Feb 2019, 21:49
Forum: General questions
Topic: Sensors, scripts, tia portal. Small Project. Students need some help
Replies: 3
Views: 1046

Re: Sensors, scripts, tia portal. Small Project. Students need some help

Hi Kaktuz, Maybe too late, but here goes: 1. Sensor: proximity sensor, ray type. Make sure the objects that need to be detected are detectable (Scene Object Properties -> Common -> Object special properties -> Detectable). Run the simulation and move the object in the sensor beam, the beam should th...
by Justus
05 Sep 2018, 07:02
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 1874

Re: Get current value of combobox

Thanks for your support; this is the method that I was using.

Maybe someone from Coppelia can tell us more about the release schedule?
by Justus
04 Sep 2018, 13:19
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 1874

Re: Get current value of combobox

Good to know the function is available. I prefer to use the official releases (so customers can download the tried and tested player).

Do you know when the next release is scheduled?
by Justus
31 Aug 2018, 11:20
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 1874

Get current value of combobox

Hi,

I'm trying to retreive the index of the selected item in a combobox. However I cannot find this function in the API reference. Is there something like "simUI.getComboboxSelectedIndex" available?

Workaround I currently use is registering change events, but this is cumbersome.

-Justus
by Justus
08 Jul 2018, 18:06
Forum: General questions
Topic: python / bluezero
Replies: 7
Views: 2221

Re: python / bluezero

When running b0.py in the V-REP folder there is no missing DLL issue anymore (import b0 is succesful). However, a new error comes up (using Python 2.7, vanilla installation). Traceback (most recent call last): File "b0remoteapi.py", line 1, in <module> import b0 File "C:\Program Files\V-REP3\V-REP_P...
by Justus
08 Jul 2018, 10:18
Forum: General questions
Topic: Looking for freelance V-REP developers
Replies: 0
Views: 1589

Looking for freelance V-REP developers

Hi, We're looking for freelance developers to help us create versatile, reliable and high-performing simulations. Simulations consist of conveyor systems and the basic machinery used in industrial bakeries, using V-REP and our own library/framework. We're developing on two fronts: - Creating V-REP s...