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

439 lines
9.4 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_pin_4",
"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": [
120.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": "circle",
"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": "Extrude1",
"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_004"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0106_销/010699_通用销/标准_pin_4.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.034913717676940785,
"volume": 4.3495350288950775e-06,
"surface_area": 0.002730044015969533,
"center_of_mass": [
0.005,
0.060000000000000005,
-0.05472535211267606
],
"principal_moments": [
2.0184855534467525e-07,
4.898636949347346e-05,
4.898636949347346e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-3.469446951953614e-18,
0.05499999999999999,
-0.12,
0.010000000000000002,
0.065,
0.006000000000000005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Dome1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-2.6020852139652106e-18,
0.05499999999999999,
-0.12,
0.010000000000000002,
0.065,
0.006
],
"face_count": 5,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"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,
-120.0,
10.0,
65.0,
6.0
],
"volume_mm3": 4349.535571819,
"surface_area_mm2": 2730.044038661,
"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,
-120.0,
10.0,
65.0,
6.0
],
"volume_mm3": 4349.535028895,
"surface_area_mm2": 2730.04401597,
"solid_count": 1,
"face_count": 5,
"edge_count": 4,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 4349.535028895,
"actual": 4349.535571819,
"absolute_delta": 0.0005429240000012214,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2730.04401597,
"actual": 2730.044038661,
"absolute_delta": 2.269099968543742e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
55.0,
-120.0,
10.0,
65.0,
6.0
],
"actual": [
-0.0,
55.0,
-120.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
}
}