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
↓ 1 callers
Method
merge
* Merge meshes with the same material in a gltf-transform Document. * * @param document - The gltf-transform Document to process * @returns S
src/components/mesh-merger.ts:25
↓ 1 callers
Method
modifyDesiredCapacity
(groupId: string, desiredCapacity: number)
src/dispatcher/tencent-as-client.ts:71
↓ 1 callers
Method
nextIdlePollMs
()
src/worker/cloud-worker.ts:146
↓ 1 callers
Function
normalizeCosEvent
(body: CosEventBody)
src/routes/cloud-jobs.ts:53
↓ 1 callers
Function
normalizeEndpoint
(endpoint: string)
src/cloud/tencent-cmq-client.ts:44
↓ 1 callers
Function
normalizeHost
(value: string | undefined)
src/routes/account.ts:306
↓ 1 callers
Function
normalizePresetName
(value: string | undefined)
src/routes/account.ts:143
↓ 1 callers
Function
normalizePrincipal
(definition: ApiKeyDefinition)
src/middleware/auth.ts:79
↓ 1 callers
Method
objectExists
(object: CosObjectRef)
src/cloud/object-storage.ts:15
↓ 1 callers
Function
objectFromJobInput
(job: CloudJob)
src/worker/cloud-worker.ts:18
↓ 1 callers
Function
objectFromJobOutput
(job: CloudJob)
src/worker/cloud-worker.ts:27
↓ 1 callers
Function
parseAsciiSTL
* Parse ASCII STL file.
src/components/format-converter.ts:95
↓ 1 callers
Function
parseBillingConfig
()
src/config/billing.ts:4
↓ 1 callers
Function
parseBinarySTL
* Parse binary STL file.
src/components/format-converter.ts:56
↓ 1 callers
Function
parseCloudConfig
()
src/config/cloud.ts:4
↓ 1 callers
Function
parseCorsOrigins
(value: string | undefined)
src/config/parsers.ts:26
↓ 1 callers
Function
parseDatabaseConfig
()
src/config/database.ts:15
↓ 1 callers
Function
parseInvoiceConfig
()
src/config/invoice.ts:4
↓ 1 callers
Function
parseIsoTimestamp
(value: string | undefined)
src/cloud/tencent-credentials.ts:146
↓ 1 callers
Method
parsePaymentNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/payments/types.ts:96
↓ 1 callers
Function
parsePositiveNumberCsv
(value: string | undefined, defaultValue: number[])
src/config/parsers.ts:44
↓ 1 callers
Function
parsePresetName
(value: string | undefined)
src/routes/account.ts:129
↓ 1 callers
Function
parseServerConfig
()
src/config/server.ts:6
↓ 1 callers
Function
parseStateStoreProvider
()
src/config/database.ts:4
↓ 1 callers
Function
parseWebAuthConfig
()
src/config/web-auth.ts:4
↓ 1 callers
Function
parseWebOptimizeOptions
(body: WebOptimizeJobBody)
src/routes/account.ts:117
↓ 1 callers
Method
parseWechatInvoiceNotification
( headers: Record<string, unknown>, rawBody: Buffer | string )
src/payments/types.ts:97
↓ 1 callers
Function
pollAuthServiceWechatScan
( input: { token: string; state: string }, runtimeConfig = getAuthServiceRuntimeConfig() )
src/accounts/auth-service.ts:210
↓ 1 callers
Function
pollElasticOptimizeJob
(jobId)
public/app.js:1285
↓ 1 callers
Function
pollOfficialQrLogin
(widgetConfig)
public/app.js:545
↓ 1 callers
Function
prefixForObject
(object: CosObjectRef)
src/cloud/tencent-sts.ts:64
↓ 1 callers
Function
previewFilename
(originalFilename: string)
src/routes/analyze.ts:222
↓ 1 callers
Method
processJob
(job: CloudJob)
src/worker/cloud-worker.ts:152
↓ 1 callers
Method
queryOrderByOutTradeNo
(outTradeNo: string)
src/payments/types.ts:95
↓ 1 callers
Function
readBusinessMetricsSnapshot
()
src/monitor/state-reader.ts:40
↓ 1 callers
Function
readBusinessMonitorSnapshot
()
src/monitor/state-reader.ts:34
↓ 1 callers
Function
readLocalSnapshot
()
src/monitor/state-reader.ts:107
↓ 1 callers
Function
readModelOptimizeReport
(job: CloudJob)
src/routes/account.ts:261
↓ 1 callers
Function
readMySqlMetricsSnapshot
()
src/monitor/state-reader.ts:62
↓ 1 callers
Function
readMySqlSnapshot
()
src/monitor/state-reader.ts:47
↓ 1 callers
Function
readPostgresMetricsSnapshot
()
src/monitor/state-reader.ts:92
↓ 1 callers
Function
readPostgresSnapshot
()
src/monitor/state-reader.ts:77
↓ 1 callers
Method
readQueueAttributes
()
src/monitor/business-monitor.ts:75
↓ 1 callers
Function
readZipUncompressedBytes
(zipPath: string)
src/utils/model-input.ts:62
↓ 1 callers
Method
recordProviderEvent
(event: InvoiceProviderEvent)
src/invoices/invoice-store.ts:300
↓ 1 callers
Method
recordProviderEvent
(event: InvoiceProviderEvent)
src/invoices/invoice-store.ts:505
↓ 1 callers
Method
refreshDownloadUrl
(request: InvoiceRequest)
src/invoices/invoice-provider.ts:22
↓ 1 callers
Method
register
(handler: HeavyTaskHandler<TPayload>)
src/tasks/registry.ts:7
↓ 1 callers
Function
releaseHeldCharge
(note = 'Optimization failed')
src/components/paid-optimization-runner.ts:43
↓ 1 callers
Method
releaseJobCharge
(jobId: string, note?: string)
src/accounts/account-service.ts:291
↓ 1 callers
Function
renderBuildVersion
()
public/app.js:60
↓ 1 callers
Function
renderDownloadList
(files)
public/app.js:309
↓ 1 callers
Function
renderRechargeButtons
()
public/app.js:365
↓ 1 callers
Function
renderSimplifyAutoHint
(recommendation = currentSimplifyRecommendation)
public/app.js:959
↓ 1 callers
Function
renderWechatLoginModal
(widgetConfig)
public/app.js:586
↓ 1 callers
Function
repairInput
(doc: Document)
src/components/geometry-fixer.ts:119
↓ 1 callers
Function
repairOutput
(doc: Document)
src/components/geometry-fixer.ts:193
↓ 1 callers
Function
reportObjectFromJob
(job: CloudJob)
src/worker/cloud-worker.ts:38
↓ 1 callers
Method
request
(action: string, payload: Record<string, unknown>)
src/dispatcher/tencent-as-client.ts:78
↓ 1 callers
Function
requireTencentCosClient
()
src/cloud/object-storage.ts:32
↓ 1 callers
Method
resolveBuyer
(input: InvoiceBuyer | undefined, fapiaoApplyId: string)
src/invoices/invoice-service.ts:336
↓ 1 callers
Function
resolveManifestInput
(manifest: Partial<CosJobManifest>, manifestObject: CosObjectRef, tenantId: string)
src/jobs/cos-manifest.ts:101
↓ 1 callers
Function
resolveOptions
(payload: ModelOptimizeTaskPayload)
src/tasks/model-optimize.ts:15
↓ 1 callers
Function
revokeAuthServiceRefreshToken
(token: string, runtimeConfig: AuthServiceRuntimeConfig)
src/accounts/auth-service.ts:235
↓ 1 callers
Function
runMigrations
(client: MySqlQueryable)
src/database/mysql.ts:91
↓ 1 callers
Function
runMigrations
(client: SqlQueryable)
src/database/postgres.ts:54
↓ 1 callers
Method
runSlot
(slotIndex: number)
src/worker/cloud-worker.ts:96
↓ 1 callers
Method
safeCompleteQueueMessage
(job: CloudJob)
src/worker/cloud-worker.ts:230
↓ 1 callers
Function
safeEquals
(left: string, right: string)
src/accounts/wechat-oauth.ts:70
↓ 1 callers
Function
safeEquals
(left: string, right: string)
src/accounts/token.ts:22
↓ 1 callers
Method
safeReleaseQueueMessage
(job: CloudJob, delaySeconds?: number)
src/worker/cloud-worker.ts:238
↓ 1 callers
Function
sameOriginPathFromUrl
(value)
public/app.js:104
↓ 1 callers
Function
selectLocalTestRechargeAmountCents
()
src/accounts/account-service.ts:45
↓ 1 callers
Function
sendJobCallback
(job: CloudJob, timeoutSeconds: number)
src/callbacks/callback-service.ts:52
↓ 1 callers
Method
sendMessage
(message: QueueJobMessage, delaySeconds?: number)
src/cloud/tencent-cmq-client.ts:80
↓ 1 callers
Method
setDesiredCapacity
(targetInstances: number)
src/dispatcher/types.ts:37
↓ 1 callers
Method
settleWalletCharge
(jobId: string)
src/worker/cloud-worker.ts:214
↓ 1 callers
Function
sha256Base64Url
(value)
public/app.js:100
↓ 1 callers
Function
shortAccountId
(user)
public/app.js:289
↓ 1 callers
Method
shouldExitAfterIdle
()
src/worker/cloud-worker.ts:141
↓ 1 callers
Function
shouldFetchUserInfo
(runtimeConfig: WechatOAuthRuntimeConfig, grantedScope?: string)
src/accounts/wechat-oauth.ts:146
↓ 1 callers
Function
shouldPreserveUnlit
(options: OptimizationOptions)
src/components/optimization-pipeline.ts:146
↓ 1 callers
Method
shouldRefresh
(credentials: TencentCredentials)
src/cloud/tencent-credentials.ts:83
↓ 1 callers
Function
showServerPreviewButton
(statusText = '')
public/app.js:911
↓ 1 callers
Function
showWechatPayOrder
(status, data)
public/app.js:379
↓ 1 callers
Method
simplify
* Simplify meshes in a gltf-transform Document. * * @param document - The gltf-transform Document to process * @param options - Simplificatio
src/components/mesh-simplifier.ts:49
↓ 1 callers
Function
sleep
(ms)
public/app.js:1281
↓ 1 callers
Function
sleep
(ms: number)
src/dispatcher/dispatcher.ts:8
↓ 1 callers
Function
snapshotFromPools
(pools: ScalingPool[])
src/dispatcher/tencent-as-client.ts:162
↓ 1 callers
Method
start
()
src/dispatcher/dispatcher.ts:51
↓ 1 callers
Method
start
()
src/worker/cloud-worker.ts:74
↓ 1 callers
Method
start
()
src/monitor/business-monitor.ts:36
↓ 1 callers
Function
startAuthServiceLogin
()
public/app.js:629
↓ 1 callers
Method
startExpiredLeaseRecovery
()
src/worker/cloud-worker.ts:253
↓ 1 callers
Method
startHeartbeat
()
src/worker/cloud-worker.ts:246
↓ 1 callers
Method
startJobLeaseRenewal
(jobId: string)
src/worker/cloud-worker.ts:284
↓ 1 callers
Function
startOfficialQrPolling
(widgetConfig)
public/app.js:564
↓ 1 callers
Function
startRechargePolling
(orderId, status)
public/app.js:430
↓ 1 callers
Method
startSpotInterruptionMonitor
()
src/worker/cloud-worker.ts:344
↓ 1 callers
Method
stop
()
src/monitor/business-monitor.ts:52
← previous
next →
601–700 of 989, ranked by callers