| 开发者 | partworkteam |
|---|---|
| 更新时间 | 2026年10月6日 02:26 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
cdn.partwork.ai on pages that contain the block or shortcode. The plugin adds no script to the rest of your site.
What the viewer sends, and when:
api.partwork.ai. The viewer stores a random visitor ID in its own storage on cdn.partwork.ai to count repeat views. No cookies are set on your site, and no name, email or account is involved.api.partwork.ai to be converted for display. Before the upload, a Cloudflare Turnstile check (challenges.cloudflare.com) confirms the visitor is not a bot. GLB files open in the visitor's browser and are not uploaded.api.partwork.ai, which downloads the file from your site, converts it for display and keeps the converted copy for up to 30 days. It only shows a model on the site that hosts it, and only over https. Visitors' browsers then load the converted copy from PartWork.ai's storage.studio.partwork.ai. Nothing is sent before the click. You can hide the button in the block settings or with ai="off".[partwork_viewer]
With options:
[partwork_viewer title="Check your part" theme="light" height="600"]
Showing your own part:
[partwork_viewer model="https://yoursite.com/wp-content/uploads/bracket.step" upload="off"]
Shortcode attributes
title — Shown in the viewer header.theme — dark (default) or light.height — Height in pixels, 240 to 1200. Default 520.ai — off hides the "Modify with AI" button.model — URL of a model file on your site (https). Or model_id — its Media Library ID.upload — off stops visitors opening their own files when a model is set.accent, model_color, background — Hex colors, e.g. #e11d48.STEP (.step, .stp), STL, IGES (.iges, .igs), OBJ, DXF, BREP and GLB. Files up to 75 MB.
Yes. In the block's Model settings, choose a STEP, STL, IGES, OBJ, BREP or GLB file from your Media Library (or paste its URL), or use model="..." in the shortcode. Turn off "Let visitors open their own files too" for a view-only product viewer.
The file must be on the same site as the page (a subdomain such as a CDN on your own domain is fine), served over https, and publicly reachable. Visitors can still open DXF files themselves, but a DXF can't be the model you show. The first view converts it, which takes a few seconds; later views are instant. A model on a local or private development site cannot be shown.
On multisite, a network admin also has to add the file extensions (step, stp, stl, iges, igs, obj, brep, brp, glb) under Network Settings → Upload file types.
Yes. Viewing is free for you and your visitors, with no API key and no signup. The only condition is that the "Powered by PartWork.ai" link stays visible.
No. The viewer loads in a lazy-loaded iframe, only on pages that use the block or shortcode, and the 3D engine stays inside the iframe.
Yes. Each block or shortcode is its own viewer.
Email support@partwork.ai.
model, model_id).upload="off").