{
 "last_node_id": 5,
 "last_link_id": 3,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -438.0
   ],
   "size": [
    640,
    268
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "**Needs in ComfyUI's `input` folder:** `clip0.png`\n\nImage to 3D mesh: one photo of a single object (here clip0.png; use a photo of one object) becomes a coloured triangle mesh in well under a second (TripoSR, MIT). Give the node a mask (e.g. Remove background's mask output) or an RGBA image and it cuts the object out and centres it on grey as the model expects. The GLB lands under output/fastforks/object_00001.glb and shows in Preview 3D; set `size` to give its longest side in m or mm (the model's own scale is arbitrary)."
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      1
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "clip0.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "FastforksImageTo3D",
   "pos": [
    540.0,
    0.0
   ],
   "size": [
    380,
    400
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 1
    },
    {
     "name": "mask",
     "type": "MASK",
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "mesh_path",
     "type": "STRING",
     "links": [
      2
     ],
     "slot_index": 0
    },
    {
     "name": "model_3d",
     "type": "FILE_3D",
     "links": [
      3
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "triposr",
    "auto",
    "auto",
    256,
    0.0,
    "m",
    "glb",
    "fastforks/object"
   ]
  },
  {
   "id": 4,
   "type": "PreviewAny",
   "pos": [
    1000.0,
    0.0
   ],
   "size": [
    300,
    100
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 2
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "mesh path",
   "widgets_values": []
  },
  {
   "id": 5,
   "type": "Preview3DAdvanced",
   "pos": [
    1000.0,
    160.0
   ],
   "size": [
    500,
    600
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "model_3d",
     "type": "FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
     "link": 3
    },
    {
     "name": "model_3d_info",
     "type": "LOAD3D_MODEL_INFO",
     "link": null
    },
    {
     "name": "camera_info",
     "type": "LOAD3D_CAMERA",
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "model_3d",
     "type": "FILE_3D",
     "links": [],
     "slot_index": 0
    },
    {
     "name": "model_3d_info",
     "type": "LOAD3D_MODEL_INFO",
     "links": [],
     "slot_index": 1
    },
    {
     "name": "camera_info",
     "type": "LOAD3D_CAMERA",
     "links": [],
     "slot_index": 2
    },
    {
     "name": "width",
     "type": "INT",
     "links": [],
     "slot_index": 3
    },
    {
     "name": "height",
     "type": "INT",
     "links": [],
     "slot_index": 4
    }
   ],
   "properties": {},
   "widgets_values": [
    "",
    1024,
    1024
   ]
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   2,
   3,
   0,
   4,
   0,
   "*"
  ],
  [
   3,
   3,
   1,
   5,
   0,
   "FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Inputs",
   "bounding": [
    -30.0,
    -90.0,
    360.0,
    460.0
   ],
   "color": "#88A",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "fastforks",
   "bounding": [
    510.0,
    -90.0,
    1020.0,
    880.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}