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

1029 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1LN32-100_CG1Foot",
"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": "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": [
-17.746133918,
20.0
],
"end": [
17.746133918,
20.0
]
},
{
"type": "line",
"start": [
17.746133918,
20.0
],
"end": [
29.0,
-22.0
]
},
{
"type": "line",
"start": [
29.0,
-22.0
],
"end": [
29.0,
-25.0
]
},
{
"type": "line",
"start": [
29.0,
-25.0
],
"end": [
-29.0,
-25.0
]
},
{
"type": "line",
"start": [
-29.0,
-25.0
],
"end": [
-29.0,
-22.0
]
},
{
"type": "line",
"start": [
-29.0,
-22.0
],
"end": [
-17.746133918,
20.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-11.028850356
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch4",
"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": [
29.0,
-22.0
],
"end": [
-29.0,
-22.0
]
},
{
"type": "line",
"start": [
-29.0,
-22.0
],
"end": [
-29.0,
-25.0
]
},
{
"type": "line",
"start": [
-29.0,
-25.0
],
"end": [
29.0,
-25.0
]
},
{
"type": "line",
"start": [
29.0,
-25.0
],
"end": [
29.0,
-22.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 9.0
}
},
{
"id": "sk_005",
"name": "Sketch6",
"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": "circles",
"items": [
{
"center": [
10.0,
10.0
],
"radius_mm": 3.0
},
{
"center": [
-10.0,
10.0
],
"radius_mm": 3.0
},
{
"center": [
-10.0,
-10.0
],
"radius_mm": 3.0
},
{
"center": [
10.0,
-10.0
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_006",
"name": "Sketch7",
"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": "circles",
"items": [
{
"center": [
22.0,
-13.0
],
"radius_mm": 3.3
},
{
"center": [
-22.0,
-13.0
],
"radius_mm": 3.3
},
{
"center": [
0.0,
-7.0
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_007",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
3.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": [
-10.0,
10.0
],
"radius_mm": 4.25
}
},
{
"id": "sk_008",
"name": "Sketch9",
"role": "profile",
"workplane": {
"origin_mm": [
3.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": [
10.0,
10.0
],
"radius_mm": 2.5
}
}
]
},
"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": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 21.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "Fillet3",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 6.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"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_004"
},
{
"id": "f_010",
"name": "Cut-Extrude2",
"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_005"
},
{
"id": "f_006",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 6.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 3.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"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_012",
"name": "SHCShead",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"distance_mm": 3.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_014",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_009"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
3.0
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "0f503e7257d994300edb56ffb6ad21c56f0d444d2b97724644e06ab57e323e2a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.003000000000000002,
0.0,
0.0,
-1.0,
0.009
]
},
"box": [
-0.009,
-0.009,
0.0,
0.009,
0.009,
0.003000000000000002
],
"area": 0.0001696460032938489
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "0f503e7257d994300edb56ffb6ad21c56f0d444d2b97724644e06ab57e323e2a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.003000000000000002,
0.0,
0.0,
-1.0,
0.009
]
},
"box": [
-0.009,
-0.009,
0.0,
0.009,
0.009,
0.003000000000000002
],
"area": 0.0001696460032938489
}
}
]
},
{
"id": "f_013",
"name": "SHCSshaft",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_012",
"f_004",
"f_010"
],
"params": {
"distance_mm": 9.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1LN32-100_CG1Foot.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.07686600821514465,
"volume": 9.854616437839058e-06,
"surface_area": 0.007904601965731298,
"center_of_mass": [
1.6581653632425067e-09,
-0.010171482705221084,
-0.0025108834948275095
],
"principal_moments": [
1.8668434770681698e-05,
1.9255700537100376e-05,
3.3483491644867285e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.029000000000000005,
-0.025000000000000005,
-0.021,
0.029000000000000005,
0.02,
0.0065000000000000014
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "CirPattern1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
-0.029000000000000005,
-0.025000000000000005,
-0.021,
0.029,
0.02,
0.006500000000000001
],
"face_count": 44,
"edge_count": 72,
"vertex_count": 26
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 60,
"surface_counts": {
"cylinder": 38,
"plane": 22
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 12
},
{
"spacing_mm": 23.585,
"pair_count": 8
},
{
"spacing_mm": 21.9317,
"pair_count": 8
},
{
"spacing_mm": 20.3039,
"pair_count": 8
},
{
"spacing_mm": 28.2843,
"pair_count": 6
},
{
"spacing_mm": 12.5,
"pair_count": 4
},
{
"spacing_mm": 30.9233,
"pair_count": 4
},
{
"spacing_mm": 9.0,
"pair_count": 4
},
{
"spacing_mm": 29.6816,
"pair_count": 4
},
{
"spacing_mm": 16.7631,
"pair_count": 4
},
{
"spacing_mm": 3.5,
"pair_count": 4
},
{
"spacing_mm": 28.5,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-29.0000001,
-25.0000001,
-21.0,
29.0000001,
20.0,
6.5
],
"volume_mm3": 9854.500834252,
"surface_area_mm2": 7904.607526734,
"solid_count": 1,
"face_count": 60,
"edge_count": 136,
"vertex_count": 90
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-29.0,
-25.0,
-21.0,
29.0,
20.0,
6.5
],
"volume_mm3": 9854.616437839,
"surface_area_mm2": 7904.601965731,
"solid_count": 1,
"face_count": 44,
"edge_count": 72,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 9854.616437839,
"actual": 9854.500834252,
"absolute_delta": 0.11560358700080542,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 7904.601965731,
"actual": 7904.607526734,
"absolute_delta": 0.005561003000366327,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-29.0,
-25.0,
-21.0,
29.0,
20.0,
6.5
],
"actual": [
-29.0000001,
-25.0000001,
-21.0,
29.0000001,
20.0,
6.5
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 44,
"actual": 60,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 136,
"matches": false
},
"vertex_count": {
"expected": 26,
"actual": 90,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}