Remove start sketch at (#5586)

* remove start sketch at

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

* fixes

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

* updates

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

* updates

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

* fixes

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

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-01 16:32:46 -08:00
committed by GitHub
parent c3bdc6f106
commit 66f3500ca9
84 changed files with 5416 additions and 7913 deletions

View File

@ -997,7 +997,7 @@ fn o(c_x, c_y) {
o_x2 = c_x + o_r * cos((225 + a) / 360 * tau())
o_y2 = c_y + o_r * sin((225 + a) / 360 * tau())
// End point for the bottom startSketchAt
// End point for the bottom startSketch
o_x3 = c_x + o_r * cos((45 - a) / 360 * tau())
o_y3 = c_y + o_r * sin((45 - a) / 360 * tau())
@ -1875,7 +1875,8 @@ thing = 'foo'
let test_program = r#"
/* comment at start */
mySk1 = startSketchAt([0, 0])"#;
mySk1 = startSketchOn(XY)
|> startProfileAt([0, 0], %)"#;
let program = crate::parsing::top_level_parse(test_program).unwrap();
let recasted = program.recast(&Default::default(), 0);
@ -1883,7 +1884,8 @@ mySk1 = startSketchAt([0, 0])"#;
recasted,
r#"/* comment at start */
mySk1 = startSketchAt([0, 0])
mySk1 = startSketchOn(XY)
|> startProfileAt([0, 0], %)
"#
);
}