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

711 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "059883",
"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": "Sketch1",
"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": [
-12.5,
11.5
],
"end": [
12.5,
11.5
]
},
{
"type": "line",
"start": [
12.5,
11.5
],
"end": [
12.5,
-11.5
]
},
{
"type": "line",
"start": [
12.5,
-11.5
],
"end": [
-12.5,
-11.5
]
},
{
"type": "line",
"start": [
-12.5,
-11.5
],
"end": [
-12.5,
11.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.5,
11.5
],
"end": [
12.5,
-11.5
]
},
{
"type": "line",
"start": [
-12.5,
-11.5
],
"end": [
12.5,
11.5
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
11.5,
0.0
],
"end": [
-1.5,
-0.0
]
},
{
"type": "line",
"start": [
-1.5,
-0.0
],
"end": [
-1.5,
3.0
]
},
{
"type": "line",
"start": [
-1.5,
3.0
],
"end": [
11.5,
3.0
]
},
{
"type": "line",
"start": [
11.5,
3.0
],
"end": [
11.5,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": "arc",
"start": [
5.6,
11.5
],
"end": [
-5.6,
11.5
],
"center": [
0.0,
11.5
],
"radius_mm": 5.6,
"clockwise": false
},
{
"type": "line",
"start": [
-5.6,
11.5
],
"end": [
-5.6,
7.1
]
},
{
"type": "arc",
"start": [
-5.6,
7.1
],
"end": [
5.6,
7.1
],
"center": [
0.0,
7.1
],
"radius_mm": 5.6,
"clockwise": false
},
{
"type": "line",
"start": [
5.6,
7.1
],
"end": [
5.6,
11.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
11.5
],
"end": [
0.0,
7.1
]
}
]
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 7.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "CBORE for M4 Hexagon head bolts-Full thread-grades AB1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Hex head bolt-Full thread-Grades AB GB/T5783-2000",
"diameter_mm": 4.5,
"depth_mm": 7.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-6.0,
-6.5,
0.0
]
},
{
"mm": [
6.0,
-6.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "059883.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0021432895722545654,
"volume": 2.1432895722545653e-06,
"surface_area": 0.0018063854169365068,
"center_of_mass": [
-1.805081838712051e-18,
0.003935976985780635,
0.0020603790597990028
],
"principal_moments": [
9.14469065330123e-08,
1.4054720481781123e-07,
2.1857528288638755e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01250000000000001,
-1.734723475976807e-18,
-0.0115,
0.012500000000000002,
0.007,
0.0115
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-0.01250000000000001,
-1.5308084989341916e-18,
-0.0115,
0.012500000000000002,
0.007,
0.0115
],
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 29,
"surface_counts": {
"cylinder": 10,
"plane": 19
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 16.4305,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-12.5,
-0.0,
-11.5,
12.5,
7.0,
11.5
],
"volume_mm3": 2143.289572255,
"surface_area_mm2": 1806.385416937,
"solid_count": 1,
"face_count": 29,
"edge_count": 75,
"vertex_count": 50
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.5,
-0.0,
-11.5,
12.5,
7.0,
11.5
],
"volume_mm3": 2143.289572255,
"surface_area_mm2": 1806.385416937,
"solid_count": 1,
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 2143.289572255,
"actual": 2143.289572255,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1806.385416937,
"actual": 1806.385416937,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.5,
-0.0,
-11.5,
12.5,
7.0,
11.5
],
"actual": [
-12.5,
-0.0,
-11.5,
12.5,
7.0,
11.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 29,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 75,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 50,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}