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

524 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_Pin_3",
"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": [
5.0,
60.0
],
"radius_mm": 3.25
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "outer",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
300.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": "circles",
"items": [
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
}
]
}
},
{
"id": "sk_005",
"name": "Sketch5",
"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": "circles",
"items": [
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 3.25
},
{
"center": [
5.0,
60.0
],
"radius_mm": 5.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": "Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0106_销/010699_通用销/标准_Pin_3.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01032248806153269,
"volume": 1.032248806153269e-05,
"surface_area": 0.0064057074206695964,
"center_of_mass": [
0.005000000000000002,
0.060000000000000005,
-0.1445727002967359
],
"principal_moments": [
5.6690859193371725e-08,
8.29258750588866e-05,
8.29258750588866e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-4.336808689942018e-18,
0.05499999999999999,
-0.3,
0.010000000000000005,
0.065,
0.006000000000000005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Dome3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZQAAAA==",
"persist_reference_sha256": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44",
"component": null,
"geometry": {
"box": [
-4.336808689942018e-18,
0.05499999999999999,
-0.3,
0.010000000000000005,
0.065,
0.006
],
"face_count": 5,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 8,
"surface_counts": {
"cylinder": 4,
"plane": 2,
"sphere": 2
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-0.0,
55.0,
-300.0,
10.0,
65.0,
6.0
],
"volume_mm3": 10322.4893834,
"surface_area_mm2": 6405.707443361,
"solid_count": 1,
"face_count": 8,
"edge_count": 14,
"vertex_count": 9
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
55.0,
-300.0,
10.0,
65.0,
6.0
],
"volume_mm3": 10322.488061533,
"surface_area_mm2": 6405.70742067,
"solid_count": 1,
"face_count": 5,
"edge_count": 4,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 10322.488061533,
"actual": 10322.4893834,
"absolute_delta": 0.0013218669992056675,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6405.70742067,
"actual": 6405.707443361,
"absolute_delta": 2.269099968543742e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
55.0,
-300.0,
10.0,
65.0,
6.0
],
"actual": [
-0.0,
55.0,
-300.0,
10.0,
65.0,
6.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 5,
"actual": 8,
"matches": false
},
"edge_count": {
"expected": 4,
"actual": 14,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 9,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}