KittyCAD / modeling-app

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

Remove Line Artifact from `arc` #4136

Open jgomez720 opened 3 weeks ago

jgomez720 commented 3 weeks ago

Description

I used the UI to create this sketch first, then edited the code and replaced one of the lines with an arc. The sketch leaves a line artifact with the dimension. This is not needed

KCL

sketch001 = startSketchOn('XZ')
  |> startProfileAt([1.87, 154.16], %)
  |> line([86.22, -141.51], %)
  |> arc({
    angleStart: 120,
    angleEnd: 300,
    radius: 50,
  }, %)
  |> line([81.54, -127.45], %)
  |> line([-189.31, 62.79], %)
  |> line([-101.21, 2.81], %)
  |> line([-96.53, -63.73], %)
  |> line([68.7, 148.48], %)
  |> line([44.32, 108.42], %)
  |> lineTo([profileStartX(%), profileStartY(%)], %)
  |> close(%)

Version

v0.25.6

Recordings/Screenshots

Image

jgomez720 commented 3 weeks ago

@franknoirot reassign as needed