MCPcopy Create free account

hub / github.com/CNCKitchen/stlTexturizer / functions

Functions408 in github.com/CNCKitchen/stlTexturizer

↓ 3 callersFunctionbfsBrushSelect
* BFS-along-adjacency circle brush (after PrusaSlicer's TriangleSelector). * * Starts at `seedTriIdx`, walks the mesh's neighbor graph, and invokes
js/main.js:2046
↓ 3 callersFunctioncleanup
()
js/main.js:4737
↓ 3 callersFunctioncolReplace
(col)
js/main.js:878
↓ 3 callersFunctioncomputeSurfaceArea
(geometry)
js/stlLoader.js:155
↓ 3 callersFunctioncountEdgeDefects
(geometry, Q = 1e4)
js/meshRepair.js:38
↓ 3 callersFunctioncreateRing
(axis, color)
js/viewer.js:934
↓ 3 callersFunctionekey
(a, b)
js/meshRepair.js:131
↓ 3 callersFunctionestimateSubdivisionTriCount
* Estimate how many triangles subdivision will produce for a given edge length. * Uses a sample of existing edges to compute average edge length, the
js/main.js:4038
↓ 3 callersFunctionfinish
(result)
js/main.js:5600
↓ 3 callersFunctionfmt
(n)
js/exporter.js:160
↓ 3 callersFunctionget
(vi, out)
js/stlLoader.js:162
↓ 3 callersFunctiongetControls
()
js/viewer.js:643
↓ 3 callersFunctiongetCubicBlendWeights
(normal, blend, seamBandWidth = 0.35)
js/mapping.js:30
↓ 3 callersFunctiongetSettingsSnapshot
()
js/main.js:5037
↓ 3 callersFunctionimporterSlivers
(g)
diag-pipeline.mjs:205
↓ 3 callersFunctionisStale
()
js/main.js:4508
↓ 3 callersFunctionmakeCanvas
(w, h = w)
js/presetTextures.js:8
↓ 3 callersFunctionmarkEdge
(a, b)
js/subdivision.js:192
↓ 3 callersFunctionopenAfterImport
(g,Q=1e4)
diag-cube.mjs:40
↓ 3 callersFunctionopenAfterImport
(g,Q=1e4)
diag-pipeline.mjs:206
↓ 3 callersFunctionpickTriangle
(e)
js/main.js:1917
↓ 3 callersFunctionreadXML
(path)
js/stlLoader.js:259
↓ 3 callersFunctionrecomputeFaceNormal
(t)
js/regularize.js:132
↓ 3 callersFunctionresolveTJunctions
(geometry, opts = {})
js/meshRepair.js:80
↓ 3 callersFunctionseparated
(ax, ay, az)
js/meshValidation.js:232
↓ 3 callersFunctionsetupGeometry
* Validate, centre, and compute normals for a freshly parsed geometry. * Returns { nanCount, degenerateCount, originOffset }: removed-triangle counts
js/stlLoader.js:112
↓ 3 callersFunctionstage
(name)
bench-pipeline.mjs:153
↓ 3 callersFunctiontoggleDisplacementPreview
* Toggle displacement preview on/off. * When enabled: subdivides the current geometry to a moderate resolution, * computes smooth normals, and switc
js/main.js:4257
↓ 3 callersFunctiontryCollapse
(u, v)
js/regularize.js:392
↓ 3 callersFunctionvertKey
(offset)
js/meshValidation.js:339
↓ 3 callersFunctionwx2px
(wx)
js/main.js:509
↓ 3 callersFunctionwy2py
(wy)
js/main.js:510
↓ 2 callersMethod_alloc
(cap)
js/meshIndex.js:44
↓ 2 callersFunction_applyUndoSnapshot
(snap)
js/main.js:5701
↓ 2 callersFunction_collectCurrentMask
* Snapshot the current paint mask (selection mode + excluded face indices into * the *base* geometry). Returns null when there's nothing meaningful t
js/main.js:5402
↓ 2 callersMethod_copySlot
(dst, src)
js/decimation.js:757
↓ 2 callersFunction_cylHandleAt
(px, py)
js/main.js:637
↓ 2 callersFunction_gizmoPlaneAngle
(ndcX, ndcY, axis)
js/viewer.js:1029
↓ 2 callersFunction_paintSingleHit
(hit, mesh)
js/main.js:2112
↓ 2 callersFunction_pickGizmoRing
(ndcX, ndcY)
js/viewer.js:1019
↓ 2 callersFunction_restoreMask
* Apply a saved mask to the currently-loaded geometry. Filters out indices * that would be out-of-range for the loaded mesh (defensive — the .bumpmes
js/main.js:5420
↓ 2 callersFunction_rotateFinalize
()
js/main.js:2508
↓ 2 callersFunction_selectPresetByName
* Find a preset by name and activate it. By default, suppresses preset defaults * (resetTextureSmoothing + defaultScale override) so a just-restored
js/main.js:5156
↓ 2 callersFunction_showCustomMapThumb
Paint a small preview canvas of the custom map and reveal the thumbnail row.
js/main.js:1113
↓ 2 callersFunction_unlinkSlot
(s, vfHead, slotNext, slotPrev, slotVert)
js/decimation.js:304
↓ 2 callersFunction_updateGizmoScale
(lock = false)
js/viewer.js:971
↓ 2 callersFunctionaddFaceNormals
* Compute and set flat geometric face normals as a `faceNormal` attribute. * Unlike the `normal` attribute (which may be smooth/interpolated after *
js/main.js:3938
↓ 2 callersFunctionanalyzeTexture
(imageData)
js/textureAnalysis.js:27
↓ 2 callersFunctionapplyDiagSeverity
* Determine the worst severity across fast + advanced diagnostics and apply it * to the popup container. 'error' > 'warn' > 'ok'.
js/main.js:3062
↓ 2 callersFunctionapplyRotationFromInputs
()
js/main.js:2447
↓ 2 callersFunctionapplyTranslations
()
js/i18n.js:95
↓ 2 callersFunctionbCellKey
(ix, iy, iz)
js/main.js:3501
↓ 2 callersFunctionbucketFill
(seedTriIdx, adjacency, thresholdDeg)
js/exclusion.js:134
↓ 2 callersFunctionbuildCombinedFaceWeights
* Builds per-non-indexed-vertex weights (1.0 = excluded from subdivision/displacement) * that combine the user-painted exclusion set AND the top/bott
js/main.js:4398
↓ 2 callersFunctionbuildDimensionLabel
(text, hex, worldW, worldH)
js/viewer.js:86
↓ 2 callersFunctionbuildOutput
(positions, faces, faceCount)
js/decimation.js:664
↓ 2 callersFunctioncellKey
(ix, iy, iz)
js/main.js:3735
↓ 2 callersFunctioncheckFlipped
(positions, vfHead, slotFace, slotNext, faces, vc, vo, npx, npy, npz)
js/decimation.js:383
↓ 2 callersFunctionclampToInputBounds
(input, value)
js/main.js:2714
↓ 2 callersFunctionclearDiagOverlays
()
js/viewer.js:842
↓ 2 callersFunctioncolDiff
(g, w, h, x0, x1)
diag-texture-seams.mjs:46
↓ 2 callersFunctioncomputeBoundaryFalloffAttr
* Compute a per-vertex `boundaryFalloffAttr` float attribute on the geometry. * Vertices near the boundary between masked and non-masked regions get
js/main.js:3372
↓ 2 callersFunctioncomputePrecisionEdgeLength
Compute the target max edge length from the brush diameter.
js/main.js:4028
↓ 2 callersFunctioncomputeTriEdges
* Pre-compute the three edge lengths of every triangle in `geometry`. * Returned Float64Array has 3 entries per triangle (no winding semantics).
js/smartResolution.js:221
↓ 2 callersFunctioncreatePreviewMaterial
(displacementTexture, settings)
js/previewMaterial.js:413
↓ 2 callersFunctiondisposeGroup
(group)
js/viewer.js:479
↓ 2 callersFunctionensurePipelineWorker
()
js/main.js:4674
↓ 2 callersFunctionevalQ
(q, v, x, y, z)
js/decimation.js:555
↓ 2 callersFunctionfail
(msg)
js/main.js:4713
↓ 2 callersFunctionfitDimensions
Return { w, h } capped at SIZE on the longest side, preserving aspect ratio.
js/presetTextures.js:16
↓ 2 callersFunctionflush
()
js/exporter.js:137
↓ 2 callersFunctionfmt
js/viewer.js:111
↓ 2 callersFunctionformatInputValue
(input, value)
js/main.js:2723
↓ 2 callersFunctionformatM
(n)
js/main.js:2802
↓ 2 callersFunctionfract
Fractional part, always positive (mirrors GLSL fract)
js/mapping.js:332
↓ 2 callersFunctiongetInputPrecision
(input)
js/main.js:2696
↓ 2 callersFunctiongetLang
()
js/i18n.js:61
↓ 2 callersFunctionimportProject
(file)
js/main.js:5467
↓ 2 callersFunctionkill
()
js/main.js:4738
↓ 2 callersFunctionlinkSlot
(s)
js/regularize.js:165
↓ 2 callersFunctionloadCustomTexture
(file)
js/presetTextures.js:114
↓ 2 callersFunctionmakeVertStore
(initialCap, hasWeights, hasCanon)
js/subdivision.js:52
↓ 2 callersFunctionnormalizeStoreNormals
(verts)
js/subdivision.js:443
↓ 2 callersFunctiononResize
()
js/viewer.js:456
↓ 2 callersFunctionopenWelcome
({ allowDismissPersist })
js/main.js:1180
↓ 2 callersFunctionpaintAt
(e)
js/main.js:2159
↓ 2 callersFunctionparseTransform
(str)
js/stlLoader.js:347
↓ 2 callersFunctionpushEdge
(heap, quadrics, positions, version, v1, v2)
js/decimation.js:593
↓ 2 callersFunctionrefreshPrecisionMesh
Refresh (or initially build) the precision mesh from current brush size.
js/main.js:4116
↓ 2 callersFunctionrenderAdvancedDiag
(results)
js/main.js:3181
↓ 2 callersFunctionrenderFastDiag
(diag)
js/main.js:3161
↓ 2 callersFunctionresetTextureSmoothing
()
js/main.js:1067
↓ 2 callersFunctionrowDiff
(g, w, h, y0, y1)
diag-texture-seams.mjs:51
↓ 2 callersFunctionrunPipeline
(input, onEvent, isStale)
js/main.js:4727
↓ 2 callersFunctionsampleRss
()
bench-pipeline.mjs:148
↓ 2 callersFunctionsetMeshMaterial
(material)
js/viewer.js:558
↓ 2 callersFunctionsetRotationGizmo
(visible, onRotate = null)
js/viewer.js:986
↓ 2 callersFunctionsetViewerTheme
(isLight)
js/viewer.js:694
↓ 2 callersFunctionsnapBottom
(g,bz,tol=0.1)
diag-cube.mjs:39
↓ 2 callersFunctionsnapBottomToFlat
(geometry, bottomZ, tol=0.1)
diag-pipeline.mjs:146
← previousnext →101–200 of 408, ranked by callers