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

956 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "I-G04_Clevis-Pins",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.0
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "circles",
"items": [
{
"center": [
18.0,
0.0
],
"radius_mm": 1.5
},
{
"center": [
-18.0,
0.0
],
"radius_mm": 1.5
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
18.1,
5.0
],
"end": [
18.1,
4.8
]
},
{
"type": "line",
"start": [
18.1,
4.8
],
"end": [
19.65,
4.8
]
},
{
"type": "line",
"start": [
19.65,
4.8
],
"end": [
19.65,
5.0
]
},
{
"type": "line",
"start": [
19.65,
5.0
],
"end": [
18.1,
5.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-19.65,
5.0
],
"end": [
-18.1,
5.0
]
},
{
"type": "line",
"start": [
-18.1,
5.0
],
"end": [
-18.1,
4.8
]
},
{
"type": "line",
"start": [
-18.1,
4.8
],
"end": [
-19.65,
4.8
]
},
{
"type": "line",
"start": [
-19.65,
4.8
],
"end": [
-19.65,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-7.569704536
]
},
{
"type": "line",
"start": [
22.66195034,
0.0
],
"end": [
24.218338188,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.5
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.5
}
},
{
"id": "sk_007",
"name": "Sketch6",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 10.0,
"outer_radius_mm": 15.0
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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",
"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": 41.6,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_010",
"name": "CA1 Washer Plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
22.25,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 22.25,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_005",
"name": "PinHoles",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
22.66195034,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "14f14e2bc5bac0e44cea4ee760426de863cbe830cb07013a6cef183dd82ef5e3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.022661950339852965,
0.0,
0.0
],
"end": [
0.02421833818837564,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Washer or Ring 1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "93a04a33556061a3246171f18b7a3ead076e782418b25ffb974641db2d29379a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
-0.01965,
0.005,
0.0
]
},
"box": [
-0.01965,
-0.005,
-0.005,
-0.01965,
0.005,
0.005
],
"area": 6.15752160103602e-06
}
}
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_011",
"name": "Washer CA1 Only",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_010",
"f_004",
"f_006"
],
"params": {
"distance_mm": 3.25,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_013",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_005"
],
"params": {
"axis": {
"unresolved": "reference axis was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"reference axis was not captured"
]
},
{
"id": "f_009",
"name": "Washer or Ring 2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_007",
"f_004",
"f_008"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "32e65089b4603536a527483b912c8fb357f8093f4180bcb00590d3714bb54b7e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.01965,
0.005000000000000005,
0.0
]
},
"box": [
0.019649999999999997,
-0.005000000000000005,
-0.005000000000000005,
0.01965,
0.005000000000000005,
0.005000000000000005
],
"area": 6.15752160103602e-06
}
}
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_012",
"name": "Washer 2 CA1 Only",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_011",
"f_003"
],
"params": {
"source_feature_ids": [
"f_011"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured",
"mirror plane is missing",
"mirror source features/faces are missing"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0303_支架连接件/030399_通用支架连接件/I-G04_Clevis Pins.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0035640059658037185,
"volume": 3.5640059658037187e-06,
"surface_area": 0.001886322275569712,
"center_of_mass": [
-4.554823891180657e-18,
1.4594003886748526e-19,
-2.996481668164259e-19
],
"principal_moments": [
5.3026912947511086e-08,
6.029509266404517e-07,
6.029509266404517e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0208,
-0.0075,
-0.0075,
0.0208,
0.0075,
0.0075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Washer or Ring 2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABlAAAA",
"persist_reference_sha256": "2ce103d5054d5e6f416379a34b1808f0eecf3927202c83a9adc749fd15c2a9ed",
"component": null,
"geometry": {
"box": [
-0.0208,
-0.0075,
-0.0075,
0.0208,
0.0075,
0.0075
],
"face_count": 13,
"edge_count": 12,
"vertex_count": 0
},
"stable_id": "2ce103d5054d5e6f416379a34b1808f0eecf3927202c83a9adc749fd15c2a9ed"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 4,
"cylinder": 10,
"plane": 6
},
"axis_count": 14,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-20.8,
-7.5,
-7.5,
20.8,
7.5,
7.5
],
"volume_mm3": 3564.005965804,
"surface_area_mm2": 1886.32227557,
"solid_count": 1,
"face_count": 20,
"edge_count": 38,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.8,
-7.5,
-7.5,
20.8,
7.5,
7.5
],
"volume_mm3": 3564.005965804,
"surface_area_mm2": 1886.32227557,
"solid_count": 1,
"face_count": 13,
"edge_count": 12,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 3564.005965804,
"actual": 3564.005965804,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1886.32227557,
"actual": 1886.32227557,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.8,
-7.5,
-7.5,
20.8,
7.5,
7.5
],
"actual": [
-20.8,
-7.5,
-7.5,
20.8,
7.5,
7.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 38,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}