Simplify the pentagon test (#2474)
* plumbus fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * Simplify the pentagon test * Fix up triangle png * Triangle plumbuses now face the camera --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -128,15 +128,6 @@ async fn serial_test_lego() {
|
||||
twenty_twenty::assert_image("tests/executor/outputs/lego.png", &result, 0.999);
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn serial_test_pentagon_fillet_desugar() {
|
||||
let code = include_str!("inputs/pentagon_fillet_desugar.kcl");
|
||||
let result = execute_and_snapshot(code, kcl_lib::settings::types::UnitLength::Cm)
|
||||
.await
|
||||
.unwrap();
|
||||
twenty_twenty::assert_image("tests/executor/outputs/pentagon_fillet_desugar.png", &result, 0.999);
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn serial_test_pentagon_fillet_sugar() {
|
||||
let code = include_str!("inputs/pentagon_fillet_sugar.kcl");
|
||||
@ -1955,12 +1946,12 @@ const plumbus0 = make_circle(p, 'a', [0, 0], 2.5)
|
||||
tags: ['arc-a', getOppositeEdge('arc-a', %)]
|
||||
}, %)
|
||||
|
||||
// const plumbus1 = make_circle(p, 'b', [0, 0], 2.5)
|
||||
// |> extrude(10, %)
|
||||
// |> fillet({
|
||||
// radius: 0.5,
|
||||
// tags: ['arc-b', getOppositeEdge('arc-b', %)]
|
||||
// }, %)
|
||||
const plumbus1 = make_circle(p, 'b', [0, 0], 2.5)
|
||||
|> extrude(10, %)
|
||||
|> fillet({
|
||||
radius: 0.5,
|
||||
tags: ['arc-b', getOppositeEdge('arc-b', %)]
|
||||
}, %)
|
||||
"#;
|
||||
|
||||
let result = execute_and_snapshot(code, kcl_lib::settings::types::UnitLength::Mm)
|
||||
|
Reference in New Issue
Block a user