MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / round_function

Function round_function

crates/luacad/src/lua_engine.rs:2544–2552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2542 }
2543
2544 // =========================================================================
2545 // Rotate extrude tests (adapted from LuaCAD test_rotate_extrude.lua)
2546 // =========================================================================
2547
2548 #[test]
2549 fn rotate_extrude_simple() {
2550 let nodes = run_lua_scad(
2551 "local c = circle { r = 2 }:translate(5, 0)\n\
2552 return c:rotateextrude()",
2553 );
2554 let scad = generate_scad(&nodes);
2555 assert!(scad.contains("rotate_extrude("));

Callers

nothing calls this directly

Calls 1

execute_luaFunction · 0.85

Tested by

no test coverage detected