Files
PozzettiAndrea-ComfyUI-Geom…/workflows/fix_self_intersection.json
T

386 lines
7.7 KiB
JSON

{
"id": "94c1c61e-cf5c-42a8-b9ec-914bb4f038ea",
"revision": 0,
"last_node_id": 21,
"last_link_id": 33,
"nodes": [
{
"id": 13,
"type": "GeomPackDetectSelfIntersections",
"pos": [
-379.63813553555593,
423.2928747712214
],
"size": [
210,
178
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"type": "TRIMESH",
"link": 25
}
],
"outputs": [
{
"localized_name": "mesh_with_field",
"name": "mesh_with_field",
"type": "TRIMESH",
"links": [
33
]
},
{
"localized_name": "report",
"name": "report",
"type": "STRING",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "c77434120c2984b0ad1dd308c733117a855a8a36",
"Node name for S&R": "GeomPackDetectSelfIntersections"
}
},
{
"id": 21,
"type": "GeomPackPreviewMeshDual",
"pos": [
119.77009920706648,
-137.1509407158773
],
"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": 33
},
{
"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": "1fcec6e19dca5e04ec71d204dbe8ef1828885062",
"Node name for S&R": "GeomPackPreviewMeshDual"
},
"widgets_values": [
"side_by_side",
"fields",
1,
1,
""
]
},
{
"id": 17,
"type": "GeomPackFixSelfIntersectionsByPerturbation",
"pos": [
-248.37356706315592,
30.294778781901346
],
"size": [
319.319921875,
174
],
"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": [
25
]
},
{
"localized_name": "report",
"name": "report",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "8b8322e2f784d84097cd3427f097b55dc9a29d2a",
"Node name for S&R": "GeomPackFixSelfIntersectionsByPerturbation"
},
"widgets_values": [
0.0001,
12,
"adaptive",
true,
true
]
},
{
"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"
},
"widgets_values": [
"3d/camelhead.off"
]
},
{
"id": 14,
"type": "GeomPackDetectSelfIntersections",
"pos": [
-520.8806866148459,
-180.529783138655
],
"size": [
210,
178
],
"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": "report",
"name": "report",
"type": "STRING",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "c77434120c2984b0ad1dd308c733117a855a8a36",
"Node name for S&R": "GeomPackDetectSelfIntersections"
}
}
],
"links": [
[
19,
1,
0,
14,
0,
"TRIMESH"
],
[
23,
14,
0,
17,
0,
"TRIMESH"
],
[
25,
17,
0,
13,
0,
"TRIMESH"
],
[
32,
14,
0,
21,
0,
"TRIMESH"
],
[
33,
13,
0,
21,
1,
"TRIMESH"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7741103156266208,
"offset": [
1152.5675348712587,
411.93715587929773
]
},
"frontendVersion": "1.30.6",
"workflowRendererVersion": "LG"
},
"version": 0.4
}