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

1389 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "215176",
"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": [
-125.0,
24.0
],
"end": [
125.0,
24.0
]
},
{
"type": "line",
"start": [
125.0,
24.0
],
"end": [
125.0,
-24.0
]
},
{
"type": "line",
"start": [
125.0,
-24.0
],
"end": [
-125.0,
-24.0
]
},
{
"type": "line",
"start": [
-125.0,
-24.0
],
"end": [
-125.0,
24.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-125.0,
24.0
],
"end": [
125.0,
-24.0
]
},
{
"type": "line",
"start": [
-125.0,
-24.0
],
"end": [
125.0,
24.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖6",
"role": "profile",
"workplane": {
"origin_mm": [
26.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": [
-125.0,
24.0
],
"end": [
125.0,
24.0
]
},
{
"type": "line",
"start": [
125.0,
24.0
],
"end": [
125.0,
-9.0
]
},
{
"type": "line",
"start": [
125.0,
-9.0
],
"end": [
-125.0,
-9.0
]
},
{
"type": "line",
"start": [
-125.0,
-9.0
],
"end": [
-125.0,
24.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖15",
"role": "profile",
"workplane": {
"origin_mm": [
26.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": [
-50.0,
-9.0
],
"end": [
50.0,
-9.0
]
},
{
"type": "line",
"start": [
50.0,
-9.0
],
"end": [
50.0,
-24.0
]
},
{
"type": "line",
"start": [
50.0,
-24.0
],
"end": [
-50.0,
-24.0
]
},
{
"type": "line",
"start": [
-50.0,
-24.0
],
"end": [
-50.0,
-9.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖18",
"role": "profile",
"workplane": {
"origin_mm": [
13.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": [
22.75,
-14.5
],
"end": [
17.25,
-14.5
],
"center": [
20.0,
-14.5
],
"radius_mm": 2.75,
"clockwise": false
},
{
"type": "line",
"start": [
17.25,
-14.5
],
"end": [
17.25,
-18.5
]
},
{
"type": "arc",
"start": [
17.25,
-18.5
],
"end": [
22.75,
-18.5
],
"center": [
20.0,
-18.5
],
"radius_mm": 2.75,
"clockwise": false
},
{
"type": "line",
"start": [
22.75,
-18.5
],
"end": [
22.75,
-14.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
-14.5
],
"end": [
20.0,
-18.5
]
}
]
}
},
{
"id": "sk_006",
"name": "草圖19",
"role": "profile",
"workplane": {
"origin_mm": [
13.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": [
25.0,
-14.5
],
"end": [
15.0,
-14.5
],
"center": [
20.0,
-14.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
-14.5
],
"end": [
15.0,
-18.5
]
},
{
"type": "arc",
"start": [
15.0,
-18.5
],
"end": [
25.0,
-18.5
],
"center": [
20.0,
-18.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
25.0,
-18.5
],
"end": [
25.0,
-14.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
-14.5
],
"end": [
20.0,
-18.5
]
}
]
}
}
]
},
"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": 26.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": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"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": [
-100.0,
20.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M3 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-120.0,
13.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "Ø3.0 (3) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-120.0,
4.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "鏡射1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_010",
"f_003"
],
"params": {
"source_feature_ids": [
"f_010"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_012",
"name": "除料-伸長3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 13.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "直線複製排列2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_006",
"f_005",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 60.0,
"pattern_count_1": 5
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "直線複製排列3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_008",
"f_005",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 240.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_012",
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "M5 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_012",
"f_004"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 5.3,
"depth_mm": 13.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-20.0,
-16.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.7
},
"host_face": {
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-547f88d94d1496d06665bb10",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
0.0
],
"center_mm": [
-0.039847752,
0.062506034,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_015",
"name": "除料-伸長4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_012",
"f_004",
"f_014"
],
"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_016",
"name": "除料-伸長5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_012",
"f_004",
"f_015"
],
"params": {
"distance_mm": 5.7,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "215176.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.9820237900430286,
"volume": 0.00012509857198000364,
"surface_area": 0.03715192714544671,
"center_of_mass": [
-6.410691215638498e-05,
-0.007047231145569518,
0.008077682892266892
],
"principal_moments": [
0.0002311697836756415,
0.005854494518435892,
0.006016230536948805
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.125,
-0.024000000000000004,
0.0,
0.125,
0.023999999999999997,
0.026
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAwAAAB2AAAAdQAAAHMAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAAagAAAGUAAAA=",
"persist_reference_sha256": "9f15c45f6b7d3cfb9addf921dd9fe44f02dfbfe815a63e2e6750cf604dfa70e4",
"component": null,
"geometry": {
"box": [
-0.125,
-0.024000000000000004,
0.0,
0.12499999999999999,
0.023999999999999997,
0.026
],
"face_count": 37,
"edge_count": 82,
"vertex_count": 42
},
"stable_id": "9f15c45f6b7d3cfb9addf921dd9fe44f02dfbfe815a63e2e6750cf604dfa70e4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cone": 4,
"cylinder": 26,
"plane": 20
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 120.0,
"pair_count": 3
},
{
"spacing_mm": 42.107,
"pair_count": 2
},
{
"spacing_mm": 40.4536,
"pair_count": 2
},
{
"spacing_mm": 12.0,
"pair_count": 2
},
{
"spacing_mm": 200.0,
"pair_count": 2
},
{
"spacing_mm": 200.3597,
"pair_count": 2
},
{
"spacing_mm": 37.1484,
"pair_count": 2
},
{
"spacing_mm": 222.2161,
"pair_count": 2
},
{
"spacing_mm": 44.3283,
"pair_count": 2
},
{
"spacing_mm": 56.2583,
"pair_count": 2
},
{
"spacing_mm": 107.5407,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
26.0
],
"volume_mm3": 125098.571980004,
"surface_area_mm2": 37151.927145447,
"solid_count": 1,
"face_count": 50,
"edge_count": 130,
"vertex_count": 86
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
26.0
],
"volume_mm3": 125098.571980004,
"surface_area_mm2": 37151.927145447,
"solid_count": 1,
"face_count": 37,
"edge_count": 82,
"vertex_count": 42
},
"comparisons": {
"volume_mm3": {
"expected": 125098.571980004,
"actual": 125098.571980004,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 37151.927145447,
"actual": 37151.927145447,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
26.0
],
"actual": [
-125.0,
-24.0,
0.0,
125.0,
24.0,
26.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 37,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 82,
"actual": 130,
"matches": false
},
"vertex_count": {
"expected": 42,
"actual": 86,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}