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
↓ 2 callers
Function
parse_convert_args
Parse convert/watch args into (input, output_str, format_override, via_openscad, via_manifold).
crates/luacad/src/main.rs:399
↓ 2 callers
Function
print_help
()
crates/luacad/src/main.rs:7
↓ 2 callers
Function
quantize
Quantize a position to ~1μm grid for vertex welding.
crates/luacad/src/render.rs:526
↓ 2 callers
Method
resize
(&self, physical_size: winit::dpi::PhysicalSize<u32>)
crates/luacad-studio/src/gl_context.rs:38
↓ 2 callers
Function
resolve_format
Resolve the output format from override or file extension.
crates/luacad/src/main.rs:456
↓ 2 callers
Function
s
(e={})
website/highlight.min.js:26
↓ 2 callers
Function
state_file_path
Return the path to the state file (`~/.config/luacad/state.json`).
crates/luacad-studio/src/main.rs:32
↓ 2 callers
Function
subtractPrimitives
OpenCSG/src/renderSCS.cpp:520
↓ 2 callers
Function
system_is_dark_mode
Detect system dark mode. On macOS, checks AppleInterfaceStyle.
crates/luacad-studio/src/theme.rs:31
↓ 2 callers
Function
tessellate_sphere
(r: f32, segments: u32)
crates/luacad-studio/src/csg_tree.rs:641
↓ 2 callers
Method
top
()
website/highlight.min.js:28
↓ 2 callers
Function
u
(e)
website/highlight.min.js:45
↓ 2 callers
Function
y
(e)
website/highlight.min.js:258
↓ 1 callers
Method
DisableTextureTarget
Disables the texture target appropriate for this frame buffer object.
OpenCSG/src/frameBufferObject.h:65
↓ 1 callers
Method
EnableTextureTarget
Enables the texture target appropriate for this frame buffer object.
OpenCSG/src/frameBufferObject.h:63
↓ 1 callers
Method
GetTextureTarget
Returns the texture target this texture is bound to.
OpenCSG/src/frameBufferObject.h:68
↓ 1 callers
Method
Initialize
OpenCSG/src/frameBufferObject.cpp:54
↓ 1 callers
Method
IsInitialized
checks whether Initialize has been called before or not
OpenCSG/src/frameBufferObject.h:49
↓ 1 callers
Function
O
(e,{languageName:n})
website/highlight.min.js:279
↓ 1 callers
Function
Oe
(e)
website/highlight.min.js:328
↓ 1 callers
Function
Q
(e)
website/highlight.min.js:124
↓ 1 callers
Method
ReadCurrent
OpenCSG/src/frameBufferObject.cpp:44
↓ 1 callers
Method
Resize
If new requested size differs, regenerate FBO texture objects
OpenCSG/src/frameBufferObject.cpp:127
↓ 1 callers
Function
U
(e,n,t=F)
website/highlight.min.js:101
↓ 1 callers
Function
X
(e)
website/highlight.min.js:171
↓ 1 callers
Method
__addSublanguage
(e,n)
website/highlight.min.js:40
↓ 1 callers
Method
_walk
(e,n)
website/highlight.min.js:34
↓ 1 callers
Function
add
(a: [f32; 3], b: [f32; 3])
crates/luacad/src/render.rs:558
↓ 1 callers
Method
addRule
(e,n)
website/highlight.min.js:129
↓ 1 callers
Function
apply_editor_action
Apply a pending editor action, returning the new cursor range (as char indices).
crates/luacad-studio/src/editor.rs:64
↓ 1 callers
Function
apply_wrappers
Wrap a node in accumulated transforms (innermost first → outermost last).
crates/luacad/src/render.rs:408
↓ 1 callers
Method
blit_to_screen
Blit the FBO contents to a region of the default framebuffer. `dst_x`, `dst_y` are in GL coordinates (bottom-left origin, physical pixels).
crates/luacad-studio/src/scene.rs:1203
↓ 1 callers
Function
bosl_geometry
Create a CsgGeometry representing a BOSL2 function call.
crates/luacad/src/bosl.rs:518
↓ 1 callers
Function
bounding_box
(triangles: &[SmoothTriangle])
crates/luacad/src/render.rs:534
↓ 1 callers
Function
build_camera
(viewport: Viewport, app: &AppState)
crates/luacad-studio/src/scene.rs:448
↓ 1 callers
Function
build_standard_library
()
crates/luacad/src/linter.rs:262
↓ 1 callers
Function
byte_offset_to_line_col
(source: &str, offset: usize)
crates/luacad/src/linter.rs:78
↓ 1 callers
Function
cad_to_gl_transform
Convert a CAD-space column-major transform to GL-space. CAD (x,y,z) → GL (y,z,x). This permutes both the rows and columns of the transform matrix.
crates/luacad-studio/src/scene.rs:347
↓ 1 callers
Function
cad_to_gl_vertices
Convert vertices from CAD space (Z-up) to GL space (Y-up). Mapping: CAD (x,y,z) → GL (y,z,x).
crates/luacad-studio/src/csg_tree.rs:518
↓ 1 callers
Function
camera_projection_matrix
Extract projection matrix as column-major f32 array from three-d Camera.
crates/luacad-studio/src/scene.rs:474
↓ 1 callers
Function
camera_view_matrix
Extract view matrix as column-major f32 array from three-d Camera.
crates/luacad-studio/src/scene.rs:481
↓ 1 callers
Function
chooseAlgorithm
OpenCSG/src/opencsgRender.cpp:39
↓ 1 callers
Function
chooseDepthComplexityAlgorithm
OpenCSG/src/opencsgRender.cpp:46
↓ 1 callers
Method
closeAllNodes
()
website/highlight.min.js:32
↓ 1 callers
Method
closeNode
()
website/highlight.min.js:31
↓ 1 callers
Function
cmd_convert
(args: &[String])
crates/luacad/src/main.rs:545
↓ 1 callers
Function
cmd_info
(args: &[String])
crates/luacad/src/main.rs:164
↓ 1 callers
Function
cmd_lint
(args: &[String])
crates/luacad/src/main.rs:278
↓ 1 callers
Function
cmd_render
(args: &[String])
crates/luacad/src/main.rs:478
↓ 1 callers
Function
cmd_watch
(args: &[String])
crates/luacad/src/main.rs:580
↓ 1 callers
Function
collect_bosl_modules
Collect all unique BOSL module names referenced in a ScadNode tree.
crates/luacad/src/scad_export.rs:769
↓ 1 callers
Function
collect_colored_leaves
Recursively walk a ScadNode tree, splitting at Union and Color boundaries, collecting `(color, leaf_node)` pairs where each leaf is a non-splittable s
crates/luacad/src/render.rs:333
↓ 1 callers
Function
collect_lua_files
( paths: &[String], )
crates/luacad/src/main.rs:254
↓ 1 callers
Function
collect_smooth_triangles
Collect triangles with per-vertex normals, respecting per-subtree colors. Walks the ScadNode tree and materializes colored subtrees independently so
crates/luacad/src/render.rs:297
↓ 1 callers
Function
compute_face_normals
Compute per-face normals for triangle vertices. Returns one normal per vertex (each triangle's 3 vertices share the same face normal).
crates/luacad-studio/src/scene.rs:294
↓ 1 callers
Function
containsXY
OpenCSG/src/primitiveHelper.cpp:54
↓ 1 callers
Function
csg_mesh_to_manifold
(mesh: &CsgMesh<()>)
crates/luacad/src/export.rs:772
↓ 1 callers
Function
defaults
OpenCSG/src/channelManager.cpp:49
↓ 1 callers
Function
downsample
Downsample a supersampled framebuffer to the target resolution using box filter.
crates/luacad/src/render.rs:101
↓ 1 callers
Function
egui_to_winit_cursor
Convert an egui CursorIcon to a winit CursorIcon.
crates/luacad-studio/src/main.rs:73
↓ 1 callers
Method
enableDepthBounds
OpenCSG/src/scissorMemo.cpp:71
↓ 1 callers
Method
enableDepthBoundsBack
OpenCSG/src/scissorMemo.cpp:78
↓ 1 callers
Method
enableDepthBoundsFront
OpenCSG/src/scissorMemo.cpp:85
↓ 1 callers
Method
endScope
()
website/highlight.min.js:39
↓ 1 callers
Function
ensureFunctionPointers
OpenCSG/src/context.cpp:62
↓ 1 callers
Method
ensure_size
Resize the FBO if dimensions changed. Returns true if resized.
crates/luacad-studio/src/scene.rs:1158
↓ 1 callers
Function
export
( geometries: &[luacad::geometry::CsgGeometry], format: &str, output: &Path, )
crates/luacad/src/main.rs:68
↓ 1 callers
Function
export_3mf_bytes
(geometries: &[CsgGeometry])
crates/luacad/src/export.rs:249
↓ 1 callers
Function
export_amf
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:488
↓ 1 callers
Function
export_off
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:446
↓ 1 callers
Function
export_stl_ascii
( geometries: &[CsgGeometry], name: &str, )
crates/luacad/src/export.rs:424
↓ 1 callers
Function
export_via_openscad
( geometries: &[luacad::geometry::CsgGeometry], output: &Path, )
crates/luacad/src/main.rs:100
↓ 1 callers
Function
extract_cuboid_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:150
↓ 1 callers
Function
extract_cuboid_size
Extract the size as (w, d, h) from a cuboid argument table. Handles two calling conventions: `bosl.cuboid { {40,40,40} }` — first positional is a sub
crates/luacad/src/bosl.rs:135
↓ 1 callers
Function
extract_octahedron_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:391
↓ 1 callers
Function
extract_pie_slice_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:398
↓ 1 callers
Function
extract_preview_params
( function: &str, table: Option<&mlua::Table>, )
crates/luacad/src/bosl.rs:458
↓ 1 callers
Function
extract_prismoid_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:324
↓ 1 callers
Function
extract_rect_tube_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:342
↓ 1 callers
Function
extract_regular_prism_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:428
↓ 1 callers
Function
extract_size3_positional
Extract a 3-element size [w, d, h] from the first positional arg (sub-table).
crates/luacad/src/bosl.rs:219
↓ 1 callers
Function
extract_torus_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:288
↓ 1 callers
Function
extract_tube_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:227
↓ 1 callers
Function
extract_wedge_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:368
↓ 1 callers
Method
filter_name
(self)
crates/luacad/src/export.rs:79
↓ 1 callers
Method
finalize
()
website/highlight.min.js:42
↓ 1 callers
Function
flatten_geometries
Flatten all geometries' ScadNode trees into CsgGroups for OpenCSG. Falls back to using the csgrs mesh when no ScadNode is available.
crates/luacad-studio/src/csg_tree.rs:40
↓ 1 callers
Function
flatten_inner
(node: &ScadNode, ctx: &Ctx, op: c_int)
crates/luacad-studio/src/csg_tree.rs:216
↓ 1 callers
Function
flatten_node
( node: &ScadNode, parent_xform: &[f32; 16], color: [f32; 3], )
crates/luacad-studio/src/csg_tree.rs:180
↓ 1 callers
Function
format_f64
Format an f64 trimming trailing zeros.
crates/luacad/src/bosl.rs:40
↓ 1 callers
Function
freeResources
redeclared from opencsg.h
OpenCSG/src/context.cpp:45
↓ 1 callers
Function
generate_bindings
(out_dir: &Path)
crates/manifold-sys/build.rs:43
↓ 1 callers
Function
getARBVertexProgram
OpenCSG/src/context.cpp:118
↓ 1 callers
Function
getChannelManager
OpenCSG/src/renderSCS.cpp:396
↓ 1 callers
Function
getChannelManager
OpenCSG/src/renderGoldfeather.cpp:611
↓ 1 callers
Method
getConvexity
OpenCSG/src/primitive.cpp:56
↓ 1 callers
Function
getGLSLFragmentShader
OpenCSG/src/context.cpp:151
↓ 1 callers
Function
getGLSLVertexShader
OpenCSG/src/context.cpp:146
↓ 1 callers
Function
getOffscreenBuffer
OpenCSG/src/context.cpp:77
↓ 1 callers
Function
gl_BindVertexArray
(_array: u32)
crates/luacad-studio/src/scene.rs:614
← previous
next →
201–300 of 837, ranked by callers