MCPcopy Create free account

hub / github.com/ad-si/LuaCAD / functions

Functions837 in github.com/ad-si/LuaCAD

↓ 151 callersFunctionc
(e)
website/highlight.min.js:43
↓ 94 callersFunctiongenerate_scad
Generate a complete OpenSCAD file from a list of geometry ScadNodes. Multiple objects are wrapped in a union().
crates/luacad/src/scad_export.rs:813
↓ 86 callersFunctionrun_lua_scad
Helper: run Lua code and return the collected ScadNodes.
crates/luacad/src/lua_engine.rs:1643
↓ 59 callersMethodis_empty
(&self)
crates/luacad/src/export.rs:735
↓ 59 callersFunctiontable_get_f64
Extract a float from a Lua table by string key.
crates/luacad/src/bosl.rs:106
↓ 59 callersFunctionwrite_indent
(out: &mut String, depth: usize)
crates/luacad/src/scad_export.rs:276
↓ 48 callersMethodend
OpenCSG/src/batch.cpp:121
↓ 45 callersFunctionrun_lua
(name: &str)
crates/luacad/tests/example_snapshots.rs:16
↓ 39 callersMethodbegin
OpenCSG/src/batch.cpp:117
↓ 39 callersFunctionlua_val_to_f32
(v: &mlua::Value)
crates/luacad/src/geometry.rs:39
↓ 35 callersFunctionb
(...e)
website/highlight.min.js:46
↓ 35 callersFunctionregister_functions
Register a batch of simple BOSL2 functions onto a Lua table.
crates/luacad/src/bosl.rs:597
↓ 34 callersFunctionexecute_lua
Execute LuaCAD code and return the resulting geometries. Returns `Ok(geometries)` on success, or `Err(message)` on failure.
crates/luacad/src/lua_engine.rs:201
↓ 27 callersFunctiontable_get_f32
(t: &mlua::Table, key: &str)
crates/luacad/src/lua_engine.rs:17
↓ 21 callersMethodptr
(&self)
crates/luacad/src/export.rs:731
↓ 20 callersFunctionglad_gl_has_extension
OpenCSG/src/glad/src/gl.cpp:1491
↓ 19 callersMethodrender
OpenCSG/src/batch.cpp:38
↓ 17 callersFunctionm
(...e)
website/highlight.min.js:46
↓ 16 callersMethodrenderToChannel
OpenCSG/src/channelManager.cpp:326
↓ 16 callersMethodsize
OpenCSG/src/batch.cpp:125
↓ 15 callersFunctiond
(e)
website/highlight.min.js:44
↓ 15 callersMethodlabel
(self)
crates/luacad-studio/src/app.rs:25
↓ 14 callersFunctionassert_manifold_3mf_ok
Helper: export via manifold path and assert file is non-empty.
crates/luacad/src/export.rs:1810
↓ 14 callersMethodgetOperation
OpenCSG/src/primitive.cpp:48
↓ 13 callersMethodexec
(e)
website/highlight.min.js:133
↓ 13 callersMethodfind
OpenCSG/src/channelManager.cpp:257
↓ 13 callersFunctionmake_leaf_group
( vertices: Vec<[f32; 3]>, ctx: &Ctx, op: c_int, convexity: u32, )
crates/luacad-studio/src/csg_tree.rs:522
↓ 13 callersFunctionrun_bosl_lua
(code: &str)
crates/luacad/src/bosl.rs:1868
↓ 13 callersFunctiontable_get_f64_idx
Extract a float from a Lua table by integer key.
crates/luacad/src/bosl.rs:115
↓ 13 callersMethodto_scad
(&self)
crates/luacad/src/scad_export.rs:285
↓ 12 callersMethodadd
(e)
website/highlight.min.js:29
↓ 12 callersFunctiongeom_from_scad
Helper: create a CsgGeometry with only a ScadNode (no pre-materialized mesh).
crates/luacad/src/export.rs:1801
↓ 11 callersMethodenableScissor
OpenCSG/src/scissorMemo.cpp:58
↓ 11 callersFunctionl
(e,n,t)
website/highlight.min.js:677
↓ 11 callersMethodstore
OpenCSG/src/scissorMemo.cpp:50
↓ 10 callersMethodclear
OpenCSG/src/channelManager.cpp:517
↓ 10 callersMethoddisableScissor
OpenCSG/src/scissorMemo.cpp:62
↓ 10 callersFunctionline_range_at
Find the line start and end (including trailing newline) for the line containing `char_idx`.
crates/luacad-studio/src/editor.rs:42
↓ 10 callersFunctionmerge_geometries
(geometries: &[CsgGeometry])
crates/luacad/src/export.rs:365
↓ 10 callersFunctionnormalize
(v: [f32; 3])
crates/luacad/src/render.rs:574
↓ 10 callersFunctionv
(e)
website/highlight.min.js:278
↓ 10 callersFunctionvec3
(x: f32, y: f32, z: f32)
crates/luacad-studio/src/camera.rs:9
↓ 9 callersMethodgetBoundingBox
OpenCSG/src/primitive.cpp:74
↓ 9 callersFunctiongl_BindFramebuffer
(target: u32, framebuffer: u32)
crates/luacad-studio/src/scene.rs:974
↓ 9 callersFunctionmanifold_preview
Build a ScadNode tree from primitives, materialize it via Manifold, and return CsgGroups ready for OpenCSG rendering.
crates/luacad-studio/src/csg_tree.rs:754
↓ 9 callersFunctionmat4_mul
Multiply two column-major 4x4 matrices: result = a * b.
crates/luacad-studio/src/csg_tree.rs:80
↓ 8 callersFunctiona
(e,...n)
website/highlight.min.js:16
↓ 8 callersMethodcurrent
OpenCSG/src/channelManager.cpp:292
↓ 8 callersMethodexecute_lua_code
(&mut self)
crates/luacad-studio/src/app.rs:192
↓ 8 callersFunctiongetVertexShader
OpenCSG/src/settings.cpp:63
↓ 8 callersFunctiongl_BindBuffer
(target: u32, buffer: u32)
crates/luacad-studio/src/scene.rs:953
↓ 8 callersFunctionmsg_send_no_args
()
crates/luacad-studio/src/gl_context.rs:106
↓ 8 callersFunctiontable_get_bool
Extract a bool from a Lua table by string key.
crates/luacad/src/bosl.rs:124
↓ 7 callersFunctionK
website/highlight.min.js:106
↓ 7 callersMethodaddText
(e)
website/highlight.min.js:19
↓ 7 callersMethodfree
OpenCSG/src/channelManager.cpp:317
↓ 7 callersFunctiongetOption
OpenCSG/src/settings.cpp:89
↓ 7 callersFunctiongetRenderData
OpenCSG/src/renderSCS.cpp:64
↓ 7 callersMethodignoreMatch
()
website/highlight.min.js:14
↓ 7 callersFunctionn
(n,t)
website/highlight.min.js:125
↓ 7 callersMethodrequest
OpenCSG/src/renderSCS.cpp:159
↓ 7 callersFunctionw
()
website/highlight.min.js:276
↓ 7 callersFunctionx
(e,n,t={})
website/highlight.min.js:60
↓ 6 callersFunctioncad_to_gl
(v: [f32; 3])
crates/luacad/src/render.rs:550
↓ 6 callersFunctionegui_modifiers
(modifiers: &Modifiers)
crates/luacad-studio/src/egui_integration.rs:300
↓ 6 callersMethodextension
(self)
crates/luacad/src/export.rs:69
↓ 6 callersFunctiongl_BindRenderbuffer
(target: u32, renderbuffer: u32)
crates/luacad-studio/src/scene.rs:986
↓ 6 callersFunctionlint
Lint Lua source code using selene with LuaCAD's custom standard library. Returns a list of diagnostics, or an error if the code cannot be parsed.
crates/luacad/src/linter.rs:26
↓ 6 callersFunctionmaterialize_scad_manifold
Recursively evaluate a ScadNode tree into a Manifold object. All boolean operations, transforms, and primitives are performed directly by the Manifold
crates/luacad/src/export.rs:820
↓ 6 callersFunctionq
(e,n)
website/highlight.min.js:107
↓ 6 callersFunctionsave_last_file
Persist the last opened file path (or clear it).
crates/luacad-studio/src/main.rs:37
↓ 6 callersMethodvec
OpenCSG/src/renderSCS.cpp:53
↓ 5 callersFunctionbuild_export_mesh
Run the same pipeline as export_3mf, returning (verts, tris) for inspection.
crates/luacad/src/export.rs:1536
↓ 5 callersFunctionexport_scad
Export OpenSCAD source to a file.
crates/luacad/src/scad_export.rs:849
↓ 5 callersFunctionf
(e,t,i,r)
website/highlight.min.js:187
↓ 5 callersFunctionh
(e,{joinWith:n})
website/highlight.min.js:52
↓ 5 callersFunctionp
(e)
website/highlight.min.js:50
↓ 5 callersMethodrecall
OpenCSG/src/scissorMemo.cpp:54
↓ 5 callersFunctionrenderLayer
OpenCSG/src/primitiveHelper.cpp:126
↓ 5 callersFunctiontable_get_bool
(t: &mlua::Table, key: &str)
crates/luacad/src/lua_engine.rs:23
↓ 5 callersFunctiontable_get_f32
(t: &mlua::Table, key: &str)
crates/luacad/src/geometry.rs:25
↓ 5 callersFunctiontable_get_size2
Extract a 2-element size [w, d] from a Lua table key that holds a sub-table.
crates/luacad/src/bosl.rs:211
↓ 5 callersFunctiontable_segments
Get segments from table: checks "segments" and "fn" keys, returns default otherwise.
crates/luacad/src/lua_engine.rs:32
↓ 4 callersFunctionE
(e,n)
website/highlight.min.js:251
↓ 4 callersFunctionN
(a,r)
website/highlight.min.js:223
↓ 4 callersMethodbounding_box
Return the axis-aligned bounding box as (min, max) in [x, y, z].
crates/luacad/src/export.rs:740
↓ 4 callersFunctione
(n)
website/highlight.min.js:6
↓ 4 callersFunctionedge_function
(a: [f32; 3], b: [f32; 3], c: [f32; 3])
crates/luacad/src/render.rs:736
↓ 4 callersFunctionexport_3mf
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:123
↓ 4 callersFunctionexport_manifold
Export geometries entirely via the Manifold library. Walks each geometry's ScadNode tree, performing all boolean operations, transforms, and primitiv
crates/luacad/src/export.rs:1439
↓ 4 callersFunctionextract_manifold_mesh
Extract the triangle mesh (vertices + triangles) from a Manifold object.
crates/luacad/src/export.rs:1118
↓ 4 callersFunctiong
(e)
website/highlight.min.js:45
↓ 4 callersFunctiongetContext
redeclared from opencsg.h
OpenCSG/src/context.cpp:40
↓ 4 callersFunctiongetGLSLProgram
OpenCSG/src/context.cpp:156
↓ 4 callersFunctiongetParityDepthFunc
OpenCSG/src/renderGoldfeather.cpp:263
↓ 4 callersFunctiongl_RenderbufferStorage
( target: u32, format: u32, width: i32, height: i32, )
crates/luacad-studio/src/scene.rs:990
↓ 4 callersFunctioni
website/highlight.min.js:17
↓ 4 callersFunctionicon_button
An icon button: a small square button with a Lucide icon painted inside. Returns the `Response` so callers can chain `.on_hover_text()` / `.clicked()`
crates/luacad-studio/src/ui.rs:97
↓ 4 callersFunctionlua_val_to_scad
Format a Lua value as an OpenSCAD argument string fragment.
crates/luacad/src/bosl.rs:24
↓ 4 callersMethodmesh
Return a reference to the mesh, materializing it first if necessary.
crates/luacad/src/geometry.rs:251
next →1–100 of 837, ranked by callers