MCPcopy Create free account

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

Functions837 in github.com/ad-si/LuaCAD

↓ 2 callersFunctionparse_convert_args
Parse convert/watch args into (input, output_str, format_override, via_openscad, via_manifold).
crates/luacad/src/main.rs:399
↓ 2 callersFunctionprint_help
()
crates/luacad/src/main.rs:7
↓ 2 callersFunctionquantize
Quantize a position to ~1μm grid for vertex welding.
crates/luacad/src/render.rs:526
↓ 2 callersMethodresize
(&self, physical_size: winit::dpi::PhysicalSize<u32>)
crates/luacad-studio/src/gl_context.rs:38
↓ 2 callersFunctionresolve_format
Resolve the output format from override or file extension.
crates/luacad/src/main.rs:456
↓ 2 callersFunctions
(e={})
website/highlight.min.js:26
↓ 2 callersFunctionstate_file_path
Return the path to the state file (`~/.config/luacad/state.json`).
crates/luacad-studio/src/main.rs:32
↓ 2 callersFunctionsubtractPrimitives
OpenCSG/src/renderSCS.cpp:520
↓ 2 callersFunctionsystem_is_dark_mode
Detect system dark mode. On macOS, checks AppleInterfaceStyle.
crates/luacad-studio/src/theme.rs:31
↓ 2 callersFunctiontessellate_sphere
(r: f32, segments: u32)
crates/luacad-studio/src/csg_tree.rs:641
↓ 2 callersMethodtop
()
website/highlight.min.js:28
↓ 2 callersFunctionu
(e)
website/highlight.min.js:45
↓ 2 callersFunctiony
(e)
website/highlight.min.js:258
↓ 1 callersMethodDisableTextureTarget
Disables the texture target appropriate for this frame buffer object.
OpenCSG/src/frameBufferObject.h:65
↓ 1 callersMethodEnableTextureTarget
Enables the texture target appropriate for this frame buffer object.
OpenCSG/src/frameBufferObject.h:63
↓ 1 callersMethodGetTextureTarget
Returns the texture target this texture is bound to.
OpenCSG/src/frameBufferObject.h:68
↓ 1 callersMethodInitialize
OpenCSG/src/frameBufferObject.cpp:54
↓ 1 callersMethodIsInitialized
checks whether Initialize has been called before or not
OpenCSG/src/frameBufferObject.h:49
↓ 1 callersFunctionO
(e,{languageName:n})
website/highlight.min.js:279
↓ 1 callersFunctionOe
(e)
website/highlight.min.js:328
↓ 1 callersFunctionQ
(e)
website/highlight.min.js:124
↓ 1 callersMethodReadCurrent
OpenCSG/src/frameBufferObject.cpp:44
↓ 1 callersMethodResize
If new requested size differs, regenerate FBO texture objects
OpenCSG/src/frameBufferObject.cpp:127
↓ 1 callersFunctionU
(e,n,t=F)
website/highlight.min.js:101
↓ 1 callersFunctionX
(e)
website/highlight.min.js:171
↓ 1 callersMethod__addSublanguage
(e,n)
website/highlight.min.js:40
↓ 1 callersMethod_walk
(e,n)
website/highlight.min.js:34
↓ 1 callersFunctionadd
(a: [f32; 3], b: [f32; 3])
crates/luacad/src/render.rs:558
↓ 1 callersMethodaddRule
(e,n)
website/highlight.min.js:129
↓ 1 callersFunctionapply_editor_action
Apply a pending editor action, returning the new cursor range (as char indices).
crates/luacad-studio/src/editor.rs:64
↓ 1 callersFunctionapply_wrappers
Wrap a node in accumulated transforms (innermost first → outermost last).
crates/luacad/src/render.rs:408
↓ 1 callersMethodblit_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 callersFunctionbosl_geometry
Create a CsgGeometry representing a BOSL2 function call.
crates/luacad/src/bosl.rs:518
↓ 1 callersFunctionbounding_box
(triangles: &[SmoothTriangle])
crates/luacad/src/render.rs:534
↓ 1 callersFunctionbuild_camera
(viewport: Viewport, app: &AppState)
crates/luacad-studio/src/scene.rs:448
↓ 1 callersFunctionbuild_standard_library
()
crates/luacad/src/linter.rs:262
↓ 1 callersFunctionbyte_offset_to_line_col
(source: &str, offset: usize)
crates/luacad/src/linter.rs:78
↓ 1 callersFunctioncad_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 callersFunctioncad_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 callersFunctioncamera_projection_matrix
Extract projection matrix as column-major f32 array from three-d Camera.
crates/luacad-studio/src/scene.rs:474
↓ 1 callersFunctioncamera_view_matrix
Extract view matrix as column-major f32 array from three-d Camera.
crates/luacad-studio/src/scene.rs:481
↓ 1 callersFunctionchooseAlgorithm
OpenCSG/src/opencsgRender.cpp:39
↓ 1 callersFunctionchooseDepthComplexityAlgorithm
OpenCSG/src/opencsgRender.cpp:46
↓ 1 callersMethodcloseAllNodes
()
website/highlight.min.js:32
↓ 1 callersMethodcloseNode
()
website/highlight.min.js:31
↓ 1 callersFunctioncmd_convert
(args: &[String])
crates/luacad/src/main.rs:545
↓ 1 callersFunctioncmd_info
(args: &[String])
crates/luacad/src/main.rs:164
↓ 1 callersFunctioncmd_lint
(args: &[String])
crates/luacad/src/main.rs:278
↓ 1 callersFunctioncmd_render
(args: &[String])
crates/luacad/src/main.rs:478
↓ 1 callersFunctioncmd_watch
(args: &[String])
crates/luacad/src/main.rs:580
↓ 1 callersFunctioncollect_bosl_modules
Collect all unique BOSL module names referenced in a ScadNode tree.
crates/luacad/src/scad_export.rs:769
↓ 1 callersFunctioncollect_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 callersFunctioncollect_lua_files
( paths: &[String], )
crates/luacad/src/main.rs:254
↓ 1 callersFunctioncollect_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 callersFunctioncompute_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 callersFunctioncontainsXY
OpenCSG/src/primitiveHelper.cpp:54
↓ 1 callersFunctioncsg_mesh_to_manifold
(mesh: &CsgMesh<()>)
crates/luacad/src/export.rs:772
↓ 1 callersFunctiondefaults
OpenCSG/src/channelManager.cpp:49
↓ 1 callersFunctiondownsample
Downsample a supersampled framebuffer to the target resolution using box filter.
crates/luacad/src/render.rs:101
↓ 1 callersFunctionegui_to_winit_cursor
Convert an egui CursorIcon to a winit CursorIcon.
crates/luacad-studio/src/main.rs:73
↓ 1 callersMethodenableDepthBounds
OpenCSG/src/scissorMemo.cpp:71
↓ 1 callersMethodenableDepthBoundsBack
OpenCSG/src/scissorMemo.cpp:78
↓ 1 callersMethodenableDepthBoundsFront
OpenCSG/src/scissorMemo.cpp:85
↓ 1 callersMethodendScope
()
website/highlight.min.js:39
↓ 1 callersFunctionensureFunctionPointers
OpenCSG/src/context.cpp:62
↓ 1 callersMethodensure_size
Resize the FBO if dimensions changed. Returns true if resized.
crates/luacad-studio/src/scene.rs:1158
↓ 1 callersFunctionexport
( geometries: &[luacad::geometry::CsgGeometry], format: &str, output: &Path, )
crates/luacad/src/main.rs:68
↓ 1 callersFunctionexport_3mf_bytes
(geometries: &[CsgGeometry])
crates/luacad/src/export.rs:249
↓ 1 callersFunctionexport_amf
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:488
↓ 1 callersFunctionexport_off
( geometries: &[CsgGeometry], path: &std::path::Path, )
crates/luacad/src/export.rs:446
↓ 1 callersFunctionexport_stl_ascii
( geometries: &[CsgGeometry], name: &str, )
crates/luacad/src/export.rs:424
↓ 1 callersFunctionexport_via_openscad
( geometries: &[luacad::geometry::CsgGeometry], output: &Path, )
crates/luacad/src/main.rs:100
↓ 1 callersFunctionextract_cuboid_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:150
↓ 1 callersFunctionextract_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 callersFunctionextract_octahedron_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:391
↓ 1 callersFunctionextract_pie_slice_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:398
↓ 1 callersFunctionextract_preview_params
( function: &str, table: Option<&mlua::Table>, )
crates/luacad/src/bosl.rs:458
↓ 1 callersFunctionextract_prismoid_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:324
↓ 1 callersFunctionextract_rect_tube_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:342
↓ 1 callersFunctionextract_regular_prism_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:428
↓ 1 callersFunctionextract_size3_positional
Extract a 3-element size [w, d, h] from the first positional arg (sub-table).
crates/luacad/src/bosl.rs:219
↓ 1 callersFunctionextract_torus_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:288
↓ 1 callersFunctionextract_tube_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:227
↓ 1 callersFunctionextract_wedge_preview
(t: &mlua::Table)
crates/luacad/src/bosl.rs:368
↓ 1 callersMethodfilter_name
(self)
crates/luacad/src/export.rs:79
↓ 1 callersMethodfinalize
()
website/highlight.min.js:42
↓ 1 callersFunctionflatten_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 callersFunctionflatten_inner
(node: &ScadNode, ctx: &Ctx, op: c_int)
crates/luacad-studio/src/csg_tree.rs:216
↓ 1 callersFunctionflatten_node
( node: &ScadNode, parent_xform: &[f32; 16], color: [f32; 3], )
crates/luacad-studio/src/csg_tree.rs:180
↓ 1 callersFunctionformat_f64
Format an f64 trimming trailing zeros.
crates/luacad/src/bosl.rs:40
↓ 1 callersFunctionfreeResources
redeclared from opencsg.h
OpenCSG/src/context.cpp:45
↓ 1 callersFunctiongenerate_bindings
(out_dir: &Path)
crates/manifold-sys/build.rs:43
↓ 1 callersFunctiongetARBVertexProgram
OpenCSG/src/context.cpp:118
↓ 1 callersFunctiongetChannelManager
OpenCSG/src/renderSCS.cpp:396
↓ 1 callersFunctiongetChannelManager
OpenCSG/src/renderGoldfeather.cpp:611
↓ 1 callersMethodgetConvexity
OpenCSG/src/primitive.cpp:56
↓ 1 callersFunctiongetGLSLFragmentShader
OpenCSG/src/context.cpp:151
↓ 1 callersFunctiongetGLSLVertexShader
OpenCSG/src/context.cpp:146
↓ 1 callersFunctiongetOffscreenBuffer
OpenCSG/src/context.cpp:77
↓ 1 callersFunctiongl_BindVertexArray
(_array: u32)
crates/luacad-studio/src/scene.rs:614
← previousnext →201–300 of 837, ranked by callers