KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
368 stars 30 forks source link

[CRYPTIC]: using an arc in a pattern results in an internal engine error #3054

Closed paultag closed 2 months ago

paultag commented 2 months ago

Paste minimal KCL source that produces a cryptic error

startSketchOn('XY')
  |> startProfileAt([10, 0], %)
  |> arc({
       angle_start: 180,
       angle_end: 180,
       radius: 1.5
     }, %)
  |> close(%)
  |> patternCircular2d({
       arcDegrees: 360,
       center: [0, 0],
       repetitions: 5,
       rotateDuplicates: true
     }, %)

Expected Behavior

Something that explains the problem instead of image

Additional Context

No response

paultag commented 2 months ago

core issue here is the angle start/end is 180, which is 0.