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

901 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "028029",
"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,
5.0
]
},
{
"type": "line",
"start": [
0.0,
5.0
],
"end": [
21.0,
5.0
]
},
{
"type": "line",
"start": [
21.0,
5.0
],
"end": [
21.0,
7.5
]
},
{
"type": "line",
"start": [
21.0,
7.5
],
"end": [
51.0,
7.5
]
},
{
"type": "line",
"start": [
51.0,
7.5
],
"end": [
51.0,
5.0
]
},
{
"type": "line",
"start": [
51.0,
5.0
],
"end": [
56.0,
5.0
]
},
{
"type": "line",
"start": [
56.0,
5.0
],
"end": [
56.0,
0.0
]
},
{
"type": "line",
"start": [
56.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
23.674033149,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-10.0,
10.0
],
"end": [
60.0,
10.0
]
},
{
"type": "line",
"start": [
60.0,
10.0
],
"end": [
60.0,
-10.0
]
},
{
"type": "line",
"start": [
60.0,
-10.0
],
"end": [
-10.0,
-10.0
]
},
{
"type": "line",
"start": [
-10.0,
-10.0
],
"end": [
-10.0,
10.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-10.0,
0.0
],
"end": [
60.0,
0.0
]
},
{
"type": "line",
"start": [
-10.0,
10.0
],
"end": [
60.0,
-10.0
]
},
{
"type": "line",
"start": [
-10.0,
-10.0
],
"end": [
60.0,
10.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": "arc",
"start": [
-50.0,
3.25
],
"end": [
-50.0,
-3.25
],
"center": [
-50.0,
0.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-50.0,
-3.25
],
"end": [
-30.0,
-3.25
]
},
{
"type": "arc",
"start": [
-30.0,
-3.25
],
"end": [
-30.0,
3.25
],
"center": [
-30.0,
0.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-30.0,
3.25
],
"end": [
-50.0,
3.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-60.0,
0.0
],
"end": [
10.0,
0.0
]
},
{
"type": "line",
"start": [
-50.0,
0.0
],
"end": [
-30.0,
0.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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "1908707d2937e83b60cd47406489f3c735be1f7f173daa6b4079a0caff709304",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.023674033149171277,
0.0,
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": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-f4035aa1238d7b505e355482",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-4.5,
-4.5,
0.0,
4.5,
4.5
],
"center_mm": [
0.0,
-0.0,
-0.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-f4035aa1238d7b505e355482",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-4.5,
-4.5,
0.0,
4.5,
4.5
],
"center_mm": [
0.0,
-0.0,
-0.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "028029.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01408379068293974,
"volume": 1.408379068293974e-05,
"surface_area": 0.006694911685743767,
"center_of_mass": [
0.0428078827842341,
-5.520884208693355e-20,
-0.01212997739522574
],
"principal_moments": [
2.2931114849709605e-06,
6.597883739527063e-06,
8.169635537255165e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-4.8985871965893095e-20,
-0.01,
-0.060000000000000005,
0.057,
0.01,
0.010000000000000002
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABuAAAAbQAAAA==",
"persist_reference_sha256": "54ce86006ae53b89ac1e20765b33d2e940b690308eab959b510b60b31c15fdfa",
"component": null,
"geometry": {
"box": [
0.051000000000000004,
-0.01,
-0.060000000000000005,
0.057,
0.01,
0.009999999999999998
],
"face_count": 11,
"edge_count": 26,
"vertex_count": 16
},
"stable_id": "54ce86006ae53b89ac1e20765b33d2e940b690308eab959b510b60b31c15fdfa"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABsAAAAagAAAA==",
"persist_reference_sha256": "52b7c047d5d59e20e20d4798ab205eb0e937a23d9ed63240a3f0ba7f5748286d",
"component": null,
"geometry": {
"box": [
-4.8985871965893095e-20,
-0.0075,
-0.0075,
0.056,
0.0075,
0.0075
],
"face_count": 11,
"edge_count": 10,
"vertex_count": 1
},
"stable_id": "52b7c047d5d59e20e20d4798ab205eb0e937a23d9ed63240a3f0ba7f5748286d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 31,
"surface_counts": {
"cone": 6,
"cylinder": 13,
"plane": 12
},
"axis_count": 19,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-0.0,
-10.0,
-60.0,
57.0,
10.0,
10.0
],
"volume_mm3": 14083.79068294,
"surface_area_mm2": 6694.911685744,
"solid_count": 2,
"face_count": 31,
"edge_count": 67,
"vertex_count": 43
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-10.0,
-60.0,
57.0,
10.0,
10.0
],
"volume_mm3": 14083.79068294,
"surface_area_mm2": 6694.911685744,
"solid_count": 2,
"face_count": 22,
"edge_count": 36,
"vertex_count": 17
},
"comparisons": {
"volume_mm3": {
"expected": 14083.79068294,
"actual": 14083.79068294,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6694.911685744,
"actual": 6694.911685744,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-10.0,
-60.0,
57.0,
10.0,
10.0
],
"actual": [
-0.0,
-10.0,
-60.0,
57.0,
10.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 31,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 67,
"matches": false
},
"vertex_count": {
"expected": 17,
"actual": 43,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}