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

727 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "FK12-Body",
"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,
-1000.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
15.652475842,
-22.0
],
"end": [
22.0,
-15.652475842
],
"center": [
0.0,
0.0
],
"radius_mm": 27.0,
"clockwise": false
},
{
"type": "line",
"start": [
22.0,
-15.652475842
],
"end": [
22.0,
15.652475842
]
},
{
"type": "arc",
"start": [
22.0,
15.652475842
],
"end": [
15.652475842,
22.0
],
"center": [
0.0,
0.0
],
"radius_mm": 27.0,
"clockwise": false
},
{
"type": "line",
"start": [
15.652475842,
22.0
],
"end": [
-15.652475842,
22.0
]
},
{
"type": "arc",
"start": [
-15.652475842,
22.0
],
"end": [
-22.0,
15.652475842
],
"center": [
0.0,
0.0
],
"radius_mm": 27.0,
"clockwise": false
},
{
"type": "line",
"start": [
-22.0,
15.652475842
],
"end": [
-22.0,
-15.652475842
]
},
{
"type": "arc",
"start": [
-22.0,
-15.652475842
],
"end": [
-15.652475842,
-22.0
],
"center": [
0.0,
0.0
],
"radius_mm": 27.0,
"clockwise": false
},
{
"type": "line",
"start": [
-15.652475842,
-22.0
],
"end": [
15.652475842,
-22.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_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_004",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-1000.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.8,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "Ø4.5 (4.5) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 4.5,
"depth_mm": 5.8,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
5.98535251,
16.44462086,
0.0
]
},
{
"mm": [
16.44462086,
-5.98535251,
0.0
]
},
{
"mm": [
-5.98535251,
-16.44462086,
0.0
]
},
{
"mm": [
-16.44462086,
5.98535251,
0.0
]
}
]
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Ø24.0 (24) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 24.0,
"depth_mm": 5.8,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
]
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "CBORE for M4 Hex Head Machine Screw1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "Hex Screw - ANSI B18.6.7M",
"diameter_mm": 4.5,
"depth_mm": 5.8,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
16.0,
-16.0,
0.0
]
},
{
"mm": [
-16.0,
-16.0,
0.0
]
},
{
"mm": [
-16.0,
16.0,
0.0
]
},
{
"mm": [
16.0,
16.0,
0.0
]
},
{
"mm": [
-16.0,
16.0,
0.0
]
},
{
"mm": [
16.0,
16.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001"
},
{
"id": "f_009",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 2.199999998,
"angle_rad": 0.7853981642948962
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_005"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.7853981642948962
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0501_箱体壳体/050199_通用壳体/FK12 Body.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05229262456319149,
"volume": 6.661480836075349e-06,
"surface_area": 0.004586906690382485,
"center_of_mass": [
-0.0029654935924624563,
7.496986137441492e-18,
-4.0201230012367415e-18
],
"principal_moments": [
9.662058095310345e-06,
9.662058095310345e-06,
1.903814185908843e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006216210439766552,
-0.022,
-0.022,
-0.00019999999999999966,
0.022,
0.022
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABqAAAAaQAAAGgAAABnAAAA",
"persist_reference_sha256": "61105101d4135b9f0e27d2c1c90544855128b71f0b58f22d254194fc8a13ba20",
"component": null,
"geometry": {
"box": [
-0.006216210439766552,
-0.022,
-0.022,
-0.00019999999999999966,
0.022,
0.022
],
"face_count": 49,
"edge_count": 96,
"vertex_count": 40
},
"stable_id": "61105101d4135b9f0e27d2c1c90544855128b71f0b58f22d254194fc8a13ba20"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cone": 20,
"cylinder": 30,
"plane": 18
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 24.7487,
"pair_count": 8
},
{
"spacing_mm": 24.8463,
"pair_count": 8
},
{
"spacing_mm": 17.7725,
"pair_count": 4
},
{
"spacing_mm": 23.2398,
"pair_count": 4
},
{
"spacing_mm": 18.285,
"pair_count": 4
},
{
"spacing_mm": 17.6377,
"pair_count": 4
},
{
"spacing_mm": 22.6274,
"pair_count": 4
},
{
"spacing_mm": 17.5,
"pair_count": 4
},
{
"spacing_mm": 35.0,
"pair_count": 4
},
{
"spacing_mm": 10.2631,
"pair_count": 4
},
{
"spacing_mm": 34.0263,
"pair_count": 4
},
{
"spacing_mm": 39.2537,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-6.0000001,
-22.0000001,
-22.0000001,
-0.1999999,
22.0000001,
22.0000001
],
"volume_mm3": 6661.479986749,
"surface_area_mm2": 4586.905280021,
"solid_count": 1,
"face_count": 68,
"edge_count": 170,
"vertex_count": 104
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.21621044,
-22.0,
-22.0,
-0.2,
22.0,
22.0
],
"volume_mm3": 6661.480836075,
"surface_area_mm2": 4586.906690382,
"solid_count": 1,
"face_count": 49,
"edge_count": 96,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 6661.480836075,
"actual": 6661.479986749,
"absolute_delta": 0.0008493260002069292,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4586.906690382,
"actual": 4586.905280021,
"absolute_delta": 0.0014103610001257039,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.21621044,
-22.0,
-22.0,
-0.2,
22.0,
22.0
],
"actual": [
-6.0000001,
-22.0000001,
-22.0000001,
-0.1999999,
22.0000001,
22.0000001
],
"max_absolute_delta": 0.21621033999999995,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 49,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 96,
"actual": 170,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 104,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}