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

817 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "212542",
"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": [
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": [
-67.5,
0.0
],
"end": [
67.5,
0.0
]
},
{
"type": "line",
"start": [
67.5,
0.0
],
"end": [
67.5,
115.3
]
},
{
"type": "line",
"start": [
67.5,
115.3
],
"end": [
-67.5,
79.126859022
]
},
{
"type": "line",
"start": [
-67.5,
79.126859022
],
"end": [
-67.5,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图9",
"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": [
-7.5,
-85.5
],
"end": [
7.5,
-85.5
]
},
{
"type": "line",
"start": [
7.5,
-85.5
],
"end": [
7.5,
85.5
]
},
{
"type": "line",
"start": [
7.5,
85.5
],
"end": [
-7.5,
85.5
]
},
{
"type": "line",
"start": [
-7.5,
85.5
],
"end": [
-7.5,
-85.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
85.5
],
"end": [
0.0,
-85.5
]
},
{
"type": "line",
"start": [
-7.5,
0.0
],
"end": [
7.5,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图13",
"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": "arc",
"start": [
-42.5,
15.0
],
"end": [
-52.5,
25.0
],
"center": [
-42.5,
25.0
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-52.5,
25.0
],
"end": [
-52.5,
59.943684322
]
},
{
"type": "arc",
"start": [
-52.5,
59.943684322
],
"end": [
-45.088190451,
69.602942585
],
"center": [
-42.5,
59.943684322
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
-45.088190451,
69.602942585
],
"end": [
39.911809549,
92.378623942
]
},
{
"type": "arc",
"start": [
39.911809549,
92.378623942
],
"end": [
52.5,
82.719365679
],
"center": [
42.5,
82.719365679
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
52.5,
82.719365679
],
"end": [
52.5,
25.0
]
},
{
"type": "arc",
"start": [
52.5,
25.0
],
"end": [
42.5,
15.0
],
"center": [
42.5,
25.0
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
15.0
],
"end": [
-42.5,
15.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_003"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-26.720455181,
0.0
]
},
{
"mm": [
0.0,
23.279544819,
0.0
]
},
{
"mm": [
0.0,
73.279544819,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "through_next",
"solidworks_code": 9
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Ø9.0 (9) 直径孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 9.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-77.5,
0.0
]
},
{
"mm": [
0.0,
77.5,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "212542.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09851895702971675,
"volume": 9.851895702971674e-05,
"surface_area": 0.027787993668191003,
"center_of_mass": [
9.209087188051125e-12,
0.04660789256931965,
-0.004628351438335995
],
"principal_moments": [
0.00012823406397520685,
0.0002479119909229778,
0.0003723685548080331
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0075,
0.0,
-0.0855,
0.0075,
0.1153,
0.0855
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAByAAAAcQAAAHAAAABvAAAAagAAAA==",
"persist_reference_sha256": "a81403142fffc592e2749471c8e60fe63f0fec47b800c15ab12777826a1b926b",
"component": null,
"geometry": {
"box": [
-0.0075,
0.0,
-0.0855,
0.0075,
0.1153,
0.0855
],
"face_count": 25,
"edge_count": 61,
"vertex_count": 35
},
"stable_id": "a81403142fffc592e2749471c8e60fe63f0fec47b800c15ab12777826a1b926b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 4,
"cylinder": 14,
"plane": 14
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 37.1652,
"pair_count": 2
},
{
"spacing_mm": 120.6493,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 100.0,
"pair_count": 2
},
{
"spacing_mm": 101.1187,
"pair_count": 2
},
{
"spacing_mm": 52.2015,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-7.5000001,
0.0,
-85.5,
7.5000001,
115.3,
85.5
],
"volume_mm3": 98518.998878462,
"surface_area_mm2": 27787.992730304,
"solid_count": 1,
"face_count": 32,
"edge_count": 86,
"vertex_count": 56
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.5,
0.0,
-85.5,
7.5,
115.3,
85.5
],
"volume_mm3": 98518.957029717,
"surface_area_mm2": 27787.993668191,
"solid_count": 1,
"face_count": 25,
"edge_count": 61,
"vertex_count": 35
},
"comparisons": {
"volume_mm3": {
"expected": 98518.957029717,
"actual": 98518.998878462,
"absolute_delta": 0.041848745007882826,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 27787.993668191,
"actual": 27787.992730304,
"absolute_delta": 0.0009378870017826557,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.5,
0.0,
-85.5,
7.5,
115.3,
85.5
],
"actual": [
-7.5000001,
0.0,
-85.5,
7.5000001,
115.3,
85.5
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 86,
"matches": false
},
"vertex_count": {
"expected": 35,
"actual": 56,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}