Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CNCKitchen/stlTexturizer
/ functions
Functions
408 in github.com/CNCKitchen/stlTexturizer
⨍
Functions
408
◇
Types & classes
4
↓ 2 callers
Function
startExport
(format)
js/main.js:1555
↓ 2 callers
Function
summarise
(name, ratios)
bench-tri-estimate.mjs:115
↓ 2 callers
Function
syncBoundaryEdgeUniforms
()
js/main.js:3678
↓ 2 callers
Function
thirdVertex
(t, u, v)
js/regularize.js:236
↓ 2 callers
Function
toScreen
(v)
js/main.js:2603
↓ 2 callers
Function
triggerDownload
* Trigger a browser download for a binary buffer. * @param {ArrayBuffer|Uint8Array} buffer * @param {string} filename * @param {string} [mime]
js/exporter.js:10
↓ 2 callers
Function
updateBrushCursor
(e)
js/main.js:2582
↓ 2 callers
Function
updateMaskingTriDebug
(e)
js/main.js:1943
↓ 2 callers
Function
updateMaterial
(material, displacementTexture, settings)
js/previewMaterial.js:426
↓ 2 callers
Function
updateMeshDiagnostics
(adjData, triCount)
js/main.js:3199
↓ 2 callers
Function
yieldFrame
()
js/meshValidation.js:10
↓ 1 callers
Function
_activateCustomMap
Promote the kept-aside custom map back to the active map. No defaults reset.
js/main.js:1143
↓ 1 callers
Function
_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 callers
Function
_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 callers
Function
_boxBlurV
Box-blur one column of RGBA pixels (vertical pass).
js/main.js:154
↓ 1 callers
Method
_bubbleUp
(idx)
js/decimation.js:763
↓ 1 callers
Function
_buildCylinderSilhouette
()
js/main.js:475
↓ 1 callers
Function
_buildRotGizmo
()
js/viewer.js:929
↓ 1 callers
Function
_currentTextureAspectU
()
js/main.js:409
↓ 1 callers
Function
_downloadBlob
(blob, filename)
js/main.js:5445
↓ 1 callers
Function
_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 callers
Method
_grow
()
js/decimation.js:812
↓ 1 callers
Method
_grow
()
js/meshIndex.js:67
↓ 1 callers
Function
_hideCustomMapThumb
()
js/main.js:1136
↓ 1 callers
Function
_initGizmoInteraction
()
js/viewer.js:1053
↓ 1 callers
Function
_initPipelineWorker
()
js/main.js:4704
↓ 1 callers
Function
_moveSlot
(s, nv, vfHead, slotNext, slotPrev, slotVert)
js/decimation.js:311
↓ 1 callers
Function
_paintLineBetween
(from, to, mesh)
js/main.js:2140
↓ 1 callers
Function
_redo
()
js/main.js:5726
↓ 1 callers
Function
_redrawCylinderPanel
()
js/main.js:557
↓ 1 callers
Function
_regOpts
()
diag-cube.mjs:23
↓ 1 callers
Function
_regularizeOpts
()
bench-pipeline.mjs:38
↓ 1 callers
Function
_regularizeOpts
()
diag-pipeline.mjs:32
↓ 1 callers
Function
_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 callers
Function
_restoreSessionSettings
()
js/main.js:5181
↓ 1 callers
Function
_shouldYield
()
js/decimation.js:94
↓ 1 callers
Method
_sinkDown
(idx)
js/decimation.js:784
↓ 1 callers
Function
_snapScaleUForSeamlessWrap
(scaleU)
js/main.js:418
↓ 1 callers
Function
_undo
()
js/main.js:5716
↓ 1 callers
Function
_undoSnapshotsEqual
(a, b)
js/main.js:5648
↓ 1 callers
Function
_updateShiftLinePreview
(e)
js/main.js:2183
↓ 1 callers
Function
_yieldFrame
()
js/decimation.js:100
↓ 1 callers
Function
addCreaseQuadrics
(quadrics, positions, faces, faceCount)
js/decimation.js:428
↓ 1 callers
Function
addSmoothNormals
* 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 callers
Function
adoptBakedGeometry
(geometry, bounds, opts = {})
js/main.js:4883
↓ 1 callers
Function
applyIncrementalRotation
(axis, radians)
js/main.js:2438
↓ 1 callers
Function
applyLinkedValue
(raw)
js/main.js:2762
↓ 1 callers
Function
autoFitCylinderAxis
()
js/main.js:839
↓ 1 callers
Function
blurCanvas
* 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 callers
Function
buildAxesIndicator
(size)
js/viewer.js:32
↓ 1 callers
Function
buildCombinedFaceWeights
(geometry, excludedFaces, invert, settings)
bench-pipeline.mjs:115
↓ 1 callers
Function
buildCombinedFaceWeights
(geometry, excludedFaces, invert, settings)
diag-pipeline.mjs:130
↓ 1 callers
Function
buildDimensions
(box, groundZ, scale)
js/viewer.js:109
↓ 1 callers
Function
buildIndexed
(geometry)
js/decimation.js:632
↓ 1 callers
Function
buildLinkedAdj
(faces, faceCount, vertCount)
js/decimation.js:277
↓ 1 callers
Function
buildTriGrid
(geometry, gridDim = 64)
bench-decim-quality.mjs:113
↓ 1 callers
Function
buildUniforms
(tex, settings)
js/previewMaterial.js:461
↓ 1 callers
Function
cellKey
(ix, iy, iz)
js/meshValidation.js:131
↓ 1 callers
Function
clampBelowBottom
(geometry, bottomZ)
js/exportPipeline.js:54
↓ 1 callers
Function
close
()
js/main.js:1185
↓ 1 callers
Function
closestDistance
(grid, px, py, pz)
bench-decim-quality.mjs:176
↓ 1 callers
Function
computeBoundaryEdges
* 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 callers
Function
computeRecommendedMaxTri
({ pixelsPerEdge, pixMm, surfaceArea, amplitude })
js/smartResolution.js:206
↓ 1 callers
Function
computeSmartResolution
({ geometry, bounds, settings, texture })
js/smartResolution.js:289
↓ 1 callers
Function
computeUV
(pos, normal, mode, settings, bounds)
js/mapping.js:100
↓ 1 callers
Function
computeWorldPeriod
* 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 callers
Function
countDeleted
()
js/regularize.js:385
↓ 1 callers
Function
countShells
* Count disconnected mesh shells via BFS on the adjacency graph. * @param {Array<Array<{neighbor:number}>>} adjacency - from buildAdjacency * @param
js/meshValidation.js:20
↓ 1 callers
Function
createFallbackDataTexture
()
js/previewMaterial.js:509
↓ 1 callers
Function
createFallbackTexture
()
js/previewMaterial.js:498
↓ 1 callers
Function
decodePNG
(path)
bench-pipeline.mjs:62
↓ 1 callers
Function
decodePNG
(path)
diag-cube.mjs:25
↓ 1 callers
Function
decodePNG
(path)
diag-bottom-snap.mjs:63
↓ 1 callers
Function
decodePNG
(path)
diag-edge-hist.mjs:39
↓ 1 callers
Function
decodePNG
(path)
diag-seam-dihedral.mjs:17
↓ 1 callers
Function
decodePNG
(path)
diag-pipeline.mjs:58
↓ 1 callers
Function
decodePNG
(path)
diag-texture-seams.mjs:13
↓ 1 callers
Function
distSqPointToTri
* 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 callers
Function
distSqToTri
(pos, t, px, py, pz)
bench-decim-quality.mjs:164
↓ 1 callers
Function
export3MF
(geometry, filename = 'textured.3mf')
js/exporter.js:96
↓ 1 callers
Function
exportSTL
(geometry, filename = 'textured.stl')
js/exporter.js:35
↓ 1 callers
Function
findIntersectingTriangles
* 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 callers
Function
findOverlappingTriangles
* 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 callers
Function
fitCamera
(sphere)
js/viewer.js:598
↓ 1 callers
Function
fnv1a
(typed)
bench-pipeline.mjs:137
↓ 1 callers
Method
getCost
(i)
js/decimation.js:748
↓ 1 callers
Function
getDominantCubicAxis
(normal)
js/mapping.js:18
↓ 1 callers
Function
getEdgePositions
(geometry)
js/meshValidation.js:408
↓ 1 callers
Method
getPx
(i)
js/decimation.js:753
↓ 1 callers
Method
getPy
(i)
js/decimation.js:754
↓ 1 callers
Method
getPz
(i)
js/decimation.js:755
↓ 1 callers
Function
getShellAssignments
(adjacency, triCount)
js/meshValidation.js:472
↓ 1 callers
Method
getV1
(i)
js/decimation.js:749
↓ 1 callers
Method
getV2
(i)
js/decimation.js:750
↓ 1 callers
Method
getVer1
(i)
js/decimation.js:751
↓ 1 callers
Method
getVer2
(i)
js/decimation.js:752
↓ 1 callers
Function
handleExport
(format = 'stl')
js/main.js:4473
↓ 1 callers
Function
handlePlaceOnFaceClick
(e)
js/main.js:2258
↓ 1 callers
Function
hasLinkViolation
(faces, vfHead, slotFace, slotNext, v1, v2, lkStamp, ep)
js/decimation.js:344
↓ 1 callers
Function
initLang
()
js/i18n.js:130
← previous
next →
201–300 of 408, ranked by callers