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

1272 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BN50-150_CG1X8024XRods",
"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": 10.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": 9.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": 10.0
}
},
{
"id": "sk_005",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
233.5,
-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.95
}
},
{
"id": "sk_006",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
236.5,
-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": 9.0
}
},
{
"id": "sk_007",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
9.0,
-155.5
],
"end": [
9.0,
-148.5
]
},
{
"type": "line",
"start": [
9.0,
-148.5
],
"end": [
10.0,
-147.5
]
},
{
"type": "line",
"start": [
10.0,
-147.5
],
"end": [
10.0,
-156.5
]
},
{
"type": "line",
"start": [
10.0,
-156.5
],
"end": [
9.0,
-155.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-9.0,
-155.5
],
"end": [
-9.0,
-148.5
]
},
{
"type": "line",
"start": [
-9.0,
-148.5
],
"end": [
-10.0,
-147.5
]
},
{
"type": "line",
"start": [
-10.0,
-147.5
],
"end": [
-10.0,
-156.5
]
},
{
"type": "line",
"start": [
-10.0,
-156.5
],
"end": [
-9.0,
-155.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
78.0
],
"end": [
0.0,
13.5
]
}
]
}
},
{
"id": "sk_008",
"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": 10.0,
"outer_radius_mm": 24.95
}
},
{
"id": "sk_009",
"name": "Sketch9",
"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": 10.0
}
},
{
"id": "sk_010",
"name": "Sketch10",
"role": "profile",
"workplane": {
"origin_mm": [
-1645.5,
-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": 9.0,
"outer_radius_mm": 10.0
}
}
]
},
"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,
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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_007"
},
"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_013",
"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": "f9a3cc18e8e7ccd556d15b3b12af2631950d9269c9c6df7a89b052fa6270ab22",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.005,
0.0,
0.0,
-1.0,
0.01
]
},
"box": [
-0.01,
-0.01,
0.001,
0.01,
0.01,
0.23250000000000004
],
"area": 0.01442534706491236
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "f9a3cc18e8e7ccd556d15b3b12af2631950d9269c9c6df7a89b052fa6270ab22",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.005,
0.0,
0.0,
-1.0,
0.01
]
},
"box": [
-0.01,
-0.01,
0.001,
0.01,
0.01,
0.23250000000000004
],
"area": 0.01442534706491236
}
}
]
},
{
"id": "f_015",
"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": "e28ec0321b53e9ed421e650da873f38379434ebc6ad4939b5718b9631ac5c243",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.009000000000000001,
-0.009000000000000001,
0.0,
0.009000000000000001,
0.009000000000000001,
0.0
],
"area": 0.00025446900494077333
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "e28ec0321b53e9ed421e650da873f38379434ebc6ad4939b5718b9631ac5c243",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.009000000000000001,
-0.009000000000000001,
0.0,
0.009000000000000001,
0.009000000000000001,
0.0
],
"area": 0.00025446900494077333
}
}
]
},
{
"id": "f_007",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_006"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.5235987755983
},
"execution_status": "deferred"
},
{
"id": "f_008",
"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_014",
"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_008"
},
{
"id": "f_009",
"name": "ExternalThread",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 32.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_016",
"name": "XC8 Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_014",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_009"
},
{
"id": "f_010",
"name": "ExternalThreadChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_009"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Plane4",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-35.0
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 35.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "face",
"stable_id": "e8b9abd9da835fb356324c29d4eacda39b8f3972a9b46457beb3e072cd526eec",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.26850000000000007
]
},
"box": [
-0.007999999999999981,
-0.007999999999999981,
0.26850000000000007,
0.007999999999999981,
0.007999999999999981,
0.26850000000000007
],
"area": 0.00020106192982974577
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "face",
"stable_id": "e8b9abd9da835fb356324c29d4eacda39b8f3972a9b46457beb3e072cd526eec",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.26850000000000007
]
},
"box": [
-0.007999999999999981,
-0.007999999999999981,
0.26850000000000007,
0.007999999999999981,
0.007999999999999981,
0.26850000000000007
],
"area": 0.00020106192982974577
}
}
]
},
{
"id": "f_017",
"name": "XC8 Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_016"
],
"params": {
"distance_mm": 55.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_010"
},
{
"id": "f_019",
"name": "XC8 Chamfer3",
"atomic_id": "chamfer",
"depends_on": [
"f_016"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "WrenchFlats",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004",
"f_011"
],
"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_007"
},
{
"id": "f_018",
"name": "XC8 Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_016",
"f_017"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BN50-150_CG1X8024XRods.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09027452817086383,
"volume": 9.027452817086383e-05,
"surface_area": 0.021088615716239465,
"center_of_mass": [
6.293099908818798e-09,
-1.7449633615673645e-10,
0.11950201359150424
],
"principal_moments": [
6.976037531515317e-06,
0.000601836384977875,
0.0006018433734721328
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.024950000000000003,
-0.024950000000000003,
0.0,
0.024950000000000003,
0.024950000000000003,
0.26850000000000007
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Piston",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAbAAAAGoAAABpAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "c080defca220f94c174d29cf98af0e86ba0aa54de46d76ed941d4b32629247eb",
"component": null,
"geometry": {
"box": [
-0.024950000000000003,
-0.024950000000000003,
0.0,
0.024950000000000003,
0.024950000000000003,
0.26850000000000007
],
"face_count": 20,
"edge_count": 30,
"vertex_count": 12
},
"stable_id": "c080defca220f94c174d29cf98af0e86ba0aa54de46d76ed941d4b32629247eb"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 27,
"surface_counts": {
"cone": 4,
"cylinder": 12,
"plane": 11
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 4.0,
"pair_count": 2
},
{
"spacing_mm": 231.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-24.95,
-24.95,
0.0,
24.95,
24.95,
268.5
],
"volume_mm3": 90274.561269498,
"surface_area_mm2": 21088.612502426,
"solid_count": 1,
"face_count": 27,
"edge_count": 58,
"vertex_count": 38
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-24.95,
-24.95,
0.0,
24.95,
24.95,
268.5
],
"volume_mm3": 90274.528170864,
"surface_area_mm2": 21088.615716239,
"solid_count": 1,
"face_count": 20,
"edge_count": 30,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 90274.528170864,
"actual": 90274.561269498,
"absolute_delta": 0.03309863399772439,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 21088.615716239,
"actual": 21088.612502426,
"absolute_delta": 0.003213813000911614,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-24.95,
-24.95,
0.0,
24.95,
24.95,
268.5
],
"actual": [
-24.95,
-24.95,
0.0,
24.95,
24.95,
268.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 27,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 58,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 38,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}