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

694 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "bottom-plate",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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,
-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": [
-80.0,
-100.0
],
"end": [
-100.0,
-80.0
],
"center": [
-80.0,
-80.0
],
"radius_mm": 20.0,
"clockwise": true
},
{
"type": "line",
"start": [
-100.0,
-80.0
],
"end": [
-100.0,
80.0
]
},
{
"type": "arc",
"start": [
-100.0,
80.0
],
"end": [
-80.0,
100.0
],
"center": [
-80.0,
80.0
],
"radius_mm": 20.0,
"clockwise": true
},
{
"type": "line",
"start": [
-80.0,
100.0
],
"end": [
80.0,
100.0
]
},
{
"type": "arc",
"start": [
80.0,
100.0
],
"end": [
100.0,
80.0
],
"center": [
80.0,
80.0
],
"radius_mm": 20.0,
"clockwise": true
},
{
"type": "line",
"start": [
100.0,
80.0
],
"end": [
100.0,
-80.0
]
},
{
"type": "arc",
"start": [
100.0,
-80.0
],
"end": [
80.0,
-100.0
],
"center": [
80.0,
-80.0
],
"radius_mm": 20.0,
"clockwise": false
},
{
"type": "line",
"start": [
80.0,
-100.0
],
"end": [
-80.0,
-100.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-80.0,
80.0
],
"radius_mm": 7.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
80.0,
80.0
],
"radius_mm": 7.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
80.0,
-80.0
],
"radius_mm": 7.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-80.0,
-80.0
],
"radius_mm": 7.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-0.0,
0.0
],
"radius_mm": 20.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-100.0,
-100.0
],
"end": [
100.0,
100.0
]
},
{
"type": "line",
"start": [
-100.0,
100.0
],
"end": [
100.0,
-100.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
25.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 85.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 15.0
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right Plane",
"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": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 104.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "04_支承与导向件/0405_平板底板/040599_通用平板/bottom plate.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.7198209141846093,
"volume": 0.0017198209141846092,
"surface_area": 0.13778337160043191,
"center_of_mass": [
-5.648923004138253e-11,
0.0019843913840898613,
-0.0014025618433509014
],
"principal_moments": [
0.006163064522687584,
0.006400629440066509,
0.011900629303767313
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.1,
-0.09999999999999999,
-0.025,
0.1,
0.10000000000000002,
0.025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.1,
-0.09999999999999999,
-0.025,
0.1,
0.10000000000000002,
0.025
],
"face_count": 18,
"edge_count": 38,
"vertex_count": 16
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cylinder": 18,
"plane": 7
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 113.2475,
"pair_count": 4
},
{
"spacing_mm": 160.0,
"pair_count": 4
},
{
"spacing_mm": 113.1371,
"pair_count": 4
},
{
"spacing_mm": 118.6634,
"pair_count": 2
},
{
"spacing_mm": 113.1415,
"pair_count": 2
},
{
"spacing_mm": 226.2742,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-100.0,
-100.0000001,
-25.0000001,
100.0,
100.0,
25.0
],
"volume_mm3": 1719821.3815257,
"surface_area_mm2": 137783.287177156,
"solid_count": 1,
"face_count": 25,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-100.0,
-100.0,
-25.0,
100.0,
100.0,
25.0
],
"volume_mm3": 1719820.914184609,
"surface_area_mm2": 137783.371600432,
"solid_count": 1,
"face_count": 18,
"edge_count": 38,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 1719820.914184609,
"actual": 1719821.3815257,
"absolute_delta": 0.4673410910181701,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 137783.371600432,
"actual": 137783.287177156,
"absolute_delta": 0.0844232760136947,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-100.0,
-100.0,
-25.0,
100.0,
100.0,
25.0
],
"actual": [
-100.0,
-100.0000001,
-25.0000001,
100.0,
100.0,
25.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 38,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}