The three.js preview's generic name made it unclear next to the VTK/Dual/ Multi/Batch previews. Renamed the node id (schema + both mappings), the widget file (mesh_preview.js -> mesh_preview_three.js, extension name geometrypack.meshpreview -> geometrypack.meshpreview.three), and the four test workflows that reference the node type. Breaking for external saved workflows that used GeomPackPreviewMesh (node type no longer exists) -- accepted; the pack's own workflows are updated.
100 lines
1.7 KiB
JSON
100 lines
1.7 KiB
JSON
{
|
|
"id": "p5e6d7c8-9b0a-1234-ef56-345678901234",
|
|
"revision": 0,
|
|
"last_node_id": 3,
|
|
"last_link_id": 3,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GeomPackLoadMesh",
|
|
"pos": [
|
|
-400,
|
|
0
|
|
],
|
|
"size": [
|
|
270,
|
|
78
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "TRIMESH",
|
|
"links": [
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"name": "texture",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-geometrypack",
|
|
"ver": "0.1.1",
|
|
"Node name for S&R": "GeomPackLoadMesh"
|
|
},
|
|
"widgets_values": [
|
|
"3d/Stanford_Bunny.stl"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "GeomPackPreviewMeshThree",
|
|
"pos": [
|
|
163.51953125,
|
|
-5.09375
|
|
],
|
|
"size": [
|
|
512,
|
|
542
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfyui-geometrypack",
|
|
"ver": "1fcec6e19dca5e04ec71d204dbe8ef1828885062",
|
|
"Node name for S&R": "GeomPackPreviewMeshThree"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
3,
|
|
1,
|
|
0,
|
|
3,
|
|
0,
|
|
"TRIMESH"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.8264462809917354,
|
|
"offset": [
|
|
903.0898046874993,
|
|
146.96476562500015
|
|
]
|
|
},
|
|
"frontendVersion": "1.30.6"
|
|
},
|
|
"version": 0.4
|
|
} |