#macro CARDSOCKET_GRND()

//Ksztette Csonka Tibor 2009.12.07

union{

	difference{										//alapforma
		box{<0,0,0> <47.5,8,63.5>}
		box{<-0.1,7,-0.1> <40,10,63.6>}
		box{<-0.1,-0.1,-0.1> <40,10,1>}
		box{<-0.1,-0.1,62.5> <40,10,63.6>}

		prism{0,18,4 <1,0> <-1,0> <0,6> <1,0> rotate<-90,0,-90> translate<41,8,19>}
		prism{0,18,4 <1,0> <-1,0> <0,6> <1,0> rotate<-90,0,-90> translate<41,8,62.5>}
		prism{0,24,4 <1,0> <-1,0> <0,6> <1,0> rotate<-90,0,-90> translate<41,8,43.75>}

		box{<7.4,-0.1,-0.1> <12.4,5,2>}
		box{<27.6,-0.1,-0.1> <32.6,5,2>}
		box{<7.4,-0.1,61.5> <12.4,5,63.6>}
		box{<27.6,-0.1,61.5> <32.6,5,63.6>}
		box{<40,-0.1,-0.1> <43,2,63.6>}

		box{<10,3.5,5> <48.1,4.5,58.5>}
		box{<10,3,34> <48.1,5,56.5>}
		prism{0,61,4 <3,0> <-3,0> <0,10> <3,0> rotate<-90,0,90> translate<48.1,4,62.25>}

		cylinder{<5,6.7,32> <5,8,32> 1.5}
		cylinder{<38,6.7,32> <38,8,32> 1.5}
		cylinder{<2.5,6.8,2.5> <2.5,8,2.5> 1}
		cylinder{<38,6.8,2.5> <38,8,2.5> 1}
		cylinder{<2.5,6.8,61> <2.5,8,61> 1}
		cylinder{<38,6.8,61> <38,8,61> 1}

		box{<-0.1,-0.1,12> <2,4,34>}
		box{<-0.1,2,12> <30,4,34>}
		pigment{Gray20}
		}
	
	cylinder{<5,6.7,32> <5,7,32> 0.4 pigment{Gray20}}					
	cylinder{<38,6.7,32> <38,7,32> 0.4 pigment{Gray20}}
	
	cylinder{<9.8,-1.5,2.6> <9.8,4,2.6> 1.5 pigment{Gray20}}				//rgzt flek
	cylinder{<30.1,-1.5,2.6> <30.1,4,2.6> 1.5 pigment{Gray20}}
	cylinder{<9.8,-1.5,60.9> <9.8,4,60.9> 1.5 pigment{Gray20}}
	cylinder{<30.1,-1.5,60.9> <30.1,4,60.9> 1.5 pigment{Gray20}}

	box{<0.8,0,23.9> <1.1,2,24.4> texture{col_silver}}					//kivezetsek
	box{<0.8,0,26.44> <1.1,2,26.94> texture{col_silver}}
	box{<0.8,0,28.98> <1.1,2,29.48> texture{col_silver}}
	box{<0.8,0,31.52> <1.1,2,32.02> texture{col_silver}}
	box{<1,1.7,23.55> <15,2,24.75> texture{col_silver}}
	box{<1,1.7,26.09> <15,2,27.29> texture{col_silver}}
	box{<1,1.7,28.63> <15,2,29.83> texture{col_silver}}
	box{<1,1.7,31.17> <15,2,32.37> texture{col_silver}}

	text {ttf besch_font " OMRON" 0.2, 0 pigment{Black} scale 6 rotate<90,-90,0> translate<12,7,3> }
	text {ttf besch_font "2854" 0.1, 0 pigment{White} scale 2 rotate<0,90,0> translate<0,1.5,8> }
}

translate<-20,0,-28>
#end

#macro CARDSOCKET() 
object{CARDSOCKET_GRND()}
#end