Materializr
Open-source parametric 3D CAD for makers — constraint sketches, solid modeling, threads, SVG & text engraving, STL/STEP export. Android, iPad, Linux, Mac, Windows. Vibe coded.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Create electronics with Typescript and React. Compile Typescript to Circuit JSON
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The core logic used to build Circuit JSON from tscircuit React elements.
tscircuit · Online Playground · Development Guide · Core Benchmarks · Contributor Getting Started Video
You can use core to create Circuit JSON, which can then
be converted into Gerbers, viewed online, and much more.
import { Circuit } from "@tscircuit/core"
const circuit = new Circuit()
circuit.add(
<board width="10mm" height="10mm">
<resistor name="R1" resistance="10k" footprint="0402" />
<led name="L1" footprint="0402" />
<trace from="R1.pin1" to="net.VCC" />
<trace from="R1.pin2" to="L1.pos" />
<trace from="L1.neg" to="net.GND" />
</board>
)
circuit.getCircuitJson()
import { Board, Resistor, Led, Trace, Circuit } from "@tscircuit/core"
const circuit = new Circuit()
const board = new Board({
width: "10mm",
height: "10mm",
})
circuit.add(board)
const R1 = new Resistor({ resistance: "10k", footprint: "0402" })
const L1 = new Led({ footprint: "0402" })
board.add(R1)
board.add(L1)
const trace = new Trace({ width: "0.2mm" })
trace.connect(R1.output, L1.anode)
board.add(trace)
circuit.getCircuitJson() // [{ type: "board", ...}, { type: "resistor", ...}, ...]