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

1227 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "3-Top-Cover-b55960809a",
"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": [
-82.55,
-82.55
],
"end": [
82.55,
-82.55
]
},
{
"type": "line",
"start": [
82.55,
-82.55
],
"end": [
82.55,
82.55
]
},
{
"type": "line",
"start": [
82.55,
82.55
],
"end": [
-82.55,
82.55
]
},
{
"type": "line",
"start": [
-82.55,
82.55
],
"end": [
-82.55,
-82.55
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-82.55,
-82.55
],
"end": [
82.55,
82.55
]
},
{
"type": "line",
"start": [
-82.55,
82.55
],
"end": [
82.55,
-82.55
]
}
]
}
},
{
"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": [
-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": [],
"construction": [
{
"type": "line",
"start": [
-82.55,
25.4
],
"end": [
82.55,
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": [
50.55,
0.0
],
"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": [
-82.55,
-79.375
],
"end": [
-79.375,
-82.55
],
"center": [
-79.375,
-79.375
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
-79.375,
-82.55
],
"end": [
79.375,
-82.55
]
},
{
"type": "arc",
"start": [
79.375,
-82.55
],
"end": [
82.55,
-79.375
],
"center": [
79.375,
-79.375
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
82.55,
-79.375
],
"end": [
82.55,
79.375
]
},
{
"type": "arc",
"start": [
82.55,
79.375
],
"end": [
79.375,
82.55
],
"center": [
79.375,
79.375
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
79.375,
82.55
],
"end": [
-79.375,
82.55
]
},
{
"type": "arc",
"start": [
-79.375,
82.55
],
"end": [
-82.55,
79.375
],
"center": [
-79.375,
79.375
],
"radius_mm": 3.175,
"clockwise": false
},
{
"type": "line",
"start": [
-82.55,
79.375
],
"end": [
-82.55,
-79.375
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 40.0
}
]
},
{
"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_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.91,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
25.4,
0.0
]
}
],
"thread": {
"diameter_mm": 20.9042,
"depth_mm": 41.91,
"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": 25.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_010",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_014",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005",
"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.7916830546400195,
"volume": 0.0017916830546400198,
"surface_area": 0.19704471559188103,
"center_of_mass": [
-0.0005120724726698112,
0.03689185479316459,
2.1422691256884502e-10
],
"principal_moments": [
0.004930610958693679,
0.004986084620834604,
0.008236813772724453
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08255000000000004,
0.0,
-0.08255,
0.08254999999999998,
0.1028,
0.08255
],
"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.08255000000000004,
0.0508,
-0.08255,
0.08254999999999998,
0.06985,
0.08255
],
"face_count": 15,
"edge_count": 34,
"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.08255000000000003,
0.0,
-0.08255,
0.08254999999999998,
0.1028,
0.08255
],
"face_count": 30,
"edge_count": 49,
"vertex_count": 17
},
"stable_id": "77ab74be24b288b37c44593482ea9f0f7904c6798aec069401fd5971af95fb24"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 64,
"surface_counts": {
"cone": 4,
"cylinder": 42,
"plane": 18
},
"axis_count": 46,
"repeat_spacings_mm": [
{
"spacing_mm": 123.9275,
"pair_count": 8
},
{
"spacing_mm": 87.63,
"pair_count": 8
},
{
"spacing_mm": 151.6041,
"pair_count": 8
},
{
"spacing_mm": 128.2331,
"pair_count": 8
},
{
"spacing_mm": 93.6201,
"pair_count": 8
},
{
"spacing_mm": 146.1694,
"pair_count": 8
},
{
"spacing_mm": 158.75,
"pair_count": 8
},
{
"spacing_mm": 143.6757,
"pair_count": 8
},
{
"spacing_mm": 159.8889,
"pair_count": 8
},
{
"spacing_mm": 142.4072,
"pair_count": 8
},
{
"spacing_mm": 32.95,
"pair_count": 5
},
{
"spacing_mm": 175.26,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-82.55,
-1e-07,
-82.55,
82.55,
102.8,
82.55
],
"volume_mm3": 1791683.100801341,
"surface_area_mm2": 197044.709847308,
"solid_count": 2,
"face_count": 64,
"edge_count": 156,
"vertex_count": 103
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.55,
0.0,
-82.55,
82.55,
102.8,
82.55
],
"volume_mm3": 1791683.05464002,
"surface_area_mm2": 197044.715591881,
"solid_count": 2,
"face_count": 45,
"edge_count": 83,
"vertex_count": 33
},
"comparisons": {
"volume_mm3": {
"expected": 1791683.05464002,
"actual": 1791683.100801341,
"absolute_delta": 0.046161320991814137,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 197044.715591881,
"actual": 197044.709847308,
"absolute_delta": 0.005744572990806773,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.55,
0.0,
-82.55,
82.55,
102.8,
82.55
],
"actual": [
-82.55,
-1e-07,
-82.55,
82.55,
102.8,
82.55
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 64,
"matches": false
},
"edge_count": {
"expected": 83,
"actual": 156,
"matches": false
},
"vertex_count": {
"expected": 33,
"actual": 103,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}