Files

536 lines
11 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": [
{
"localized_name": "shape",
"name": "shape",
"type": "COMBO",
"widget": {
"name": "shape"
},
"link": null
},
{
"localized_name": "size",
"name": "size",
"type": "FLOAT",
"widget": {
"name": "size"
},
"link": null
},
{
"localized_name": "subdivisions",
"name": "subdivisions",
"shape": 7,
"type": "INT",
"widget": {
"name": "subdivisions"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh",
"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,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"type": "TRIMESH",
"link": 3
},
{
"localized_name": "mode",
"name": "mode",
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
},
{
"localized_name": "sample_count",
"name": "sample_count",
"shape": 7,
"type": "INT",
"widget": {
"name": "sample_count"
},
"link": null
},
{
"localized_name": "sampling_method",
"name": "sampling_method",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "sampling_method"
},
"link": null
},
{
"localized_name": "include_normals",
"name": "include_normals",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "include_normals"
},
"link": null
}
],
"outputs": [
{
"localized_name": "point_cloud",
"name": "point_cloud",
"type": "TRIMESH",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "d616ab2f28493cf34f723ed59ea6747b61519c9d",
"Node name for S&R": "GeomPackMeshToPointCloud"
},
"widgets_values": [
"surface_sampling",
10000,
"uniform",
"true"
]
},
{
"id": 2,
"type": "GeomPackCreatePrimitive",
"pos": [
-385.07737412512756,
169.36276444668482
],
"size": [
300,
150
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "shape",
"name": "shape",
"type": "COMBO",
"widget": {
"name": "shape"
},
"link": null
},
{
"localized_name": "size",
"name": "size",
"type": "FLOAT",
"widget": {
"name": "size"
},
"link": null
},
{
"localized_name": "subdivisions",
"name": "subdivisions",
"shape": 7,
"type": "INT",
"widget": {
"name": "subdivisions"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh",
"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": 5,
"type": "GeomPackPointToMeshDistance",
"pos": [
367.29946600916907,
46.84048913676731
],
"size": [
278.064453125,
142
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "target_mesh",
"name": "target_mesh",
"type": "TRIMESH",
"link": 9
},
{
"localized_name": "pointcloud",
"name": "pointcloud",
"type": "TRIMESH",
"link": 10
},
{
"localized_name": "distance_type",
"name": "distance_type",
"type": "COMBO",
"widget": {
"name": "distance_type"
},
"link": null
},
{
"localized_name": "sign_method",
"name": "sign_method",
"type": "COMBO",
"widget": {
"name": "sign_method"
},
"link": null
},
{
"name": "trimesh",
"type": "TRIMESH",
"link": null
},
{
"name": "point_cloud",
"type": "POINT_CLOUD",
"link": null
}
],
"outputs": [
{
"localized_name": "pointcloud",
"name": "pointcloud",
"type": "TRIMESH",
"links": [
13
]
},
{
"localized_name": "info",
"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": [
713.3881497702033,
223.41315829999016
],
"size": [
768,
834
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "mesh_1",
"name": "mesh_1",
"type": "TRIMESH",
"link": 12
},
{
"localized_name": "mesh_2",
"name": "mesh_2",
"type": "TRIMESH",
"link": 13
},
{
"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
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "991c7a75886f50d567e5ed6d36aed06d0729a938",
"Node name for S&R": "GeomPackPreviewMeshDual"
},
"widgets_values": [
"side_by_side",
"fields",
1,
1,
"{\"show_edges\": false, \"camera_state\": \"\", \"selected_field\": \"\"}"
]
},
{
"id": 7,
"type": "GeomPackCombineMeshes",
"pos": [
72.66265040999562,
278.53014403087855
],
"size": [
182.2265625,
86
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "mesh_a",
"name": "mesh_a",
"type": "TRIMESH",
"link": 6
},
{
"localized_name": "mesh_b",
"name": "mesh_b",
"shape": 7,
"type": "TRIMESH",
"link": 7
},
{
"localized_name": "mesh_c",
"name": "mesh_c",
"shape": 7,
"type": "TRIMESH",
"link": null
},
{
"localized_name": "mesh_d",
"name": "mesh_d",
"shape": 7,
"type": "TRIMESH",
"link": null
}
],
"outputs": [
{
"localized_name": "combined_mesh",
"name": "combined_mesh",
"type": "TRIMESH",
"links": [
12
]
},
{
"localized_name": "info",
"name": "info",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "a22feb725fe9afaf6cdcfa75002a514292fcec9a",
"Node name for S&R": "GeomPackCombineMeshes"
},
"widgets_values": []
}
],
"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": [
845.5955685630503,
365.36182805307993
]
},
"frontendVersion": "1.30.6",
"workflowRendererVersion": "LG"
},
"version": 0.4
}