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

784 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "211359",
"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": "arc",
"start": [
2.25,
-1.089724736
],
"end": [
2.39076189,
0.730929262
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.39076189,
0.730929262
],
"end": [
2.713277765,
0.82953226
]
},
{
"type": "arc",
"start": [
2.713277765,
0.82953226
],
"end": [
3.062928137,
1.693656172
],
"center": [
2.537854742,
1.403315114
],
"radius_mm": 0.6,
"clockwise": true
},
{
"type": "arc",
"start": [
3.062928137,
1.693656172
],
"end": [
1.720320434,
3.048031759
],
"center": [
0.0,
0.0
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "arc",
"start": [
1.720320434,
3.048031759
],
"end": [
0.853178189,
2.705935509
],
"center": [
1.425408359,
2.525512029
],
"radius_mm": 0.6,
"clockwise": false
},
{
"type": "line",
"start": [
0.853178189,
2.705935509
],
"end": [
0.751764499,
2.384292377
]
},
{
"type": "arc",
"start": [
0.751764499,
2.384292377
],
"end": [
-0.751764499,
2.384292377
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-0.751764499,
2.384292377
],
"end": [
-0.853178189,
2.705935509
]
},
{
"type": "arc",
"start": [
-0.853178189,
2.705935509
],
"end": [
-1.720320434,
3.048031759
],
"center": [
-1.425408359,
2.525512029
],
"radius_mm": 0.6,
"clockwise": false
},
{
"type": "arc",
"start": [
-1.720320434,
3.048031759
],
"end": [
-3.062928137,
1.693656172
],
"center": [
0.0,
0.0
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "arc",
"start": [
-3.062928137,
1.693656172
],
"end": [
-2.713277765,
0.82953226
],
"center": [
-2.537854742,
1.403315114
],
"radius_mm": 0.6,
"clockwise": false
},
{
"type": "line",
"start": [
-2.713277765,
0.82953226
],
"end": [
-2.39076189,
0.730929262
]
},
{
"type": "arc",
"start": [
-2.39076189,
0.730929262
],
"end": [
-2.25,
-1.089724736
],
"center": [
0.0,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.25,
-1.089724736
],
"end": [
-2.795405425,
-2.991779494
]
},
{
"type": "arc",
"start": [
-2.795405425,
-2.991779494
],
"end": [
-3.832002776,
-3.211814864
],
"center": [
-3.372162443,
-2.826397081
],
"radius_mm": 0.6,
"clockwise": true
},
{
"type": "arc",
"start": [
-3.832002776,
-3.211814864
],
"end": [
3.832002776,
-3.211814864
],
"center": [
0.0,
0.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "arc",
"start": [
3.832002776,
-3.211814864
],
"end": [
2.795405425,
-2.991779494
],
"center": [
3.372162443,
-2.826397081
],
"radius_mm": 0.6,
"clockwise": true
},
{
"type": "line",
"start": [
2.795405425,
-2.991779494
],
"end": [
2.25,
-1.089724736
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "arc",
"start": [
3.5,
0.0
],
"end": [
3.486681443,
0.3050451
],
"center": [
0.0,
0.0
],
"radius_mm": 3.5,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
3.486681443,
0.3050451
]
},
{
"type": "line",
"start": [
-2.192968094,
0.0
],
"end": [
1.915166808,
0.0
]
},
{
"type": "line",
"start": [
0.0,
-1.805096794
],
"end": [
0.0,
1.786652436
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.751764499,
2.384292377
]
},
{
"type": "line",
"start": [
0.751764499,
2.384292377
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.751764499,
2.384292377
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
2.39076189,
0.730929262
]
},
{
"type": "line",
"start": [
2.39076189,
0.730929262
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-2.39076189,
0.730929262
]
}
]
}
}
]
},
"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": 0.8,
"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"
}
],
"meta": {
"unit": "mm",
"source": "211359.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0002368891046557891,
"volume": 3.037039803279348e-08,
"surface_area": 0.00011111540022420757,
"center_of_mass": [
1.1786263847005685e-18,
0.0011010531811655678,
0.0004000000000000002
],
"principal_moments": [
1.2606371266484517e-09,
2.448044869500524e-09,
3.683413824985701e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.005,
-0.0034263970807592863,
0.0,
0.005,
0.005000000000000001,
0.0008
],
"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.005,
-0.003426397080759286,
0.0,
0.005,
0.005,
0.0008
],
"face_count": 20,
"edge_count": 54,
"vertex_count": 36
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 16,
"plane": 8
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 2.9,
"pair_count": 4
},
{
"spacing_mm": 7.2677,
"pair_count": 2
},
{
"spacing_mm": 4.3112,
"pair_count": 2
},
{
"spacing_mm": 1.5801,
"pair_count": 2
},
{
"spacing_mm": 4.1191,
"pair_count": 2
},
{
"spacing_mm": 4.4,
"pair_count": 2
},
{
"spacing_mm": 7.1875,
"pair_count": 2
},
{
"spacing_mm": 5.695,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-5.0,
-3.426397081,
0.0,
5.0,
5.0,
0.8
],
"volume_mm3": 30.370398033,
"surface_area_mm2": 111.115400224,
"solid_count": 1,
"face_count": 24,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-5.0,
-3.426397081,
0.0,
5.0,
5.0,
0.8
],
"volume_mm3": 30.370398033,
"surface_area_mm2": 111.115400224,
"solid_count": 1,
"face_count": 20,
"edge_count": 54,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 30.370398033,
"actual": 30.370398033,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 111.115400224,
"actual": 111.115400224,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-5.0,
-3.426397081,
0.0,
5.0,
5.0,
0.8
],
"actual": [
-5.0,
-3.426397081,
0.0,
5.0,
5.0,
0.8
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}