Files
cdsl-cad/json_to_cdsl/output/CG1LN25-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": "CG1LN25-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": [
-14.987803669,
16.5
],
"end": [
14.987803669,
16.5
]
},
{
"type": "line",
"start": [
14.987803669,
16.5
],
"end": [
24.5,
-19.0
]
},
{
"type": "line",
"start": [
24.5,
-19.0
],
"end": [
24.5,
-22.0
]
},
{
"type": "line",
"start": [
24.5,
-22.0
],
"end": [
-24.5,
-22.0
]
},
{
"type": "line",
"start": [
-24.5,
-22.0
],
"end": [
-24.5,
-19.0
]
},
{
"type": "line",
"start": [
-24.5,
-19.0
],
"end": [
-14.987803669,
16.5
]
}
]
}
],
"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": [
24.5,
-19.0
],
"end": [
-24.5,
-19.0
]
},
{
"type": "line",
"start": [
-24.5,
-19.0
],
"end": [
-24.5,
-22.0
]
},
{
"type": "line",
"start": [
-24.5,
-22.0
],
"end": [
24.5,
-22.0
]
},
{
"type": "line",
"start": [
24.5,
-22.0
],
"end": [
24.5,
-19.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": 7.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": [
8.25,
8.25
],
"radius_mm": 3.0
},
{
"center": [
-8.25,
8.25
],
"radius_mm": 3.0
},
{
"center": [
-8.25,
-8.25
],
"radius_mm": 3.0
},
{
"center": [
8.25,
-8.25
],
"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": [
18.0,
-12.0
],
"radius_mm": 3.0
},
{
"center": [
-18.0,
-12.0
],
"radius_mm": 3.0
},
{
"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": [
-8.25,
8.25
],
"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": [
8.25,
8.25
],
"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": 19.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": 2.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": "ab033a2d1bb2220755b5bc0c2b47ca9a8535997e73fa5186b1bb717d8c1a70d9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.003,
0.0,
0.0,
-1.0,
0.007
]
},
"box": [
-0.007,
-0.007,
0.0,
0.007,
0.007,
0.003
],
"area": 0.00013194689145077133
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "ab033a2d1bb2220755b5bc0c2b47ca9a8535997e73fa5186b1bb717d8c1a70d9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.003,
0.0,
0.0,
-1.0,
0.007
]
},
"box": [
-0.007,
-0.007,
0.0,
0.007,
0.007,
0.003
],
"area": 0.00013194689145077133
}
}
]
},
{
"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气缸型号类/CG1LN25-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.007673973532808566,
"volume": 7.673973532808566e-06,
"surface_area": 0.0063277640674057065,
"center_of_mass": [
1.4377030673759564e-09,
-0.008828336772471499,
-0.002135589679347132
],
"principal_moments": [
1.3782553088898666e-06,
1.4021962454662134e-06,
2.4103720217161963e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.024500000000000004,
-0.022000000000000002,
-0.019000000000000003,
0.0245,
0.016500000000000004,
0.006500000000000001
],
"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.024500000000000004,
-0.022000000000000002,
-0.019000000000000003,
0.0245,
0.016500000000000004,
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": 16.5,
"pair_count": 12
},
{
"spacing_mm": 20.7002,
"pair_count": 8
},
{
"spacing_mm": 18.7949,
"pair_count": 8
},
{
"spacing_mm": 16.8671,
"pair_count": 8
},
{
"spacing_mm": 23.3345,
"pair_count": 6
},
{
"spacing_mm": 12.5,
"pair_count": 4
},
{
"spacing_mm": 26.4717,
"pair_count": 4
},
{
"spacing_mm": 9.0,
"pair_count": 4
},
{
"spacing_mm": 25.01,
"pair_count": 4
},
{
"spacing_mm": 14.7352,
"pair_count": 4
},
{
"spacing_mm": 3.5,
"pair_count": 4
},
{
"spacing_mm": 23.5956,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-24.5000001,
-22.0000001,
-19.0,
24.5000001,
16.5,
6.5
],
"volume_mm3": 7673.895376811,
"surface_area_mm2": 6327.768767024,
"solid_count": 1,
"face_count": 60,
"edge_count": 136,
"vertex_count": 90
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-24.5,
-22.0,
-19.0,
24.5,
16.5,
6.5
],
"volume_mm3": 7673.973532809,
"surface_area_mm2": 6327.764067406,
"solid_count": 1,
"face_count": 44,
"edge_count": 72,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 7673.973532809,
"actual": 7673.895376811,
"absolute_delta": 0.07815599800051132,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6327.764067406,
"actual": 6327.768767024,
"absolute_delta": 0.004699617999904149,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-24.5,
-22.0,
-19.0,
24.5,
16.5,
6.5
],
"actual": [
-24.5000001,
-22.0000001,
-19.0,
24.5000001,
16.5,
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
}
}