34 Commits
Author SHA1 Message Date
PozzettiAndrea 670504cac9 removed comfy env copy files 2026-08-22 17:08:30 +02:00
PozzettiAndrea 414f759791 Vendor frontend JS into javascript/; drop the prestartup copy dance
The viewer JS/HTML/bundles are now committed in javascript/ (declared via
pyproject [tool.comfy] web = "javascript") instead of being copied from the
shared comfy-3d-viewers pip package at prestartup. Consequences:

- requirements.txt is now just comfy-env (host env installs nothing else,
  per the never-touch-the-host-env principle)
- prestartup_script.py no longer copies viewers or web_src; it keeps only
  setup_env() and the input-asset copies
- WEB_DIRECTORY attribute removed; the pyproject declaration is the single
  source (served at /extensions/comfyui-geometrypack/, keyed by project name)
- web_src/ deleted; its 6 widgets now live in javascript/js/ as the tracked
  source, edited directly
- viewer_pbr.html hardcoded-fallback URL updated to the new mount name

Iframe URLs auto-detect the mount from import.meta.url, so the folder rename
and mount-name change are transparent at runtime.
2026-08-12 17:37:09 +02:00
PozzettiAndrea 541b4e5b88 adapted to new comfy-env 2026-08-11 20:33:08 +02:00
PozzettiAndrea f14849b77c update backends 2026-07-28 00:01:07 +02:00
PozzettiAndrea 25b5f08e08 warp mesh 2026-07-07 11:54:34 +02:00
PozzettiAndrea dbacb9c18d Remove comfy_dynamic_widgets prestartup block
The comfy_dynamic_widgets package is not a declared dependency and is not
available, so this try/except block was always a silent no-op.
2026-06-19 12:08:03 +02:00
PozzettiAndrea 4bfd51cd65 field interpolation added 2026-06-18 14:16:25 +02:00
PozzettiAndreaandClaude Opus 4.8 587c1927ce Add Preview Mesh Slicer node (interactive VTK.js clip)
3D clip view + orthographic pick view (XY/YZ/XZ toggle): click 2 points to
define a cut line swept along the view axis into a clip plane; flip clip
slices the other side. Python node exports the mesh .vtp; clipping is
interactive in viewer_slicer.html. prestartup copies the new slicer viewer.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 17:12:45 +02:00
PozzettiAndreaandClaude Opus 4.8 892626791a Load Mesh drag-n-drop upload + inline View 3D; add Render Mesh Batch node
- Load Mesh: drop/upload meshes (reuses /upload/image, subfolder=3d, like
  the official Load Image) + a "view 3d" toggle that mounts the shared
  vtk.js viewer inline. Frontend source in tracked web_src/, copied to the
  generated web/js at prestartup.
- Render Mesh Batch: offscreen pyvista render per mesh, titled by name.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 14:01:02 +02:00
PozzettiAndrea d131c99288 use logger 2026-02-23 23:44:25 +01:00
PozzettiAndrea c12430c0f9 modernised testing workflows 2026-02-13 01:46:40 +01:00
PozzettiAndrea 8bcac7077b fixed info text 2026-02-13 01:23:40 +01:00
Andrea Pozzetti 11bc580d85 less torch, more numpy 2026-02-13 00:56:40 +01:00
Andrea Pozzetti 75de24bdc5 viewer_modes 2026-02-13 00:47:40 +01:00
Andrea Pozzetti ec1ab6c1ca 2.5 2026-02-13 00:46:40 +01:00
Andrea Pozzetti cd693a3b8a readded tracer 2026-02-13 00:42:40 +01:00
Andrea Pozzetti d8937c5e46 two venvs 2026-02-13 00:41:40 +01:00
Andrea Pozzetti 0165fcda50 import tracing 2026-02-13 00:38:40 +01:00
Andrea Pozzetti 322cd8a60f cleanup 2026-02-13 00:18:40 +01:00
Andrea Pozzetti 5fbb710df8 simplified prestartup 2026-02-13 00:04:40 +01:00
Andrea Pozzetti 59c3f843b9 stop copying skeleton 2026-02-12 23:58:40 +01:00
Andrea Pozzetti 8a2ea35211 retrigger2 2026-02-12 23:35:40 +01:00
Andrea Pozzetti 954bbec1ec better prestartup script 2026-02-12 23:19:40 +01:00
Andrea Pozzetti 3315947a19 added prestartup_script css 2026-02-12 22:49:40 +01:00
Andrea Pozzetti 00c49da821 Move web files to comfy-3d-viewers, gitignore web/
- Update prestartup_script.py to copy node widgets and assets from comfy-3d-viewers
- Gitignore entire web/ folder (now fully generated at startup)
- Remove web/ from git tracking
2026-02-12 22:19:40 +01:00
Andrea Pozzetti fe6d5b4d38 using comfy-3d-viewers package 2026-02-12 22:17:40 +01:00
Andrea Pozzetti fa1933dc4f sparing javascript lines 2026-02-12 22:16:40 +01:00
Andrea Pozzetti 7ba5f250c2 blue mesh 2026-02-12 21:52:40 +01:00
Andrea Pozzetti f09cdd22d4 docs + cleanup 2026-02-12 21:18:40 +01:00
Andrea Pozzetti 19a2d09845 fixed some nodes 2026-02-12 21:13:40 +01:00
Andrea Pozzetti 67bed4a108 deleted a bunch of files, added a remeshing workflow 2025-11-15 23:15:34 +01:00
Andrea Pozzetti e2a44db3f4 changed prestartup script, edited viewers 2025-11-15 23:02:14 +01:00
Andrea Pozzetti 6860b2adf5 3d assets added 2025-11-14 22:04:06 +01:00
Andrea Pozzetti 7c2cfb46af vtk viewer 2025-11-14 21:39:06 +01:00