Files
cdsl-cad/json_to_cdsl/output/3-Top-Cover-e45cc57ae1.cdsl.json
T
2026-08-24 14:52:08 +08:00

1210 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "3-Top-Cover-e45cc57ae1",
"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": [
78.05,
-78.05
],
"end": [
-78.05,
-78.05
]
},
{
"type": "line",
"start": [
-78.05,
-78.05
],
"end": [
-78.05,
78.05
]
},
{
"type": "line",
"start": [
-78.05,
78.05
],
"end": [
78.05,
78.05
]
},
{
"type": "line",
"start": [
78.05,
78.05
],
"end": [
78.05,
-78.05
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
78.05,
-78.05
],
"end": [
-78.05,
78.05
]
},
{
"type": "line",
"start": [
78.05,
78.05
],
"end": [
-78.05,
-78.05
]
}
]
}
},
{
"id": "sk_003",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 40.0
}
},
{
"id": "sk_004",
"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": 32.0
}
},
{
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 30.0
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": 20.0
}
},
{
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 69.85,
"outer_radius_mm": 76.2
}
},
{
"id": "sk_008",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
78.05,
-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": [],
"construction": [
{
"type": "line",
"start": [
-74.875,
25.4
],
"end": [
74.875,
25.4
]
}
]
}
},
{
"id": "sk_009",
"name": "Sketch10",
"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,
46.05
],
"radius_mm": 6.35
}
},
{
"id": "sk_010",
"name": "Sketch11",
"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": [
-61.963767235,
61.963767235
],
"radius_mm": 6.35
},
{
"center": [
61.963767235,
61.963767235
],
"radius_mm": 6.35
},
{
"center": [
61.963767235,
-61.963767235
],
"radius_mm": 6.35
},
{
"center": [
-61.963767235,
-61.963767235
],
"radius_mm": 6.35
}
]
}
},
{
"id": "sk_011",
"name": "Sketch12",
"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": [
-74.875,
78.05
],
"end": [
-78.05,
74.875
],
"center": [
-74.875,
74.875
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
-78.05,
74.875
],
"end": [
-78.05,
-74.875
]
},
{
"type": "arc",
"start": [
-78.05,
-74.875
],
"end": [
-74.875,
-78.05
],
"center": [
-74.875,
-74.875
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
-74.875,
-78.05
],
"end": [
74.875,
-78.05
]
},
{
"type": "arc",
"start": [
74.875,
-78.05
],
"end": [
78.05,
-74.875
],
"center": [
74.875,
-74.875
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
78.05,
-74.875
],
"end": [
78.05,
74.875
]
},
{
"type": "arc",
"start": [
78.05,
74.875
],
"end": [
74.875,
78.05
],
"center": [
74.875,
74.875
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
74.875,
78.05
],
"end": [
-74.875,
78.05
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-61.963767235,
-61.963767235
],
"radius_mm": 6.35
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
61.963767235,
-61.963767235
],
"radius_mm": 6.35
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
61.963767235,
61.963767235
],
"radius_mm": 6.35
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-61.963767235,
61.963767235
],
"radius_mm": 6.35
}
]
}
]
}
}
]
},
"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_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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 50.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 52.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.175,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 40.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_011",
"name": "1/2-14 NPSM Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Straight Pipe Tapped hole",
"diameter_mm": 20.9042,
"depth_mm": 41.81,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
25.4,
0.0
]
}
],
"thread": {
"diameter_mm": 20.9042,
"depth_mm": 41.81,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_012",
"name": "Cut-Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 28.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_009"
},
{
"id": "f_013",
"name": "Cut-Extrude6",
"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_010"
},
{
"id": "f_006",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 28.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_014",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"distance_mm": 19.05,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_011"
},
{
"id": "f_007",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 22.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/3 Top Cover.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.6829115126025889,
"volume": 0.0016829115126025889,
"surface_area": 0.18837825288518,
"center_of_mass": [
4.5764236030804134e-10,
0.038478950328682864,
-0.0005371864764081672
],
"principal_moments": [
0.004075408863730275,
0.004123991253187269,
0.006583664646154422
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07804999999999998,
0.0,
-0.07804999999999998,
0.07805000000000001,
0.1028,
0.07805000000000004
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Boss-Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABuAAAA",
"persist_reference_sha256": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60",
"component": null,
"geometry": {
"box": [
-0.07804999999999998,
0.0508,
-0.07804999999999997,
0.07805000000000001,
0.06985,
0.07805000000000004
],
"face_count": 14,
"edge_count": 32,
"vertex_count": 16
},
"stable_id": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAABtAAAAbAAAAGsAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "77ab74be24b288b37c44593482ea9f0f7904c6798aec069401fd5971af95fb24",
"component": null,
"geometry": {
"box": [
-0.07804999999999998,
0.0,
-0.07804999999999997,
0.07805000000000001,
0.1028,
0.07805000000000004
],
"face_count": 28,
"edge_count": 48,
"vertex_count": 16
},
"stable_id": "77ab74be24b288b37c44593482ea9f0f7904c6798aec069401fd5971af95fb24"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 58,
"surface_counts": {
"cylinder": 40,
"plane": 18
},
"axis_count": 40,
"repeat_spacings_mm": [
{
"spacing_mm": 123.9275,
"pair_count": 8
},
{
"spacing_mm": 146.9542,
"pair_count": 8
},
{
"spacing_mm": 128.2331,
"pair_count": 8
},
{
"spacing_mm": 141.3409,
"pair_count": 8
},
{
"spacing_mm": 149.75,
"pair_count": 8
},
{
"spacing_mm": 138.7604,
"pair_count": 8
},
{
"spacing_mm": 150.9568,
"pair_count": 8
},
{
"spacing_mm": 137.4465,
"pair_count": 8
},
{
"spacing_mm": 175.26,
"pair_count": 4
},
{
"spacing_mm": 107.8094,
"pair_count": 4
},
{
"spacing_mm": 129.0971,
"pair_count": 4
},
{
"spacing_mm": 100.8911,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-78.05,
-1e-07,
-78.05,
78.05,
102.8,
78.0500001
],
"volume_mm3": 1682913.937116453,
"surface_area_mm2": 188377.994860506,
"solid_count": 2,
"face_count": 58,
"edge_count": 147,
"vertex_count": 98
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-78.05,
0.0,
-78.05,
78.05,
102.8,
78.05
],
"volume_mm3": 1682911.512602589,
"surface_area_mm2": 188378.25288518,
"solid_count": 2,
"face_count": 42,
"edge_count": 80,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1682911.512602589,
"actual": 1682913.937116453,
"absolute_delta": 2.424513863865286,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 188378.25288518,
"actual": 188377.994860506,
"absolute_delta": 0.2580246739962604,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-78.05,
0.0,
-78.05,
78.05,
102.8,
78.05
],
"actual": [
-78.05,
-1e-07,
-78.05,
78.05,
102.8,
78.0500001
],
"max_absolute_delta": 1.000000082740371e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 42,
"actual": 58,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 147,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 98,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}