Files
cdsl-cad/json_to_cdsl/output/CG1DN40-150_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": "CG1DN40-150_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": 23.6
}
},
{
"id": "sk_003",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": [
-22.0,
62.5
],
"end": [
-22.0,
-62.5
]
},
{
"type": "line",
"start": [
-22.0,
-62.5
],
"end": [
-34.0,
-62.5
]
},
{
"type": "line",
"start": [
-34.0,
-62.5
],
"end": [
-34.0,
62.5
]
},
{
"type": "line",
"start": [
-34.0,
62.5
],
"end": [
-22.0,
62.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
22.0,
62.5
],
"end": [
22.0,
-62.5
]
},
{
"type": "line",
"start": [
22.0,
-62.5
],
"end": [
34.0,
-62.5
]
},
{
"type": "line",
"start": [
34.0,
-62.5
],
"end": [
34.0,
62.5
]
},
{
"type": "line",
"start": [
34.0,
62.5
],
"end": [
22.0,
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": [
20.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_005",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": [
-13.0,
13.0
],
"radius_mm": 3.0
},
{
"center": [
13.0,
13.0
],
"radius_mm": 3.0
},
{
"center": [
-13.0,
-13.0
],
"radius_mm": 3.0
},
{
"center": [
13.0,
-13.0
],
"radius_mm": 3.0
}
]
}
},
{
"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": 8.05
}
},
{
"id": "sk_007",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
22.0,
0.0
],
"end": [
12.25,
0.0
]
},
{
"type": "line",
"start": [
12.25,
0.0
],
"end": [
12.25,
4.0
]
},
{
"type": "line",
"start": [
12.25,
4.0
],
"end": [
14.75,
4.0
]
},
{
"type": "line",
"start": [
14.75,
4.0
],
"end": [
14.75,
5.0
]
},
{
"type": "line",
"start": [
14.75,
5.0
],
"end": [
20.75,
5.0
]
},
{
"type": "line",
"start": [
20.75,
5.0
],
"end": [
20.75,
7.0
]
},
{
"type": "line",
"start": [
20.75,
7.0
],
"end": [
22.0,
7.0
]
},
{
"type": "line",
"start": [
22.0,
7.0
],
"end": [
22.0,
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": 20.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": 18.5,
"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,
20.0
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "ed1f31dba41a60fafbb087056d9e2803c3da0fd07f32b893dd2906a41c719502",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.02,
0.0,
0.0,
-1.0,
0.023600000000000006
]
},
"box": [
-0.023600000000000006,
-0.023600000000000006,
0.0,
0.023600000000000006,
0.023600000000000006,
0.02
],
"area": 0.0023188970923037904
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "ed1f31dba41a60fafbb087056d9e2803c3da0fd07f32b893dd2906a41c719502",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.02,
0.0,
0.0,
-1.0,
0.023600000000000006
]
},
"box": [
-0.023600000000000006,
-0.023600000000000006,
0.0,
0.023600000000000006,
0.023600000000000006,
0.02
],
"area": 0.0023188970923037904
}
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"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": "d6ae87d04d3e9e6acc991c39ebe9ce4dc216c777b31befc4c8bb4ae00edd3150",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.02
]
},
"box": [
-0.021999999999999985,
-0.023600000000000006,
0.02,
0.021999999999999985,
0.023600000000000006,
0.02
],
"area": 0.0011090713464226333
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "d6ae87d04d3e9e6acc991c39ebe9ce4dc216c777b31befc4c8bb4ae00edd3150",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.02
]
},
"box": [
-0.021999999999999985,
-0.023600000000000006,
0.02,
0.021999999999999985,
0.023600000000000006,
0.02
],
"area": 0.0011090713464226333
}
}
]
},
{
"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气缸型号类/CG1DN40-150_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.02788300114182117,
"volume": 2.788300114182117e-05,
"surface_area": 0.008830517899907155,
"center_of_mass": [
2.0766287884220932e-18,
-6.514681170535594e-19,
0.010013719039239808
],
"principal_moments": [
4.767420318283442e-06,
5.615584268586356e-06,
8.320751560578306e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.023600000000000006,
-0.023600000000000006,
0.0,
0.023600000000000006,
0.023600000000000006,
0.022
],
"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.023600000000000006,
-0.023600000000000006,
0.0,
0.023600000000000006,
0.023600000000000006,
0.022
],
"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": 18.4932,
"pair_count": 4
},
{
"spacing_mm": 23.1084,
"pair_count": 4
},
{
"spacing_mm": 26.0,
"pair_count": 4
},
{
"spacing_mm": 21.9545,
"pair_count": 4
},
{
"spacing_mm": 36.7696,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-23.6,
-23.6,
0.0,
23.6,
23.6,
22.0
],
"volume_mm3": 27883.001141821,
"surface_area_mm2": 8830.517899907,
"solid_count": 1,
"face_count": 43,
"edge_count": 90,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-23.6,
-23.6,
0.0,
23.6,
23.6,
22.0
],
"volume_mm3": 27883.001141821,
"surface_area_mm2": 8830.517899907,
"solid_count": 1,
"face_count": 30,
"edge_count": 37,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 27883.001141821,
"actual": 27883.001141821,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 8830.517899907,
"actual": 8830.517899907,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-23.6,
-23.6,
0.0,
23.6,
23.6,
22.0
],
"actual": [
-23.6,
-23.6,
0.0,
23.6,
23.6,
22.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
}
}