A ComfyUI plugin that integrates Pascal Editor — a full-featured 3D architectural editor — directly into your ComfyUI workflow.
- Full 3D Architectural Editor — Create and edit buildings, walls, floors, ceilings, roofs, doors, windows, and zones directly in a ComfyUI node
- Screenshot Output — Automatically captures the current 3D viewport as an IMAGE output when running the workflow, ready for img2img, ControlNet, etc.
- Configurable Resolution — Width/height controls on the node determine the output image size (center-crop + LANCZOS scaling, no distortion)
- 3D Model Export — Export your designs as GLB, STL, or OBJ via node buttons
- Scene Save & Load — Save your building layout as JSON and reload it later
- Fullscreen Mode — Open the editor in a fullscreen dialog for a better editing experience
- Top Menu Access — Quick access button in the ComfyUI top menu bar
- Collapsible UI — Sidebar and toolbar can be collapsed/dragged for maximum viewport space
Clone this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/pascalorg/ComfyUI-PascalEditor.gitRestart ComfyUI. The Pascal Editor node will appear under the PascalEditor category.
- Add the Pascal Editor node to your workflow
- Design your building in the embedded 3D editor
- Connect the
imageoutput to downstream nodes (e.g., Preview Image, img2img, ControlNet) - Run the workflow — the current viewport is automatically captured and output
| Button | Action |
|---|---|
| Export GLB | Download the 3D model in GLB format |
| Export STL | Download the 3D model in STL format |
| Export OBJ | Download the 3D model in OBJ format |
| Save Build | Save the current scene as a JSON file |
| Load Build | Load a previously saved JSON scene |
| Fullscreen | Open the editor in a fullscreen dialog |
Click the Pascal Editor button in the ComfyUI top menu bar to open the editor in a fullscreen dialog.
Access the editor directly at: http://127.0.0.1:8188/pascal-editor/
- Node.js 18+
- Bun package manager
cd ComfyUI/custom_nodes/ComfyUI-PascalEditor
npm install
npm run buildThe pascal-editor-ui/ directory contains the pre-built editor. To rebuild from source:
bash build-editor.shThis script builds the Pascal Editor as a static export and copies the output to the plugin directory.
This plugin integrates Pascal Editor by Pascal — an open-source 3D architectural editor built with React Three Fiber, Three.js, and Next.js.
MIT
