593 lines
13 KiB
JSON
593 lines
13 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "201294",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "原點",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
"profile": {
|
|
"type": "analytic_contours",
|
|
"contours": []
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_002",
|
|
"name": "草圖1",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
"profile": {
|
|
"type": "analytic_contours",
|
|
"contours": [
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-40.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
50.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
50.0
|
|
],
|
|
"end": [
|
|
-20.0,
|
|
50.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-20.0,
|
|
50.0
|
|
],
|
|
"end": [
|
|
-20.0,
|
|
40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-20.0,
|
|
40.0
|
|
],
|
|
"end": [
|
|
-17.5,
|
|
40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.5,
|
|
40.0
|
|
],
|
|
"end": [
|
|
-17.5,
|
|
47.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.5,
|
|
47.5
|
|
],
|
|
"end": [
|
|
-2.5,
|
|
47.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.5,
|
|
47.5
|
|
],
|
|
"end": [
|
|
-2.5,
|
|
2.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.5,
|
|
2.5
|
|
],
|
|
"end": [
|
|
-40.0,
|
|
2.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-40.0,
|
|
2.5
|
|
],
|
|
"end": [
|
|
-40.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草圖4",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
-0.0,
|
|
-1000.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
-1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
]
|
|
},
|
|
"profile": {
|
|
"type": "circles",
|
|
"items": [
|
|
{
|
|
"center": [
|
|
30.0,
|
|
-37.5
|
|
],
|
|
"radius_mm": 2.75
|
|
},
|
|
{
|
|
"center": [
|
|
30.0,
|
|
37.5
|
|
],
|
|
"radius_mm": 2.75
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "前基準面",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 10
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_002",
|
|
"name": "上基準面",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 10
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_003",
|
|
"name": "右基準面",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_002"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"x_dir": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 10
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_004",
|
|
"name": "平面4",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": -1,
|
|
"derived_from_sketch_id": "sk_002"
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "伸長1",
|
|
"atomic_id": "extrude_add_two_sided",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 57.5,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
},
|
|
"reverse_distance_mm": 96.5,
|
|
"reverse_end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "圓角1",
|
|
"atomic_id": "fillet",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"radius_mm": 1.0,
|
|
"tangent_propagation": false
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "伸長4",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 2.5,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "201294.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.04322675721062293,
|
|
"volume": 4.3226757210622935e-05,
|
|
"surface_area": 0.035908192458202245,
|
|
"center_of_mass": [
|
|
-0.01057963085985224,
|
|
0.022104181015075042,
|
|
0.01955358795934852
|
|
],
|
|
"principal_moments": [
|
|
2.1928457041253517e-05,
|
|
9.002073606371896e-05,
|
|
0.00010281321035261152
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.04,
|
|
0.0,
|
|
-0.0575,
|
|
0.0,
|
|
0.049999999999999996,
|
|
0.0965
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "伸長4",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABqAAAAZQAAAA==",
|
|
"persist_reference_sha256": "3e567185fbfd35c9e3e37c234563d311088b00a5a8b80ac84a8162506ade90d3",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.04,
|
|
0.0,
|
|
-0.0575,
|
|
0.0,
|
|
0.049999999999999996,
|
|
0.0965
|
|
],
|
|
"face_count": 15,
|
|
"edge_count": 37,
|
|
"vertex_count": 22
|
|
},
|
|
"stable_id": "3e567185fbfd35c9e3e37c234563d311088b00a5a8b80ac84a8162506ade90d3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 17,
|
|
"surface_counts": {
|
|
"cylinder": 5,
|
|
"plane": 12
|
|
},
|
|
"axis_count": 5,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-40.0,
|
|
0.0,
|
|
-57.5,
|
|
0.0,
|
|
50.0,
|
|
96.5
|
|
],
|
|
"volume_mm3": 43226.757210623,
|
|
"surface_area_mm2": 35908.192458202,
|
|
"solid_count": 1,
|
|
"face_count": 17,
|
|
"edge_count": 45,
|
|
"vertex_count": 30
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-40.0,
|
|
0.0,
|
|
-57.5,
|
|
0.0,
|
|
50.0,
|
|
96.5
|
|
],
|
|
"volume_mm3": 43226.757210623,
|
|
"surface_area_mm2": 35908.192458202,
|
|
"solid_count": 1,
|
|
"face_count": 15,
|
|
"edge_count": 37,
|
|
"vertex_count": 22
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 43226.757210623,
|
|
"actual": 43226.757210623,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 35908.192458202,
|
|
"actual": 35908.192458202,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-40.0,
|
|
0.0,
|
|
-57.5,
|
|
0.0,
|
|
50.0,
|
|
96.5
|
|
],
|
|
"actual": [
|
|
-40.0,
|
|
0.0,
|
|
-57.5,
|
|
0.0,
|
|
50.0,
|
|
96.5
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 15,
|
|
"actual": 17,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 37,
|
|
"actual": 45,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 22,
|
|
"actual": 30,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|