Files
cdsl-cad/json_to_cdsl/output/Cylinder-Cap_Solidworks.cdsl.json
2026-08-24 14:52:08 +08:00

1010 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Cylinder-Cap_Solidworks",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 25.25,
"outer_radius_mm": 47.0
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 25.25,
"outer_radius_mm": 42.5
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
43.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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 25.25,
"outer_radius_mm": 39.75
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": [
-25.25,
0.0
],
"end": [
25.25,
0.0
]
},
{
"type": "line",
"start": [
25.25,
0.0
],
"end": [
25.25,
-59.0
]
},
{
"type": "line",
"start": [
25.25,
-59.0
],
"end": [
-25.25,
-59.0
]
},
{
"type": "line",
"start": [
-25.25,
-59.0
],
"end": [
-25.25,
0.0
]
},
{
"type": "line",
"start": [
-25.25,
0.0
],
"end": [
-26.25,
-0.0
]
},
{
"type": "line",
"start": [
-26.25,
-0.0
],
"end": [
-26.25,
-1.5
]
},
{
"type": "line",
"start": [
-26.25,
-1.5
],
"end": [
-25.25,
-1.5
]
},
{
"type": "line",
"start": [
-25.25,
-1.5
],
"end": [
-25.25,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-25.25,
-1.5
],
"end": [
-28.75,
-1.5
]
},
{
"type": "line",
"start": [
-28.75,
-1.5
],
"end": [
-28.75,
-5.0
]
},
{
"type": "line",
"start": [
-28.75,
-5.0
],
"end": [
-25.25,
-5.0
]
},
{
"type": "line",
"start": [
-25.25,
-5.0
],
"end": [
-25.25,
-1.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-25.25,
-16.0
],
"end": [
-29.75,
-16.0
]
},
{
"type": "line",
"start": [
-29.75,
-16.0
],
"end": [
-29.75,
-21.0
]
},
{
"type": "line",
"start": [
-29.75,
-21.0
],
"end": [
-25.25,
-21.0
]
},
{
"type": "line",
"start": [
-25.25,
-21.0
],
"end": [
-25.25,
-16.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-25.25,
-39.0
],
"end": [
-27.75,
-39.0
]
},
{
"type": "line",
"start": [
-27.75,
-39.0
],
"end": [
-27.75,
-42.0
]
},
{
"type": "line",
"start": [
-27.75,
-42.0
],
"end": [
-25.25,
-42.0
]
},
{
"type": "line",
"start": [
-25.25,
-42.0
],
"end": [
-25.25,
-39.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-39.75,
-50.4
],
"end": [
-37.25,
-50.4
]
},
{
"type": "line",
"start": [
-37.25,
-50.4
],
"end": [
-37.25,
-54.4
]
},
{
"type": "line",
"start": [
-37.25,
-54.4
],
"end": [
-39.75,
-54.4
]
},
{
"type": "line",
"start": [
-39.75,
-54.4
],
"end": [
-39.75,
-50.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
16.869206335
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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 Plane",
"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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right Plane",
"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_005",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 33.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_006"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004",
"f_006",
"f_007"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
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": "ab9b7b886d8d33fa841f7637f95bb14dc22b22b0d0ede9d0411d03626d69a378",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.016869206335139313,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_004",
"f_006",
"f_007"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
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": "ab9b7b886d8d33fa841f7637f95bb14dc22b22b0d0ede9d0411d03626d69a378",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.016869206335139313,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/Cylinder Cap_Solidworks格式三维图.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.21680857395724312,
"volume": 0.0002168085739572431,
"surface_area": 0.05033754120760503,
"center_of_mass": [
-2.6198353532919457e-18,
-3.99604804512557e-34,
0.026798751943720188
],
"principal_moments": [
0.00019716592390882587,
0.00019716592390882587,
0.0002691953871475586
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04700000000000001,
-0.04700000000000001,
0.0,
0.04700000000000001,
0.04700000000000001,
0.059000000000000004
],
"solid_body_count": 5,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABpAAAA",
"persist_reference_sha256": "379e3bfdd80781bd7d6d0b8a52a3425a53d822fa2ca0f74ebd03fbb54018876a",
"component": null,
"geometry": {
"box": [
-0.028750000000000005,
-0.028750000000000005,
0.0,
0.028750000000000005,
0.028750000000000005,
0.005000000000000001
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "379e3bfdd80781bd7d6d0b8a52a3425a53d822fa2ca0f74ebd03fbb54018876a"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.029750000000000002,
-0.029750000000000002,
0.016,
0.029750000000000002,
0.029750000000000002,
0.021
],
"face_count": 4,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABrAAAA",
"persist_reference_sha256": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2",
"component": null,
"geometry": {
"box": [
-0.027749999999999986,
-0.027749999999999986,
0.039,
0.027749999999999986,
0.027749999999999986,
0.042
],
"face_count": 4,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABsAAAA",
"persist_reference_sha256": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9",
"component": null,
"geometry": {
"box": [
-0.03975,
-0.03975,
0.0504,
0.03975,
0.03975,
0.054400000000000004
],
"face_count": 4,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.04700000000000001,
-0.04700000000000001,
0.0,
0.04700000000000001,
0.04700000000000001,
0.059000000000000004
],
"face_count": 25,
"edge_count": 25,
"vertex_count": 0
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 65,
"surface_counts": {
"cone": 2,
"cylinder": 42,
"plane": 21
},
"axis_count": 44,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-47.0,
-47.0,
0.0,
47.0,
47.0,
59.0
],
"volume_mm3": 216808.573957243,
"surface_area_mm2": 50337.541207605,
"solid_count": 5,
"face_count": 65,
"edge_count": 130,
"vertex_count": 86
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-47.0,
-47.0,
0.0,
47.0,
47.0,
59.0
],
"volume_mm3": 216808.573957243,
"surface_area_mm2": 50337.541207605,
"solid_count": 5,
"face_count": 43,
"edge_count": 43,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 216808.573957243,
"actual": 216808.573957243,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 50337.541207605,
"actual": 50337.541207605,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-47.0,
-47.0,
0.0,
47.0,
47.0,
59.0
],
"actual": [
-47.0,
-47.0,
0.0,
47.0,
47.0,
59.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 5,
"actual": 5,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 65,
"matches": false
},
"edge_count": {
"expected": 43,
"actual": 130,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 86,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}