MCPcopy Create free account

hub / github.com/3dugc/3D-Model-Optimizer / functions

Functions989 in github.com/3dugc/3D-Model-Optimizer

↓ 2 callersFunctionuploadActions
()
src/cloud/tencent-sts.ts:90
↓ 2 callersFunctionwalletFromMySqlRow
(row: WalletRow)
src/accounts/account-store.ts:459
↓ 2 callersFunctionwalletFromPgRow
(row: PgWalletRow)
src/accounts/account-store.ts:1078
↓ 2 callersFunctionworker
(overrides: Partial<WorkerHeartbeat>)
tests/unit/business-monitor.test.ts:26
↓ 2 callersMethodwrite
(data: OrderStoreFile)
src/billing/order-store.ts:82
↓ 2 callersMethodwriteHeartbeat
()
src/worker/cloud-worker.ts:311
↓ 1 callersFunctionaddMinutes
(date: Date, minutes: number)
src/billing/billing-service.ts:17
↓ 1 callersFunctionanalyzeDocument
* Analyze a GLB document.
src/routes/analyze.ts:85
↓ 1 callersFunctionanalyzeFile
(file)
public/app.js:1133
↓ 1 callersFunctionanimate
()
public/app.js:739
↓ 1 callersMethodassertCapacityLimits
(tenantId: string)
src/jobs/job-service.ts:204
↓ 1 callersFunctionassertRechargePackage
(amountCents: number)
src/accounts/account-service.ts:35
↓ 1 callersFunctionassertSafeZipEntry
(entryName: string)
src/utils/model-input.ts:45
↓ 1 callersMethodattachOrder
(jobId: string, orderId: string)
src/jobs/job-service.ts:195
↓ 1 callersFunctionaverageCompletedDurationMs
(jobs: CloudJob[])
src/routes/metrics.ts:16
↓ 1 callersFunctionbase64UrlDecode
(value: string)
src/accounts/wechat-oauth.ts:62
↓ 1 callersFunctionbase64UrlDecode
(value: string)
src/accounts/token.ts:14
↓ 1 callersFunctionbase64UrlEncode
(value: string)
src/accounts/wechat-oauth.ts:58
↓ 1 callersFunctionbase64UrlEncode
(value: string)
src/accounts/token.ts:10
↓ 1 callersFunctionbuildAuthServiceAccountHint
(userInfo: AuthServiceUserInfoResponse)
src/accounts/auth-service.ts:175
↓ 1 callersFunctionbuildDefaultTask
(input: CreateCloudJobInput)
src/jobs/job-service.ts:42
↓ 1 callersFunctionbuildInputObject
(jobId: string, tenantId: string, filename: string)
src/jobs/job-service.ts:17
↓ 1 callersFunctionbuildLightAnalysis
(filename: string, fileSize: number, ext: string)
src/routes/analyze.ts:197
↓ 1 callersFunctionbuildOutputObject
(jobId: string, tenantId: string)
src/jobs/job-service.ts:26
↓ 1 callersFunctionbuildReportObject
(jobId: string, tenantId: string)
src/jobs/job-service.ts:34
↓ 1 callersFunctionbuildResult
(candidate: ReuseCandidate, expiresAt: Date)
src/components/reusable-optimization-result.ts:41
↓ 1 callersFunctionbuildUploadPolicy
(object: CosObjectRef, allowedPrefix: string)
src/cloud/tencent-sts.ts:69
↓ 1 callersFunctionbuildWechatAccountHint
(unionId: string | undefined, openId: string | undefined)
src/routes/account.ts:300
↓ 1 callersFunctionbuild_glb
Build a minimal GLB binary from mesh data.
scripts/usdz_to_glb.py:40
↓ 1 callersFunctioncalculateGeometrySize
* 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 callersFunctioncanonicalize
(value: unknown)
src/utils/optimization-metadata.ts:22
↓ 1 callersMethodcheckSpotInterruption
()
src/worker/cloud-worker.ts:353
↓ 1 callersMethodclaimNext
(input: ClaimJobInput)
src/cloud/queue.ts:16
↓ 1 callersMethodclean
* 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 callersFunctionclearAutoSimplifyRecommendation
(options = {})
public/app.js:1006
↓ 1 callersFunctioncloudOutputExists
(job: CloudJob)
src/routes/account.ts:195
↓ 1 callersMethodcomplete
(job: CloudJob)
src/cloud/queue.ts:17
↓ 1 callersFunctioncompressWithSharp
* Compress a single texture using sharp (fallback)
src/components/texture-compressor.ts:193
↓ 1 callersFunctioncompressWithToktx
* Compress a single texture using toktx (KTX2/Basis Universal)
src/components/texture-compressor.ts:151
↓ 1 callersFunctionconsumeWebTokenFromUrl
()
public/app.js:114
↓ 1 callersFunctionconvertCADtoGLB
* 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 callersFunctionconvertDAEtoGLB
* Convert DAE (Collada) to GLB using COLLADA2GLTF.
src/components/format-converter.ts:203
↓ 1 callersFunctionconvertFBXtoGLB
* Convert FBX to GLB using FBX2glTF.
src/components/format-converter.ts:392
↓ 1 callersFunctionconvertGLTFtoGLB
* Convert GLTF to GLB.
src/components/format-converter.ts:484
↓ 1 callersFunctionconvertOBJtoGLB
* Convert OBJ to GLB using obj2gltf.
src/components/format-converter.ts:474
↓ 1 callersFunctionconvertSTEPtoGLB
* Convert STEP to GLB using CadQuery/OpenCASCADE tessellation and trimesh export.
src/components/format-converter.ts:251
↓ 1 callersFunctionconvertSTLtoGLB
* Convert STL to GLB.
src/components/format-converter.ts:137
↓ 1 callersFunctionconvertToGLB
( inputPath: string, outputPath: string, originalFilename: string )
src/components/format-converter.ts:498
↓ 1 callersFunctionconvertUSDZtoGLB
* Convert USDZ to GLB using Python USD library.
src/components/format-converter.ts:433
↓ 1 callersFunctionconvert_usdz_to_glb
Convert USDZ file to GLB format, writing directly to disk.
scripts/usdz_to_glb.py:208
↓ 1 callersFunctioncountByStatus
(jobs: CloudJob[])
src/routes/metrics.ts:9
↓ 1 callersFunctioncountMeshes
* 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 callersFunctioncountMeshesWithPrimitives
* 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 callersFunctioncrc32
(buffer: Buffer)
tests/unit/model-input.test.ts:16
↓ 1 callersMethodcreate
(order: BillingOrder)
src/billing/order-store.ts:11
↓ 1 callersFunctioncreateAccountStore
()
src/accounts/account-store.ts:1635
↓ 1 callersFunctioncreateAuthServiceLoginRequest
()
public/app.js:496
↓ 1 callersFunctioncreateBasicMesh
(document: Document, meshName: string)
tests/unit/vertex-quantizer.test.ts:6
↓ 1 callersFunctioncreateCustomAlarmNotifier
()
src/monitor/tencent-custom-alarm.ts:30
↓ 1 callersFunctioncreateDefaultTaskRegistry
()
src/tasks/registry.ts:28
↓ 1 callersFunctioncreateDispatcherRuntimeConfig
()
src/dispatcher/dispatcher.ts:142
↓ 1 callersFunctioncreateDocumentWithMultipleMeshes
* Helper function to create a document with multiple meshes.
tests/unit/draco-compressor.test.ts:81
↓ 1 callersFunctioncreateDocumentWithOnlyUnusedResources
* Creates a document with only unused resources (no scene).
tests/unit/resource-cleaner.test.ts:79
↓ 1 callersFunctioncreateDocumentWithTexture
()
tests/unit/texture-compressor-toktx-failure.test.ts:20
↓ 1 callersMethodcreateDownloadUrl
(object: CosObjectRef, expiresInSeconds?: number)
src/cloud/object-storage.ts:17
↓ 1 callersFunctioncreateFailedStepResult
( step: string, duration: number, error: string )
src/models/result.ts:375
↓ 1 callersFunctioncreateFapiaoId
(invoiceRequestId: string)
src/invoices/invoice-provider.ts:97
↓ 1 callersFunctioncreateInvoiceIssueProvider
(payments: PaymentProvider = createPaymentProvider())
src/invoices/invoice-provider.ts:121
↓ 1 callersMethodcreateInvoiceRequest
(input: { request: InvoiceRequest; item: InvoiceItem; event?: InvoiceProviderEvent; })
src/invoices/invoice-store.ts:11
↓ 1 callersFunctioncreateInvoiceStore
()
src/invoices/invoice-store.ts:563
↓ 1 callersFunctioncreateJobCallbackPayload
(job: CloudJob)
src/callbacks/callback-service.ts:16
↓ 1 callersFunctioncreateMeshQuantizedTestGlbFile
* Create a test GLB file requiring KHR_mesh_quantization.
tests/unit/optimization-pipeline.test.ts:146
↓ 1 callersFunctioncreateMeshWithTriangles
* 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 callersMethodcreateNativeOrder
(input: CreateNativePaymentInput)
src/payments/types.ts:94
↓ 1 callersFunctioncreateOptimizationPipeline
()
src/components/optimization-pipeline.ts:393
↓ 1 callersFunctioncreateOrderStore
()
src/billing/order-store.ts:381
↓ 1 callersFunctioncreateOutTradeNo
()
src/billing/billing-service.ts:11
↓ 1 callersFunctioncreatePoolOptions
(databaseUrl: string)
src/database/mysql.ts:67
↓ 1 callersFunctioncreateQueueClient
()
src/monitor/business-monitor.ts:172
↓ 1 callersFunctioncreateRechargeOrder
(amountCents)
public/app.js:447
↓ 1 callersFunctioncreateScalingBackend
()
src/dispatcher/dispatcher.ts:153
↓ 1 callersFunctioncreateSignature
(method: 'GET', url: URL, params: Record<string, string>, secretKey: string)
src/cloud/tencent-cmq-client.ts:61
↓ 1 callersFunctioncreateSignatureSource
(method: 'GET', url: URL, params: Record<string, string>)
src/cloud/tencent-cmq-client.ts:53
↓ 1 callersFunctioncreateSimplePngBuffer
()
tests/unit/texture-compressor-toktx-failure.test.ts:4
↓ 1 callersFunctioncreateSuccessStepResult
( step: string, duration: number, stats: Record<string, unknown> )
src/models/result.ts:354
↓ 1 callersFunctioncreateTencentAsClient
()
src/dispatcher/tencent-as-client.ts:151
↓ 1 callersFunctioncreateTencentCmqClient
()
src/cloud/queue.ts:147
↓ 1 callersFunctioncreateTestGlbFile
* Create a test GLB file.
tests/unit/optimization-pipeline.test.ts:122
↓ 1 callersFunctioncreateVertexQuantizer
()
src/components/vertex-quantizer.ts:251
↓ 1 callersMethodcreateWechatInvoiceApplication
( input: CreateWechatInvoiceApplicationInput )
src/payments/types.ts:105
↓ 1 callersMethodcreateWechatNativeOrder
(input: CreateWechatNativeOrderInput)
src/billing/billing-service.ts:27
↓ 1 callersFunctioncreateWorkerHeartbeatStore
()
src/worker/worker-store.ts:95
↓ 1 callersFunctioncreateWorkerRuntimeConfig
()
src/worker/cloud-worker.ts:370
↓ 1 callersFunctiondelaySecondsForJobWatchdog
(job: CloudJob)
src/cloud/queue.ts:138
↓ 1 callersMethoddescribe
()
src/dispatcher/dispatcher.ts:18
↓ 1 callersMethoddescribe
()
src/dispatcher/tencent-as-client.ts:135
↓ 1 callersFunctiondisplayModelInfo
(a)
public/app.js:1158
↓ 1 callersMethodemitAlert
(alert: BusinessAlert)
src/monitor/business-monitor.ts:85
↓ 1 callersFunctionensureMySqlColumn
(client: MySqlQueryable, tableName: string, columnName: string, definition: string)
src/database/mysql.ts:268
↓ 1 callersFunctionensureMySqlIndex
(client: MySqlQueryable, tableName: string, indexName: string, createSql: string)
src/database/mysql.ts:281
← previousnext →401–500 of 989, ranked by callers