## Re: [Visualpython-users] Do not appear the intersection?

 Re: [Visualpython-users] Do not appear the intersection? From: Bruce Sherwood - 2009-07-13 21:31:49 ``` VPython does not offer any capability for constructing objects through subtraction of solids. That's a difficult problem to handle in real time.

Bruce Sherwood

xingran xue wrote:
Hi guys,

Say I have 4 spheres, and I want to make the intersection part disappear. Is there any easy way to only show the slice instead of the overlapping parts.
Here is the code:

from visual import *

sphere(pos=(0,2,0),opacity = 0.2,color= color.white, radius =2)
for t in arange(-pi,pi,2*pi/3):
sphere(pos = (1.2*cos(t),0,1.2*sin(t)), opacity = 0.2,color= color.white, radius = 2)

Any input will be appreciated.

Best
Ran

------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to \$100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
;

_______________________________________________ Visualpython-users mailing list Visualpython-users@... https://lists.sourceforge.net/lists/listinfo/visualpython-users;
```

 [Visualpython-users] Do not appear the intersection? From: xingran xue - 2009-07-13 06:44:12 Attachments: Message as HTML ```Hi guys, Say I have 4 spheres, and I want to make the intersection part disappear. Is there any easy way to only show the slice instead of the overlapping parts. Here is the code: from visual import * sphere(pos=(0,2,0),opacity = 0.2,color= color.white, radius =2) for t in arange(-pi,pi,2*pi/3): sphere(pos = (1.2*cos(t),0,1.2*sin(t)), opacity = 0.2,color= color.white, radius = 2) Any input will be appreciated. Best Ran ```
 Re: [Visualpython-users] Do not appear the intersection? From: Bruce Sherwood - 2009-07-13 21:31:49 ``` VPython does not offer any capability for constructing objects through subtraction of solids. That's a difficult problem to handle in real time.

Bruce Sherwood

xingran xue wrote:
Hi guys,

Say I have 4 spheres, and I want to make the intersection part disappear. Is there any easy way to only show the slice instead of the overlapping parts.
Here is the code:

from visual import *

sphere(pos=(0,2,0),opacity = 0.2,color= color.white, radius =2)
for t in arange(-pi,pi,2*pi/3):
sphere(pos = (1.2*cos(t),0,1.2*sin(t)), opacity = 0.2,color= color.white, radius = 2)

Any input will be appreciated.

Best
Ran

------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to \$100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
;

_______________________________________________ Visualpython-users mailing list Visualpython-users@... https://lists.sourceforge.net/lists/listinfo/visualpython-users;
```