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

758 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146336",
"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": [
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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
15.0,
-10.5
],
"end": [
15.0,
-19.5
],
"center": [
15.0,
-15.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
-19.5
],
"end": [
45.0,
-19.5
]
},
{
"type": "arc",
"start": [
45.0,
-19.5
],
"end": [
45.0,
-10.5
],
"center": [
45.0,
-15.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
45.0,
-10.5
],
"end": [
15.0,
-10.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
15.0,
-50.5
],
"end": [
15.0,
-59.5
],
"center": [
15.0,
-55.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
-59.5
],
"end": [
45.0,
-59.5
]
},
{
"type": "arc",
"start": [
45.0,
-59.5
],
"end": [
45.0,
-50.5
],
"center": [
45.0,
-55.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
45.0,
-50.5
],
"end": [
15.0,
-50.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
390.0,
-10.5
],
"end": [
390.0,
-19.5
],
"center": [
390.0,
-15.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
390.0,
-19.5
],
"end": [
590.0,
-19.5
]
},
{
"type": "arc",
"start": [
590.0,
-19.5
],
"end": [
590.0,
-10.5
],
"center": [
590.0,
-15.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
590.0,
-10.5
],
"end": [
390.0,
-10.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
390.0,
-50.5
],
"end": [
390.0,
-59.5
],
"center": [
390.0,
-55.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
390.0,
-59.5
],
"end": [
590.0,
-59.5
]
},
{
"type": "arc",
"start": [
590.0,
-59.5
],
"end": [
590.0,
-50.5
],
"center": [
590.0,
-55.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
590.0,
-50.5
],
"end": [
390.0,
-50.5
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
600.0,
0.0
]
},
{
"type": "line",
"start": [
600.0,
0.0
],
"end": [
600.0,
-70.0
]
},
{
"type": "line",
"start": [
600.0,
-70.0
],
"end": [
0.0,
-70.0
]
},
{
"type": "line",
"start": [
0.0,
-70.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-35.0
],
"end": [
600.0,
-35.0
]
},
{
"type": "line",
"start": [
15.0,
-15.0
],
"end": [
45.0,
-15.0
]
},
{
"type": "line",
"start": [
15.0,
-55.0
],
"end": [
45.0,
-55.0
]
},
{
"type": "line",
"start": [
390.0,
-15.0
],
"end": [
590.0,
-15.0
]
},
{
"type": "line",
"start": [
390.0,
-55.0
],
"end": [
590.0,
-55.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_003"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "146336.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.760553099505924e-11,
"volume": 0.00037605530995059246,
"surface_area": 0.09894203534541078,
"center_of_mass": [
0.005,
-0.03500000000000001,
-0.28595894737208355
],
"principal_moments": [
1.567635857364503e-14,
1.0563061936018391e-12,
1.0713557933256194e-12
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.07,
-0.6,
0.01,
0.0,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "填料-伸長1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
0.0,
-0.07,
-0.6,
0.01,
0.0,
0.0
],
"face_count": 22,
"edge_count": 60,
"vertex_count": 40
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cylinder": 12,
"plane": 14
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 4
},
{
"spacing_mm": 375.0,
"pair_count": 2
},
{
"spacing_mm": 377.1273,
"pair_count": 2
},
{
"spacing_mm": 347.3111,
"pair_count": 2
},
{
"spacing_mm": 345.0,
"pair_count": 2
},
{
"spacing_mm": 203.9608,
"pair_count": 2
},
{
"spacing_mm": 200.0,
"pair_count": 2
},
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 576.3896,
"pair_count": 2
},
{
"spacing_mm": 575.0,
"pair_count": 2
},
{
"spacing_mm": 545.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-70.0,
-600.0,
10.0,
0.0,
0.0
],
"volume_mm3": 376055.309950593,
"surface_area_mm2": 98942.035345411,
"solid_count": 1,
"face_count": 26,
"edge_count": 72,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-70.0,
-600.0,
10.0,
0.0,
0.0
],
"volume_mm3": 376055.309950592,
"surface_area_mm2": 98942.035345411,
"solid_count": 1,
"face_count": 22,
"edge_count": 60,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 376055.309950592,
"actual": 376055.309950593,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 98942.035345411,
"actual": 98942.035345411,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-70.0,
-600.0,
10.0,
0.0,
0.0
],
"actual": [
0.0,
-70.0,
-600.0,
10.0,
0.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 60,
"actual": 72,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}