---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing subtract_regression05.kcl
---
@settings(defaultLengthUnit = in)

sketch001 = startSketchOn(XY)

sketch001Profile000 = startProfile(sketch001, at = [0, 0])
  |> xLine(length = 0.937)
  |> arc(angleStart = 270, angleEnd = 360, radius = 2.313)
  |> yLine(length = 0.937)

sketch000 = startSketchOn(YZ)

sketch000Profile000 = circle(sketch000, center = [0, 0], radius = 1.1875)
  |> subtract2d(tool = circle(center = [0, 0], radius = 0.9375))

sweepExtrude000 = sweep(sketch000Profile000, path = sketch001Profile000)

sketch004 = startSketchOn(XY)

sketch004Profile000 = startProfile(sketch004, at = [0.937, -1.1255])
  |> yLine(length = -0.162)
  |> xLine(length = -0.312)
  |> yLine(length = 0.162)
  |> xLine(length = 0.312)
  |> close()

revolveCut000Extrude = revolve(sketch004Profile000, axis = X, angle = 360)

revolveCut000 = subtract(sweepExtrude000, tools = revolveCut000Extrude)
