Exit Full View
Up

/Tools/DeburringTool.foocad

DeburringTool
FooCAD Source Code
import static uk.co.nickthecoder.foocad.chamferedextrude.v1.ChamferedExtrude.*

class DeburringTool : Model {
    
    var bladeD = 3.0

    var size = Vector2( 100, 10 )

    override fun build() : Shape3d {
        val body = Circle( size.y / 2 ).sides(6).roundAllCorners(1)
            .chamferedExtrude( size.x, 2 )

        val hole = Cylinder( 30, bladeD/2 ).topTo(body.top+1)       

        val all = body - hole

        return all.rotateX(90).bottomTo(0)
    }
}