MCPcopy Create free account

hub / github.com/CNCKitchen/stlTexturizer / functions

Functions408 in github.com/CNCKitchen/stlTexturizer

↓ 2 callersFunctionstartExport
(format)
js/main.js:1555
↓ 2 callersFunctionsummarise
(name, ratios)
bench-tri-estimate.mjs:115
↓ 2 callersFunctionsyncBoundaryEdgeUniforms
()
js/main.js:3678
↓ 2 callersFunctionthirdVertex
(t, u, v)
js/regularize.js:236
↓ 2 callersFunctiontoScreen
(v)
js/main.js:2603
↓ 2 callersFunctiontriggerDownload
* Trigger a browser download for a binary buffer. * @param {ArrayBuffer|Uint8Array} buffer * @param {string} filename * @param {string} [mime]
js/exporter.js:10
↓ 2 callersFunctionupdateBrushCursor
(e)
js/main.js:2582
↓ 2 callersFunctionupdateMaskingTriDebug
(e)
js/main.js:1943
↓ 2 callersFunctionupdateMaterial
(material, displacementTexture, settings)
js/previewMaterial.js:426
↓ 2 callersFunctionupdateMeshDiagnostics
(adjData, triCount)
js/main.js:3199
↓ 2 callersFunctionyieldFrame
()
js/meshValidation.js:10
↓ 1 callersFunction_activateCustomMap
Promote the kept-aside custom map back to the active map. No defaults reset.
js/main.js:1143
↓ 1 callersFunction_applyImportedTexture
* Apply a project's texture: custom PNG wins over a named preset. Shared by * both load modes — the displacement map is part of the saved settings.
js/main.js:5568
↓ 1 callersFunction_boxBlurH
* Box-blur one row of RGBA pixels (horizontal pass). * Operates in-place reading from `src` and writing to `dst`.
js/main.js:136
↓ 1 callersFunction_boxBlurV
Box-blur one column of RGBA pixels (vertical pass).
js/main.js:154
↓ 1 callersMethod_bubbleUp
(idx)
js/decimation.js:763
↓ 1 callersFunction_buildCylinderSilhouette
()
js/main.js:475
↓ 1 callersFunction_buildRotGizmo
()
js/viewer.js:929
↓ 1 callersFunction_currentTextureAspectU
()
js/main.js:409
↓ 1 callersFunction_downloadBlob
(blob, filename)
js/main.js:5445
↓ 1 callersFunction_geometryToBinarySTL
Pack a BufferGeometry into binary-STL bytes (80-byte header, uint32 count, 50 bytes per triangle). With restorePose, vertices/normals are mapped back
js/main.js:5354
↓ 1 callersMethod_grow
()
js/decimation.js:812
↓ 1 callersMethod_grow
()
js/meshIndex.js:67
↓ 1 callersFunction_hideCustomMapThumb
()
js/main.js:1136
↓ 1 callersFunction_initGizmoInteraction
()
js/viewer.js:1053
↓ 1 callersFunction_initPipelineWorker
()
js/main.js:4704
↓ 1 callersFunction_moveSlot
(s, nv, vfHead, slotNext, slotPrev, slotVert)
js/decimation.js:311
↓ 1 callersFunction_paintLineBetween
(from, to, mesh)
js/main.js:2140
↓ 1 callersFunction_redo
()
js/main.js:5726
↓ 1 callersFunction_redrawCylinderPanel
()
js/main.js:557
↓ 1 callersFunction_regOpts
()
diag-cube.mjs:23
↓ 1 callersFunction_regularizeOpts
()
bench-pipeline.mjs:38
↓ 1 callersFunction_regularizeOpts
()
diag-pipeline.mjs:32
↓ 1 callersFunction_restoreOriginalPose
* Map flat position/normal arrays from the in-app working space back to the * model's original file pose: orig = poseRot⁻¹ · (mem − poseTrans). Undoe
js/main.js:4442
↓ 1 callersFunction_restoreSessionSettings
()
js/main.js:5181
↓ 1 callersFunction_shouldYield
()
js/decimation.js:94
↓ 1 callersMethod_sinkDown
(idx)
js/decimation.js:784
↓ 1 callersFunction_snapScaleUForSeamlessWrap
(scaleU)
js/main.js:418
↓ 1 callersFunction_undo
()
js/main.js:5716
↓ 1 callersFunction_undoSnapshotsEqual
(a, b)
js/main.js:5648
↓ 1 callersFunction_updateShiftLinePreview
(e)
js/main.js:2183
↓ 1 callersFunction_yieldFrame
()
js/decimation.js:100
↓ 1 callersFunctionaddCreaseQuadrics
(quadrics, positions, faces, faceCount)
js/decimation.js:428
↓ 1 callersFunctionaddSmoothNormals
* Compute area-weighted smooth normals for a non-indexed geometry and store * them as a `smoothNormal` vec3 attribute. Every copy of the same positi
js/main.js:3965
↓ 1 callersFunctionadoptBakedGeometry
(geometry, bounds, opts = {})
js/main.js:4883
↓ 1 callersFunctionapplyIncrementalRotation
(axis, radians)
js/main.js:2438
↓ 1 callersFunctionapplyLinkedValue
(raw)
js/main.js:2762
↓ 1 callersFunctionautoFitCylinderAxis
()
js/main.js:839
↓ 1 callersFunctionblurCanvas
* Apply an approximate Gaussian blur (sigma px) to `canvas` in-place. * Uses the native CSS filter on Chrome/Firefox; falls back to a 3-pass * separ
js/main.js:174
↓ 1 callersFunctionbuildAxesIndicator
(size)
js/viewer.js:32
↓ 1 callersFunctionbuildCombinedFaceWeights
(geometry, excludedFaces, invert, settings)
bench-pipeline.mjs:115
↓ 1 callersFunctionbuildCombinedFaceWeights
(geometry, excludedFaces, invert, settings)
diag-pipeline.mjs:130
↓ 1 callersFunctionbuildDimensions
(box, groundZ, scale)
js/viewer.js:109
↓ 1 callersFunctionbuildIndexed
(geometry)
js/decimation.js:632
↓ 1 callersFunctionbuildLinkedAdj
(faces, faceCount, vertCount)
js/decimation.js:277
↓ 1 callersFunctionbuildTriGrid
(geometry, gridDim = 64)
bench-decim-quality.mjs:113
↓ 1 callersFunctionbuildUniforms
(tex, settings)
js/previewMaterial.js:461
↓ 1 callersFunctioncellKey
(ix, iy, iz)
js/meshValidation.js:131
↓ 1 callersFunctionclampBelowBottom
(geometry, bottomZ)
js/exportPipeline.js:54
↓ 1 callersFunctionclose
()
js/main.js:1185
↓ 1 callersFunctionclosestDistance
(grid, px, py, pz)
bench-decim-quality.mjs:176
↓ 1 callersFunctioncomputeBoundaryEdges
* Compute boundary edge segments between masked and non-masked faces and * pack them into a DataTexture for per-fragment distance queries in the * b
js/main.js:3584
↓ 1 callersFunctioncomputeRecommendedMaxTri
({ pixelsPerEdge, pixMm, surfaceArea, amplitude })
js/smartResolution.js:206
↓ 1 callersFunctioncomputeSmartResolution
({ geometry, bounds, settings, texture })
js/smartResolution.js:289
↓ 1 callersFunctioncomputeUV
(pos, normal, mode, settings, bounds)
js/mapping.js:100
↓ 1 callersFunctioncomputeWorldPeriod
* World-space "period" of the texture along U and V — i.e. how many world * millimetres correspond to one full UV repeat. Mirrors the math in * map
js/smartResolution.js:67
↓ 1 callersFunctioncountDeleted
()
js/regularize.js:385
↓ 1 callersFunctioncountShells
* Count disconnected mesh shells via BFS on the adjacency graph. * @param {Array<Array<{neighbor:number}>>} adjacency - from buildAdjacency * @param
js/meshValidation.js:20
↓ 1 callersFunctioncreateFallbackDataTexture
()
js/previewMaterial.js:509
↓ 1 callersFunctioncreateFallbackTexture
()
js/previewMaterial.js:498
↓ 1 callersFunctiondecodePNG
(path)
bench-pipeline.mjs:62
↓ 1 callersFunctiondecodePNG
(path)
diag-cube.mjs:25
↓ 1 callersFunctiondecodePNG
(path)
diag-bottom-snap.mjs:63
↓ 1 callersFunctiondecodePNG
(path)
diag-edge-hist.mjs:39
↓ 1 callersFunctiondecodePNG
(path)
diag-seam-dihedral.mjs:17
↓ 1 callersFunctiondecodePNG
(path)
diag-pipeline.mjs:58
↓ 1 callersFunctiondecodePNG
(path)
diag-texture-seams.mjs:13
↓ 1 callersFunctiondistSqPointToTri
* Squared distance from point P to the closest point on triangle ABC. * Uses the Voronoi-region method (no allocations, pure arithmetic).
js/main.js:1983
↓ 1 callersFunctiondistSqToTri
(pos, t, px, py, pz)
bench-decim-quality.mjs:164
↓ 1 callersFunctionexport3MF
(geometry, filename = 'textured.3mf')
js/exporter.js:96
↓ 1 callersFunctionexportSTL
(geometry, filename = 'textured.stl')
js/exporter.js:35
↓ 1 callersFunctionfindIntersectingTriangles
* Find pairs of intersecting triangles using spatial hashing for the broad * phase and the Separating Axis Theorem for the narrow phase. * Skips tri
js/meshValidation.js:71
↓ 1 callersFunctionfindOverlappingTriangles
* Find duplicate triangles by exact vertex comparison. * Two triangles are duplicates if they share the same three vertex positions * (bit-identical
js/meshValidation.js:330
↓ 1 callersFunctionfitCamera
(sphere)
js/viewer.js:598
↓ 1 callersFunctionfnv1a
(typed)
bench-pipeline.mjs:137
↓ 1 callersMethodgetCost
(i)
js/decimation.js:748
↓ 1 callersFunctiongetDominantCubicAxis
(normal)
js/mapping.js:18
↓ 1 callersFunctiongetEdgePositions
(geometry)
js/meshValidation.js:408
↓ 1 callersMethodgetPx
(i)
js/decimation.js:753
↓ 1 callersMethodgetPy
(i)
js/decimation.js:754
↓ 1 callersMethodgetPz
(i)
js/decimation.js:755
↓ 1 callersFunctiongetShellAssignments
(adjacency, triCount)
js/meshValidation.js:472
↓ 1 callersMethodgetV1
(i)
js/decimation.js:749
↓ 1 callersMethodgetV2
(i)
js/decimation.js:750
↓ 1 callersMethodgetVer1
(i)
js/decimation.js:751
↓ 1 callersMethodgetVer2
(i)
js/decimation.js:752
↓ 1 callersFunctionhandleExport
(format = 'stl')
js/main.js:4473
↓ 1 callersFunctionhandlePlaceOnFaceClick
(e)
js/main.js:2258
↓ 1 callersFunctionhasLinkViolation
(faces, vfHead, slotFace, slotNext, v1, v2, lkStamp, ep)
js/decimation.js:344
↓ 1 callersFunctioninitLang
()
js/i18n.js:130
← previousnext →201–300 of 408, ranked by callers