156 lines
5.3 KiB
JSON
156 lines
5.3 KiB
JSON
{
|
|
"job_id": "11111111-1111-4111-8111-111111111111",
|
|
"lease_id": "22222222-2222-4222-8222-222222222222",
|
|
"request_digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"request": {
|
|
"schema_version": 3,
|
|
"inputs": [],
|
|
"operation": {
|
|
"scene": {
|
|
"type": "recipe",
|
|
"recipe_version": 1,
|
|
"title": "材料实验室设备场景",
|
|
"units": "meters",
|
|
"materials": [
|
|
{"id": "concrete", "base_color": "#B8BCC2", "roughness": 0.8},
|
|
{"id": "steel", "base_color": "#55606A", "metallic": 0.75, "roughness": 0.28}
|
|
],
|
|
"objects": [
|
|
{
|
|
"id": "floor",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "box", "size": [12, 8, 0.2]},
|
|
"transform": {"position": [0, 0, -0.1]},
|
|
"material": "concrete",
|
|
"modifiers": [{"type": "bevel", "width": 0.03, "segments": 2}]
|
|
},
|
|
{
|
|
"id": "tank",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "cylinder", "radius": 1.2, "depth": 3, "vertices": 64},
|
|
"transform": {"position": [-3, 0, 1.5]},
|
|
"material": "steel"
|
|
},
|
|
{
|
|
"id": "process_pipe",
|
|
"kind": "geometry",
|
|
"geometry": {
|
|
"type": "sweep",
|
|
"path": [[-3, 0, 3], [-3, 0, 4], [0, 0, 4], [0, 0, 2]],
|
|
"radius": 0.1,
|
|
"resolution": 3
|
|
},
|
|
"material": "steel"
|
|
},
|
|
{
|
|
"id": "kiln",
|
|
"kind": "generator",
|
|
"generator": "rotary_kiln",
|
|
"parameters": {
|
|
"length_m": 6,
|
|
"outer_diameter_m": 0.8,
|
|
"shell_thickness_m": 0.02,
|
|
"lining_thickness_m": 0.08,
|
|
"slope_percent": 3.5,
|
|
"support_stations": 3,
|
|
"drive_system": true,
|
|
"burner": true,
|
|
"hoods": true,
|
|
"inspection_platform": true,
|
|
"material_bed": true
|
|
},
|
|
"transform": {"position": [1.5, 1.5, 1.2]}
|
|
},
|
|
{
|
|
"id": "qa_cone",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "cone", "radius1": 0.5, "radius2": 0.1, "depth": 1},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"material": "steel",
|
|
"modifiers": [{"type": "array", "count": 2, "offset": [1, 0, 0]}],
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "qa_sphere_cutter",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "sphere", "radius": 0.4},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "qa_plane",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "plane", "size": [1, 1]},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"modifiers": [{"type": "solidify", "thickness": 0.02}],
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "qa_extrude",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "extrude", "profile": [[0, 0], [1, 0], [0, 1]], "depth": 0.5},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"modifiers": [{"type": "mirror", "axes": ["x"]}],
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "qa_revolve",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "revolve", "profile": [[0.3, 0], [0.5, 0.5], [0.2, 1]], "segments": 32},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"modifiers": [{"type": "boolean", "operation": "difference", "target": "qa_sphere_cutter"}],
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "qa_pipe",
|
|
"kind": "geometry",
|
|
"geometry": {"type": "pipe", "start": [0, 0, 0], "end": [1, 1, 1], "outer_radius": 0.2, "wall_thickness": 0.03},
|
|
"transform": {"position": [100, 0, 0]},
|
|
"visible": false
|
|
},
|
|
{
|
|
"id": "label",
|
|
"kind": "text",
|
|
"text": "Materials Lab",
|
|
"text_size": 0.6,
|
|
"text_extrude": 0.02,
|
|
"transform": {"position": [-2, 2.5, 0.2], "rotation_deg": [90, 0, 0]},
|
|
"material": "steel"
|
|
}
|
|
],
|
|
"lights": [
|
|
{"id": "key", "type": "area", "position": [4, -6, 8], "target": [0, 0, 1], "energy": 1500, "size": 6},
|
|
{"id": "sun", "type": "sun", "position": [-8, -10, 12], "target": [0, 0, 0], "energy": 2.5}
|
|
],
|
|
"render": {
|
|
"width": 960,
|
|
"height": 540,
|
|
"background_color": "#20252B",
|
|
"views": [
|
|
{
|
|
"name": "overview",
|
|
"output_key": "preview_01",
|
|
"position": [12, -14, 10],
|
|
"target": [0, 0, 1.5],
|
|
"projection": "perspective",
|
|
"lens_mm": 52
|
|
},
|
|
{
|
|
"name": "front",
|
|
"output_key": "preview_02",
|
|
"position": [0, -16, 3],
|
|
"target": [0, 0, 1.5],
|
|
"projection": "orthographic",
|
|
"ortho_scale": 14
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"outputs": [
|
|
{"key": "preview_02", "type": "figure", "format": "png"},
|
|
{"key": "scene_glb", "type": "model", "format": "glb"}
|
|
]
|
|
}
|
|
}
|