Skip to content

Instantly share code, notes, and snippets.

@doubleshow
Created September 29, 2015 15:48
Show Gist options
  • Save doubleshow/d26c14c01dc1341ae283 to your computer and use it in GitHub Desktop.
Save doubleshow/d26c14c01dc1341ae283 to your computer and use it in GitHub Desktop.
craftml
<craft>
<info>
<title>Android with gearbox</title>
</info>
<style>
body{
opacity:0.4;
}
</style>
<craft name="boxmodule" module="EkfBD"/>
<craft name="hinge" module="./hinge.stl"/>
<craft name="hinge2" module="41Tmu"/>
<part name="head">
<dome color="lime"></dome>
<!-- eyes -->
<row spacing="4" t="translate(1.5,8.5,1)">
<repeat n="2">
<sphere radius="0.7" color="white"/>
</repeat>
</row>
<!--radar -->
<row t="translate(1,4,3)" spacing="4">
<cylinder radius="0.5" height="3" t="rotateY(-30)" color="lime"/>
<cylinder radius="0.5" height="3" t="rotateY(30)" color="lime"/>
</row>
</part>
<part name="legs">
<row spacing="2">
<repeat n="2">
<stack>
<cylinder radius="1" height="3"/>
<dome width="2" t="rotateY(180)"/>
</stack>
</repeat>
</row>
</part>
<part name="arms">
<row spacing="11">
<repeat n="2">
<stack>
<dome width="2"/>
<cylinder radius="1" height="5"/>
<dome width="2" t="rotateY(180)"/>
</stack>
</repeat>
</row>
</part>
<part name="body">
<cylinder></cylinder>
</part>
<head t="rotateX(350) translate(2,-0.5,16.5)"/>
<stack>
<g l="centerXY() select(body) cut(.margin)">
<body color="lime"></body>
<boxmodule left="10" right="10" t="rotateZ(90)
scale(0.6)
translate(0,0,3)"/>
</g>
<legs color="lime"/>
</stack>
<arms t="translate(-4.5,0,5)" color="lime"></arms>
<hinge2 t="scale(0.2,0.2,0.2) rotateX(90) translate(5,-1,14.5)"/>
</craft>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment