* Change tangentialArc, tangentialArcTo, and tangentialArcToRelative to keyword args * Change tangentialArc offset to angle and convert to kw arg calls * Fix lints * Fix sketch errors and all unit tests passing * Fix tangentialArcTo calls in KCL samples * Update tangentialArc in samples * Update sim test output * Fix formatting * Fix mistake in merge * Fix gear rack sample * Update output after more samples fixes * Update gear rack output * Add end label to docs snippet * Fix to not add endAbsolute for an arc with radius or angle arguments * Update docs outputs * Fix formatting * Fix executor tests * Fix formatting * Fix bench input files * Fix spelling * Improve error messages --------- Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev>
18 lines
513 B
Plaintext
18 lines
513 B
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Result of unparsing tan_arc_x_line.kcl
|
|
---
|
|
startX = 0
|
|
startY = 0
|
|
angleOffset = 135
|
|
r = 1
|
|
angleStart = 110
|
|
|
|
startSketchOn(XY)
|
|
|> startProfileAt([startX, startY], %)
|
|
|> angledLine(angle = angleStart, length = .000001)
|
|
|> tangentialArc(angle = angleOffset, radius = r, tag = $arc1)
|
|
|> tangentialArc(angle = angleOffset, radius = 0.5 * r, tag = $arc2)
|
|
|> tangentialArc(angle = -angleOffset, radius = 0.5 * r, tag = $arc3)
|
|
|> xLine(endAbsolute = 1)
|