Files
cdsl-cad/json_to_cdsl/output/M12-d55dcc3b23.cdsl.json
2026-08-24 14:52:08 +08:00

925 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M12-d55dcc3b23",
"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": [
5.0075,
-8.673244419
],
"end": [
10.015,
-0.0
]
},
{
"type": "line",
"start": [
10.015,
-0.0
],
"end": [
5.0075,
8.673244419
]
},
{
"type": "line",
"start": [
5.0075,
8.673244419
],
"end": [
-5.0075,
8.673244419
]
},
{
"type": "line",
"start": [
-5.0075,
8.673244419
],
"end": [
-10.015,
-0.0
]
},
{
"type": "line",
"start": [
-10.015,
-0.0
],
"end": [
-5.0075,
-8.673244419
]
},
{
"type": "line",
"start": [
-5.0075,
-8.673244419
],
"end": [
5.0075,
-8.673244419
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.673244419
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
0.0,
0.0
],
"radius_mm": 6.25
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
0.0,
0.0
],
"radius_mm": 6.0
}
},
{
"id": "sk_005",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.673244419
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
-0.5,
0.0,
0.866025404
],
"y_dir": [
0.755928946,
0.0,
-0.654653671
],
"normal": [
-0.0,
1.0,
-0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.673244419,
0.0
],
"end": [
10.015,
0.0
]
},
{
"type": "line",
"start": [
10.015,
0.0
],
"end": [
10.015,
-0.774662946
]
},
{
"type": "line",
"start": [
10.015,
-0.774662946
],
"end": [
8.673244419,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-12.496668324
]
}
]
}
}
]
},
"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": 6.9,
"reverse": true,
"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": 0.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
-0.5,
0.0,
0.866025404
],
"y_dir": [
0.755928946,
0.0,
-0.654653671
],
"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": "293cdbe42e81f14e7f04d7f53d89e4edf2fc557dfe1361d9b68a5e2305237f1b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "edge",
"stable_id": "f7f43f01e8e7672f4f76e8ebc96000efa3fb1bdce7f83f0e3c670648445518de",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
-0.005007500000000003,
-0.006900000000000001,
-0.008673244418901153,
0.0,
1.0,
0.0
]
},
"start": [
-0.005007500000000003,
-0.006900000000000001,
-0.008673244418901153
],
"end": [
-0.005007500000000003,
0.0,
-0.008673244418901153
]
}
},
{
"kind": "edge",
"stable_id": "005d9ea874d79d57cad1e0c90580ec6b73eb275025b0369687cc14945f2353c4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
0.005007499999999998,
-0.006900000000000001,
0.008673244418901155,
0.0,
1.0,
0.0
]
},
"start": [
0.005007499999999998,
-0.006900000000000001,
0.008673244418901155
],
"end": [
0.005007499999999998,
0.0,
0.008673244418901155
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "293cdbe42e81f14e7f04d7f53d89e4edf2fc557dfe1361d9b68a5e2305237f1b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "edge",
"stable_id": "f7f43f01e8e7672f4f76e8ebc96000efa3fb1bdce7f83f0e3c670648445518de",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
-0.005007500000000003,
-0.006900000000000001,
-0.008673244418901153,
0.0,
1.0,
0.0
]
},
"start": [
-0.005007500000000003,
-0.006900000000000001,
-0.008673244418901153
],
"end": [
-0.005007500000000003,
0.0,
-0.008673244418901153
]
}
},
{
"kind": "edge",
"stable_id": "005d9ea874d79d57cad1e0c90580ec6b73eb275025b0369687cc14945f2353c4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
0.005007499999999998,
-0.006900000000000001,
0.008673244418901155,
0.0,
1.0,
0.0
]
},
"start": [
0.005007499999999998,
-0.006900000000000001,
0.008673244418901155
],
"end": [
0.005007499999999998,
0.0,
0.008673244418901155
]
}
}
]
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 40.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "927343f8c68433d688e17f6cafc6754a1bb4001b90115aef68349e18c93e7dc5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.012496668324274651,
0.0
]
}
}
]
},
{
"id": "f_011",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.1,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_006"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"radius_mm": 0.8,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010199_通用螺栓/螺栓(M12).solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.006312662357987535,
"volume": 6.312662357987535e-06,
"surface_area": 0.0024031396053266875,
"center_of_mass": [
1.1209290492408882e-09,
-0.020215807489346364,
5.922174220354418e-19
],
"principal_moments": [
1.5581791602179274e-07,
1.389623323886933e-06,
1.389623323886933e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.010015000000000005,
-0.047,
-0.008673244418901162,
0.010015000000000005,
0.0,
0.008673244418901162
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.010015000000000005,
-0.047,
-0.008673244418901162,
0.010015000000000005,
0.0,
0.008673244418901162
],
"face_count": 19,
"edge_count": 35,
"vertex_count": 18
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 23,
"surface_counts": {
"cone": 10,
"cylinder": 2,
"plane": 9,
"torus": 2
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-10.0150001,
-47.0,
-8.673244519,
10.0150001,
1e-07,
8.673244519
],
"volume_mm3": 6312.659155856,
"surface_area_mm2": 2403.1376922,
"solid_count": 1,
"face_count": 23,
"edge_count": 48,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.015,
-47.0,
-8.673244419,
10.015,
0.0,
8.673244419
],
"volume_mm3": 6312.662357988,
"surface_area_mm2": 2403.139605327,
"solid_count": 1,
"face_count": 19,
"edge_count": 35,
"vertex_count": 18
},
"comparisons": {
"volume_mm3": {
"expected": 6312.662357988,
"actual": 6312.659155856,
"absolute_delta": 0.0032021319993873476,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2403.139605327,
"actual": 2403.1376922,
"absolute_delta": 0.0019131270000798395,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-10.015,
-47.0,
-8.673244419,
10.015,
0.0,
8.673244419
],
"actual": [
-10.0150001,
-47.0,
-8.673244519,
10.0150001,
1e-07,
8.673244519
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 23,
"matches": false
},
"edge_count": {
"expected": 35,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 18,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}