Files
cdsl-cad/json_to_cdsl/output/2-Lower-Cap-b450fa0527.cdsl.json
T
2026-08-24 14:52:08 +08:00

1203 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "2-Lower-Cap-b450fa0527",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-46.125,
-46.125
],
"end": [
46.125,
-46.125
]
},
{
"type": "line",
"start": [
46.125,
-46.125
],
"end": [
46.125,
46.125
]
},
{
"type": "line",
"start": [
46.125,
46.125
],
"end": [
-46.125,
46.125
]
},
{
"type": "line",
"start": [
-46.125,
46.125
],
"end": [
-46.125,
-46.125
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-46.125,
-46.125
],
"end": [
46.125,
46.125
]
},
{
"type": "line",
"start": [
-46.125,
46.125
],
"end": [
46.125,
-46.125
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
46.125,
-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": "arc",
"start": [
-46.125,
76.2
],
"end": [
46.125,
76.2
],
"center": [
-0.0,
76.2
],
"radius_mm": 46.125,
"clockwise": true
},
{
"type": "line",
"start": [
46.125,
76.2
],
"end": [
-46.125,
76.2
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
46.125,
-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": "circle",
"center": [
-0.0,
76.2
],
"radius_mm": 12.7
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": [
-17.55,
38.1
],
"end": [
20.55,
38.1
]
},
{
"type": "line",
"start": [
20.55,
38.1
],
"end": [
20.55,
122.325
]
},
{
"type": "line",
"start": [
20.55,
122.325
],
"end": [
-17.55,
122.325
]
},
{
"type": "line",
"start": [
-17.55,
122.325
],
"end": [
-17.55,
38.1
]
}
]
}
]
}
},
{
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 26.0
}
},
{
"id": "sk_008",
"name": "Sketch7",
"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_009",
"name": "Sketch8",
"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,
18.05
],
"end": [
88.45687832,
18.05
]
}
]
}
},
{
"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": "circle",
"center": [
0.0,
50.55
],
"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": "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": "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_two_sided",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 38.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 2.0,
"reverse_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": 38.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.175,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 36.83,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_011",
"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_008"
},
{
"id": "f_012",
"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,
18.05,
0.0
]
}
],
"thread": {
"diameter_mm": 20.9042,
"depth_mm": 41.91,
"class": ""
}
},
"execution_status": "deferred",
"sketch_id": "sk_009"
},
{
"id": "f_013",
"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_010"
},
{
"id": "f_014",
"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_011"
},
{
"id": "f_006",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_vertex",
"solidworks_code": 3,
"reference": {
"kind": "edge",
"stable_id": "d693a470b66ededc9e79ac10d3b6701e369c5f2a22ce66aab78b4fad8c73eb61",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
0.04612499999999999,
0.0762,
0.046125,
0.0,
0.0,
-1.0
]
},
"start": [
0.04612499999999999,
0.0762,
0.046125
],
"end": [
0.04612499999999999,
0.0762,
-0.046125
]
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/2.Lower Cap.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 10.117345927168548,
"volume": 0.0012970956316882755,
"surface_area": 0.1392118119392004,
"center_of_mass": [
1.1240503030598313e-10,
0.033803677167507575,
-0.00045182897577639934
],
"principal_moments": [
0.02887646774555405,
0.029661574439512887,
0.04066741745524421
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08254999999999993,
-0.0020000000000000018,
-0.08254999999999993,
0.0825500000000001,
0.12232500000000002,
0.0825500000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAABuAAAAbQAAAGwAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "eb4878d4a875970a117e69846830fd911a64dd2a7f51e4bb207c83dfb6d806c3",
"component": null,
"geometry": {
"box": [
-0.08254999999999993,
-0.002,
-0.08254999999999993,
0.08255000000000008,
0.12232500000000002,
0.08255000000000008
],
"face_count": 35,
"edge_count": 71,
"vertex_count": 32
},
"stable_id": "eb4878d4a875970a117e69846830fd911a64dd2a7f51e4bb207c83dfb6d806c3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 47,
"surface_counts": {
"cone": 2,
"cylinder": 28,
"plane": 17
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 189.041,
"pair_count": 8
},
{
"spacing_mm": 123.9275,
"pair_count": 4
},
{
"spacing_mm": 123.8321,
"pair_count": 4
},
{
"spacing_mm": 145.6383,
"pair_count": 4
},
{
"spacing_mm": 235.3933,
"pair_count": 4
},
{
"spacing_mm": 126.7399,
"pair_count": 4
},
{
"spacing_mm": 118.1407,
"pair_count": 4
},
{
"spacing_mm": 112.5379,
"pair_count": 4
},
{
"spacing_mm": 158.75,
"pair_count": 4
},
{
"spacing_mm": 175.26,
"pair_count": 2
},
{
"spacing_mm": 117.6233,
"pair_count": 2
},
{
"spacing_mm": 123.0308,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-82.55,
-2.0000001,
-82.55,
82.55,
122.325,
82.55
],
"volume_mm3": 1297098.548429479,
"surface_area_mm2": 139211.595748054,
"solid_count": 1,
"face_count": 47,
"edge_count": 121,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.55,
-2.0,
-82.55,
82.55,
122.325,
82.55
],
"volume_mm3": 1297095.631688276,
"surface_area_mm2": 139211.8119392,
"solid_count": 1,
"face_count": 35,
"edge_count": 71,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1297095.631688276,
"actual": 1297098.548429479,
"absolute_delta": 2.91674120281823,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 139211.8119392,
"actual": 139211.595748054,
"absolute_delta": 0.21619114599889144,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.55,
-2.0,
-82.55,
82.55,
122.325,
82.55
],
"actual": [
-82.55,
-2.0000001,
-82.55,
82.55,
122.325,
82.55
],
"max_absolute_delta": 9.999999983634211e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 35,
"actual": 47,
"matches": false
},
"edge_count": {
"expected": 71,
"actual": 121,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}