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

923 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "129930",
"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": [
37.5,
-8.0
],
"end": [
-37.5,
-8.0
]
},
{
"type": "line",
"start": [
-37.5,
-8.0
],
"end": [
-37.5,
8.0
]
},
{
"type": "line",
"start": [
-37.5,
8.0
],
"end": [
37.5,
8.0
]
},
{
"type": "line",
"start": [
37.5,
8.0
],
"end": [
37.5,
-8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
37.5,
-8.0
],
"end": [
-37.5,
8.0
]
},
{
"type": "line",
"start": [
37.5,
8.0
],
"end": [
-37.5,
-8.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
9.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": [
37.5,
8.0
],
"end": [
22.5,
8.0
]
},
{
"type": "line",
"start": [
22.5,
8.0
],
"end": [
22.5,
-8.0
]
},
{
"type": "line",
"start": [
22.5,
-8.0
],
"end": [
37.5,
-8.0
]
},
{
"type": "line",
"start": [
37.5,
-8.0
],
"end": [
37.5,
8.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖7",
"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": [
9.0,
-8.0
],
"end": [
5.1,
-8.0
]
},
{
"type": "line",
"start": [
5.1,
-8.0
],
"end": [
5.1,
1.5
]
},
{
"type": "line",
"start": [
5.1,
1.5
],
"end": [
9.0,
1.5
]
},
{
"type": "line",
"start": [
9.0,
1.5
],
"end": [
9.0,
-8.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖8",
"role": "profile",
"workplane": {
"origin_mm": [
5.1,
-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": [
62.5,
-0.7
],
"end": [
56.5,
-0.7
]
},
{
"type": "line",
"start": [
56.5,
-0.7
],
"end": [
49.5,
-8.0
]
},
{
"type": "line",
"start": [
49.5,
-8.0
],
"end": [
62.5,
-8.0
]
},
{
"type": "line",
"start": [
62.5,
-8.0
],
"end": [
62.5,
-0.7
]
}
]
}
]
}
}
]
},
"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": 9.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "Ø6.0 (6) 直徑孔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": [
2.5,
0.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-60dd270c92a98e5830f596c3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-37.5,
-8.0,
-0.0,
37.5,
8.0,
0.0
],
"center_mm": [
-0.297914708,
0.0,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-60dd270c92a98e5830f596c3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-37.5,
-8.0,
-0.0,
37.5,
8.0,
0.0
],
"center_mm": [
-0.297914708,
0.0,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "填料-伸長2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "M5 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 4.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
30.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 4.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-60dd270c92a98e5830f596c3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-37.5,
-8.0,
-0.0,
37.5,
8.0,
0.0
],
"center_mm": [
-0.297914708,
0.0,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-60dd270c92a98e5830f596c3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-37.5,
-8.0,
-0.0,
37.5,
8.0,
0.0
],
"center_mm": [
-0.297914708,
0.0,
-0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "圓角2",
"atomic_id": "fillet",
"depends_on": [
"f_008"
],
"params": {
"radius_mm": 1.8,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "129930.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00991113280312029,
"volume": 9.911132803120291e-06,
"surface_area": 0.004502512936677229,
"center_of_mass": [
-0.00666314913292819,
-0.00017664230573017346,
0.004431606603791668
],
"principal_moments": [
2.759451230990094e-07,
4.914237376288735e-06,
5.062832078571427e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0625,
-0.008000050000000003,
-2.500000000071889e-08,
0.037500000000000006,
0.008000000000000005,
0.009
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圓角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
-0.0625,
-0.008000050000000003,
-2.5e-08,
0.0375,
0.008000000000000005,
0.009
],
"face_count": 17,
"edge_count": 43,
"vertex_count": 26
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 19,
"surface_counts": {
"cylinder": 6,
"plane": 13
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-62.5,
-8.0,
-0.0,
37.5,
8.0,
9.0
],
"volume_mm3": 9911.13280312,
"surface_area_mm2": 4502.512936677,
"solid_count": 1,
"face_count": 19,
"edge_count": 51,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-62.5,
-8.00005,
-2.5e-05,
37.5,
8.0,
9.0
],
"volume_mm3": 9911.13280312,
"surface_area_mm2": 4502.512936677,
"solid_count": 1,
"face_count": 17,
"edge_count": 43,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 9911.13280312,
"actual": 9911.13280312,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4502.512936677,
"actual": 4502.512936677,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-62.5,
-8.00005,
-2.5e-05,
37.5,
8.0,
9.0
],
"actual": [
-62.5,
-8.0,
-0.0,
37.5,
8.0,
9.0
],
"max_absolute_delta": 4.999999999988347e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 19,
"matches": false
},
"edge_count": {
"expected": 43,
"actual": 51,
"matches": false
},
"vertex_count": {
"expected": 26,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}