!   TITLE:  cm_endbell.mac (COMMON_MISSILE)
!
!-----------------------------------------------------------------------
!   Rev -   04/29/2003      J. Rinaldi
!-----------------------------------------------------------------------
!
!   This macro creates the common missile endbell concept.
!
!   CSendb0:        Cartesian Endbell Coordinate System
!   CSendb1:        Cylindrical Endbell Coordinate System
!   CSendb2:        Spherical Endbell Coordinate System
!
!
!************************** TABLE OF CONTENTS **************************
!
!       Model Assembly Preparation
!
!   1.  Parameter List
!   2.  Model Coordinate System
!   3.  Solid Model
!
!********************* Model Assembly Preparation **********************
!
mod_assemb_prep,arg1,arg2,arg3
!
!<<<<<<<<<<<<<<<<<<<<<<<< 1.  Parameter List >>>>>>>>>>>>>>>>>>>>>>>>>>
!
cm_endbell.parm
!
!<<<<<<<<<<<<<<<<<<<< 2.  Model Coordinate System >>>>>>>>>>>>>>>>>>>>>
!
mod_coord_system,acs,xc,yc,zc,rotxyc,rotyzc,rotzxc
!
!<<<<<<<<<<<<<<<<<<<<<<<<<<< 3.  Solid Model >>>>>>>>>>>>>>>>>>>>>>>>>>
!
!
!----------------------- 3.1  Stator Cross-Section --------------------
!
csys,CSendb0
!
k,,0,D01/2,0
k,,0,D02/2,0
k,,0,D02/2,Dz02
k,,0,D04/2,Dz02
k,,0,D04/2,Dz03
!
k,,0,D03/2,Dz03
k,,0,D03/2,Dz06
k,,0,D05/2,Dz06
k,,0,D05/2,Dz05
k,,0,D03/2,Dz05
!
k,,0,D03/2,Dz01
k,,0,D01/2,Dz01
!
create_lines
!
ln_fillet,km-8,R01
!
chamfer_area,1,lm-3,lm-2,Dc01
!
create_area-lines
!
lplot
!
!----------------------- 3.2  Revolve Cross-Section -------------------
!
csys,CSendb0
!
revolve_aset,CSendb0,360,4
!
vadd,all
init_entity_num
!
lplot
!
finalize_model