Files
PozzettiAndrea-ComfyUI-Geom…/workflows/point_mesh_distance.json
T
2026-02-12 21:16:40 +01:00

362 lines
6.4 KiB
JSON

{
"id": "fb7bc5d6-aeb1-47ae-8e7c-69dec20b3cf2",
"revision": 0,
"last_node_id": 8,
"last_link_id": 13,
"nodes": [
{
"id": 1,
"type": "GeomPackCreatePrimitive",
"pos": [
-385.07737412512756,
-80.63723555331518
],
"size": [
300,
150
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "mesh",
"type": "TRIMESH",
"links": [
3,
6
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "8b8322e2f784d84097cd3427f097b55dc9a29d2a",
"Node name for S&R": "GeomPackCreatePrimitive"
},
"widgets_values": [
"cube",
2,
1
]
},
{
"id": 4,
"type": "GeomPackMeshToPointCloud",
"pos": [
14.300369934789328,
-82.53386520207552
],
"size": [
270,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 3
}
],
"outputs": [
{
"name": "point_cloud",
"type": "TRIMESH",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "d616ab2f28493cf34f723ed59ea6747b61519c9d",
"Node name for S&R": "GeomPackMeshToPointCloud"
},
"widgets_values": [
10000,
"uniform",
"true"
]
},
{
"id": 2,
"type": "GeomPackCreatePrimitive",
"pos": [
-385.07737412512756,
169.36276444668482
],
"size": [
300,
150
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "mesh",
"type": "TRIMESH",
"links": [
7,
9
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "8b8322e2f784d84097cd3427f097b55dc9a29d2a",
"Node name for S&R": "GeomPackCreatePrimitive"
},
"widgets_values": [
"sphere",
2.5,
2
]
},
{
"id": 7,
"type": "GeomPackCombineMeshes",
"pos": [
-0.5014120900042822,
276.30846434337855
],
"size": [
175.740234375,
86
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mesh_a",
"type": "TRIMESH",
"link": 6
},
{
"name": "mesh_b",
"shape": 7,
"type": "TRIMESH",
"link": 7
},
{
"name": "mesh_c",
"shape": 7,
"type": "TRIMESH",
"link": null
},
{
"name": "mesh_d",
"shape": 7,
"type": "TRIMESH",
"link": null
}
],
"outputs": [
{
"name": "combined_mesh",
"type": "TRIMESH",
"links": [
12
]
},
{
"name": "info",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "a22feb725fe9afaf6cdcfa75002a514292fcec9a",
"Node name for S&R": "GeomPackCombineMeshes"
},
"widgets_values": []
},
{
"id": 5,
"type": "GeomPackPointToMeshDistance",
"pos": [
367.29946600916907,
46.84048913676731
],
"size": [
278.064453125,
142
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "target_mesh",
"type": "TRIMESH",
"link": 9
},
{
"name": "pointcloud",
"type": "TRIMESH",
"link": 10
},
{
"name": "trimesh",
"type": "TRIMESH",
"link": null
},
{
"name": "point_cloud",
"type": "POINT_CLOUD",
"link": null
}
],
"outputs": [
{
"name": "pointcloud",
"type": "TRIMESH",
"links": [
13
]
},
{
"name": "info",
"type": "STRING",
"links": null
},
{
"name": "mean_distance",
"type": "FLOAT",
"links": null
},
{
"name": "info",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "d616ab2f28493cf34f723ed59ea6747b61519c9d",
"Node name for S&R": "GeomPackPointToMeshDistance"
},
"widgets_values": [
"unsigned",
"default"
]
},
{
"id": 8,
"type": "GeomPackPreviewMeshDual",
"pos": [
286.9770169577036,
257.7295645499901
],
"size": [
768,
826
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "mesh_1",
"type": "TRIMESH",
"link": 12
},
{
"name": "mesh_2",
"type": "TRIMESH",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "991c7a75886f50d567e5ed6d36aed06d0729a938",
"Node name for S&R": "GeomPackPreviewMeshDual"
},
"widgets_values": [
"side_by_side",
"fields",
1,
1,
""
]
}
],
"links": [
[
3,
1,
0,
4,
0,
"TRIMESH"
],
[
6,
1,
0,
7,
0,
"TRIMESH"
],
[
7,
2,
0,
7,
1,
"TRIMESH"
],
[
9,
2,
0,
5,
0,
"TRIMESH"
],
[
10,
4,
0,
5,
1,
"TRIMESH"
],
[
12,
7,
0,
8,
0,
"TRIMESH"
],
[
13,
5,
0,
8,
1,
"TRIMESH"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8000000000000012,
"offset": [
456.1522091880507,
62.153820240580465
]
},
"frontendVersion": "1.30.6"
},
"version": 0.4
}