List Info

Thread: Re: How to do a cut away raytrace? (UNCLASSIFIED)




Re: How to do a cut away raytrace? (UNCLASSIFIED)
country flaguser name
United States
2007-02-05 10:03:26
Classification:  UNCLASSIFIED 
Caveats: NONE

You can subtract a halfspace or ARB8 from a top level obejct
to get the
cutaway.  Attached is a small script that builds a geometry
consisting
of a ball and a hollow box with a cutaway.  You can read the
commands,
at "source" them into an MGED session to build the
geometry:

	mged> source cutaway.mged

 This will show you a cutaway view of the box and sphere. 
Note that it
is OK to subtract or intersect a primitive with combinations
above the
region level, but not to union.

Lee

-----Original Message-----
From: brlcad-users-bounceslists.sourceforge.net
[mailto:brlcad-users-bounceslists.sourceforge.net] On
Behalf Of Cook,
Kathy
Sent: Thursday, February 01, 2007 7:11 PM
To: brlcad-userslists.sourceforge.net
Subject: [brlcad-users] How to do a cut away raytrace?

I am trying to create a cutaway image of a model and need
help.  For
instance what commands would create an image as if the model
had been
cut along a plane along the centerline from front to back
with the
viewing direction perpendicular to the cut and the portion
on the side
facing the viewer is gone.

In general that plane could be at any azimuth/elevation and
the viewing
plane might not be perpendicular.  How would the commands
differ for the
general case.

Is this something that needs to be setup in mged, or can it
all be
entered from the command line to rt (or in a script)?

Thanks for any suggestions,
Kathy 

  Classification:  UNCLASSIFIED 
Caveats: NONE


------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
BRL-CAD Users mailing list
brlcad-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-use
rs

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )