Files
cdsl-cad/json_to_cdsl/output/H2035.cdsl.json
T
2026-08-24 14:52:08 +08:00

975 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "H2035",
"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": [
-82.5,
0.0
],
"end": [
82.5,
0.0
]
},
{
"type": "line",
"start": [
82.5,
0.0
],
"end": [
82.5,
14.356091655
]
},
{
"type": "line",
"start": [
82.5,
14.356091655
],
"end": [
78.811485749,
14.356091655
]
},
{
"type": "line",
"start": [
78.811485749,
14.356091655
],
"end": [
78.811485749,
18.0
]
},
{
"type": "line",
"start": [
78.811485749,
18.0
],
"end": [
51.144585366,
18.0
]
},
{
"type": "line",
"start": [
51.144585366,
18.0
],
"end": [
51.144585366,
77.85342439
]
},
{
"type": "line",
"start": [
51.144585366,
77.85342439
],
"end": [
9.471219512,
77.85342439
]
},
{
"type": "line",
"start": [
9.471219512,
77.85342439
],
"end": [
9.471219512,
87.0
]
},
{
"type": "line",
"start": [
9.471219512,
87.0
],
"end": [
-9.471219512,
87.0
]
},
{
"type": "line",
"start": [
-9.471219512,
87.0
],
"end": [
-9.471219512,
77.85342439
]
},
{
"type": "line",
"start": [
-9.471219512,
77.85342439
],
"end": [
-51.144585366,
77.85342439
]
},
{
"type": "line",
"start": [
-51.144585366,
77.85342439
],
"end": [
-51.144585366,
18.0
]
},
{
"type": "line",
"start": [
-51.144585366,
18.0
],
"end": [
-78.811485749,
18.0
]
},
{
"type": "line",
"start": [
-78.811485749,
18.0
],
"end": [
-78.811485749,
14.356091655
]
},
{
"type": "line",
"start": [
-78.811485749,
14.356091655
],
"end": [
-82.5,
14.356091655
]
},
{
"type": "line",
"start": [
-82.5,
14.356091655
],
"end": [
-82.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
55.139159892
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circles",
"items": [
{
"center": [
-67.5,
-0.0
],
"radius_mm": 6.0
},
{
"center": [
67.5,
-0.0
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
22.5,
-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": "circle",
"center": [
0.0,
42.0
],
"radius_mm": 17.5
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
34.089466627,
-5.907217083
],
"end": [
40.910533373,
-5.907217083
]
},
{
"type": "line",
"start": [
40.910533373,
-5.907217083
],
"end": [
44.321066746,
-0.0
]
},
{
"type": "line",
"start": [
44.321066746,
-0.0
],
"end": [
40.910533373,
5.907217083
]
},
{
"type": "line",
"start": [
40.910533373,
5.907217083
],
"end": [
34.089466627,
5.907217083
]
},
{
"type": "line",
"start": [
34.089466627,
5.907217083
],
"end": [
30.678933254,
0.0
]
},
{
"type": "line",
"start": [
30.678933254,
0.0
],
"end": [
34.089466627,
-5.907217083
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-30.678933254,
0.0
],
"end": [
-34.089466627,
-5.907217083
]
},
{
"type": "line",
"start": [
-34.089466627,
-5.907217083
],
"end": [
-40.910533373,
-5.907217083
]
},
{
"type": "line",
"start": [
-40.910533373,
-5.907217083
],
"end": [
-44.321066746,
-0.0
]
},
{
"type": "line",
"start": [
-44.321066746,
-0.0
],
"end": [
-40.910533373,
5.907217083
]
},
{
"type": "line",
"start": [
-40.910533373,
5.907217083
],
"end": [
-34.089466627,
5.907217083
]
},
{
"type": "line",
"start": [
-34.089466627,
5.907217083
],
"end": [
-30.678933254,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
37.5,
0.0
],
"radius_mm": 5.907217083
},
{
"type": "circle",
"center": [
-37.5,
0.0
],
"radius_mm": 5.907217083
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
75.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
41.361788618
]
}
]
}
}
]
},
"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": 45.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "拉伸2",
"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_005"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010107_GBT899双头螺柱/对开式两螺柱正滑动轴承座H2035.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.8783534730290343,
"volume": 0.0003690196760293634,
"surface_area": 0.044956485964976395,
"center_of_mass": [
-7.064974322705118e-18,
0.03591612550857452,
-3.8330716201515644e-19
],
"principal_moments": [
0.0023055269742043734,
0.004492086977181023,
0.005820186467956147
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0825,
0.0,
-0.0225,
0.0825,
0.087,
0.0225
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABmAAAA",
"persist_reference_sha256": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe",
"component": null,
"geometry": {
"box": [
-0.0825,
0.0,
-0.0225,
0.0825,
0.087,
0.0225
],
"face_count": 45,
"edge_count": 116,
"vertex_count": 72
},
"stable_id": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cone": 4,
"cylinder": 14,
"plane": 32
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 98.8914,
"pair_count": 2
},
{
"spacing_mm": 85.2074,
"pair_count": 2
},
{
"spacing_mm": 80.4822,
"pair_count": 2
},
{
"spacing_mm": 42.5074,
"pair_count": 2
},
{
"spacing_mm": 58.2945,
"pair_count": 2
},
{
"spacing_mm": 99.1136,
"pair_count": 2
},
{
"spacing_mm": 96.3551,
"pair_count": 2
},
{
"spacing_mm": 92.2029,
"pair_count": 2
},
{
"spacing_mm": 61.8941,
"pair_count": 2
},
{
"spacing_mm": 73.6359,
"pair_count": 2
},
{
"spacing_mm": 153.5788,
"pair_count": 2
},
{
"spacing_mm": 151.0246,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-82.5,
0.0,
-22.5,
82.5,
87.0,
22.5
],
"volume_mm3": 369019.676029364,
"surface_area_mm2": 44956.485964976,
"solid_count": 1,
"face_count": 50,
"edge_count": 134,
"vertex_count": 88
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.5,
0.0,
-22.5,
82.5,
87.0,
22.5
],
"volume_mm3": 369019.676029363,
"surface_area_mm2": 44956.485964976,
"solid_count": 1,
"face_count": 45,
"edge_count": 116,
"vertex_count": 72
},
"comparisons": {
"volume_mm3": {
"expected": 369019.676029363,
"actual": 369019.676029364,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 44956.485964976,
"actual": 44956.485964976,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.5,
0.0,
-22.5,
82.5,
87.0,
22.5
],
"actual": [
-82.5,
0.0,
-22.5,
82.5,
87.0,
22.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 116,
"actual": 134,
"matches": false
},
"vertex_count": {
"expected": 72,
"actual": 88,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}