#VRML V2.0 utf8
# An inlined component of a user-defined prototype wrapper implementation.
# A heavyweight data plotting template that inlines a user created VRML Shape.  
#  This object can be used as a template to extend other future user created shapes 
#  like an indexedFaceSet.  Just inLine the Shape. 

#  A component in a 3D data plotting application 
# Kurt A. Fisher fisherka@csolutions.net  beginner level VRML coder
# 12/2003

#  Used by:  lib_UD_proto.wrl  

#  The user must manually implement object color and translucency in this inlined file. 

# ====================================
# Usage 
#     in UD_proto.wrl 

# Inline { 
#	url  "my_user_defined_object.wrl" 
#} 

# ===========================================
#  Background 

#  version x: Default White background 
# DEF DefaultBack Background {
#	skyColor 		[ 1.0 1.0 1.0,  1.0 1.0 1.0,  1.0 1.0 1.0 ]
#	skyAngle 		[ 1.0, 1.0 ]
#	groundColor 		[ 1.0 1.0 1.0,  1.0 1.0 1.0,  1.0 1.0 1.0 ]
#	groundAngle 		[ 1.0, 1.0 ]
# } # End of default background


# ====================================
# BEGIN INLINED USER-DEFINED OBJECT

# Disable for more than one shape 
#				Shape {				
#				# Set overall appearance for all PointSet coordinates - must be emissive 
#					appearance Appearance {
#						material Material { 
#   Manually set the color of the object
#							diffuseColor 1.0 1.0 1.0   #  IS objColor
#			    				emissiveColor 0.5 0.5 0.5  #  IS objColor
#							shininess 0.08
# Manually set the transparency of the object
# 							transparency 0.0

#						} # end Material 
#					} # end Appearance 


# RENDER THE USER-DEFINED SHAPE OR SHAPE(S)

# ===========================================
#  Sagittarius Carina Arm flattened arm segment at 120 deg through 200 degrees 
# Sol-centered coordinates 8.5 kpc R							
Shape {
    appearance Appearance {
        material Material {
	diffuseColor 0.6 0.6 0.6 
#	transparency 0.8
	transparency 0.85
        }
    }
    geometry Extrusion {
        creaseAngle 1.57
        beginCap TRUE
        endCap   TRUE
        crossSection [
# Rectangle 1 x 0.250 kpc box 
#    counterclockwise from lower-right in x-z plane 
0.5	,	-0.375	,
-0.5	,	-0.375	,
-0.5	,	0.375	,
0.5	,	0.375	,
0.5	,	-0.375	,
        ]
        spine [
        # Circle
#  Sagittarius Carina Arm flattened arm segment at 120 deg through 200 degrees 
# Sol-centered coordinates 8.5 kpc R							
# x	,	y	,	z	,		
# 5.498	,	5.199	,	-0.026	,	# Clips kpc	4   Angle	120
# 3.508	,	2.887	,	-0.026	,	# Clips kpc		Special Taylor shortened endpoint
2.108	,	1.126	,	-0.026	,	# Taylor Point 		170 
1.549	,	0	,	-0.026	,	# Taylor Point 		180 	
1.199	,	-1.51	,	-0.026	,	# Clips - Special 
# 0.909	,	-2.763	,	-0.026	,	# Clips kpc	4   	200 
        ]
    }
}


# END RENDERING OF THE USER-DEFINED SHAPE (S)



