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

672 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "009315",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.5
}
},
{
"id": "sk_003",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-17.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": false,
"segments": [
{
"type": "arc",
"start": [
1.0,
12.459935794
],
"end": [
-1.0,
12.459935794
],
"center": [
0.0,
0.0
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
-1.0,
12.459935794
],
"end": [
-1.0,
3.851771413
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
1.0,
12.459935794
],
"end": [
1.0,
3.851771413
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
-0.021211933
],
"radius_mm": 4.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.021211933
],
"end": [
0.0,
12.5
]
}
]
}
},
{
"id": "sk_004",
"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": "circles",
"items": [
{
"center": [
-8.576993436,
7.5
],
"radius_mm": 1.5
},
{
"center": [
8.324906957,
7.5
],
"radius_mm": 1.5
}
]
}
},
{
"id": "sk_005",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
17.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": "arc",
"start": [
-1.0,
4.898979486
],
"end": [
1.0,
4.898979486
],
"center": [
0.0,
0.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
1.0,
4.898979486
],
"end": [
1.0,
12.459935794
]
},
{
"type": "arc",
"start": [
1.0,
12.459935794
],
"end": [
-1.0,
12.459935794
],
"center": [
0.0,
0.0
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
-1.0,
12.459935794
],
"end": [
-1.0,
4.898979486
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
12.990567777
],
"end": [
0.0,
-2.236287296
]
}
]
}
}
]
},
"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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 34.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"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": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 13.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_006",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "009315.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.014209499171431874,
"volume": 1.4209499171431875e-05,
"surface_area": 0.005051795756590223,
"center_of_mass": [
6.979458785512857e-09,
-0.000399974067082109,
-0.0002256273448745805
],
"principal_moments": [
1.2244107802152599e-06,
1.9188213534247608e-06,
1.9604348808762033e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0125,
-0.0125,
-0.017,
0.0125,
0.0125,
0.017
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABxAAAAbgAAAGwAAABqAAAA",
"persist_reference_sha256": "9cba62d7193d5a54332136d37cf4d4004995da462a769138fceb20182083d7de",
"component": null,
"geometry": {
"box": [
-0.0125,
-0.0125,
-0.017,
0.0125,
0.0125,
0.017
],
"face_count": 15,
"edge_count": 32,
"vertex_count": 16
},
"stable_id": "9cba62d7193d5a54332136d37cf4d4004995da462a769138fceb20182083d7de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 16,
"plane": 8
},
"axis_count": 16,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-12.5000001,
-12.5,
-17.0000001,
12.5000001,
12.5000001,
17.0000001
],
"volume_mm3": 14209.463369467,
"surface_area_mm2": 5051.797205496,
"solid_count": 1,
"face_count": 24,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.5,
-12.5,
-17.0,
12.5,
12.5,
17.0
],
"volume_mm3": 14209.499171432,
"surface_area_mm2": 5051.79575659,
"solid_count": 1,
"face_count": 15,
"edge_count": 32,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 14209.499171432,
"actual": 14209.463369467,
"absolute_delta": 0.03580196500115562,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5051.79575659,
"actual": 5051.797205496,
"absolute_delta": 0.001448906000405259,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.5,
-12.5,
-17.0,
12.5,
12.5,
17.0
],
"actual": [
-12.5000001,
-12.5,
-17.0000001,
12.5000001,
12.5000001,
17.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 32,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}