Editing Revolve

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 67: Line 67:
 
This would create a partial revolve (angle < 2*pi) with a 3D shape where the maximum outline does not fall in a r-z plane.  A 2D example of this is revolving an ellipse with focii at (4,1) and (6, -1) about the z axis.  For this case, the minimum radius and maximum radius do not occur along the same plane.  If the end cap method (above) was used, there would be an abrubt transition from the ellipse to the revolved body.
 
This would create a partial revolve (angle < 2*pi) with a 3D shape where the maximum outline does not fall in a r-z plane.  A 2D example of this is revolving an ellipse with focii at (4,1) and (6, -1) about the z axis.  For this case, the minimum radius and maximum radius do not occur along the same plane.  If the end cap method (above) was used, there would be an abrubt transition from the ellipse to the revolved body.
  
This feature can best be implemented by using a sweep along a circular path, because the sweep primitive will need to handle this end condition for sweeping any other general 3D primitive.  This approach minimizes code duplication, and keeps the revolve primitive focused specifically on revolving.
+
This feature can best be implemented by using a sweep along a circular path, becasue the sweep primitive will need to handle this end condition for sweeping any other general 3D primitive.  This approach minimizes code duplication, and keeps the revolve primitive focused specifically on revolving.

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: