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

825 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146276",
"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": [
0.0,
0.0
],
"end": [
0.0,
27.0
]
},
{
"type": "line",
"start": [
0.0,
27.0
],
"end": [
4.0,
27.0
]
},
{
"type": "line",
"start": [
4.0,
27.0
],
"end": [
4.0,
25.0
]
},
{
"type": "line",
"start": [
4.0,
25.0
],
"end": [
9.0,
25.0
]
},
{
"type": "line",
"start": [
9.0,
25.0
],
"end": [
9.0,
13.0
]
},
{
"type": "line",
"start": [
9.0,
13.0
],
"end": [
4.0,
0.0
]
},
{
"type": "line",
"start": [
4.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
4.0,
8.0
],
"end": [
9.0,
8.0
]
},
{
"type": "line",
"start": [
9.0,
8.0
],
"end": [
9.0,
6.0
]
},
{
"type": "line",
"start": [
9.0,
6.0
],
"end": [
4.0,
6.0
]
},
{
"type": "line",
"start": [
4.0,
6.0
],
"end": [
4.0,
8.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
4.0,
-8.0
],
"end": [
9.0,
-8.0
]
},
{
"type": "line",
"start": [
9.0,
-8.0
],
"end": [
9.0,
-6.0
]
},
{
"type": "line",
"start": [
9.0,
-6.0
],
"end": [
4.0,
-6.0
]
},
{
"type": "line",
"start": [
4.0,
-6.0
],
"end": [
4.0,
-8.0
]
}
]
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-8.0,
21.0
],
"end": [
-6.0,
21.0
]
},
{
"type": "line",
"start": [
-6.0,
21.0
],
"end": [
-6.0,
17.0
]
},
{
"type": "line",
"start": [
-6.0,
17.0
],
"end": [
-8.0,
17.0
]
},
{
"type": "line",
"start": [
-8.0,
17.0
],
"end": [
-8.0,
21.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
6.0,
21.0
],
"end": [
8.0,
21.0
]
},
{
"type": "line",
"start": [
8.0,
21.0
],
"end": [
8.0,
17.0
]
},
{
"type": "line",
"start": [
8.0,
17.0
],
"end": [
6.0,
17.0
]
},
{
"type": "line",
"start": [
6.0,
17.0
],
"end": [
6.0,
21.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_001",
"f_003",
"f_002"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M4 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 10.1,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
19.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-2f5a6539cd7f0a7fd6511f48",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-8.0,
0.0,
27.0,
8.0
],
"center_mm": [
0.0,
12.503484396,
-0.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-2f5a6539cd7f0a7fd6511f48",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-8.0,
0.0,
27.0,
8.0
],
"center_mm": [
0.0,
12.503484396,
-0.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "146276.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.002479672038266807,
"volume": 2.479672038266807e-06,
"surface_area": 0.0016079470630442818,
"center_of_mass": [
0.0037268070399761916,
0.013542020157851307,
-2.3715786106454565e-19
],
"principal_moments": [
5.992186632948966e-08,
1.508409568878069e-07,
1.8301789306688158e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.008,
0.009000000000000001,
0.027,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABlAAAA",
"persist_reference_sha256": "2ce103d5054d5e6f416379a34b1808f0eecf3927202c83a9adc749fd15c2a9ed",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.008,
0.009000000000000001,
0.027,
0.008
],
"face_count": 22,
"edge_count": 53,
"vertex_count": 32
},
"stable_id": "2ce103d5054d5e6f416379a34b1808f0eecf3927202c83a9adc749fd15c2a9ed"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 4,
"plane": 20
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-0.0,
-8.0,
9.0,
27.0,
8.0
],
"volume_mm3": 2479.672038267,
"surface_area_mm2": 1607.947063044,
"solid_count": 1,
"face_count": 24,
"edge_count": 61,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-8.0,
9.0,
27.0,
8.0
],
"volume_mm3": 2479.672038267,
"surface_area_mm2": 1607.947063044,
"solid_count": 1,
"face_count": 22,
"edge_count": 53,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 2479.672038267,
"actual": 2479.672038267,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1607.947063044,
"actual": 1607.947063044,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-8.0,
9.0,
27.0,
8.0
],
"actual": [
0.0,
-0.0,
-8.0,
9.0,
27.0,
8.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 53,
"actual": 61,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}