{
  "id": "94c1c61e-cf5c-42a8-b9ec-914bb4f038ea",
  "revision": 0,
  "last_node_id": 23,
  "last_link_id": 36,
  "nodes": [
    {
      "id": 1,
      "type": "GeomPackLoadMesh",
      "pos": [
        -857.4475596051225,
        -67.3004633654837
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "file_path",
          "name": "file_path",
          "type": "COMBO",
          "widget": {
            "name": "file_path"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "mesh",
          "name": "mesh",
          "type": "TRIMESH",
          "links": [
            19
          ]
        },
        {
          "localized_name": "texture",
          "name": "texture",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "253a956368261760da54dc96750c2ab0224e2b1f",
        "Node name for S&R": "GeomPackLoadMesh",
        "aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
      },
      "widgets_values": [
        "3d/camelhead.off"
      ]
    },
    {
      "id": 17,
      "type": "GeomPackFixSelfIntersectionsByPerturbation",
      "pos": [
        -628.2602741818372,
        99.13388533335451
      ],
      "size": [
        319.319921875,
        206
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "trimesh",
          "name": "trimesh",
          "type": "TRIMESH",
          "link": 23
        },
        {
          "localized_name": "epsilon",
          "name": "epsilon",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "epsilon"
          },
          "link": null
        },
        {
          "localized_name": "max_iterations",
          "name": "max_iterations",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "max_iterations"
          },
          "link": null
        },
        {
          "localized_name": "direction",
          "name": "direction",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "direction"
          },
          "link": null
        },
        {
          "localized_name": "scale_by_intersection_count",
          "name": "scale_by_intersection_count",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "scale_by_intersection_count"
          },
          "link": null
        },
        {
          "localized_name": "re_detect_after_fix",
          "name": "re_detect_after_fix",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "re_detect_after_fix"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "fixed_mesh",
          "name": "fixed_mesh",
          "type": "TRIMESH",
          "links": [
            35
          ]
        },
        {
          "localized_name": "info",
          "name": "info",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "8b8322e2f784d84097cd3427f097b55dc9a29d2a",
        "Node name for S&R": "GeomPackFixSelfIntersectionsByPerturbation",
        "aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
      },
      "widgets_values": [
        0.0001,
        12,
        "adaptive",
        true,
        true,
        ""
      ]
    },
    {
      "id": 22,
      "type": "GeomPackDetectSelfIntersections",
      "pos": [
        -246.54255743342944,
        131.98867129323492
      ],
      "size": [
        210,
        86
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "trimesh",
          "name": "trimesh",
          "type": "TRIMESH",
          "link": 35
        }
      ],
      "outputs": [
        {
          "localized_name": "mesh_with_field",
          "name": "mesh_with_field",
          "type": "TRIMESH",
          "links": [
            36
          ]
        },
        {
          "localized_name": "info",
          "name": "info",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "abe9ed9726622d0f29e3936feaf6c1aa446914a3",
        "Node name for S&R": "GeomPackDetectSelfIntersections",
        "aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 21,
      "type": "GeomPackPreviewMeshDual",
      "pos": [
        11.636891884746433,
        -233.50651464931806
      ],
      "size": [
        768,
        834
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "mesh_1",
          "name": "mesh_1",
          "type": "TRIMESH",
          "link": 32
        },
        {
          "localized_name": "mesh_2",
          "name": "mesh_2",
          "type": "TRIMESH",
          "link": 36
        },
        {
          "localized_name": "layout",
          "name": "layout",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "layout"
          },
          "link": null
        },
        {
          "localized_name": "mode",
          "name": "mode",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "mode"
          },
          "link": null
        },
        {
          "localized_name": "opacity_1",
          "name": "opacity_1",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "opacity_1"
          },
          "link": null
        },
        {
          "localized_name": "opacity_2",
          "name": "opacity_2",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "opacity_2"
          },
          "link": null
        },
        {
          "localized_name": "show_edges",
          "name": "show_edges",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "show_edges"
          },
          "link": null
        },
        {
          "localized_name": "camera_state",
          "name": "camera_state",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "camera_state"
          },
          "link": null
        },
        {
          "localized_name": "selected_field",
          "name": "selected_field",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "selected_field"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "1fcec6e19dca5e04ec71d204dbe8ef1828885062",
        "Node name for S&R": "GeomPackPreviewMeshDual",
        "aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
      },
      "widgets_values": [
        "side_by_side",
        "fields",
        1,
        1,
        "{\"show_edges\": true, \"camera_state\": \"{\\\"position\\\":[-0.09236526786018014,0.17034567262454137,0.11403091642671599],\\\"focalPoint\\\":[0.000001996755599975586,-0.0636419951915741,-0.03211300075054169],\\\"viewUp\\\":[-0.4041614428850428,0.36444564436893356,-0.8389474956072003]}\", \"selected_field\": \"intersection_flag\"}"
      ]
    },
    {
      "id": 14,
      "type": "GeomPackDetectSelfIntersections",
      "pos": [
        -520.8806866148459,
        -180.529783138655
      ],
      "size": [
        253.19681905131227,
        86
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "trimesh",
          "name": "trimesh",
          "type": "TRIMESH",
          "link": 19
        }
      ],
      "outputs": [
        {
          "localized_name": "mesh_with_field",
          "name": "mesh_with_field",
          "type": "TRIMESH",
          "links": [
            23,
            32
          ]
        },
        {
          "localized_name": "info",
          "name": "info",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-geometrypack",
        "ver": "c77434120c2984b0ad1dd308c733117a855a8a36",
        "Node name for S&R": "GeomPackDetectSelfIntersections",
        "aux_id": "PozzettiAndrea/ComfyUI-GeometryPack"
      },
      "widgets_values": [
        ""
      ]
    }
  ],
  "links": [
    [
      19,
      1,
      0,
      14,
      0,
      "TRIMESH"
    ],
    [
      23,
      14,
      0,
      17,
      0,
      "TRIMESH"
    ],
    [
      32,
      14,
      0,
      21,
      0,
      "TRIMESH"
    ],
    [
      35,
      17,
      0,
      22,
      0,
      "TRIMESH"
    ],
    [
      36,
      22,
      0,
      21,
      1,
      "TRIMESH"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.5085220093479947,
      "offset": [
        703.8743037171953,
        308.4955814894071
      ]
    },
    "frontendVersion": "1.30.6",
    "workflowRendererVersion": "LG"
  },
  "version": 0.4
}
