<?xml version='1.0' ?>
<fabmetheus version="2010-04-04" overhang.supportangle='35' overhang.span='45' twistprecision="10" step='.2' >
	<path id="vertex_holder">
		<vertex x="8.8" y="7.7" z="2.9" />
		<vertex x="0" y="0" z="2.9" />
	</path>
	<path id="curve">
		<vertex />
		<arc x='40' y='40' radius='60' xAxisRotation='20' largeArcFlag='f' sweepFlag='f' />
	</path>
	<difference id="pentagon square">
		<polygon radius="20" sides="5" revolutions='2' />
		<polygon radius="10" sides="4" />
	</difference>
	<gear id='gear' creationType='b' name='write_test' helixAngle='80' helixType='b' moveType='m' rackWidth='20' shaftDepthBottomOverRadius='0.2' pitchRadius='20.0' pressureAngle='30' rackLength='200' shaftRadius='6' shaftSides='10' teeth='7' teethSecond='11' thickness='2.0' />

	<!--
	<extrude id='inset_extrude' name='write_test' target='=document.getElementByID(gear)' end="[0,0,1]" />
	<write target='=document.getElementsByName(write_test)' file="file_write_test" folder='malpighi' />
	<outline id='curve_outline' copy='true' name='write_test' target='=document.getElementByID(spiral)' radius='1' />
	<grid id='grid' outline.strokeWidth='2.0' radius='2' seed='0' target='=creation.getPolygon(5, 20)' type='random' />
	<extrude id='inset_extrude' name='write_test' target='=document.getElementByID(grid)' end="=document.getElementByID($vertex_holder).getPaths()[0][0]" />
	
	<outset id='inset_outline' copy='true' name='write_test' target='=document.getElementByID(curve_outline)' radius='3' />
	<extrude id='inset_extrude' name='write_test' radius='8' end="=document.getElementByID($vertex_holder).getPaths()[0][0]" />
	<outline target='=document.getElementByID($grid)' strokeWidth='2.0' />
	<extrude target='=document.getElementByID($grid)' end="=document.getElementByID($vertex_holder).getPaths()[0][0]" />
	<outline id='curve_outline' copy='true' target='=document.getElementByID($curve)' radius='5' />
	<outset id='inset_outline' copy='true' target='=document.getElementByID(curve_outline)' radius='2' />
	<square id="square" bottomwidth="40.0" equation.polar='[radius*1.5,azimuth+20]' height="30.0" interiorangle='100' comment_overhang.activate='true' comment_segment.path='[[],[0.5,0.2],[1,0]]' comment_segment.center='[]' comment_segment.start='2' topwidth="10" comment_wedge.center='[]' inset.radius='1' />
		
		
			<ellipse cx="74.285713" cy="200" rx="30" ry="10">
			</ellipse>
		
		</svg>"		<extrude target="=document.getElementByID(inset_outline)" end="=document.getElementByID($vertex_holder).getPaths()[0][0]" />
		<text id='yo' >wa</text>
		<extrude target="=document.getElementByID($yo)" end="=document.getElementByID($vertex_holder).getPaths()[0][0]" />
		<cubic x='80' y='0' controlPoint1='[60,5]' />
		<cubic x='120' y='20' controlPoint1='[100,15]' />
		<line id="horizontal" step='parent.step' start='[]' end='[3]' />
		<outline target='=creation.getLine([],[3],.4)' strokeWidth='1.0' />
		<extrude id="bracket test" scalepath='[0,0,0],[1,1,1],[0,0,2]' segments="5" target="[[],(0,-30),[20]],[ [5,-3],(5,-25),[12,-3]],[[30],(30,-10),[40]]" endz="3.0" twist="30" y='-40' />
		<polygon id="polygon test" threesidedpolygon="test" radius="20.0" sides="3" />
		<extrude id="extrude crooked" id="extrude crooked" path='[0,0,0],[0,45,1],[33,0,2]' target="[0,0,0],[20,0,0],[0,10,0]" segments="5" y="50" endz="3.0" />
		<polygon id="heptagon" roundOverSide='-0.2' segmentcenter='[]' wedge.center='[]' id="star" radius="20" sides="7" start='1' />
		<dictionary id="double y" return='=[x*2,y,z]' />
		-->
		<lineation paths='=creation.getPolygon(7,20.0)' qqqpaths='=creation.getPolygon(7,20.0), creation.getPolygon(-11,10.0)' id="ring" translate='true' translate.rectangular.x='40' />
		<function id="doubley" parameters='x,y,z' >
			<statement x='=x*2' />
			<return return='=[x,y*2,z]' />
		</function>
		<function id="half" parameters='number' >
			<return return='=0.5*number' />
		</function>
		<function id="triple" parameters='number' >
			<statement number='=number*3' />
			<return return='=number' />
		</function>
		<wedge id="wedgeSeven" target='=document.getElementByID($ring)' center='[]' />
		<function id="minus80" parameters='u=-80' return='=u*2' />
		<qqqextrude id="mesa" scalepath='[1,1],[1,1,1],[0.5,0.5,1],[0.5,0.5,2]' equation.rectangular='{"x":x+20}' target="=creation.getPolygon({rotate.z:20,rotationOverSide:0.5,radius:10,diameter.y:40,scale.rectangular.x:2})" end.z="3.0" qqqtranslate.rectangular.y='=document.getElementByID($triple)(-20)' matrix.matrix='[[1.0,0.0,0.0,22.2],[0.0, 1.0, 0.0, 77.0]]' />
		<qqqtranslate target='=document.getElementByID($mesa)' rectangular.x='50' />
		<scale id="septagon" target='=creation.getCircle(10, 60.0)' rectangular.x='1.00001' />
		<translate target='=document.getElementByID($septagon)' rectangular.x='40' />
		<qqqextrude id="exseptagon" target="=document.getElementByID($septagon)" end.z="3.0"  />
		<qqqflip axis='[-1, 1]' origin='[]' reverse='f' target='=document.getElementByID($exseptagon)' />
		<!--
			<extrude id="extrude pentagon" segments="5" target="=document.getElementByID($ring)" end="=document.getElementByID($vertex_holder).getPaths()[0][0]" tilttox_comment="2" twistpath_comment="[0,0],[1,30],[2,0]" x="40" />
			<outline closed='f' target='=document.getElementByID($septagon)' strokeWidth='3.0' />
			<extrude target="=document.getElementByID($hang)" endz="3.0" x="80" y='-80' />
			<lineation paths='ring' id="hang" overhang.inclination_comment='60' x='50' />
			<polygon id="square" id="negative square" radius="10" sides="-4" />
			<extrude id="extrude pentagon" segments="5" target="=document.getElementByID($star), document.getElementByID('negative square')" end="=document.getElementByID($vertex_holder).getPaths()[0][0]" tilttox="2" twistpath="[0,0],[1,30],[2,0]" x="40" />
			-->
			<!--
				<extrude id="extrude hook" maximumunbuckling='3.0' path='[0],[20],[0,-10],[-5,-5]' segments="5" target="[0,0],[2,3],[0,3]" tilttopz="1" x="80" />
				<extrude id="extrude difference" target="=document.getElementByID('pentagon square')" endz="3.0" x="80" y='-80' />
				-->
			</fabmetheus>
