Files
cdsl-cad/json_to_cdsl/output/CA2WL40-100_CA2W-Rod.cdsl.json
2026-08-24 14:52:08 +08:00

949 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CA2WL40-100_CA2W-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": 20.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": 8.0
}
},
{
"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": [
-193.0,
7.0
],
"end": [
-193.0,
8.0
]
},
{
"type": "line",
"start": [
-193.0,
8.0
],
"end": [
-162.0,
8.0
]
},
{
"type": "line",
"start": [
-162.0,
8.0
],
"end": [
-163.0,
7.0
]
},
{
"type": "line",
"start": [
-163.0,
7.0
],
"end": [
-193.0,
7.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
162.0,
8.0
],
"end": [
163.0,
7.0
]
},
{
"type": "line",
"start": [
163.0,
7.0
],
"end": [
193.0,
7.0
]
},
{
"type": "line",
"start": [
193.0,
7.0
],
"end": [
193.0,
8.0
]
},
{
"type": "line",
"start": [
193.0,
8.0
],
"end": [
162.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-101.997623361,
0.0
],
"end": [
-70.236227335,
0.0
]
},
{
"type": "line",
"start": [
124.789202431,
0.0
],
"end": [
132.313867828,
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": [
-7.0,
-163.0
],
"end": [
-7.0,
-157.0
]
},
{
"type": "line",
"start": [
-7.0,
-157.0
],
"end": [
-8.0,
-156.0
]
},
{
"type": "line",
"start": [
-8.0,
-156.0
],
"end": [
-8.0,
-163.0
]
},
{
"type": "line",
"start": [
-8.0,
-163.0
],
"end": [
-7.0,
-163.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.0,
-163.0
],
"end": [
7.0,
-163.0
]
},
{
"type": "line",
"start": [
7.0,
-163.0
],
"end": [
7.0,
-157.0
]
},
{
"type": "line",
"start": [
7.0,
-157.0
],
"end": [
8.0,
-156.0
]
},
{
"type": "line",
"start": [
8.0,
-156.0
],
"end": [
8.0,
-163.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-8.0,
162.0
],
"end": [
-8.0,
156.0
]
},
{
"type": "line",
"start": [
-8.0,
156.0
],
"end": [
-7.0,
157.0
]
},
{
"type": "line",
"start": [
-7.0,
157.0
],
"end": [
-7.0,
163.0
]
},
{
"type": "line",
"start": [
-7.0,
163.0
],
"end": [
-8.0,
163.0
]
},
{
"type": "line",
"start": [
-8.0,
163.0
],
"end": [
-8.0,
162.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.0,
156.0
],
"end": [
8.0,
162.0
]
},
{
"type": "line",
"start": [
8.0,
162.0
],
"end": [
8.0,
163.0
]
},
{
"type": "line",
"start": [
8.0,
163.0
],
"end": [
7.0,
163.0
]
},
{
"type": "line",
"start": [
7.0,
163.0
],
"end": [
7.0,
157.0
]
},
{
"type": "line",
"start": [
7.0,
157.0
],
"end": [
8.0,
156.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-101.386286756
],
"end": [
0.0,
-59.346159691
]
},
{
"type": "line",
"start": [
0.0,
114.607409257
],
"end": [
0.0,
106.635123748
]
}
]
}
}
]
},
"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": 5.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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_two_sided",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
},
"reverse_distance_mm": 0.0,
"reverse_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_006",
"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": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CA2WL40-100_CA2W 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.07984874873426424,
"volume": 7.984874873426424e-05,
"surface_area": 0.02179216589242556,
"center_of_mass": [
3.58483453205665e-11,
8.253792510613196e-10,
1.852056486359862e-07
],
"principal_moments": [
3.53650026008872e-06,
0.0008696930167969368,
0.0008696993797068171
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.02,
-0.02,
-0.193,
0.02,
0.02,
0.193
],
"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.02,
-0.02,
-0.193,
0.02,
0.02,
0.193
],
"face_count": 23,
"edge_count": 40,
"vertex_count": 20
},
"stable_id": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 30,
"surface_counts": {
"cone": 8,
"cylinder": 10,
"plane": 12
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 355.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-20.0,
-20.0,
-193.0,
20.0,
20.0,
193.0
],
"volume_mm3": 79848.957380747,
"surface_area_mm2": 21792.237080388,
"solid_count": 1,
"face_count": 30,
"edge_count": 66,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
-20.0,
-193.0,
20.0,
20.0,
193.0
],
"volume_mm3": 79848.748734264,
"surface_area_mm2": 21792.165892426,
"solid_count": 1,
"face_count": 23,
"edge_count": 40,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 79848.748734264,
"actual": 79848.957380747,
"absolute_delta": 0.20864648300630506,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 21792.165892426,
"actual": 21792.237080388,
"absolute_delta": 0.07118796199938515,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
-20.0,
-193.0,
20.0,
20.0,
193.0
],
"actual": [
-20.0,
-20.0,
-193.0,
20.0,
20.0,
193.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 30,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}