Files
cdsl-cad/json_to_cdsl/output/CG1BN32-100_Trunnion.cdsl.json
T
2026-08-24 14:52:08 +08:00

780 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BN32-100_Trunnion",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.0
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-8.0,
6.0
],
"end": [
8.0,
6.0
]
},
{
"type": "line",
"start": [
8.0,
6.0
],
"end": [
8.0,
-6.0
]
},
{
"type": "line",
"start": [
8.0,
-6.0
],
"end": [
-8.0,
-6.0
]
},
{
"type": "line",
"start": [
-8.0,
-6.0
],
"end": [
-8.0,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
9.961582238
]
}
]
}
},
{
"id": "sk_004",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-33.6,
6.5
],
"end": [
-28.6,
6.5
]
},
{
"type": "line",
"start": [
-28.6,
6.5
],
"end": [
-28.6,
9.0
]
},
{
"type": "line",
"start": [
-28.6,
9.0
],
"end": [
-27.0,
9.0
]
},
{
"type": "line",
"start": [
-27.0,
9.0
],
"end": [
-27.0,
0.0
]
},
{
"type": "line",
"start": [
-27.0,
0.0
],
"end": [
-33.6,
0.0
]
},
{
"type": "line",
"start": [
-33.6,
0.0
],
"end": [
-33.6,
6.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
33.6,
0.0
],
"end": [
27.0,
0.0
]
},
{
"type": "line",
"start": [
27.0,
0.0
],
"end": [
27.0,
9.0
]
},
{
"type": "line",
"start": [
27.0,
9.0
],
"end": [
28.6,
9.0
]
},
{
"type": "line",
"start": [
28.6,
9.0
],
"end": [
28.6,
6.5
]
},
{
"type": "line",
"start": [
28.6,
6.5
],
"end": [
33.6,
6.5
]
},
{
"type": "line",
"start": [
33.6,
6.5
],
"end": [
33.6,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-26.752148207,
0.0
],
"end": [
-30.720328411,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
3.505376654,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-7.678108039
]
}
]
}
}
]
},
"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_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_004",
"name": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 67.2,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"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_003"
},
{
"id": "f_006",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_005",
"f_004"
],
"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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "b91210c805bd676427a1ce94f73bf9aa009c92dbbdacd8c61b53b1f58a2c33d4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0035053766542068668,
0.0,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BN32-100_Trunnion.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00718576487655594,
"volume": 7.18576487655594e-06,
"surface_area": 0.003514813860836263,
"center_of_mass": [
0.003147501420889267,
-8.80972871477448e-21,
5.435919946253497e-20
],
"principal_moments": [
1.5181342018418753e-07,
4.054252467700046e-06,
4.054252467700046e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.033600000000000005,
-0.009000000000000008,
-0.009000000000000008,
0.033600000000000005,
0.009000000000000008,
0.009000000000000008
],
"solid_body_count": 3,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude1[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABnAAAA",
"persist_reference_sha256": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001",
"component": null,
"geometry": {
"box": [
0.008,
-0.006000000000000001,
-0.006000000000000001,
0.033600000000000005,
0.006000000000000001,
0.006000000000000001
],
"face_count": 3,
"edge_count": 2,
"vertex_count": 0
},
"stable_id": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABrAAAA",
"persist_reference_sha256": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2",
"component": null,
"geometry": {
"box": [
0.027000000000000003,
-0.009000000000000008,
-0.009000000000000008,
0.033600000000000005,
0.009000000000000008,
0.009000000000000008
],
"face_count": 5,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZgAAAA==",
"persist_reference_sha256": "1ad611543e69f9b3d398a13f50140f80867d255bc0361fa07a6e3fb92dcaeb2b",
"component": null,
"geometry": {
"box": [
-0.033600000000000005,
-0.009000000000000001,
-0.009000000000000001,
-0.008,
0.009000000000000001,
0.009000000000000001
],
"face_count": 7,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "1ad611543e69f9b3d398a13f50140f80867d255bc0361fa07a6e3fb92dcaeb2b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cylinder": 12,
"plane": 9
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-33.6,
-9.0,
-9.0,
33.6,
9.0,
9.0
],
"volume_mm3": 7185.764876556,
"surface_area_mm2": 3514.813860836,
"solid_count": 3,
"face_count": 21,
"edge_count": 36,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-33.6,
-9.0,
-9.0,
33.6,
9.0,
9.0
],
"volume_mm3": 7185.764876556,
"surface_area_mm2": 3514.813860836,
"solid_count": 3,
"face_count": 15,
"edge_count": 12,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 7185.764876556,
"actual": 7185.764876556,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3514.813860836,
"actual": 3514.813860836,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-33.6,
-9.0,
-9.0,
33.6,
9.0,
9.0
],
"actual": [
-33.6,
-9.0,
-9.0,
33.6,
9.0,
9.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 3,
"actual": 3,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}