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

740 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CDA2YT80-700_CA2Y2244_Rod",
"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": "Piston_Sketch",
"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": 40.0
}
},
{
"id": "sk_003",
"name": "Rod_Sketch",
"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": 12.5
}
},
{
"id": "sk_004",
"name": "Thread Major Dia_Sketch",
"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": true,
"segments": [
{
"type": "line",
"start": [
-842.0,
11.0
],
"end": [
-842.0,
12.5
]
},
{
"type": "line",
"start": [
-842.0,
12.5
],
"end": [
-799.401923789,
12.5
]
},
{
"type": "line",
"start": [
-799.401923789,
12.5
],
"end": [
-802.0,
11.0
]
},
{
"type": "line",
"start": [
-802.0,
11.0
],
"end": [
-842.0,
11.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-101.997623361,
0.0
],
"end": [
-70.236227335,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Wrench Flats_Sketch",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-11.0,
-802.0
],
"end": [
-11.0,
-792.0
]
},
{
"type": "line",
"start": [
-11.0,
-792.0
],
"end": [
-12.5,
-790.5
]
},
{
"type": "line",
"start": [
-12.5,
-790.5
],
"end": [
-12.5,
-802.0
]
},
{
"type": "line",
"start": [
-12.5,
-802.0
],
"end": [
-11.0,
-802.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
12.5,
-802.0
],
"end": [
11.0,
-802.0
]
},
{
"type": "line",
"start": [
11.0,
-802.0
],
"end": [
11.0,
-792.0
]
},
{
"type": "line",
"start": [
11.0,
-792.0
],
"end": [
12.5,
-790.5
]
},
{
"type": "line",
"start": [
12.5,
-790.5
],
"end": [
12.5,
-802.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-101.386286756
],
"end": [
0.0,
-59.346159691
]
}
]
}
}
]
},
"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_004",
"name": "Piston",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 26.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "Rod",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Thread Major Dia",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-101.997623361,
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": "bd97fe30cecabf2273ac0b4a5e9561924623e1af580805e9660f69cf4779b117",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.10199762336063181,
0.0,
0.0
],
"end": [
-0.07023622733484669,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Thread Cham",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Wrench Flats",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004",
"f_005",
"f_006"
],
"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": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020299_通用轴/CDA2YT80-700_CA2Y2244_Rod.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5264160674308288,
"volume": 0.0005264160674308288,
"surface_area": 0.08015851272834028,
"center_of_mass": [
-1.6247175574174195e-10,
2.3053537201257403e-09,
0.3259381344614021
],
"principal_moments": [
0.0001351755953254242,
0.03859607309373818,
0.03859610088908016
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04,
-0.04,
0.0,
0.04,
0.04,
0.842
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Wrench Flats",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABmAAAA",
"persist_reference_sha256": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe",
"component": null,
"geometry": {
"box": [
-0.04,
-0.04,
0.0,
0.04,
0.04,
0.842
],
"face_count": 13,
"edge_count": 21,
"vertex_count": 10
},
"stable_id": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 17,
"surface_counts": {
"cone": 4,
"cylinder": 6,
"plane": 7
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-40.0,
-40.0,
0.0,
40.0,
40.0,
842.0
],
"volume_mm3": 526416.034300291,
"surface_area_mm2": 80158.493094056,
"solid_count": 1,
"face_count": 17,
"edge_count": 36,
"vertex_count": 22
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-40.0,
-40.0,
0.0,
40.0,
40.0,
842.0
],
"volume_mm3": 526416.067430829,
"surface_area_mm2": 80158.51272834,
"solid_count": 1,
"face_count": 13,
"edge_count": 21,
"vertex_count": 10
},
"comparisons": {
"volume_mm3": {
"expected": 526416.067430829,
"actual": 526416.034300291,
"absolute_delta": 0.033130538067780435,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 80158.51272834,
"actual": 80158.493094056,
"absolute_delta": 0.019634284006315283,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-40.0,
-40.0,
0.0,
40.0,
40.0,
842.0
],
"actual": [
-40.0,
-40.0,
0.0,
40.0,
40.0,
842.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 17,
"matches": false
},
"edge_count": {
"expected": 21,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 10,
"actual": 22,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}