List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Plane Figures
| [MUG] Plane Figures |
|
Author: Nathan Sokalski
Posted: 23/11/2000 15:36:46 GMT
|
>> From: "Nathan Sokalski"
I would like to add sides to shapes I have plotted using plot3d (such as
cylinders). Therefore, I basically need to "cut" shapes such as circles out
of planes. Is there a way to do this? If so, what is it?
Nathan Sokalski
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
|
| [MUG] Re: Plane Figures |
|
Author: Herman Jaramillo
Posted: 30/11/2000 13:45:05 GMT
|
>> From: Herman Jaramillo
| >> From: "Nathan Sokalski"
| I would like to add sides to shapes I have plotted using plot3d (such as
| cylinders). Therefore, I basically need to "cut" shapes such as circles out
| of planes. Is there a way to do this? If so, what is it?
Here is an example:
mycone := cylinderplot(z, theta=0..2*Pi,
z=0..-2.4,style=wireframe,shading=ZGREYSCALE,numpoints=1000):
myplane := plot3d(-0.9,
x=-1..1,y=-2..2,style=PATCHNOGRID,shading=ZGREYSCALE,numpoints=1000):
mycircle :=
spacecurve([0.9*cos(t),0.9*sin(t),-0.9],t=0..2*Pi,color=black,numpoints=1000,thi
ckness=2):
display(mycone, myplane,mycircle)
These instructions display a cone, a plane cutting the cone and a
circle,
the intersection of the cone with the plane.
Regards.
Herman.
--
Herman Jaramillo phone: 713-689-6503
Research Geophysicist fax : 713-689-6100
Baker Hughes (Western Geophysical) email:
3600 Briarpark Drive (77042-5275)
P.O. Box 2469
Houston, Texas 77252-2469
|
Previous by date: [MUG] Maple and mechanics of deformable bodies, Guy Gendron
Next by date: [MUG] Is there a way to display x bar?, Larry Fasnacht
Previous thread: [MUG] laplace transform and dsolve (or Heaviside), Makelly
Next thread: [MUG] Is there a way to display x bar?, Larry Fasnacht
|