Pascal Editor: เครื่องมือแก้ไขอาคาร 3D แบบโอเพ่นซอร์สPascal Editor: Open-source 3D Architectural Editor
Pascal Editor ช่วยสร้างและแก้ไขโมเดลอาคารแบบ 3D โดยใช้ React Three Fiber และ WebGPU
Pascal Editor enables the creation and modification of 3D building models using React Three Fiber and WebGPU.
ไว้ทำอะไร
Pascal Editor ออกแบบมาเพื่อช่วยผู้ใช้สร้างแบบจำลองอาคารสามมิติที่มีประสิทธิภาพ สามารถใช้งานได้ทั้งจากเบราว์เซอร์และ CLI และสามารถรวมเข้ากับ AI agent ผ่านการใช้ Model Context Protocol (MCP)
ทำงานอย่างไร
Pascal Editor ประกอบด้วยหลายโมดูลที่ทำหน้าที่ต่าง ๆ กัน เช่น @pascal-app/core จัดการสิ่งที่เกี่ยวกับสถานะของซีนและโครงร่าง @pascal-app/viewer เขียนตัวแสดงผลแบบ 3D ด้วย React Three Fiber และ @pascal-app/editor ช่วยในส่วนของเครื่องมือแก้ไขและส่วนติดต่อผู้ใช้ ระบบจะทำการแปลงข้อมูลของ node ในรูปแบบ JSON และจัดการกับผลลัพธ์บนหน้าจอผ่านการใช้ Three.js node แต่ละชิ้นที่สร้างขึ้นจะถูกจัดเก็บไว้ในฐานข้อมูลและสามารถอัพเดทได้ผ่านระบบ MCP
โครงสร้างโค้ด
- packages/core — จัดการสเตตัสและโพรโตคอลของซีน
- packages/viewer — ระบบแสดงผลแบบ 3D
- packages/editor — เครื่องมือและ UI สำหรับแก้ไข
- apps/editor — แอปพลิเคชัน Next.js สำหรับ Edit package
เริ่มใช้งาน
npx @pascal-app/cli editor
เหมาะกับงานแบบไหน
- การออกแบบโมเดลอาคาร3D
- การทดลองใช้งาน AI agent สำหรับการแก้ไขซีน
ข้อควรรู้
- ต้องการ Node.js เวอร์ชัน 22.13 หรือใหม่กว่า
- ได้รับอนุญาตภายใต้ MIT License
What it is for
Pascal Editor is designed to assist users in creating efficient 3D building models. It can be used from a browser or CLI and allows integration with AI agents through the Model Context Protocol (MCP).
How it works
Pascal Editor consists of several modules with distinct roles, such as @pascal-app/core managing scene states and schemas, @pascal-app/viewer carrying out 3D rendering via React Three Fiber, and @pascal-app/editor facilitating editing tools and user interface. The system processes node data in JSON format, handling the visual output using Three.js. Created nodes are stored in a database and can be updated via the MCP system.
Code structure
- packages/core — Handles scene status and protocols
- packages/viewer — 3D rendering system
- packages/editor — Tools and UI for editing
- apps/editor — Next.js application for edit package
Getting started
npx @pascal-app/cli editor
Good fit for
- 3D building model design
- Experimenting with AI agents for scene editing
Things to know
- Requires Node.js version 22.13 or newer
- Licensed under the MIT License
บทวิเคราะห์นี้สร้างจาก README และโค้ดของ repo โดย AI ของ Oneable — ตรวจสอบ license และเอกสารต้นทางก่อนนำไปใช้งานจริงThis breakdown was generated from the repository's README and code by Oneable's AI — check the license and upstream docs before using it in production.