Hollow Sphere

Typically: "How do I... ", "How can I... " questions
Post Reply
thearvie
Posts: 6
Joined: 21 Mar 2013, 19:33

Hollow Sphere

Post by thearvie »

Hi!
Please, how can I create a hollow sphere? Is the primitive shape 'sphere' already hollow?

So far, I've been doing this:
- Create one primitive shape 'sphere'
- Right click it on the Scene Hierarchy -> Edit -> Edit modes -> Enter shape edit modes
- Delete a few triangles, so the sphere became hollow, and transforming it into a regular (and very slow to simulate) shape.

Is this the only way? I'd like my robot to crawl inside a big sphere.

I'm using v-rep edu, version 3.1.0 32bits + ubuntu.

Thanks in advance
- Arvie.

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

Re: Hollow Sphere

Post by coppelia »

Hello Arvie,

You can use the Vortex engine, which supports negative volumes. In the primitive shape dialog, make sure to check shape has negative volume, and to adjust the Inside scaling factor. Then you will have a perfectly smooth (and fast) hollow sphere.

Without the Vortex engine, it is more complicated/slow:
  • you can either specify the sphere as a random mesh (slow and not so stable)
  • or you can approximate the whole sphere with a succession of cuboid shapes (complicated to set-up)
Cheers

Post Reply