Hooks

Hooks gives you a tool to add objects to your projectbox. But be aware that hooks are only partially controlled by the YAPPgenerator!

module baseHookOutside()
{
  translate([shellLength/2, shellWidth-roundRadius, 0])
  {
    color("green") 
    {
      cube([10,20,((basePlaneThickness/2)+(baseWallHeight-ridgeHeight))]);
    }
  }
} //  baseHookOutside()


module baseHookInside()
{
  translate([50, wallThickness, (basePlaneThickness/2)])
  {
    color("blue")
    {
      cube([2,(shellWidth-(wallThickness*2)),((basePlaneThickness/2)+baseWallHeight)]);
    }
  }
} //  baseHookInside()


module lidHookOutside()
{
} //  lidHookOutside()


module lidHookInside()
{
  translate([50, wallThickness
               , ((lidPlaneThickness/2)+(lidPlaneThickness+lidWallHeight+0.05))*-1])
  {
    color("red")
    {
      cube([2,(shellWidth-(wallThickness*2)),(lidPlaneThickness+lidWallHeight)]);
    }
  }
} //  lidHookInside()

Hooks are only partially controlled by the YAPPgenerator!

Last updated