一个商业级北欧工业设计风格的 3D 包装建模与印刷模切图工作室,完全基于程序化 Three.js 几何体、实时 PBR 画布纹理和按比例缩放的 SVG 工程蓝图构建。面向 D2C 品牌、包装代理机构、印刷厂和 SaaS 创始人,工作室打开即进入首屏可见的 WebGL 工作台,提供四种参数化可动 3D 包装结构(带真实 0%–100% 平面到立体铰链运动学的插舌式零售纸盒、带翻盖开启的硬质磁吸礼盒、瓦楞电商邮寄盒,以及带配套纸盒的磨砂玻璃滴管瓶)、五种程序化微纤维纸板基材、镜面金属烫金遮罩、将品牌图稿和本地 logo 实时绘制到 3D 面上、四套建筑级灯光布置、同步的 2D SVG 切割与压痕印刷模切图视图、一键下载高分辨率 PNG 样机和按比例缩放的矢量 .svg 模切图,以及一个由 localStorage 持久化的生产规格与阶梯单价报价表。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# 3D Packaging Mockup Studio
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Commercial-grade parametric 3D packaging modeling and technical print dieline studio for [BRAND], a fictional packaging design workstation for D2C brands and print studios. Opens immediately above the fold at 1440x900 into a refined Dieter Rams x Swiss CAD workstation: a crisp 56px top bar (geometric folded-box SVG mark + [BRAND] wordmark, 3D Studio / 2D Dieline / Split View mode switcher, instant Export Studio PNG & Export Print Dieline SVG buttons, and Production Spec Sheet Drawer button with saved SKU count), an expansive central WebGL Three.js 3D studio stage occupying 65%+ of the canvas with floating bottom control dock (smooth 0%-100% Hinged Fold/Open articulation scrubber, 4 camera preset pills Hero 3/4 / Front / Top Flat-Lay / Detail, 4 lighting rig switches Alabaster Softbox / Architectural Sun / Obsidian Rim / CAD Wireframe, Auto-Turntable toggle, and live mm dimensions badge), and a structured right-hand Parametric Inspector Rail (1. Structure selector: Tuck-End Retail Carton / Rigid Magnetic Gift Box / Corrugated E-Commerce Mailer / Frosted Dropper Bottle & Carton + live Width/Depth/Height mm sliders; 2. Procedural PBR Substrate & Foil selector: Soft-Touch Charcoal, Cotton Rag Ivory, Natural Kraft, Mineral Sage, Cobalt Board + Brushed Brass, Rose Copper, Silver Chrome, or Blind Deboss metallic foil masks; 3. Live Brand Artwork Painter: editable Brand Title [SAMPLE_BRAND], Product Subtitle [SAMPLE_PRODUCT], Net Volume, 4 Swiss/editorial label layouts, accent color, and local FileReader logo upload repainting 1024x1024 3D face textures live; 4. Live Tiered Print Run Quote estimator for 250 / 1,000 / 5,000 / 10,000 units with Save Spec to Production Sheet persisted in localStorage). Switching to 2D Dieline or Split View reveals a live mathematically synchronized parametric SVG blueprint with solid cyan cut lines, dashed vermilion crease lines, 3mm bleed frame, glue-flap hatching, mm dimension callouts, and flat blank cm2 area — matching the exact downloaded vector .svg file. Below the main workstation sits a tight, practical 3-column Print Engineering & Production Tolerance reference strip and clean minimalist footer (zero years/dates, zero filler marketing fluff).
- Audience: Packaging designers, D2C skincare/coffee/hardware founders, creative agencies, print shops, and SaaS makers building interactive 3D product tools.
- Goal: Deliver an immediately usable, client-side 3D packaging mockup and technical dieline studio whose procedural Three.js kinematics, PBR foil realism, and working PNG/SVG exports feel like a flagship paid design tool.
- Tone: Exact, tactile, architectural, utilitarian-luxury — Swiss industrial drafting meets high-craft packaging studio.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: three (MIT), @types/three (MIT), lucide-react (ISC), @fontsource/space-grotesk (OFL-1.1), @fontsource/dm-sans (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/space-grotesk (500, 600, 700), @fontsource/dm-sans (400, 500, 600), and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
- Use Three.js OrbitControls and RoomEnvironment from three/examples/jsm/ (bundled cleanly, zero external HDRI or GLTF network fetches).
- Enable preserveDrawingBuffer: true on WebGLRenderer so Export Studio PNG reliably outputs high-res crisp renders (including optional transparent background export mode).
- Organize modularly: src/content.ts (brand defaults, presets, material definitions, pricing tiers), src/three/materials.ts (procedural CanvasTexture paperboard micro-grain bump/roughness + metallic foil stamping + live brand label painting), src/three/structures.ts (4 articulated parametric Three.js packaging structures with real hinged THREE.Group folding kinematics and LatheGeometry dropper bottle), src/dieline/generateDielineSvg.ts (parametric mm 2D SVG cut/crease/bleed blueprint generator shared by preview and .svg file export), and src/components/ (StudioViewport, DielinePreview, InspectorRail, SpecSheetDrawer).
## Variables
- [BRAND] — Studio application name (default: "Foldform"). Fictional 3D packaging modeling and dieline software name
- [SAMPLE_BRAND] — Default mockup package brand (default: "SOLSTICE LAB"). Fictional consumer brand printed live onto the 3D packaging box
- [SAMPLE_PRODUCT] — Default mockup product line (default: "Botanical Barrier Serum"). Fictional product subtitle painted live onto the 3D box and bottle label
- [SAMPLE_VOLUME] — Default net volume / spec line (default: "50 ML · 1.7 FL OZ"). Metric and imperial volume or edition line on the 3D package
- [STUDIO_EMAIL] — Production engineering desk email (default: "[email protected]"). Fictional packaging studio engineering contact email
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/3d-packaging-mockup-studio in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro 模板
解锁完整提示词和源码
在线演示和 DESIGN.md 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "3D Packaging Mockup Studio"
colors:
architectural_alabaster_canvas: "#F4F2ED"
warm_technical_drafting_panel: "#FFFFFF"
deep_graphite_ink: "#15171A"
brushed_studio_brass: "#B48545"
technical_cut_line_cyan: "#1E6F8C"
crease_line_vermilion: "#C84B31"
drafting_hairline_stone: "#DDD8CE"
typography:
industrial_workstation_wordmark_section_headers_and_technical_titles: { family: "Space Grotesk", weights: [500, 600, 700] }
inspector_labels_tooltips_spec_sheet_drawer_and_capability_notes: { family: "DM Sans", weights: [400, 500, 600] }
millimeter_w_x_d_x_h_readouts_flat_blank_cm2_gsm_fold_and_unit_pricing: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "Full-bleed 100% viewport-width precision CAD workstation above the fold (56px top bar + fluid 3D/2D canvas + 360px fixed right parametric inspector rail on desktop; cleanly stacked 3D viewport + tabbed inspector on mobile), followed by a 1280px max-width compact production specifications band below."
radius: "Precision 4px-6px industrial CAD corners with crisp 1px #DDD8CE hairlines — zero bubbly rounded pill bloat."
---
# 3D Packaging Mockup Studio — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Architectural Alabaster Canvas** `#F4F2ED` — Primary drafting studio stage and page ground
- **Warm Technical Drafting Panel** `#FFFFFF` — Inspector rail cards, toolbar surface, and 2D dieline artboard
- **Deep Graphite Ink** `#15171A` — Primary typography, active buttons, and Obsidian Rim studio backdrop
- **Brushed Studio Brass** `#B48545` — Primary foil accent, active parameter highlight, and primary export CTA
- **Technical Cut-Line Cyan** `#1E6F8C` — 2D SVG dieline solid cut lines and CAD measurement badges
- **Crease-Line Vermilion** `#C84B31` — 2D SVG dieline dashed fold/crease lines and 3mm bleed callouts
- **Drafting Hairline Stone** `#DDD8CE` — Crisp 1px workstation panel dividers and technical grid ticks
## Typography
- **Industrial workstation wordmark, section headers, and technical titles** — Space Grotesk (OFL), weights 500/600/700. Self-host the font files.
- **Inspector labels, tooltips, spec sheet drawer, and capability notes** — DM Sans (OFL), weights 400/500/600. Self-host the font files.
- **Millimeter W x D x H readouts, flat blank cm2, GSM, fold %, and unit pricing** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: Full-bleed 100% viewport-width precision CAD workstation above the fold (56px top bar + fluid 3D/2D canvas + 360px fixed right parametric inspector rail on desktop; cleanly stacked 3D viewport + tabbed inspector on mobile), followed by a 1280px max-width compact production specifications band below.
- Radius: Precision 4px-6px industrial CAD corners with crisp 1px #DDD8CE hairlines — zero bubbly rounded pill bloat.
## Motion
- Smooth damped Three.js OrbitControls, continuous 0%-100% hinged panel folding kinematics on the Fold/Open slider, smooth interpolated camera preset transitions, and subtle slow studio turntable rotation automatically paused when prefers-reduced-motion is active or while dragging.
## Imagery
100% procedural WebGL Three.js 3D packaging modeling with dynamically generated HTML5 CanvasTexture PBR albedo, micro-fiber paperboard bump/roughness maps, specular metallic foil stamping masks, PMREM RoomEnvironment studio reflections, real-time soft ground contact shadow, and synchronized vector 2D SVG technical print dielines. Zero external stock images, zero external GLTFs, zero external HDRIs.
## Tone
Exact, tactile, architectural, utilitarian-luxury — Swiss industrial drafting meets high-craft packaging studio.
---
— Prompt by VibeFather · https://vibefather.ai/t/3d-packaging-mockup-studio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
可以。3D 包装样机工作室模板由 Claude Fable 5.2 在 Claude Code 中构建,其 2D 模切图视图会生成参数化 SVG 蓝图,包含实线青色切割线、虚线朱红压痕线、3mm 出血框、粘口斜线填充和毫米尺寸标注。点击 Export Print Dieline SVG 按钮即可下载与预览中相同的按比例缩放矢量文件。
使用右侧参数化检查器栏中的实时品牌图稿绘制器。设置品牌标题、产品副标题和净含量,从四种瑞士/编辑式标签布局中选择一种并选一个强调色,然后上传 logo 文件,即可实时重绘 1024x1024 的 3D 面纹理。默认值为 SOLSTICE LAB、Botanical Barrier Serum 和 50 ML · 1.7 FL OZ,均可编辑。
3D 包装样机工作室模板包含四种参数化结构:带 0%–100% 铰链折叠的插舌式零售纸盒、带翻盖的硬质磁吸礼盒、瓦楞电商邮寄盒,以及带配套纸盒的磨砂玻璃滴管瓶。基材包括 Soft-Touch Charcoal、Cotton Rag Ivory、Natural Kraft、Mineral Sage 和 Cobalt Board,烫金遮罩可选 Brushed Brass、Rose Copper、Silver Chrome 或 Blind Deboss。
将 3D 包装样机工作室模板用于商业和客户项目需要 Pro,Pro 还会提供完整提示词和演示源代码。免费模板的提示词和所有 DESIGN.md 在 CC BY-NC 4.0 下可免费用于个人非商业用途。Pro 模板会公开简要说明、技术栈和变量,提示词仅对 Pro 会员可见。
3D 包装样机工作室模板已包含生产规格与阶梯单价报价表,设有 250、1,000、5,000 和 10,000 件档位。Save Spec 会将当前结构、尺寸、基材和烫金保存到 localStorage 中的抽屉,因此保存的 SKU 数量在页面刷新后仍会保留。在内容文件中修改档位数字和货币,以匹配你的印刷厂。
复制本页的完整提示词(Pro),或者运行 npx vibefather add 3d-packaging-mockup-studio,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 Claude Fable 5.2 在 Claude Code 里完成。每次都用公开的提示词原样生成,没有额外补充。
3D 包装样机工作室是一个单页网站,用 React、Tailwind CSS、Three.js 构建。提示词固定了技术栈,不同 AI 工具做出来的都是同一类项目,成品是静态网站,部署到哪里都可以。
3D 包装样机工作室是 Pro 模板:说明、技术栈和变量公开,完整提示词、在线演示的源码和商用授权包含在 VibeFather Pro 里,支持支付宝和微信支付。它的 DESIGN.md 个人项目可以免费用。
能。每个3D 包装样机工作室的演示上线前都在手机和电脑尺寸上检查过布局、字号和点击区域。可以直接用手机打开在线演示,或者在本页把预览切到手机视图看看。