公寓CAD制图后搭建为3D模型
- 播放
- 1.9万
- 点赞
- 297
- 评论
- 16
- 收藏
- 327
作者用Claude Opus 5.5和Three.js制作了一个单文件HTML作品,先以CAD绘图方式画出92平米公寓平面图,再转为3D建成效果,之后让Claude为成品场景重新写了一个提示词并公开分享。
完整提示词994 字符
Build a single HTML file with Three.js. It opens on an AutoCAD-style dark screen with a command line at the bottom, where real commands type out (LINE, OFFSET, COPY, INSERT, DIMLINEAR) while a crosshair cursor clicks and snaps on the drawing. Draft a 92 m² apartment in the order a drafter would: grid lines, a 400×400 mm column copied to every crossing, 300 mm block walls with 150 mm insulation, doors and windows, furniture at real sizes, dimensions, room areas and a 1:50 sheet. Then a selection window grabs the plan and the CAD screen turns into a 3D scene that builds the apartment step by step from the same drawing: concrete columns, block walls, insulation, lintels, windows and swinging doors, oak and tile floors, kitchen and bath, then every piece of furniture dropping into the spot where it was drawn, while the camera flies around it. Everything runs on one timeline, with a button that renders it frame by frame to a 1440p60 MP4 (WebCodecs + mp4-muxer) so the video never lags.
出处:作者在原帖下的回复。提示词保留原文语言,未做改写。
作者提到的工具
Three.jsWebCodecs
原帖:https://x.com/Solvaix/status/2111880621954081240
全部作品数据开源在 GitHub · awesome-opus-5.5-video。
模型归属以作者自述为准,本站未独立复现。播放量为 2026-10-19 的快照。作品版权归原作者,修改署名或下架请在 X 私信 @GoSailGlobal。