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

659 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "139272",
"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,
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": [
-65.0,
375.0
],
"end": [
65.0,
375.0
]
},
{
"type": "line",
"start": [
65.0,
375.0
],
"end": [
65.0,
-375.0
]
},
{
"type": "line",
"start": [
65.0,
-375.0
],
"end": [
-65.0,
-375.0
]
},
{
"type": "line",
"start": [
-65.0,
-375.0
],
"end": [
-65.0,
375.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-65.0,
375.0
],
"end": [
65.0,
-375.0
]
},
{
"type": "line",
"start": [
-65.0,
-375.0
],
"end": [
65.0,
375.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_002"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "M6 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
53.0,
-210.0,
0.0
]
},
{
"mm": [
-53.0,
-210.0,
0.0
]
},
{
"mm": [
-53.0,
-10.0,
0.0
]
},
{
"mm": [
53.0,
-10.0,
0.0
]
},
{
"mm": [
-53.0,
190.0,
0.0
]
},
{
"mm": [
53.0,
190.0,
0.0
]
},
{
"mm": [
-53.0,
290.0,
0.0
]
},
{
"mm": [
53.0,
290.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "2B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M10 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 10.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-35.0,
-325.0,
0.0
]
},
{
"mm": [
35.0,
-325.0,
0.0
]
},
{
"mm": [
-35.0,
-255.0,
0.0
]
},
{
"mm": [
35.0,
-255.0,
0.0
]
},
{
"mm": [
35.0,
325.0,
0.0
]
},
{
"mm": [
-35.0,
325.0,
0.0
]
},
{
"mm": [
-35.0,
255.0,
0.0
]
},
{
"mm": [
35.0,
255.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 18.0,
"depth_mm": 11.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "139272.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.4319796483545524,
"volume": 0.0014319796483545524,
"surface_area": 0.22686573999887788,
"center_of_mass": [
7.615715215247911e-18,
-2.0633448904781732e-05,
-0.00010695168890043366
],
"principal_moments": [
0.0020372595697210265,
0.06592271652980734,
0.06790614019751195
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.06500000000000003,
-0.0075,
-0.37500000000000006,
0.06500000000000003,
0.007500000000000001,
0.37499999999999994
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "導角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZwAAAGYAAAA=",
"persist_reference_sha256": "a4428cff400dba19bef69e2c48fe95084f0d3dd46c4bf2b0811ba09ad5d7ff2c",
"component": null,
"geometry": {
"box": [
-0.06500000000000003,
-0.0075,
-0.37500000000000006,
0.06500000000000003,
0.007500000000000001,
0.37499999999999994
],
"face_count": 42,
"edge_count": 72,
"vertex_count": 16
},
"stable_id": "a4428cff400dba19bef69e2c48fe95084f0d3dd46c4bf2b0811ba09ad5d7ff2c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 66,
"surface_counts": {
"cylinder": 48,
"plane": 18
},
"axis_count": 48,
"repeat_spacings_mm": [
{
"spacing_mm": 70.0,
"pair_count": 8
},
{
"spacing_mm": 98.9949,
"pair_count": 4
},
{
"spacing_mm": 580.0,
"pair_count": 4
},
{
"spacing_mm": 584.2089,
"pair_count": 4
},
{
"spacing_mm": 94.7048,
"pair_count": 4
},
{
"spacing_mm": 39.3573,
"pair_count": 4
},
{
"spacing_mm": 106.0,
"pair_count": 4
},
{
"spacing_mm": 226.3537,
"pair_count": 4
},
{
"spacing_mm": 200.0,
"pair_count": 4
},
{
"spacing_mm": 653.7584,
"pair_count": 2
},
{
"spacing_mm": 650.0,
"pair_count": 2
},
{
"spacing_mm": 144.8068,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-65.0,
-7.5,
-375.0,
65.0,
7.5,
375.0
],
"volume_mm3": 1431979.648354555,
"surface_area_mm2": 226865.739998878,
"solid_count": 1,
"face_count": 66,
"edge_count": 168,
"vertex_count": 112
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-65.0,
-7.5,
-375.0,
65.0,
7.5,
375.0
],
"volume_mm3": 1431979.648354552,
"surface_area_mm2": 226865.739998878,
"solid_count": 1,
"face_count": 42,
"edge_count": 72,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 1431979.648354552,
"actual": 1431979.648354555,
"absolute_delta": 3.026798367500305e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 226865.739998878,
"actual": 226865.739998878,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-65.0,
-7.5,
-375.0,
65.0,
7.5,
375.0
],
"actual": [
-65.0,
-7.5,
-375.0,
65.0,
7.5,
375.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 42,
"actual": 66,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 168,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 112,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}