Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified public/kcl-samples/screenshots/router-template-cross-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/kcl-samples/screenshots/router-template-slate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/kcl-samples/screenshots/sheet-metal-bracket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 4 additions & 8 deletions rust/kcl-lib/e2e/executor/inputs/kittycad_svg.kcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
svg = startSketchOn(XY)
|> startProfile(at = [0, 0])

|> line(endAbsolute = [2.52, -26.04]) // MoveAbsolute
|> startProfile(at = [2.52, -26.04])
|> line(endAbsolute = [2.52, -25.2]) // VerticalLineAbsolute
|> line(endAbsolute = [0.84, -25.2]) // HorizontalLineAbsolute
|> line(endAbsolute = [0.84, -24.36]) // VerticalLineAbsolute
Expand Down Expand Up @@ -45,7 +43,6 @@ svg = startSketchOn(XY)
|> line(endAbsolute = [4.2, -26.88]) // VerticalLineHorizontal
|> line(endAbsolute = [5.04, -26.88]) // HorizontalLineRelative
|> line(endAbsolute = [5.04, -26.04]) // VerticalLineHorizontal

|> line(endAbsolute = [0.839996, -20.58]) // MoveRelative
|> line(endAbsolute = [0.839996, -24.36]) // VerticalLineHorizontal
|> line(endAbsolute = [2.52, -24.36]) // HorizontalLineAbsolute
Expand Down Expand Up @@ -129,9 +126,9 @@ svg = startSketchOn(XY)
|> line(endAbsolute = [13.44, -10.08]) // VerticalLineHorizontal
|> line(endAbsolute = [15.12, -10.08]) // HorizontalLineRelative
|> line(endAbsolute = [15.12, -13.44]) // VerticalLineHorizontal
|> line(endAbsolute = [14.28, -13.44]) // HorizontalLineRelative
// |> line(endAbsolute = [14.28, -13.44]) // HorizontalLineRelative

|> line(endAbsolute = [9.24, -13.44]) // MoveRelative
// |> line(endAbsolute = [9.24, -13.44]) // MoveRelative
|> line(endAbsolute = [11.76, -13.44]) // HorizontalLineRelative
|> line(endAbsolute = [11.76, -14.28]) // VerticalLineHorizontal
|> line(endAbsolute = [10.92, -14.28]) // HorizontalLineRelative here
Expand Down Expand Up @@ -299,8 +296,7 @@ svg = startSketchOn(XY)
|> line(endAbsolute = [12.6, -5.04]) // VerticalLineAbsolute
|> line(endAbsolute = [11.76, -5.04]) // HorizontalLineAbsolute
|> line(endAbsolute = [11.76, -5.88]) // VerticalLineAbsolute
|> line(endAbsolute = [10.92, -5.88]) // HorizontalLineAbsolute
|> line(endAbsolute = [10.92, -5.04]) // VerticalLineAbsolute
|> line(endAbsolute = [10.92, -5.04]) // HorizontalLineAbsolute
|> line(endAbsolute = [11.76, -5.04]) // HorizontalLineRelative

|> line(endAbsolute = [14.28, -10.92]) // MoveRelative
Expand Down
Loading
Loading