Creating pipeline in Coppeliasim

Typically: "How do I... ", "How can I... " questions
Post Reply
keyurshukla
Posts: 2
Joined: 03 Oct 2020, 05:27

Creating pipeline in Coppeliasim

Post by keyurshukla »

I want to create pipeline environment with bends in Coppeliasim. How to create that? I want to run robot inside Pipeline

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Creating pipeline in Coppeliasim

Post by coppelia »

Hello,

if your pipe needs to be dynamically enabled, and your robot run inside of it, then it is not such a good idea to use the pipe's mesh, since it will result in instabilities and be very slow. Better is to approximate the pipe with primitive shapes, e.g. cuboids. You can do this manually (not recommended, since tiresome work), or you can programmatically generate the pipe using (among others) sim.createPureShape and sim.groupShapes.
In this example scene a pipe mesh is being automatically followed, and a primitive shape model created from it.

Cheers

RobertPastor
Posts: 2
Joined: 10 Nov 2019, 16:33

Re: Creating pipeline in Coppeliasim

Post by RobertPastor »

Hello,
the link to the example scene is no longer available. Could you please upload it again?

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Creating pipeline in Coppeliasim

Post by coppelia »

Hello,

you can find the same example in your CoppeliaSim scenes folder, at scenes/otherScenes/pureTubeExtraction.ttt

Cheers

Post Reply