KJDrawDocs

KJDraw

Open-source engineering CAD开源工程 CAD

One editable model for every engineering workflow.一份可编辑图档,贯通每一种工程工作流。

Geometry, dimensions and agent actions — kept together.几何、尺寸与智能体操作,始终围绕同一份图档。

Abstract editable CAD model showing native geometry, references and constraints
Native geometry原生几何Deterministic edits确定性编辑Open integrations开放集成

01 / BUILD

Make CAD part of your workflow.让 CAD 进入你的工作流。

Use the editor directly, embed its typed API in a product, or connect an agent to a reviewable drawing workflow.直接使用编辑器、将类型化 API 嵌入产品,或让智能体接入可审核的绘图流程。

02 / EXPLORE

Different disciplines. The same editable core.不同专业,同一套可编辑内核。

Open an editable example, inspect its objects, then continue editing in the Playground.打开可编辑示例,检查对象,再到工作台继续编辑。

Browse all examples浏览全部案例

03 / DEVELOP

Start with one editor.从一个编辑器开始。

A small TypeScript entry point mounts the workbench. From there, the same document can be inspected, edited, saved and reopened.用简洁的 TypeScript 入口挂载工作台,再检查、编辑、保存与重开同一份图档。

Five-minute quickstart五分钟快速上手
TypeScriptAPI ↗
import { createKJDrawEditor } from '@kanjieteam/kjdraw'

const editor = createKJDrawEditor('#cad', {
  document: 'sample',
})

await editor.ready
await editor.execute('CREATE', {
  type: 'CIRCLE',
  payload: { center: [40, 30, 0], radius: 12 },
})

editor.fit()

04 / VERIFY

Not just a picture.交付的,不只是一张图片。

KJDraw keeps engineering objects editable and makes changes and file exchange inspectable.KJDraw 保留可编辑的工程对象,让修改和文件交换都可以检查。

KJDraw

Open-source engineering CAD开源工程 CAD

One editable model for every engineering workflow.一份可编辑图档,贯通每一种工程工作流。

Geometry, dimensions and agent actions — kept together.几何、尺寸与智能体操作,始终围绕同一份图档。

Abstract editable CAD model showing native geometry, references and constraints
Native geometry原生几何Deterministic edits确定性编辑Open integrations开放集成

01 / BUILD

Make CAD part of your workflow.让 CAD 进入你的工作流。

Use the editor directly, embed its typed API in a product, or connect an agent to a reviewable drawing workflow.直接使用编辑器、将类型化 API 嵌入产品,或让智能体接入可审核的绘图流程。

02 / EXPLORE

Different disciplines. The same editable core.不同专业,同一套可编辑内核。

Open an editable example, inspect its objects, then continue editing in the Playground.打开可编辑示例,检查对象,再到工作台继续编辑。

Browse all examples浏览全部案例

03 / DEVELOP

Start with one editor.从一个编辑器开始。

A small TypeScript entry point mounts the workbench. From there, the same document can be inspected, edited, saved and reopened.用简洁的 TypeScript 入口挂载工作台,再检查、编辑、保存与重开同一份图档。

Five-minute quickstart五分钟快速上手
TypeScriptAPI ↗
import { createKJDrawEditor } from '@kanjieteam/kjdraw'

const editor = createKJDrawEditor('#cad', {
  document: 'sample',
})

await editor.ready
await editor.execute('CREATE', {
  type: 'CIRCLE',
  payload: { center: [40, 30, 0], radius: 12 },
})

editor.fit()

04 / VERIFY

Not just a picture.交付的,不只是一张图片。

KJDraw keeps engineering objects editable and makes changes and file exchange inspectable.KJDraw 保留可编辑的工程对象,让修改和文件交换都可以检查。

Guides, Editor API and complete type reference指南、Editor API 与完整类型参考