Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3dugc/3D-Model-Optimizer
/ functions
Functions
989 in github.com/3dugc/3D-Model-Optimizer
⨍
Functions
989
◇
Types & classes
311
↓ 2 callers
Function
uploadActions
()
src/cloud/tencent-sts.ts:90
↓ 2 callers
Function
walletFromMySqlRow
(row: WalletRow)
src/accounts/account-store.ts:459
↓ 2 callers
Function
walletFromPgRow
(row: PgWalletRow)
src/accounts/account-store.ts:1078
↓ 2 callers
Function
worker
(overrides: Partial<WorkerHeartbeat>)
tests/unit/business-monitor.test.ts:26
↓ 2 callers
Method
write
(data: OrderStoreFile)
src/billing/order-store.ts:82
↓ 2 callers
Method
writeHeartbeat
()
src/worker/cloud-worker.ts:311
↓ 1 callers
Function
addMinutes
(date: Date, minutes: number)
src/billing/billing-service.ts:17
↓ 1 callers
Function
analyzeDocument
* Analyze a GLB document.
src/routes/analyze.ts:85
↓ 1 callers
Function
analyzeFile
(file)
public/app.js:1133
↓ 1 callers
Function
animate
()
public/app.js:739
↓ 1 callers
Method
assertCapacityLimits
(tenantId: string)
src/jobs/job-service.ts:204
↓ 1 callers
Function
assertRechargePackage
(amountCents: number)
src/accounts/account-service.ts:35
↓ 1 callers
Function
assertSafeZipEntry
(entryName: string)
src/utils/model-input.ts:45
↓ 1 callers
Method
attachOrder
(jobId: string, orderId: string)
src/jobs/job-service.ts:195
↓ 1 callers
Function
averageCompletedDurationMs
(jobs: CloudJob[])
src/routes/metrics.ts:16
↓ 1 callers
Function
base64UrlDecode
(value: string)
src/accounts/wechat-oauth.ts:62
↓ 1 callers
Function
base64UrlDecode
(value: string)
src/accounts/token.ts:14
↓ 1 callers
Function
base64UrlEncode
(value: string)
src/accounts/wechat-oauth.ts:58
↓ 1 callers
Function
base64UrlEncode
(value: string)
src/accounts/token.ts:10
↓ 1 callers
Function
buildAuthServiceAccountHint
(userInfo: AuthServiceUserInfoResponse)
src/accounts/auth-service.ts:175
↓ 1 callers
Function
buildDefaultTask
(input: CreateCloudJobInput)
src/jobs/job-service.ts:42
↓ 1 callers
Function
buildInputObject
(jobId: string, tenantId: string, filename: string)
src/jobs/job-service.ts:17
↓ 1 callers
Function
buildLightAnalysis
(filename: string, fileSize: number, ext: string)
src/routes/analyze.ts:197
↓ 1 callers
Function
buildOutputObject
(jobId: string, tenantId: string)
src/jobs/job-service.ts:26
↓ 1 callers
Function
buildReportObject
(jobId: string, tenantId: string)
src/jobs/job-service.ts:34
↓ 1 callers
Function
buildResult
(candidate: ReuseCandidate, expiresAt: Date)
src/components/reusable-optimization-result.ts:41
↓ 1 callers
Function
buildUploadPolicy
(object: CosObjectRef, allowedPrefix: string)
src/cloud/tencent-sts.ts:69
↓ 1 callers
Function
buildWechatAccountHint
(unionId: string | undefined, openId: string | undefined)
src/routes/account.ts:300
↓ 1 callers
Function
build_glb
Build a minimal GLB binary from mesh data.
scripts/usdz_to_glb.py:40
↓ 1 callers
Function
calculateGeometrySize
* Calculate the total byte size of all accessor data in a document. * * @param document - The gltf-transform Document * @returns Total size in byte
src/components/draco-compressor.ts:59
↓ 1 callers
Function
canonicalize
(value: unknown)
src/utils/optimization-metadata.ts:22
↓ 1 callers
Method
checkSpotInterruption
()
src/worker/cloud-worker.ts:353
↓ 1 callers
Method
claimNext
(input: ClaimJobInput)
src/cloud/queue.ts:16
↓ 1 callers
Method
clean
* Remove unused resources from a gltf-transform Document. * * @param document - The gltf-transform Document to clean * @param options - Clean
src/components/resource-cleaner.ts:27
↓ 1 callers
Function
clearAutoSimplifyRecommendation
(options = {})
public/app.js:1006
↓ 1 callers
Function
cloudOutputExists
(job: CloudJob)
src/routes/account.ts:195
↓ 1 callers
Method
complete
(job: CloudJob)
src/cloud/queue.ts:17
↓ 1 callers
Function
compressWithSharp
* Compress a single texture using sharp (fallback)
src/components/texture-compressor.ts:193
↓ 1 callers
Function
compressWithToktx
* Compress a single texture using toktx (KTX2/Basis Universal)
src/components/texture-compressor.ts:151
↓ 1 callers
Function
consumeWebTokenFromUrl
()
public/app.js:114
↓ 1 callers
Function
convertCADtoGLB
* Convert CAD formats (PRT, CATProduct, CATPart, ASM) to GLB via Python trimesh/cadquery. * These are proprietary CAD formats that require OpenCASCAD
src/components/format-converter.ts:314
↓ 1 callers
Function
convertDAEtoGLB
* Convert DAE (Collada) to GLB using COLLADA2GLTF.
src/components/format-converter.ts:203
↓ 1 callers
Function
convertFBXtoGLB
* Convert FBX to GLB using FBX2glTF.
src/components/format-converter.ts:392
↓ 1 callers
Function
convertGLTFtoGLB
* Convert GLTF to GLB.
src/components/format-converter.ts:484
↓ 1 callers
Function
convertOBJtoGLB
* Convert OBJ to GLB using obj2gltf.
src/components/format-converter.ts:474
↓ 1 callers
Function
convertSTEPtoGLB
* Convert STEP to GLB using CadQuery/OpenCASCADE tessellation and trimesh export.
src/components/format-converter.ts:251
↓ 1 callers
Function
convertSTLtoGLB
* Convert STL to GLB.
src/components/format-converter.ts:137
↓ 1 callers
Function
convertToGLB
( inputPath: string, outputPath: string, originalFilename: string )
src/components/format-converter.ts:498
↓ 1 callers
Function
convertUSDZtoGLB
* Convert USDZ to GLB using Python USD library.
src/components/format-converter.ts:433
↓ 1 callers
Function
convert_usdz_to_glb
Convert USDZ file to GLB format, writing directly to disk.
scripts/usdz_to_glb.py:208
↓ 1 callers
Function
countByStatus
(jobs: CloudJob[])
src/routes/metrics.ts:9
↓ 1 callers
Function
countMeshes
* Count the number of meshes in a document. * * @param document - The gltf-transform Document * @returns Number of meshes
src/components/mesh-simplifier.ts:86
↓ 1 callers
Function
countMeshesWithPrimitives
* Count the number of meshes with primitives in a document. * * @param document - The gltf-transform Document * @returns Number of meshes with at l
src/components/draco-compressor.ts:78
↓ 1 callers
Function
crc32
(buffer: Buffer)
tests/unit/model-input.test.ts:16
↓ 1 callers
Method
create
(order: BillingOrder)
src/billing/order-store.ts:11
↓ 1 callers
Function
createAccountStore
()
src/accounts/account-store.ts:1635
↓ 1 callers
Function
createAuthServiceLoginRequest
()
public/app.js:496
↓ 1 callers
Function
createBasicMesh
(document: Document, meshName: string)
tests/unit/vertex-quantizer.test.ts:6
↓ 1 callers
Function
createCustomAlarmNotifier
()
src/monitor/tencent-custom-alarm.ts:30
↓ 1 callers
Function
createDefaultTaskRegistry
()
src/tasks/registry.ts:28
↓ 1 callers
Function
createDispatcherRuntimeConfig
()
src/dispatcher/dispatcher.ts:142
↓ 1 callers
Function
createDocumentWithMultipleMeshes
* Helper function to create a document with multiple meshes.
tests/unit/draco-compressor.test.ts:81
↓ 1 callers
Function
createDocumentWithOnlyUnusedResources
* Creates a document with only unused resources (no scene).
tests/unit/resource-cleaner.test.ts:79
↓ 1 callers
Function
createDocumentWithTexture
()
tests/unit/texture-compressor-toktx-failure.test.ts:20
↓ 1 callers
Method
createDownloadUrl
(object: CosObjectRef, expiresInSeconds?: number)
src/cloud/object-storage.ts:17
↓ 1 callers
Function
createFailedStepResult
( step: string, duration: number, error: string )
src/models/result.ts:375
↓ 1 callers
Function
createFapiaoId
(invoiceRequestId: string)
src/invoices/invoice-provider.ts:97
↓ 1 callers
Function
createInvoiceIssueProvider
(payments: PaymentProvider = createPaymentProvider())
src/invoices/invoice-provider.ts:121
↓ 1 callers
Method
createInvoiceRequest
(input: { request: InvoiceRequest; item: InvoiceItem; event?: InvoiceProviderEvent; })
src/invoices/invoice-store.ts:11
↓ 1 callers
Function
createInvoiceStore
()
src/invoices/invoice-store.ts:563
↓ 1 callers
Function
createJobCallbackPayload
(job: CloudJob)
src/callbacks/callback-service.ts:16
↓ 1 callers
Function
createMeshQuantizedTestGlbFile
* Create a test GLB file requiring KHR_mesh_quantization.
tests/unit/optimization-pipeline.test.ts:146
↓ 1 callers
Function
createMeshWithTriangles
* Creates a simple mesh with a specified number of triangles. * Creates a grid of triangles for testing simplification.
tests/unit/mesh-simplifier.test.ts:27
↓ 1 callers
Method
createNativeOrder
(input: CreateNativePaymentInput)
src/payments/types.ts:94
↓ 1 callers
Function
createOptimizationPipeline
()
src/components/optimization-pipeline.ts:393
↓ 1 callers
Function
createOrderStore
()
src/billing/order-store.ts:381
↓ 1 callers
Function
createOutTradeNo
()
src/billing/billing-service.ts:11
↓ 1 callers
Function
createPoolOptions
(databaseUrl: string)
src/database/mysql.ts:67
↓ 1 callers
Function
createQueueClient
()
src/monitor/business-monitor.ts:172
↓ 1 callers
Function
createRechargeOrder
(amountCents)
public/app.js:447
↓ 1 callers
Function
createScalingBackend
()
src/dispatcher/dispatcher.ts:153
↓ 1 callers
Function
createSignature
(method: 'GET', url: URL, params: Record<string, string>, secretKey: string)
src/cloud/tencent-cmq-client.ts:61
↓ 1 callers
Function
createSignatureSource
(method: 'GET', url: URL, params: Record<string, string>)
src/cloud/tencent-cmq-client.ts:53
↓ 1 callers
Function
createSimplePngBuffer
()
tests/unit/texture-compressor-toktx-failure.test.ts:4
↓ 1 callers
Function
createSuccessStepResult
( step: string, duration: number, stats: Record<string, unknown> )
src/models/result.ts:354
↓ 1 callers
Function
createTencentAsClient
()
src/dispatcher/tencent-as-client.ts:151
↓ 1 callers
Function
createTencentCmqClient
()
src/cloud/queue.ts:147
↓ 1 callers
Function
createTestGlbFile
* Create a test GLB file.
tests/unit/optimization-pipeline.test.ts:122
↓ 1 callers
Function
createVertexQuantizer
()
src/components/vertex-quantizer.ts:251
↓ 1 callers
Method
createWechatInvoiceApplication
( input: CreateWechatInvoiceApplicationInput )
src/payments/types.ts:105
↓ 1 callers
Method
createWechatNativeOrder
(input: CreateWechatNativeOrderInput)
src/billing/billing-service.ts:27
↓ 1 callers
Function
createWorkerHeartbeatStore
()
src/worker/worker-store.ts:95
↓ 1 callers
Function
createWorkerRuntimeConfig
()
src/worker/cloud-worker.ts:370
↓ 1 callers
Function
delaySecondsForJobWatchdog
(job: CloudJob)
src/cloud/queue.ts:138
↓ 1 callers
Method
describe
()
src/dispatcher/dispatcher.ts:18
↓ 1 callers
Method
describe
()
src/dispatcher/tencent-as-client.ts:135
↓ 1 callers
Function
displayModelInfo
(a)
public/app.js:1158
↓ 1 callers
Method
emitAlert
(alert: BusinessAlert)
src/monitor/business-monitor.ts:85
↓ 1 callers
Function
ensureMySqlColumn
(client: MySqlQueryable, tableName: string, columnName: string, definition: string)
src/database/mysql.ts:268
↓ 1 callers
Function
ensureMySqlIndex
(client: MySqlQueryable, tableName: string, indexName: string, createSql: string)
src/database/mysql.ts:281
← previous
next →
401–500 of 989, ranked by callers