Skip to content

0.25.0 · Editable timber half laps

Choose a tag to compare

@pearjelly pearjelly released this 11 Nov 12:49
d87eb61

木条半搭接

两组正交木条交叠时,可以一次切出互补的槽口。打开工作台的「调整」,在「形状与轮廓 → 半搭接」选择另一组木条,并指定当前组保留上半部还是下半部。

  1. 点「预览槽口」,查看同一处交叉的上下切面。遇到部分宽度交叠时,会优先展示一处端部搭接。
  2. 检查后点「应用并预览」。DeepBlend 校验保存内容与已检查的草稿一致,再生成新版本的预览。已有匹配机位和设置的旧预览时,可直接做前后对比。
  3. 从任一组木条都可以检查已保存的搭接。选择「无搭接」并应用即可移除,原先的版本仍可恢复。

要把已搭接的工程带到 Blender 继续编辑,在「版本 → 保存可编辑副本」选择搭接所在的版本,点「准备下载」,然后下载并完整解压 ZIP。按包内说明打开该版本的 scene.blend。

适用于两组由静态长方体控制网格生成的木条,须正交相交且顶面和底面分别等高。阵列和镜像参数仍可编辑,槽口会随几何重新计算。智能体可使用 joint.halfLap.set 完成同样的建模操作。槽口草稿预览在本机工作台中可用。工具契约

用示例场景试做

附件 half-lap-starter.scene.json 有两组已经排好的木条。把文件交给 DeepBlend Studio 后,可以输入:

用这份 SceneSpec 创建新项目。把 timber-y 和 timber-x 做成半搭接,让 timber-y 保留下半部。保存新版本并显示 hero 相机预览。

也可以在工作台打开示例的首个版本,先试着交换上下半部,查看槽口,再决定保存哪种搭法。

Editable timber half laps

In the workbench, open Adjust → Shape and profile → Half lap, choose the other timber group, then choose which half the selected group keeps. Preview recesses shows both cut faces before you save. Apply and preview saves the draft you inspected as a new revision. Arrays and mirrors remain editable, and saved joints recalculate when geometry changes. The operation supports orthogonal rectangular timber groups that share their top and bottom heights.

To try it, give DeepBlend Studio the attached half-lap-starter.scene.json and ask it to create a project, join timber-y and timber-x, keep the lower half of timber-y, and show the hero-camera preview. The standalone workbench follows the browser's preferred language when it supports English or Chinese.

To continue in Blender, open Revisions → Save an editable copy, select the joined revision, and prepare and download the ZIP. Extract the whole ZIP before opening that revision’s scene.blend.

验证

佛塔檐口场景测得 100 处交叉,其中 36 处未跨满木条宽度。本机约 1.5 秒生成两张槽口图。独立重开 Blender 工程,交叠采样格从 200 降到 0,100 个闭合部件保留,装配的采样占据范围相同。半搭接验证记录

从已安装的工作台下载佛塔檐口的搭接版本后,Blender 重新打开了 ZIP 中的工程。100 个闭合部件、10,048 个外表面 UV 角点及三张内嵌素材均已复核。

macOS arm64 的 npm、固定提交源码和 GitHub 发布包安装预演均通过八项实测。英文槽口预览在 1440 和 390 像素宽的工作台中均已检查,中文独立工作台也通过了完整浏览器验收。

从 npm 0.24.0 原地升级的预演保留了工程、已保存版本和预览图的原始字节。升级后可在同一工程里预览、保存和移除半搭接。发布包也通过了 Linux x64 的 glibc 与 musl 模拟环境测试,两处解码的槽口 PNG 和预览 JPEG 像素均与 macOS arm64 一致。

发布源码为主分支提交 d87eb61,与验收提交的文件树一致。五项 GitHub CI 与 56 套本地集成和原生验收通过。首次运行中超时的 glTF 契约检查单独复验通过。 验收 CI