796 lines
18 KiB
JSON
796 lines
18 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "106848",
|
|
"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,
|
|
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": "analytic_contours",
|
|
"contours": [
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-114.0,
|
|
40.0
|
|
],
|
|
"end": [
|
|
114.0,
|
|
40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
114.0,
|
|
40.0
|
|
],
|
|
"end": [
|
|
114.0,
|
|
-40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
114.0,
|
|
-40.0
|
|
],
|
|
"end": [
|
|
-114.0,
|
|
-40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-114.0,
|
|
-40.0
|
|
],
|
|
"end": [
|
|
-114.0,
|
|
40.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-114.0,
|
|
40.0
|
|
],
|
|
"end": [
|
|
114.0,
|
|
-40.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-114.0,
|
|
-40.0
|
|
],
|
|
"end": [
|
|
114.0,
|
|
40.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"y_dir": [
|
|
0.707106781,
|
|
0.0,
|
|
0.707106781
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
]
|
|
},
|
|
"profile": {
|
|
"type": "analytic_contours",
|
|
"contours": [
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-40.0,
|
|
12.0
|
|
],
|
|
"end": [
|
|
40.0,
|
|
12.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
12.0
|
|
],
|
|
"end": [
|
|
40.0,
|
|
62.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
62.0
|
|
],
|
|
"end": [
|
|
-40.0,
|
|
62.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-40.0,
|
|
62.0
|
|
],
|
|
"end": [
|
|
-40.0,
|
|
12.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图5",
|
|
"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": "circle",
|
|
"center": [
|
|
63.5,
|
|
0.0
|
|
],
|
|
"radius_mm": 15.5
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_005",
|
|
"name": "草图6",
|
|
"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": "circle",
|
|
"center": [
|
|
-2.0,
|
|
-17.0
|
|
],
|
|
"radius_mm": 14.0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "凸台-拉伸1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_002"
|
|
],
|
|
"params": {
|
|
"distance_mm": 12.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "凸台-拉伸2",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 12.0,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "基准面1",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
-114.0,
|
|
12.0,
|
|
-40.0
|
|
],
|
|
"x_dir": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 1,
|
|
"references": [
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "3b754a0819a7a630b342bba208d83337a1ba38ed47b656e9e5ee7aee93693970",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_004"
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "a218442a7cd48a02213443a19932d9dbf10150aa634052c836b6eacfe4d1cbd8",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
0.0,
|
|
0.0,
|
|
1.0,
|
|
-0.114,
|
|
0.012,
|
|
-0.04
|
|
]
|
|
},
|
|
"box": [
|
|
-0.11400000000000002,
|
|
0.0,
|
|
-0.04,
|
|
0.11400000000000002,
|
|
0.062,
|
|
-0.03999999999999997
|
|
],
|
|
"area": 0.003336
|
|
}
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "7249537ca7b96c09bdcd467dc62c45547aeaf6f5903e84fe7d76fbcc0ff5ac57",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
0.0,
|
|
0.0,
|
|
-1.0,
|
|
-0.11399999999999999,
|
|
0.012,
|
|
0.04
|
|
]
|
|
},
|
|
"box": [
|
|
-0.11399999999999999,
|
|
0.0,
|
|
0.04,
|
|
0.11400000000000005,
|
|
0.062,
|
|
0.04000000000000003
|
|
],
|
|
"area": 0.0033360000000000004
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "3b754a0819a7a630b342bba208d83337a1ba38ed47b656e9e5ee7aee93693970",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_004"
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "a218442a7cd48a02213443a19932d9dbf10150aa634052c836b6eacfe4d1cbd8",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
0.0,
|
|
0.0,
|
|
1.0,
|
|
-0.114,
|
|
0.012,
|
|
-0.04
|
|
]
|
|
},
|
|
"box": [
|
|
-0.11400000000000002,
|
|
0.0,
|
|
-0.04,
|
|
0.11400000000000002,
|
|
0.062,
|
|
-0.03999999999999997
|
|
],
|
|
"area": 0.003336
|
|
}
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "7249537ca7b96c09bdcd467dc62c45547aeaf6f5903e84fe7d76fbcc0ff5ac57",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
0.0,
|
|
0.0,
|
|
-1.0,
|
|
-0.11399999999999999,
|
|
0.012,
|
|
0.04
|
|
]
|
|
},
|
|
"box": [
|
|
-0.11399999999999999,
|
|
0.0,
|
|
0.04,
|
|
0.11400000000000005,
|
|
0.062,
|
|
0.04000000000000003
|
|
],
|
|
"area": 0.0033360000000000004
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_005",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_both",
|
|
"solidworks_code": 2
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "切除-拉伸2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_007"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_005"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "106848.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.6761711586378353,
|
|
"volume": 0.00025043376245845753,
|
|
"surface_area": 0.05255520800848448,
|
|
"center_of_mass": [
|
|
-0.02293762162759266,
|
|
0.011941690870242914,
|
|
-0.000501583490293046
|
|
],
|
|
"principal_moments": [
|
|
0.00047691962536420315,
|
|
0.0037506708627867294,
|
|
0.004025581788402528
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.11400000000000002,
|
|
0.0,
|
|
-0.04,
|
|
0.11400000000000005,
|
|
0.062,
|
|
0.04000000000000003
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "切除-拉伸2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABuAAAAbQAAAGsAAABqAAAA",
|
|
"persist_reference_sha256": "c0f81406b9e400856e28fcd2d557eb3bffbfa557fa57ff2a337c28fcf544b75f",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.11400000000000002,
|
|
0.0,
|
|
-0.04,
|
|
0.11400000000000005,
|
|
0.062,
|
|
0.04000000000000003
|
|
],
|
|
"face_count": 10,
|
|
"edge_count": 22,
|
|
"vertex_count": 12
|
|
},
|
|
"stable_id": "c0f81406b9e400856e28fcd2d557eb3bffbfa557fa57ff2a337c28fcf544b75f"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 12,
|
|
"surface_counts": {
|
|
"cylinder": 4,
|
|
"plane": 8
|
|
},
|
|
"axis_count": 4,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-114.0,
|
|
0.0,
|
|
-40.0,
|
|
114.0,
|
|
62.0,
|
|
40.0
|
|
],
|
|
"volume_mm3": 250433.762458457,
|
|
"surface_area_mm2": 52555.208008484,
|
|
"solid_count": 1,
|
|
"face_count": 12,
|
|
"edge_count": 30,
|
|
"vertex_count": 20
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-114.0,
|
|
0.0,
|
|
-40.0,
|
|
114.0,
|
|
62.0,
|
|
40.0
|
|
],
|
|
"volume_mm3": 250433.762458458,
|
|
"surface_area_mm2": 52555.208008484,
|
|
"solid_count": 1,
|
|
"face_count": 10,
|
|
"edge_count": 22,
|
|
"vertex_count": 12
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 250433.762458458,
|
|
"actual": 250433.762458457,
|
|
"absolute_delta": 9.89530235528946e-10,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 52555.208008484,
|
|
"actual": 52555.208008484,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-114.0,
|
|
0.0,
|
|
-40.0,
|
|
114.0,
|
|
62.0,
|
|
40.0
|
|
],
|
|
"actual": [
|
|
-114.0,
|
|
0.0,
|
|
-40.0,
|
|
114.0,
|
|
62.0,
|
|
40.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 10,
|
|
"actual": 12,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 22,
|
|
"actual": 30,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 12,
|
|
"actual": 20,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|