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

1051 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "043412",
"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": [
135.0,
0.0
]
},
{
"type": "line",
"start": [
135.0,
0.0
],
"end": [
135.0,
100.0
]
},
{
"type": "line",
"start": [
135.0,
100.0
],
"end": [
0.0,
100.0
]
},
{
"type": "line",
"start": [
0.0,
100.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": [
-135.0,
96.0
],
"end": [
0.0,
96.0
]
},
{
"type": "line",
"start": [
0.0,
96.0
],
"end": [
0.0,
84.0
]
},
{
"type": "line",
"start": [
0.0,
84.0
],
"end": [
-135.0,
84.0
]
},
{
"type": "line",
"start": [
-135.0,
84.0
],
"end": [
-135.0,
96.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-135.0,
4.0
],
"end": [
0.0,
4.0
]
},
{
"type": "line",
"start": [
0.0,
4.0
],
"end": [
0.0,
16.0
]
},
{
"type": "line",
"start": [
0.0,
16.0
],
"end": [
-135.0,
16.0
]
},
{
"type": "line",
"start": [
-135.0,
16.0
],
"end": [
-135.0,
4.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图14",
"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": [
-145.191751354,
65.0
],
"end": [
-60.0,
65.0
]
},
{
"type": "line",
"start": [
-60.0,
65.0
],
"end": [
-60.0,
35.0
]
},
{
"type": "line",
"start": [
-60.0,
35.0
],
"end": [
-145.191751354,
35.0
]
},
{
"type": "line",
"start": [
-145.191751354,
35.0
],
"end": [
-145.191751354,
65.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图15",
"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": "circle",
"center": [
-10.0,
50.0
],
"radius_mm": 5.0
}
},
{
"id": "sk_006",
"name": "草图16",
"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": "circle",
"center": [
10.0,
50.0
],
"radius_mm": 7.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M10 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 10.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
10.0,
90.0,
0.0
]
},
{
"mm": [
10.0,
10.0,
0.0
]
},
{
"mm": [
-45.0,
90.0,
0.0
]
},
{
"mm": [
-45.0,
10.0,
0.0
]
}
],
"thread": {
"diameter_mm": 10.0,
"depth_mm": 20.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M10 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 10.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-9.995602425,
90.0,
0.0
]
},
{
"mm": [
45.004397575,
90.0,
0.0
]
},
{
"mm": [
-9.995602425,
10.0,
0.0
]
},
{
"mm": [
45.004397575,
10.0,
0.0
]
}
],
"thread": {
"diameter_mm": 10.0,
"depth_mm": 20.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_011",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 9.0,
"depth_mm": 19.75,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-56.0,
78.0,
0.0
]
},
{
"mm": [
-56.0,
22.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 9.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "切除-拉伸3",
"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": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 5.462379478,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
55.0,
50.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 5.462379478,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c4cd35002ade2df283fd4b33",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
16.0,
0.0,
135.0,
84.0,
0.0
],
"center_mm": [
57.78675926,
50.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c4cd35002ade2df283fd4b33",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
16.0,
0.0,
135.0,
84.0,
0.0
],
"center_mm": [
57.78675926,
50.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "043412.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.39476082430020487,
"volume": 0.0003947608243002049,
"surface_area": 0.07913696541400612,
"center_of_mass": [
0.06506932214667295,
0.050000000215927,
-0.008926002762613005
],
"principal_moments": [
0.0007296591685886028,
0.0008076141453483486,
0.0011035412243647694
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-5.000000000143778e-08,
0.0,
-0.060000025000000005,
0.13500005,
0.100000025,
0.02
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAB2AAAAdQAAAHQAAABzAAAAcgAAAG4AAABtAAAAawAAAGUAAAA=",
"persist_reference_sha256": "aeec00611baec30b0c215e4c01318a765ca209500151b15ccf1087317caed1d4",
"component": null,
"geometry": {
"box": [
-5e-08,
0.0,
-0.060000025000000005,
0.13500005,
0.100000025,
0.02
],
"face_count": 46,
"edge_count": 80,
"vertex_count": 40
},
"stable_id": "aeec00611baec30b0c215e4c01318a765ca209500151b15ccf1087317caed1d4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 71,
"surface_counts": {
"cone": 20,
"cylinder": 30,
"plane": 21
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 24.5,
"pair_count": 8
},
{
"spacing_mm": 55.0,
"pair_count": 8
},
{
"spacing_mm": 60.21,
"pair_count": 8
},
{
"spacing_mm": 80.0,
"pair_count": 8
},
{
"spacing_mm": 83.6675,
"pair_count": 8
},
{
"spacing_mm": 97.0824,
"pair_count": 8
},
{
"spacing_mm": 100.1262,
"pair_count": 8
},
{
"spacing_mm": 110.5,
"pair_count": 8
},
{
"spacing_mm": 136.4194,
"pair_count": 8
},
{
"spacing_mm": 135.0,
"pair_count": 4
},
{
"spacing_mm": 156.9235,
"pair_count": 4
},
{
"spacing_mm": 123.4292,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
-60.0,
135.0,
100.0,
20.0000001
],
"volume_mm3": 394760.827648611,
"surface_area_mm2": 79136.962807401,
"solid_count": 1,
"face_count": 71,
"edge_count": 163,
"vertex_count": 104
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-5e-05,
0.0,
-60.000025,
135.00005,
100.000025,
20.0
],
"volume_mm3": 394760.824300205,
"surface_area_mm2": 79136.965414006,
"solid_count": 1,
"face_count": 46,
"edge_count": 80,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 394760.824300205,
"actual": 394760.827648611,
"absolute_delta": 0.0033484059968031943,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 79136.965414006,
"actual": 79136.962807401,
"absolute_delta": 0.0026066050049848855,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-5e-05,
0.0,
-60.000025,
135.00005,
100.000025,
20.0
],
"actual": [
-0.0,
0.0,
-60.0,
135.0,
100.0,
20.0000001
],
"max_absolute_delta": 5e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 46,
"actual": 71,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 163,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 104,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}