Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ad-si/LuaCAD
/ functions
Functions
837 in github.com/ad-si/LuaCAD
⨍
Functions
837
◇
Types & classes
113
↓ 4 callers
Function
named_color
Resolve a CSS3/SVG named color (the same 147 colors supported by OpenSCAD) or a hex color string (`#RGB`, `#RRGGBB`, `#RGBA`, `#RRGGBBAA`).
crates/luacad/src/geometry.rs:74
↓ 4 callers
Function
navigate_match
Navigate to the next (+1) or previous (-1) search match, wrapping around.
crates/luacad-studio/src/ui.rs:115
↓ 4 callers
Method
openNode
(e)
website/highlight.min.js:20
↓ 4 callers
Function
register_bosl
Register all BOSL2 functions under `bosl.*` in the given Lua state.
crates/luacad/src/bosl.rs:615
↓ 4 callers
Method
resolve_theme
(&self)
crates/luacad-studio/src/app.rs:178
↓ 4 callers
Method
setCurrent
OpenCSG/src/scissorMemo.cpp:159
↓ 4 callers
Method
setIntersected
OpenCSG/src/scissorMemo.cpp:98
↓ 4 callers
Method
set_orthographic_projection
( &mut self, height: f32, z_near: f32, z_far: f32, )
crates/luacad-studio/src/camera.rs:124
↓ 4 callers
Function
sub
(a: [f32; 3], b: [f32; 3])
crates/luacad/src/render.rs:554
↓ 4 callers
Function
vkey
(x: f32, y: f32, z: f32)
crates/luacad/src/export.rs:111
↓ 3 callers
Method
GetHeight
Returns the width of the frame buffer object.
OpenCSG/src/frameBufferObject.h:72
↓ 3 callers
Method
GetWidth
Returns the width of the frame buffer object.
OpenCSG/src/frameBufferObject.h:70
↓ 3 callers
Function
M
website/highlight.min.js:1078
↓ 3 callers
Function
_
(e)
website/highlight.min.js:180
↓ 3 callers
Method
addRule
(e,n)
website/highlight.min.js:142
↓ 3 callers
Method
closeNode
(e)
website/highlight.min.js:25
↓ 3 callers
Method
considerAll
()
website/highlight.min.js:142
↓ 3 callers
Function
create_context
( window: &winit::window::Window, stencil_bits: u8, )
crates/luacad-studio/src/gl_context.rs:178
↓ 3 callers
Function
cross
(a: [f32; 3], b: [f32; 3])
crates/luacad/src/render.rs:562
↓ 3 callers
Function
dot
(a: [f32; 3], b: [f32; 3])
crates/luacad/src/render.rs:570
↓ 3 callers
Function
empty_mesh
()
crates/luacad/src/geometry.rs:17
↓ 3 callers
Function
export_obj
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:434
↓ 3 callers
Function
export_ply
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:397
↓ 3 callers
Function
extract_cyl_preview
(t: &mlua::Table, axis: CylAxis)
crates/luacad/src/bosl.rs:164
↓ 3 callers
Function
get_objc_msgsend_addr
()
crates/luacad-studio/src/gl_context.rs:96
↓ 3 callers
Function
glad_dlsym_handle
OpenCSG/src/glad/src/gl.cpp:1687
↓ 3 callers
Function
haveHardwareOcclusionQueries
OpenCSG/src/opencsgRender.cpp:34
↓ 3 callers
Function
ie
website/highlight.min.js:308
↓ 3 callers
Function
mesh_to_flat_arrays
(mesh: &CsgMesh<()>)
crates/luacad/src/export.rs:637
↓ 3 callers
Method
num_tri
Return the number of triangles in the mesh.
crates/luacad/src/export.rs:757
↓ 3 callers
Function
parityTestAndDiscard
OpenCSG/src/renderGoldfeather.cpp:322
↓ 3 callers
Function
physical_to_egui
Convert physical pixel coordinates (y from bottom) to egui logical coordinates (y from top).
crates/luacad-studio/src/egui_integration.rs:232
↓ 3 callers
Function
quantize
(v: f32)
crates/luacad/src/export.rs:106
↓ 3 callers
Method
set_perspective_projection
( &mut self, fov_y: Deg<f32>, z_near: f32, z_far: f32, )
crates/luacad-studio/src/camera.rs:112
↓ 3 callers
Method
set_view
(&mut self, position: Vec3, target: Vec3, up: Vec3)
crates/luacad-studio/src/camera.rs:154
↓ 3 callers
Function
t
(e)
website/highlight.min.js:14
↓ 3 callers
Function
table_get_u32
(t: &mlua::Table, key: &str)
crates/luacad/src/lua_engine.rs:27
↓ 3 callers
Function
tessellate_cube
(w: f32, d: f32, h: f32, center: bool)
crates/luacad-studio/src/csg_tree.rs:544
↓ 3 callers
Function
tessellate_cylinder
( r1: f32, r2: f32, h: f32, segments: u32, center: bool, )
crates/luacad-studio/src/csg_tree.rs:678
↓ 3 callers
Function
timestamped_filename
Generate a timestamped default filename for export, e.g. `2026-03-01t2051_model.3mf`.
crates/luacad-studio/src/main.rs:62
↓ 3 callers
Function
transform_point
(m: &Mat4, p: [f32; 3])
crates/luacad/src/render.rs:615
↓ 3 callers
Method
write_to
(&self, out: &mut String, depth: usize)
crates/luacad/src/scad_export.rs:291
↓ 2 callers
Method
BeginCapture
Binds the created frame buffer texture such we can render into it.
OpenCSG/src/frameBufferObject.cpp:138
↓ 2 callers
Method
Bind
Sets the frame buffer texture as active texture object.
OpenCSG/src/frameBufferObject.cpp:152
↓ 2 callers
Method
EndCapture
Unbinds frame buffer texture.
OpenCSG/src/frameBufferObject.cpp:145
↓ 2 callers
Function
H
(e,...n)
website/highlight.min.js:107
↓ 2 callers
Function
Z
(e,n,{key:t})
website/highlight.min.js:109
↓ 2 callers
Method
aspect
(&self)
crates/luacad-studio/src/camera.rs:43
↓ 2 callers
Method
beginQuery
OpenCSG/src/occlusionQuery.cpp:54
↓ 2 callers
Method
bind
Bind this FBO for rendering. Sets viewport to (0, 0, w, h).
crates/luacad-studio/src/scene.rs:1187
↓ 2 callers
Function
calcMaxDepthComplexity
OpenCSG/src/primitiveHelper.cpp:79
↓ 2 callers
Function
cmd_run
(args: &[String])
crates/luacad/src/main.rs:363
↓ 2 callers
Method
compile
()
website/highlight.min.js:131
↓ 2 callers
Function
compute_camera_vectors
Compute camera position from azimuth/elevation/distance.
crates/luacad-studio/src/scene.rs:432
↓ 2 callers
Function
compute_fit_distance
Compute the camera distance needed to fit all geometries in view.
crates/luacad-studio/src/scene.rs:389
↓ 2 callers
Function
degrees
(v: f32)
crates/luacad-studio/src/camera.rs:13
↓ 2 callers
Method
disableDepthBounds
OpenCSG/src/scissorMemo.cpp:92
↓ 2 callers
Function
discardFragments
OpenCSG/src/renderGoldfeather.cpp:272
↓ 2 callers
Function
do_convert
Run a single convert cycle: execute Lua, then export. Returns Ok(object_count) on success, Err(message) on failure.
crates/luacad/src/main.rs:146
↓ 2 callers
Function
drawQuad
OpenCSG/src/openglHelper.cpp:48
↓ 2 callers
Function
egui_button
(button: &MouseButton)
crates/luacad-studio/src/egui_integration.rs:310
↓ 2 callers
Function
egui_key
(key: &Key)
crates/luacad-studio/src/egui_integration.rs:243
↓ 2 callers
Method
empty
()
crates/luacad/src/export.rs:727
↓ 2 callers
Method
endQuery
OpenCSG/src/occlusionQuery.cpp:58
↓ 2 callers
Function
export_manifold_3mf
Backwards-compatible wrapper for 3MF-only callers.
crates/luacad/src/export.rs:1507
↓ 2 callers
Function
export_stl
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:409
↓ 2 callers
Function
extract_scalar_preview
Extract preview params when a single scalar value is passed. E.g. `bosl.cuboid(40)` → 40×40×40 cuboid, `bosl.spheroid(5)` → r=5.
crates/luacad/src/bosl.rs:486
↓ 2 callers
Function
extract_sphere_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:194
↓ 2 callers
Method
generate
(&mut self)
crates/luacad-studio/src/input.rs:187
↓ 2 callers
Function
getARBFragmentProgram
OpenCSG/src/context.cpp:123
↓ 2 callers
Function
getARBProgram
OpenCSG/src/context.cpp:94
↓ 2 callers
Function
getConvexity
OpenCSG/src/primitiveHelper.cpp:64
↓ 2 callers
Function
getGLSLShader
OpenCSG/src/context.cpp:128
↓ 2 callers
Method
getMatcher
(e)
website/highlight.min.js:138
↓ 2 callers
Method
getMax
OpenCSG/src/channelManager.cpp:84
↓ 2 callers
Function
getOcclusionQuery
OpenCSG/src/occlusionQuery.cpp:107
↓ 2 callers
Method
getQueryResult
OpenCSG/src/occlusionQuery.cpp:62
↓ 2 callers
Function
gl_BufferData
( target: u32, size: isize, data: *const c_void, usage: u32, )
crates/luacad-studio/src/scene.rs:957
↓ 2 callers
Function
gl_FramebufferRenderbuffer
( target: u32, attachment: u32, renderbuffer_target: u32, renderbuffer: u32, )
crates/luacad-studio/src/scene.rs:1001
↓ 2 callers
Function
gl_UseProgram
(program: u32)
crates/luacad-studio/src/scene.rs:815
↓ 2 callers
Function
gl_clear_screen
Clear the framebuffer with a background color and reset depth + stencil.
crates/luacad-studio/src/scene.rs:1237
↓ 2 callers
Function
gladLoadGLUserPtr
OpenCSG/src/glad/src/gl.cpp:1594
↓ 2 callers
Function
glad_gl_free_extensions
OpenCSG/src/glad/src/gl.cpp:1441
↓ 2 callers
Method
index
OpenCSG/src/sequencer.h:61
↓ 2 callers
Method
init
OpenCSG/src/channelManager.cpp:124
↓ 2 callers
Function
initExtensionLibrary
OpenCSG/src/openglExt.h:37
↓ 2 callers
Function
initIntOptions
OpenCSG/src/settings.cpp:73
↓ 2 callers
Function
intersectXY
OpenCSG/src/primitiveHelper.cpp:33
↓ 2 callers
Method
isDepthBoundsTestEnabled
OpenCSG/src/scissorMemo.cpp:66
↓ 2 callers
Function
mat4_rotate_x
(deg: f32)
crates/luacad-studio/src/csg_tree.rs:112
↓ 2 callers
Function
mat4_rotate_y
(deg: f32)
crates/luacad-studio/src/csg_tree.rs:123
↓ 2 callers
Function
materialize_scad
(node: &ScadNode)
crates/luacad/src/geometry.rs:264
↓ 2 callers
Function
modifier_label
Return the platform modifier key label: ⌘ on macOS, Ctrl elsewhere.
crates/luacad-studio/src/ui.rs:12
↓ 2 callers
Function
msg_send_one_ptr
()
crates/luacad-studio/src/gl_context.rs:110
↓ 2 callers
Function
ne
website/highlight.min.js:174
↓ 2 callers
Method
newValue
OpenCSG/src/channelManager.cpp:68
↓ 2 callers
Function
nextPow2
OpenCSG/src/channelManager.cpp:40
↓ 2 callers
Function
o
website/highlight.min.js:676
↓ 2 callers
Function
ortho
( left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32, )
crates/luacad/src/render.rs:648
↓ 2 callers
Function
paint_dropdown_arrow
Paint a small down-pointing triangle at the right edge of a button's rect.
crates/luacad-studio/src/ui.rs:24
← previous
next →
101–200 of 837, ranked by callers