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

1281 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "3-Top-Cover_1",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Orijin",
"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": "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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 30.0,
"outer_radius_mm": 32.0
}
},
{
"id": "sk_005",
"name": "Sketch6",
"role": "profile",
"workplane": {
"origin_mm": [
82.55,
-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": [
-79.375,
25.4
],
"end": [
79.375,
25.4
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch9",
"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_007",
"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,
0.0
],
"radius_mm": 20.0
}
},
{
"id": "sk_008",
"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": "circle",
"center": [
0.0,
50.55
],
"radius_mm": 6.35
}
},
{
"id": "sk_009",
"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": [
-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
]
},
{
"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
]
}
]
},
{
"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
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 40.0
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 87.63
},
{
"type": "line",
"start": [
61.963767235,
-61.963767235
],
"end": [
-61.963767235,
-61.963767235
]
},
{
"type": "line",
"start": [
61.963767235,
-61.963767235
],
"end": [
61.963767235,
61.963767235
]
},
{
"type": "line",
"start": [
61.963767235,
61.963767235
],
"end": [
-61.963767235,
61.963767235
]
},
{
"type": "line",
"start": [
-61.963767235,
-61.963767235
],
"end": [
-61.963767235,
61.963767235
]
},
{
"type": "line",
"start": [
61.963767235,
-61.963767235
],
"end": [
-61.963767235,
61.963767235
]
},
{
"type": "line",
"start": [
61.963767235,
61.963767235
],
"end": [
-61.963767235,
-61.963767235
]
}
]
}
},
{
"id": "sk_010",
"name": "Sketch13",
"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
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Ön Düzlem",
"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": "Üst Düzlem",
"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": "Sağ Düzlem",
"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_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": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.175,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"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": ""
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "Cut-Extrude3",
"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_006"
},
{
"id": "f_011",
"name": "Cut-Extrude4",
"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_007"
},
{
"id": "f_012",
"name": "Cut-Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_007",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 28.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_013",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 19.05,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_009"
},
{
"id": "f_014",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_010"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/3. Top Cover_1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.781710510553391,
"volume": 0.001781710510553391,
"surface_area": 0.19659460366685158,
"center_of_mass": [
3.0742981011744664e-10,
0.036696034546647875,
-0.0005112285296260099
],
"principal_moments": [
0.004909513498522407,
0.004964446880241143,
0.008229319705401113
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08255000000000001,
0.0,
-0.08255,
0.08255000000000001,
0.1008,
0.08255
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAABvAAAAbQAAAGwAAABrAAAAagAAAGkAAABoAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "816496111dfa5d114d961eb2c2a2a555bfbe9fe7735b0ba7e9c867cd3fce9cd3",
"component": null,
"geometry": {
"box": [
-0.08255000000000001,
0.0,
-0.08255,
0.08255000000000001,
0.1008,
0.08255
],
"face_count": 29,
"edge_count": 48,
"vertex_count": 17
},
"stable_id": "816496111dfa5d114d961eb2c2a2a555bfbe9fe7735b0ba7e9c867cd3fce9cd3"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Boss-Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABuAAAA",
"persist_reference_sha256": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60",
"component": null,
"geometry": {
"box": [
-0.08255000000000001,
0.0508,
-0.08255,
0.08255000000000001,
0.06985,
0.08255
],
"face_count": 15,
"edge_count": 34,
"vertex_count": 16
},
"stable_id": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 62,
"surface_counts": {
"cone": 2,
"cylinder": 42,
"plane": 18
},
"axis_count": 44,
"repeat_spacings_mm": [
{
"spacing_mm": 87.63,
"pair_count": 8
},
{
"spacing_mm": 112.2532,
"pair_count": 8
},
{
"spacing_mm": 92.935,
"pair_count": 8
},
{
"spacing_mm": 113.8582,
"pair_count": 8
},
{
"spacing_mm": 123.9275,
"pair_count": 8
},
{
"spacing_mm": 142.4072,
"pair_count": 8
},
{
"spacing_mm": 127.7338,
"pair_count": 8
},
{
"spacing_mm": 143.6757,
"pair_count": 8
},
{
"spacing_mm": 158.75,
"pair_count": 8
},
{
"spacing_mm": 145.7316,
"pair_count": 8
},
{
"spacing_mm": 159.8889,
"pair_count": 8
},
{
"spacing_mm": 150.9298,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-82.55,
-1e-07,
-82.55,
82.55,
100.8,
82.5500001
],
"volume_mm3": 1781710.630345159,
"surface_area_mm2": 196594.594850586,
"solid_count": 2,
"face_count": 62,
"edge_count": 152,
"vertex_count": 101
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.55,
0.0,
-82.55,
82.55,
100.8,
82.55
],
"volume_mm3": 1781710.510553391,
"surface_area_mm2": 196594.603666852,
"solid_count": 2,
"face_count": 44,
"edge_count": 82,
"vertex_count": 33
},
"comparisons": {
"volume_mm3": {
"expected": 1781710.510553391,
"actual": 1781710.630345159,
"absolute_delta": 0.11979176802560687,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 196594.603666852,
"actual": 196594.594850586,
"absolute_delta": 0.008816265995847061,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.55,
0.0,
-82.55,
82.55,
100.8,
82.55
],
"actual": [
-82.55,
-1e-07,
-82.55,
82.55,
100.8,
82.5500001
],
"max_absolute_delta": 1.000000082740371e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 44,
"actual": 62,
"matches": false
},
"edge_count": {
"expected": 82,
"actual": 152,
"matches": false
},
"vertex_count": {
"expected": 33,
"actual": 101,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}