Kokon
一款免费的本地化方案,可替代 Nano Banana 和 Generative Fill。涂抹区域,输入更改,由您自己的 GPU 进行编辑。提供 Windows、Mac 和 Linux 的单一安装程序。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
MeshCraft
翻译准备中
正在加载完整 README。
查看完整 README ↗Browser-based 3D mesh generator and toolpath compiler for CNC machining.
Try it live | Built by Sawyer Design
Generate 3D meshes from procedural noise or depth map images, tuned for CNC machining. Export watertight STL, OBJ, or heightmap PNG -- or compile ShopBot .sbp toolpaths directly, bypassing CAM software entirely.
.mcrelief master at full resolutionSolid, Wireframe, Both, Points — switch between render modes to inspect your mesh.
Visit the live site — no install required:
https://meshcraft.sawyerdesign.io
npm install # First time
npm run dev # Vite dev server with HMR (http://localhost:5173)
npm run build # TypeScript + Vite production build → dist/
npm run preview # Preview production build locally
Exported STL/OBJ files are ready for CAM software like VCarve, Aspire, or Fusion 360. SBP files run directly on ShopBot CNCs -- no CAM software needed.
Vite + TypeScript + Three.js. Hardware-accelerated WebGL rendering with Phong shading, depth buffer, and MSAA anti-aliasing.
src/
├── main.ts # Entry point, URL state, demo preload
├── state.ts # Typed STATE singleton, URL serialize/deserialize
├── types.ts # Shared interfaces (Vertex3D, Triangle, MeshData)
├── noise/
│ ├── generators.ts # 16+ noise classes + factory
│ ├── voronoi-relief.ts # 3D Voronoi cell relief sampler (grid-aware)
│ └── presets.ts # 18 CNC presets, 6 texture profiles
├── mesh.ts # Mesh generation + smoothing
├── render.ts # Three.js WebGL rendering (Phong shading, custom camera)
├── export.ts # STL, OBJ, heightmap PNG, SBP export dispatcher
├── sbp-export.ts # Web UI bridge: MeshCraft STATE -> SBP pipeline -> download
├── ui.ts # Sidebar, sliders, depth map upload, SBP config panel
├── interaction.ts # Mouse/touch orbit, pan, zoom
├── toolbar.ts # Mode tabs, toolbar, Copy Link, format-aware controls
├── stats.ts # Stats overlay (format-aware: triangles or SBP moves)
├── toast.ts # Toast notifications
├── sponsor.ts # Sponsor modal
└── sbp/ # STL-to-SBP pipeline (shared between web + CLI, zero Node deps)
├── types.ts # ToolDef, SbpConfig, ToolpathMove, ToolpathSection
├── tools.ts # Embedded ATC tool database (18 tools, 3 material profiles)
├── stl-parser.ts # Binary STL -> Float32Array + bounding box
├── heightmap.ts # Triangle mesh or STATE vertices -> regular Z grid
├── compensate.ts # Tool compensation (separable morphological erosion)
├── roughing.ts # Z-level stepdown raster
├── finishing.ts # 45-deg continuous zigzag
├── writer.ts # OpenSBP file builder
├── generate.ts # Pipeline orchestrator
└── worker.ts # Web Worker for STL upload pipeline
cli/
├── stl-to-sbp.ts # CLI entry point (Node-only: fs, process)
└── vtdb-reader.ts # SQLite vtdb reader (better-sqlite3)
Generate ShopBot .sbp toolpath files directly from any binary STL -- no Vectric Aspire or other CAM software required. Two-pass pipeline: roughing (Z-level raster) + finishing (45-deg continuous zigzag with tool compensation).
./stl-to-sbp.sh <input.stl> [options]
# or
npm run stl-to-sbp -- <input.stl> [options]
Options:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗