{
  "id": "44a36ec4-b276-4608-a951-7738685770a8",
  "revision": 0,
  "last_node_id": 112,
  "last_link_id": 184,
  "nodes": [
    {
      "id": 11,
      "type": "InvertMask",
      "pos": [
        -169.066320244501,
        239.8185416961422
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            15,
            143
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "Node name for S&R": "InvertMask"
      },
      "widgets_values": []
    },
    {
      "id": 10,
      "type": "MaskPreview",
      "pos": [
        5.382683067582754,
        243.12101575583887
      ],
      "size": [
        140,
        246.00000000000003
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "Node name for S&R": "MaskPreview"
      },
      "widgets_values": []
    },
    {
      "id": 104,
      "type": "Trellis2ImageToShape",
      "pos": [
        -90.18281055637253,
        -364.5073213609967
      ],
      "size": [
        308.890625,
        290
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "model_config",
          "type": "TRELLIS2_MODEL_CONFIG",
          "link": 166
        },
        {
          "name": "conditioning",
          "type": "TRELLIS2_CONDITIONING",
          "link": 176
        }
      ],
      "outputs": [
        {
          "name": "mesh",
          "type": "TRIMESH",
          "links": [
            181
          ]
        },
        {
          "name": "shape_slat",
          "type": "TRELLIS2_SHAPE_SLAT",
          "links": []
        },
        {
          "name": "subs",
          "type": "TRELLIS2_SUBS",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-TRELLIS2",
        "ver": "3e157f7b1548e3331d9b92939629b887e0384926",
        "Node name for S&R": "Trellis2ImageToShape",
        "aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
      },
      "widgets_values": [
        515881831,
        "randomize",
        6.5,
        0.05,
        12,
        6.5,
        0.05,
        12,
        49152
      ]
    },
    {
      "id": 92,
      "type": "LoadTrellis2Models",
      "pos": [
        -545.2481074557795,
        -18.829118979744294
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model_config",
          "type": "TRELLIS2_MODEL_CONFIG",
          "links": [
            140,
            166
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-TRELLIS2",
        "ver": "0d2812f37805024cba568bb011a256f6e5985663",
        "Node name for S&R": "LoadTrellis2Models",
        "aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
      },
      "widgets_values": [
        "1024",
        "auto",
        "auto"
      ]
    },
    {
      "id": 110,
      "type": "Trellis2ProcessMesh",
      "pos": [
        329.69053295733255,
        -369.9858227055545
      ],
      "size": [
        323.12890625,
        298
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "trimesh",
          "type": "TRIMESH",
          "link": 181
        }
      ],
      "outputs": [
        {
          "name": "trimesh",
          "type": "TRIMESH",
          "links": [
            182,
            183
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-TRELLIS2",
        "ver": "037e84626b9fb2b379c2585e0389a68cf2ad8286",
        "Node name for S&R": "Trellis2ProcessMesh",
        "aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
      },
      "widgets_values": [
        "on",
        1,
        true,
        500000,
        0.001,
        true,
        4,
        90,
        1,
        1,
        1
      ]
    },
    {
      "id": 108,
      "type": "GeomPackPreviewMeshVTK",
      "pos": [
        864.5343429860318,
        -234.10020917975777
      ],
      "size": [
        512,
        722
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "trimesh",
          "shape": 7,
          "type": "TRIMESH",
          "link": 182
        },
        {
          "name": "voxelgrid",
          "shape": 7,
          "type": "VOXELGRID",
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "3cb49fbd7ba911c10a72fc767926a029f97798ab",
        "Node name for S&R": "GeomPackPreviewMeshVTK"
      },
      "widgets_values": [
        "fields",
        "{\"show_edges\":false,\"camera_state\":\"{\\\"position\\\":[0,0,0],\\\"focalPoint\\\":[0,0,0],\\\"viewUp\\\":[0,1,0]}\",\"selected_field\":\"\",\"selected_channel\":\"magnitude\",\"selected_colormap\":\"erdc_rainbow_bright\"}"
      ]
    },
    {
      "id": 111,
      "type": "Trellis2ExportTrimesh",
      "pos": [
        862.539199916781,
        -366.45249027436506
      ],
      "size": [
        271.6119140625,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "trimesh",
          "type": "TRIMESH",
          "link": 183
        }
      ],
      "outputs": [
        {
          "name": "file_path",
          "type": "STRING",
          "links": [
            184
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-TRELLIS2",
        "ver": "3e696f2cf174dba141c9efce0205e9a2d87e908a",
        "Node name for S&R": "Trellis2ExportTrimesh",
        "aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
      },
      "widgets_values": [
        "trellis2",
        "glb"
      ]
    },
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        -536.554600372609,
        164.03044271902985
      ],
      "size": [
        315,
        314
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            141
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            13
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.0",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "i_00017_.png",
        "image"
      ]
    },
    {
      "id": 112,
      "type": "Preview3D",
      "pos": [
        1484.7040495133815,
        -386.8434952640676
      ],
      "size": [
        400,
        550
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "camera_info",
          "shape": 7,
          "type": "LOAD3D_CAMERA",
          "link": null
        },
        {
          "name": "bg_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model_file",
          "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
          "widget": {
            "name": "model_file"
          },
          "link": 184
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "Node name for S&R": "Preview3D",
        "Camera Config": {
          "cameraType": "perspective",
          "fov": 75,
          "state": {
            "position": {
              "x": 0.31964239470088945,
              "y": 0.5598603316760674,
              "z": 0.8648027760115835
            },
            "target": {
              "x": 4.172325134277344e-7,
              "y": 0.000515475869178772,
              "z": -6.556510925292969e-7
            },
            "zoom": 1,
            "cameraType": "perspective"
          }
        },
        "Last Time Model File": "C:/AI-Software/ComfyUI_windows_portable_nvidia/ComfyUI_windows_portable/ComfyUI/output/trellis2_20260801_090507.glb",
        "Resource Folder": "AI-Software/ComfyUI_windows_portable_nvidia/ComfyUI_windows_portable/ComfyUI/output",
        "Scene Config": {
          "showGrid": true,
          "backgroundColor": "#ffffff",
          "backgroundImage": "",
          "backgroundRenderMode": "tiled",
          "models": [
            {
              "position": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "quaternion": {
                "x": 0,
                "y": 0,
                "z": 0,
                "w": 1
              },
              "scale": {
                "x": 1,
                "y": 1,
                "z": 1
              }
            }
          ]
        },
        "Light Config": {
          "intensity": 3,
          "hdri": {
            "enabled": false,
            "hdriPath": "",
            "showAsBackground": false,
            "intensity": 1
          }
        },
        "Model Config": {
          "upDirection": "original",
          "materialMode": "original",
          "showSkeleton": false,
          "gizmo": {
            "enabled": false,
            "mode": "translate",
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "rotation": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 1
            }
          }
        }
      },
      "widgets_values": [
        "C:/AI-Software/ComfyUI_windows_portable_nvidia/ComfyUI_windows_portable/ComfyUI/output/trellis2_20260801_090507.glb",
        ""
      ]
    },
    {
      "id": 91,
      "type": "Trellis2GetConditioning",
      "pos": [
        -149.16252006837138,
        13.203654288442559
      ],
      "size": [
        300.052734375,
        122
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model_config",
          "type": "TRELLIS2_MODEL_CONFIG",
          "link": 140
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 141
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 143
        }
      ],
      "outputs": [
        {
          "name": "conditioning",
          "type": "TRELLIS2_CONDITIONING",
          "links": [
            176
          ]
        },
        {
          "name": "preprocessed_image",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-TRELLIS2",
        "ver": "0d2812f37805024cba568bb011a256f6e5985663",
        "Node name for S&R": "Trellis2GetConditioning",
        "aux_id": "PozzettiAndrea/ComfyUI-TRELLIS2"
      },
      "widgets_values": [
        "white"
      ],
      "color": "#009933"
    }
  ],
  "links": [
    [
      13,
      1,
      1,
      11,
      0,
      "MASK"
    ],
    [
      15,
      11,
      0,
      10,
      0,
      "MASK"
    ],
    [
      140,
      92,
      0,
      91,
      0,
      "TRELLIS2_MODEL_CONFIG"
    ],
    [
      141,
      1,
      0,
      91,
      1,
      "IMAGE"
    ],
    [
      143,
      11,
      0,
      91,
      2,
      "MASK"
    ],
    [
      166,
      92,
      0,
      104,
      0,
      "TRELLIS2_MODEL_CONFIG"
    ],
    [
      176,
      91,
      0,
      104,
      1,
      "TRELLIS2_CONDITIONING"
    ],
    [
      181,
      104,
      0,
      110,
      0,
      "TRIMESH"
    ],
    [
      182,
      110,
      0,
      108,
      0,
      "TRIMESH"
    ],
    [
      183,
      110,
      0,
      111,
      0,
      "TRIMESH"
    ],
    [
      184,
      111,
      0,
      112,
      2,
      "STRING"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.1634518918284444,
      "offset": [
        498.25173126752077,
        499.10894639760636
      ]
    },
    "frontendVersion": "1.47.11",
    "workflowRendererVersion": "LG",
    "anomalous_hashes": {},
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}