Files
modeling-app/rust/kcl-lib/tests/subtract_regression08/unparsed.snap
Jess Frazelle bd01059a92 more csg regression tests (#7032)
* more csg regression tests

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* artifacts

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2025-05-18 16:50:51 -07:00

34 lines
1017 B
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing subtract_regression08.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)
sweepExtrude000 = sweep(sketch000Profile000, path = sketch001Profile000, sectional = true)
sketch003 = startSketchOn(XY)
sketch003Profile000 = startProfile(sketch001, at = [0, 0])
|> xLine(length = 0.937)
|> arc(angleStart = 270, angleEnd = 360, radius = 2.313)
|> yLine(length = 0.937)
sketch002 = startSketchOn(YZ)
sketch002Profile000 = circle(sketch002, center = [0, 0], radius = 0.9375)
sweepCut000Extrude = sweep(sketch002Profile000, path = sketch003Profile000, sectional = true)
sweepCut000 = subtract(sweepExtrude000, tools = sweepCut000Extrude)