import static uk.co.nickthecoder.foocad.chamferedextrude.v1.ChamferedExtrude.* class MyModel : Model { var chamfer = 0.8 var height = 1.6 var fontSize = 14 var extraBold = 1.0 fun extrude( shape : Shape2d ) : Shape3d { return shape.chamferedExtrude( height, 0, chamfer ) } fun text( str : String ) = Text( str, BOLD, fontSize ).offset( extraBold ) override fun build() : Shape3d { return extrude(text("EDDY")) } }