Files
cdsl-cad/json_to_cdsl/output/087794.cdsl.json
T
2026-08-21 11:13:18 +08:00

680 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "087794",
"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": [
-28.335587444,
36.7725882
],
"end": [
-22.335587444,
36.7725882
]
},
{
"type": "line",
"start": [
-22.335587444,
36.7725882
],
"end": [
-22.335587444,
3.7725882
]
},
{
"type": "line",
"start": [
-22.335587444,
3.7725882
],
"end": [
-28.335587444,
3.7725882
]
},
{
"type": "line",
"start": [
-28.335587444,
3.7725882
],
"end": [
-28.335587444,
36.7725882
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-28.335587444,
36.7725882
],
"end": [
-28.335587444,
-15.260804647
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
-28.335587444,
20.2725882
],
"radius_mm": 6.0
}
},
{
"id": "sk_004",
"name": "草图4",
"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": "annulus",
"center": [
7.0,
20.2725882
],
"inner_radius_mm": 3.5,
"outer_radius_mm": 5.5
}
},
{
"id": "sk_005",
"name": "草图5",
"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": "circle",
"center": [
7.0,
20.2725882
],
"radius_mm": 3.5
}
}
]
},
"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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-28.335587444,
36.7725882,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "a62891d4a11416f98fe4e69ca1073de4cc955145769b2e06d0f9b20bf54841aa",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.028335587444390714,
0.03677258820030484,
0.0
],
"end": [
-0.028335587444390718,
-0.015260804646983248,
0.0
]
}
}
]
},
{
"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_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 14.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
}
],
"derived_from_sketch_id": "sk_004"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
}
]
},
{
"id": "f_007",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "087794.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.047926723829848375,
"volume": 6.1444517730574835e-06,
"surface_area": 0.0033433995905622093,
"center_of_mass": [
-0.028335563029273855,
0.020272568947085106,
-0.00019974202348177762
],
"principal_moments": [
3.0956292284019546e-06,
4.154036652471115e-06,
4.6146291466419835e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04333558744439073,
0.0037725882003048355,
-0.012499999999999994,
-0.013335587444390729,
0.03677258820030484,
0.014000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGYAAABlAAAA",
"persist_reference_sha256": "8b4cc80a5d6c1fefcbee0d9edc32f501882095619c86d91db27d870d660c8785",
"component": null,
"geometry": {
"box": [
-0.04333558744439073,
0.003772588200304836,
-0.012499999999999994,
-0.013335587444390729,
0.03677258820030484,
0.014
],
"face_count": 9,
"edge_count": 10,
"vertex_count": 2
},
"stable_id": "8b4cc80a5d6c1fefcbee0d9edc32f501882095619c86d91db27d870d660c8785"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 14,
"surface_counts": {
"cylinder": 9,
"plane": 5
},
"axis_count": 9,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-43.335587544,
3.7725881,
-12.5,
-13.335587344,
36.7725883,
14.0000001
],
"volume_mm3": 6144.442974054,
"surface_area_mm2": 3343.380213193,
"solid_count": 1,
"face_count": 14,
"edge_count": 28,
"vertex_count": 18
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-43.335587444,
3.7725882,
-12.5,
-13.335587444,
36.7725882,
14.0
],
"volume_mm3": 6144.451773057,
"surface_area_mm2": 3343.399590562,
"solid_count": 1,
"face_count": 9,
"edge_count": 10,
"vertex_count": 2
},
"comparisons": {
"volume_mm3": {
"expected": 6144.451773057,
"actual": 6144.442974054,
"absolute_delta": 0.008799002999694494,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3343.399590562,
"actual": 3343.380213193,
"absolute_delta": 0.01937736899981246,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-43.335587444,
3.7725882,
-12.5,
-13.335587444,
36.7725882,
14.0
],
"actual": [
-43.335587544,
3.7725881,
-12.5,
-13.335587344,
36.7725883,
14.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 9,
"actual": 14,
"matches": false
},
"edge_count": {
"expected": 10,
"actual": 28,
"matches": false
},
"vertex_count": {
"expected": 2,
"actual": 18,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}