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

1128 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1KBA40-75_CG1K2055Rods",
"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": [
0.0,
0.0
],
"radius_mm": 8.0
}
},
{
"id": "sk_003",
"name": "Sketch7",
"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": 7.0
}
},
{
"id": "sk_004",
"name": "Sketch6",
"role": "profile",
"workplane": {
"origin_mm": [
5.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_005",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
147.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": 6.0
}
},
{
"id": "sk_006",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
150.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": 7.0
}
},
{
"id": "sk_007",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 8.0,
"outer_radius_mm": 19.95
}
},
{
"id": "sk_008",
"name": "Sketch9",
"role": "profile",
"workplane": {
"origin_mm": [
5.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": [
-7.0,
14.16455069
],
"end": [
-7.0,
-12.364819544
]
},
{
"type": "line",
"start": [
-7.0,
-12.364819544
],
"end": [
-18.398297261,
-12.364819544
]
},
{
"type": "line",
"start": [
-18.398297261,
-12.364819544
],
"end": [
-18.398297261,
14.16455069
]
},
{
"type": "line",
"start": [
-18.398297261,
14.16455069
],
"end": [
-7.0,
14.16455069
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
7.0,
14.16455069
],
"end": [
18.398297261,
14.16455069
]
},
{
"type": "line",
"start": [
18.398297261,
14.16455069
],
"end": [
18.398297261,
-12.364819544
]
},
{
"type": "line",
"start": [
18.398297261,
-12.364819544
],
"end": [
7.0,
-12.364819544
]
},
{
"type": "line",
"start": [
7.0,
-12.364819544
],
"end": [
7.0,
14.16455069
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.830968418
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Plane2",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Base-Extrude",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Plane3",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_012",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
5.0
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "11d10bd9a9339db3527088954c289cdd95fb92bb8c88ab34746b2da81cd4f7bf",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.005,
0.0,
0.0,
-1.0,
0.008
]
},
"box": [
-0.008,
-0.008,
0.001,
0.008,
0.008,
0.146
],
"area": 0.007288494956328319
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "11d10bd9a9339db3527088954c289cdd95fb92bb8c88ab34746b2da81cd4f7bf",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.005,
0.0,
0.0,
-1.0,
0.008
]
},
"box": [
-0.008,
-0.008,
0.001,
0.008,
0.008,
0.146
],
"area": 0.007288494956328319
}
}
]
},
{
"id": "f_014",
"name": "L Starter",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-2.5
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 2.5,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "1389290471aa41d7d611c912834d370ec8656d75182620bc16aa981301be618d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.007,
-0.007,
0.0,
0.007,
0.007,
0.0
],
"area": 0.0001539380400258999
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "1389290471aa41d7d611c912834d370ec8656d75182620bc16aa981301be618d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.007,
-0.007,
0.0,
0.007,
0.007,
0.0
],
"area": 0.0001539380400258999
}
}
]
},
{
"id": "f_007",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.5235987755983
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Plane4",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
147.0
],
"x_dir": [
-0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "e796e4c3a6f1ba33f306594ae193c60b718992b9d13a864a4eba6e2dc50dfc75",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "face",
"stable_id": "ce3f19b4c7f9f48fd7f3431c73e25857d4900bc1c06826de235450ca222253b4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.147
]
},
"box": [
-0.0074226497308103635,
-0.0074226497308103635,
0.147,
0.0074226497308103635,
0.0074226497308103635,
0.147
],
"area": 0.00017308833755319536
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "e796e4c3a6f1ba33f306594ae193c60b718992b9d13a864a4eba6e2dc50dfc75",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "face",
"stable_id": "ce3f19b4c7f9f48fd7f3431c73e25857d4900bc1c06826de235450ca222253b4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.147
]
},
"box": [
-0.0074226497308103635,
-0.0074226497308103635,
0.147,
0.0074226497308103635,
0.0074226497308103635,
0.147
],
"area": 0.00017308833755319536
}
}
]
},
{
"id": "f_009",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_013",
"name": "Piston",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "ExternalThread",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 27.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "Flats",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_013",
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_011",
"name": "ExternalThreadChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_010"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1KBA40-75_CG1K2055Rods.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2943265657391512,
"volume": 3.773417509476298e-05,
"surface_area": 0.011601727698368822,
"center_of_mass": [
2.630551039133212e-19,
1.335502356743815e-19,
0.07413192237665182
],
"principal_moments": [
1.6968309654515514e-05,
0.0008853743710947803,
0.000885973232346366
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01995,
-0.01995,
0.0,
0.01995,
0.01995,
0.177
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Flats",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1",
"component": null,
"geometry": {
"box": [
-0.01995,
-0.01995,
0.0,
0.01995,
0.01995,
0.177
],
"face_count": 19,
"edge_count": 29,
"vertex_count": 12
},
"stable_id": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cone": 4,
"cylinder": 12,
"plane": 9
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 4.0,
"pair_count": 2
},
{
"spacing_mm": 145.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-19.95,
-19.95,
0.0,
19.95,
19.95,
177.0
],
"volume_mm3": 37734.173004287,
"surface_area_mm2": 11601.727755898,
"solid_count": 1,
"face_count": 25,
"edge_count": 52,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-19.95,
-19.95,
0.0,
19.95,
19.95,
177.0
],
"volume_mm3": 37734.175094763,
"surface_area_mm2": 11601.727698369,
"solid_count": 1,
"face_count": 19,
"edge_count": 29,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 37734.175094763,
"actual": 37734.173004287,
"absolute_delta": 0.0020904760021949187,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11601.727698369,
"actual": 11601.727755898,
"absolute_delta": 5.7528999604983255e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-19.95,
-19.95,
0.0,
19.95,
19.95,
177.0
],
"actual": [
-19.95,
-19.95,
0.0,
19.95,
19.95,
177.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 29,
"actual": 52,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}