KCL (KITTYCAD LANGUAGE)SOURCE
✓ executed/*
Generated by Text-to-CAD:
A rectangular plate 50mm × 30mm × 5mm with a single circular hole 8mm in diameter centered on the plate.
*/
@settings(defaultLengthUnit = mm)
// Constants
plateLength = 50
plateWidth = 30
plateThickness = 5
holeDiameter = 8
// Plate with a centered circular hole
plate = startSketchOn(XY)
|> rectangle(center = [0, 0], width = plateLength, height = plateWidth)
|> subtract2d(tool = circle(center = [0, 0], diameter = holeDiameter))
|> extrude(length = plateThickness)