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

486 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Bolt",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.5
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
80.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": [
6.738660957,
-5.593970809
],
"end": [
8.213851307,
3.038866171
]
},
{
"type": "line",
"start": [
8.213851307,
3.038866171
],
"end": [
1.47519035,
8.63283698
]
},
{
"type": "line",
"start": [
1.47519035,
8.63283698
],
"end": [
-6.738660957,
5.593970809
]
},
{
"type": "line",
"start": [
-6.738660957,
5.593970809
],
"end": [
-8.213851307,
-3.038866171
]
},
{
"type": "line",
"start": [
-8.213851307,
-3.038866171
],
"end": [
-1.47519035,
-8.63283698
]
},
{
"type": "line",
"start": [
-1.47519035,
-8.63283698
],
"end": [
6.738660957,
-5.593970809
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.584625612
}
]
}
}
]
},
"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": 80.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"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": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010199_通用螺栓/Bolt.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01161497216803782,
"volume": 1.161497216803782e-05,
"surface_area": 0.003928551097620939,
"center_of_mass": [
-5.391691483169542e-19,
3.858598927519385e-21,
0.043645857419268116
],
"principal_moments": [
2.5616135681129947e-07,
7.4387390554365256e-06,
7.4387390554365256e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008213851306825563,
-0.008632836980292536,
0.0,
0.008213851306825563,
0.008632836980292538,
0.085
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Boss-Extrude2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZgAAAA==",
"persist_reference_sha256": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de",
"component": null,
"geometry": {
"box": [
-0.008213851306825561,
-0.008632836980292536,
0.0,
0.008213851306825563,
0.008632836980292538,
0.085
],
"face_count": 10,
"edge_count": 20,
"vertex_count": 12
},
"stable_id": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 11,
"surface_counts": {
"cylinder": 2,
"plane": 9
},
"axis_count": 2,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.213851307,
-8.63283698,
0.0,
8.213851307,
8.63283698,
85.0
],
"volume_mm3": 11614.972168038,
"surface_area_mm2": 3928.551097621,
"solid_count": 1,
"face_count": 11,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.213851307,
-8.63283698,
0.0,
8.213851307,
8.63283698,
85.0
],
"volume_mm3": 11614.972168038,
"surface_area_mm2": 3928.551097621,
"solid_count": 1,
"face_count": 10,
"edge_count": 20,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 11614.972168038,
"actual": 11614.972168038,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3928.551097621,
"actual": 3928.551097621,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.213851307,
-8.63283698,
0.0,
8.213851307,
8.63283698,
85.0
],
"actual": [
-8.213851307,
-8.63283698,
0.0,
8.213851307,
8.63283698,
85.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 11,
"matches": false
},
"edge_count": {
"expected": 20,
"actual": 24,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 16,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}