Files
cdsl-cad/json_to_cdsl/output/CG1BA40-150_CG1CushionValve.cdsl.json
T
2026-08-24 14:52:08 +08:00

1132 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BA40-150_CG1CushionValve",
"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,
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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
3.680607966,
-2.125
],
"end": [
3.680607966,
2.125
]
},
{
"type": "line",
"start": [
3.680607966,
2.125
],
"end": [
-0.0,
4.25
]
},
{
"type": "line",
"start": [
-0.0,
4.25
],
"end": [
-3.680607966,
2.125
]
},
{
"type": "line",
"start": [
-3.680607966,
2.125
],
"end": [
-3.680607966,
-2.125
]
},
{
"type": "line",
"start": [
-3.680607966,
-2.125
],
"end": [
-0.0,
-4.25
]
},
{
"type": "line",
"start": [
-0.0,
-4.25
],
"end": [
3.680607966,
-2.125
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.680607966
}
]
}
},
{
"id": "sk_003",
"name": "Sketch4",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-4.25,
3.4
],
"end": [
-3.596153846,
3.4
]
},
{
"type": "line",
"start": [
-3.596153846,
3.4
],
"end": [
-4.25,
3.073076923
]
},
{
"type": "line",
"start": [
-4.25,
3.073076923
],
"end": [
-4.25,
3.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.459130996
],
"end": [
0.0,
-1.025460377
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch2",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-3.680607966,
0.0
],
"end": [
-1.840303983,
-3.1875
]
},
{
"type": "line",
"start": [
-1.840303983,
-3.1875
],
"end": [
1.840303983,
-3.1875
]
},
{
"type": "line",
"start": [
1.840303983,
-3.1875
],
"end": [
3.680607966,
-0.0
]
},
{
"type": "line",
"start": [
3.680607966,
-0.0
],
"end": [
1.840303983,
3.1875
]
},
{
"type": "line",
"start": [
1.840303983,
3.1875
],
"end": [
-1.840303983,
3.1875
]
},
{
"type": "line",
"start": [
-1.840303983,
3.1875
],
"end": [
-3.680607966,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.1875
}
]
}
},
{
"id": "sk_005",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-3.680607966,
5.1
],
"end": [
-3.026761812,
5.1
]
},
{
"type": "line",
"start": [
-3.026761812,
5.1
],
"end": [
-3.680607966,
4.773076923
]
},
{
"type": "line",
"start": [
-3.680607966,
4.773076923
],
"end": [
-3.680607966,
5.1
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.219479744
],
"end": [
0.0,
-0.542603454
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch3",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.7
}
},
{
"id": "sk_007",
"name": "Sketch6",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-1.665653025,
0.34
],
"end": [
-1.665653025,
-0.34
],
"center": [
0.0,
0.0
],
"radius_mm": 1.7,
"clockwise": false
},
{
"type": "line",
"start": [
-1.665653025,
-0.34
],
"end": [
1.665653025,
-0.34
]
},
{
"type": "arc",
"start": [
1.665653025,
-0.34
],
"end": [
1.665653025,
0.34
],
"center": [
0.0,
0.0
],
"radius_mm": 1.7,
"clockwise": false
},
{
"type": "line",
"start": [
1.665653025,
0.34
],
"end": [
-1.665653025,
0.34
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-2.484520312,
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,
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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "Plane3",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Base-Extrude",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 3.4,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-0.459130996,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "d33ec1985ae037fd8c79d866fa222d45b5108abe3a19750011efdb7f4c4e69fe",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.0004591309955692519,
0.0
],
"end": [
0.0,
-0.0010254603774111988,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 1.7,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Cut-Revolve2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_006"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-0.219479744,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "ad2fc667a287641ff6ece51235505e5301eda6e3000edb7819b563718057e514",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.00021947974367329164,
0.0
],
"end": [
0.0,
-0.0005426034538937759,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 3.4,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_008"
],
"params": {
"axis": {
"origin_mm": [
0.0,
8.5,
0.0
],
"direction": [
0.0,
-1.0,
0.0
],
"selector": {
"kind": "face",
"stable_id": "f8cc98ea9afad2cb319e5783b06694fc03b6617fbfecb5419d91427241d68b76",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0085,
0.0,
0.0,
-1.0,
0.0,
0.0017000000000000001
]
},
"box": [
-0.0017000000000000001,
0.0051,
-0.0017000000000000001,
0.0017000000000000001,
0.0085,
0.0017000000000000001
],
"area": 3.631681107549801e-05
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "f8cc98ea9afad2cb319e5783b06694fc03b6617fbfecb5419d91427241d68b76",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0085,
0.0,
0.0,
-1.0,
0.0,
0.0017000000000000001
]
},
"box": [
-0.0017000000000000001,
0.0051,
-0.0017000000000000001,
0.0017000000000000001,
0.0085,
0.0017000000000000001
],
"area": 3.631681107549801e-05
}
}
]
},
{
"id": "f_010",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_008"
],
"params": {
"distance_mm": 0.163461538,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 2.266666667,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BA40-150_CG1CushionValve.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0002436948598392895,
"volume": 2.436948598392895e-07,
"surface_area": 0.0002598739778790142,
"center_of_mass": [
-1.7040156277497952e-09,
0.002835090080218881,
3.937454480345106e-10
],
"principal_moments": [
1.561464325793896e-09,
1.6707929556682058e-09,
1.6754938876601078e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.003680607966083864,
0.0,
-0.0042499999999999994,
0.003680607966083864,
0.0085,
0.004249999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAZwAAAGkAAABmAAAAaAAAAGUAAAA=",
"persist_reference_sha256": "40c9ce96b8072c6b36829a5b164acf6168a2be0eaac8aa1f2baf7152c041b375",
"component": null,
"geometry": {
"box": [
-0.003680607966083864,
0.0,
-0.0042499999999999994,
0.003680607966083864,
0.0085,
0.004249999999999999
],
"face_count": 36,
"edge_count": 80,
"vertex_count": 48
},
"stable_id": "40c9ce96b8072c6b36829a5b164acf6168a2be0eaac8aa1f2baf7152c041b375"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 7,
"cylinder": 2,
"plane": 31
},
"axis_count": 9,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-3.680608066,
-1e-07,
-4.2500001,
3.680608066,
8.5000001,
4.2500001
],
"volume_mm3": 243.690566908,
"surface_area_mm2": 259.871257829,
"solid_count": 1,
"face_count": 40,
"edge_count": 96,
"vertex_count": 59
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-3.680607966,
0.0,
-4.25,
3.680607966,
8.5,
4.25
],
"volume_mm3": 243.694859839,
"surface_area_mm2": 259.873977879,
"solid_count": 1,
"face_count": 36,
"edge_count": 80,
"vertex_count": 48
},
"comparisons": {
"volume_mm3": {
"expected": 243.694859839,
"actual": 243.690566908,
"absolute_delta": 0.004292931000009048,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 259.873977879,
"actual": 259.871257829,
"absolute_delta": 0.0027200499999935346,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-3.680607966,
0.0,
-4.25,
3.680607966,
8.5,
4.25
],
"actual": [
-3.680608066,
-1e-07,
-4.2500001,
3.680608066,
8.5000001,
4.2500001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 36,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 96,
"matches": false
},
"vertex_count": {
"expected": 48,
"actual": 59,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}