Files
cdsl-cad/json_to_cdsl/output/CG1BN25-50_CG1RodCover.cdsl.json
T
2026-08-24 14:52:08 +08:00

1142 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BN25-50_CG1RodCover",
"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": 15.7
}
},
{
"id": "sk_003",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
19.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": [
-14.5,
62.5
],
"end": [
-14.5,
-62.5
]
},
{
"type": "line",
"start": [
-14.5,
-62.5
],
"end": [
-26.5,
-62.5
]
},
{
"type": "line",
"start": [
-26.5,
-62.5
],
"end": [
-26.5,
62.5
]
},
{
"type": "line",
"start": [
-26.5,
62.5
],
"end": [
-14.5,
62.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
14.5,
62.5
],
"end": [
14.5,
-62.5
]
},
{
"type": "line",
"start": [
14.5,
-62.5
],
"end": [
26.5,
-62.5
]
},
{
"type": "line",
"start": [
26.5,
-62.5
],
"end": [
26.5,
62.5
]
},
{
"type": "line",
"start": [
26.5,
62.5
],
"end": [
14.5,
62.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
29.856133079
]
},
{
"type": "line",
"start": [
-31.372567916,
0.0
],
"end": [
31.372567916,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
19.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_005",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
19.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": "circles",
"items": [
{
"center": [
-8.25,
8.25
],
"radius_mm": 2.5
},
{
"center": [
8.25,
8.25
],
"radius_mm": 2.5
},
{
"center": [
-8.25,
-8.25
],
"radius_mm": 2.5
},
{
"center": [
8.25,
-8.25
],
"radius_mm": 2.5
}
]
}
},
{
"id": "sk_006",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.05
}
},
{
"id": "sk_007",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
9.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": [
14.5,
0.0
],
"end": [
7.0,
-0.0
]
},
{
"type": "line",
"start": [
7.0,
-0.0
],
"end": [
7.0,
2.5
]
},
{
"type": "line",
"start": [
7.0,
2.5
],
"end": [
8.5,
2.5
]
},
{
"type": "line",
"start": [
8.5,
2.5
],
"end": [
8.5,
3.0
]
},
{
"type": "line",
"start": [
8.5,
3.0
],
"end": [
13.5,
3.0
]
},
{
"type": "line",
"start": [
13.5,
3.0
],
"end": [
13.5,
5.0
]
},
{
"type": "line",
"start": [
13.5,
5.0
],
"end": [
14.5,
5.0
]
},
{
"type": "line",
"start": [
14.5,
5.0
],
"end": [
14.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-7.451612903,
0.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,
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": 19.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-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 17.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
19.0
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "7b41355af6812775199e340951720ca53c98dfd2d1adff1c64dc16e476dfe5ed",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.019,
0.0,
0.0,
-1.0,
0.0157
]
},
"box": [
-0.0157,
-0.0157,
0.0,
0.0157,
0.0157,
0.019
],
"area": 0.0014541572634719866
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "7b41355af6812775199e340951720ca53c98dfd2d1adff1c64dc16e476dfe5ed",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.019,
0.0,
0.0,
-1.0,
0.0157
]
},
"box": [
-0.0157,
-0.0157,
0.0,
0.0157,
0.0157,
0.019
],
"area": 0.0014541572634719866
}
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 7.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "TrunnionHoleLocators",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-10.0
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 10.0,
"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": "faefe1804120e15bd3c6326b12786be74ce3cb49eb5f4c80cb4e5fd39a4eeb25",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.019
]
},
"box": [
-0.014499999999999985,
-0.0157,
0.019,
0.014499999999999985,
0.0157,
0.019
],
"area": 0.0005224771902876303
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "faefe1804120e15bd3c6326b12786be74ce3cb49eb5f4c80cb4e5fd39a4eeb25",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.019
]
},
"box": [
-0.014499999999999985,
-0.0157,
0.019,
0.014499999999999985,
0.0157,
0.019
],
"area": 0.0005224771902876303
}
}
]
},
{
"id": "f_011",
"name": "TrunnionHole",
"atomic_id": "revolve_cut",
"depends_on": [
"f_010",
"f_004",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
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_007",
"selectors": [
{
"kind": "axis",
"stable_id": "f996d5fe7e4780f9a8091dd1e112ce595c6d55153ecdb1e2a69e15737ada97ff",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.007451612903225805,
0.0,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "TrunnionHole2",
"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"
]
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BN25-50_CG1RodCover.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01192058996360706,
"volume": 1.192058996360706e-05,
"surface_area": 0.0047760070136563,
"center_of_mass": [
-5.724750263532701e-19,
-1.4097891433072132e-18,
0.009339141453677554
],
"principal_moments": [
1.0959097635827366e-06,
1.235053614953056e-06,
1.5699820429621764e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0157,
-0.0157,
0.0,
0.0157,
0.0157,
0.020999999999999998
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "TrunnionHole2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABxAAAAcAAAAGoAAABpAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "4c0d7c6f4e336840aeac36a3c4151272d0f55e44d8e4407f98513939c6edbedd",
"component": null,
"geometry": {
"box": [
-0.0157,
-0.0157,
0.0,
0.0157,
0.0157,
0.020999999999999998
],
"face_count": 30,
"edge_count": 37,
"vertex_count": 8
},
"stable_id": "4c0d7c6f4e336840aeac36a3c4151272d0f55e44d8e4407f98513939c6edbedd"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 43,
"surface_counts": {
"cylinder": 26,
"plane": 17
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 11.9321,
"pair_count": 4
},
{
"spacing_mm": 15.0458,
"pair_count": 4
},
{
"spacing_mm": 16.5,
"pair_count": 4
},
{
"spacing_mm": 13.8699,
"pair_count": 4
},
{
"spacing_mm": 23.3345,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.7,
-15.7,
0.0,
15.7,
15.7,
21.0
],
"volume_mm3": 11920.589963607,
"surface_area_mm2": 4776.007013656,
"solid_count": 1,
"face_count": 43,
"edge_count": 90,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.7,
-15.7,
0.0,
15.7,
15.7,
21.0
],
"volume_mm3": 11920.589963607,
"surface_area_mm2": 4776.007013656,
"solid_count": 1,
"face_count": 30,
"edge_count": 37,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 11920.589963607,
"actual": 11920.589963607,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4776.007013656,
"actual": 4776.007013656,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.7,
-15.7,
0.0,
15.7,
15.7,
21.0
],
"actual": [
-15.7,
-15.7,
0.0,
15.7,
15.7,
21.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 30,
"actual": 43,
"matches": false
},
"edge_count": {
"expected": 37,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}