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

1180 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "2-Lower-Cap-270fb492b9",
"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": [
-47.625,
-47.625
],
"end": [
47.625,
-47.625
]
},
{
"type": "line",
"start": [
47.625,
-47.625
],
"end": [
47.625,
47.625
]
},
{
"type": "line",
"start": [
47.625,
47.625
],
"end": [
-47.625,
47.625
]
},
{
"type": "line",
"start": [
-47.625,
47.625
],
"end": [
-47.625,
-47.625
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-47.625,
-47.625
],
"end": [
47.625,
47.625
]
},
{
"type": "line",
"start": [
-47.625,
47.625
],
"end": [
47.625,
-47.625
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
47.625,
-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": [
47.625,
76.2
],
"end": [
-47.625,
76.2
],
"center": [
-0.0,
75.5098732
],
"radius_mm": 47.63,
"clockwise": false
},
{
"type": "line",
"start": [
-47.625,
76.2
],
"end": [
47.625,
76.2
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
47.625,
-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,
75.5098732
],
"radius_mm": 12.7
}
},
{
"id": "sk_006",
"name": "Sketch6",
"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": [
-19.045,
38.1
],
"end": [
19.055,
38.1
]
},
{
"type": "line",
"start": [
19.055,
38.1
],
"end": [
19.055,
123.1398732
]
},
{
"type": "line",
"start": [
19.055,
123.1398732
],
"end": [
-19.045,
123.1398732
]
},
{
"type": "line",
"start": [
-19.045,
123.1398732
],
"end": [
-19.045,
38.1
]
}
]
}
]
}
},
{
"id": "sk_007",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 26.0
}
},
{
"id": "sk_008",
"name": "Sketch8",
"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": "Sketch9",
"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": [
-79.375,
18.05
],
"end": [
79.375,
18.05
]
}
]
}
},
{
"id": "sk_010",
"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": "circle",
"center": [
50.55,
0.0
],
"radius_mm": 6.35
}
},
{
"id": "sk_011",
"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": "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.81,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-0.0,
18.05,
0.0
]
}
],
"thread": {
"diameter_mm": 20.9042,
"depth_mm": 41.81,
"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": 18.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": "vertex",
"stable_id": "76125c08c713970d8708f1b19328c4544ef9dca28becd698f69ffeba5f7e568e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {}
}
}
},
"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": 1.3316698497461172,
"volume": 0.0013316698497461172,
"surface_area": 0.14099090299739409,
"center_of_mass": [
-0.0007076044994604472,
0.034998245514072504,
-9.490001427771224e-07
],
"principal_moments": [
0.0037785772209802497,
0.0040116289823726075,
0.005312294128376315
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08255,
-0.0020000000000000018,
-0.08254999999999997,
0.08255,
0.12313987320005634,
0.08255000000000003
],
"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.08255,
-0.002,
-0.08254999999999997,
0.08255,
0.12313987320005634,
0.08255000000000003
],
"face_count": 34,
"edge_count": 70,
"vertex_count": 32
},
"stable_id": "eb4878d4a875970a117e69846830fd911a64dd2a7f51e4bb207c83dfb6d806c3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 45,
"surface_counts": {
"cylinder": 28,
"plane": 17
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 189.5779,
"pair_count": 8
},
{
"spacing_mm": 123.9275,
"pair_count": 4
},
{
"spacing_mm": 124.4092,
"pair_count": 4
},
{
"spacing_mm": 146.29,
"pair_count": 4
},
{
"spacing_mm": 235.8247,
"pair_count": 4
},
{
"spacing_mm": 127.5394,
"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": 124.2929,
"pair_count": 2
},
{
"spacing_mm": 123.7222,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-82.55,
-2.0000001,
-82.55,
82.5500001,
123.1398732,
82.55
],
"volume_mm3": 1331671.238848718,
"surface_area_mm2": 140990.740373872,
"solid_count": 1,
"face_count": 45,
"edge_count": 114,
"vertex_count": 76
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.55,
-2.0,
-82.55,
82.55,
123.1398732,
82.55
],
"volume_mm3": 1331669.849746117,
"surface_area_mm2": 140990.902997394,
"solid_count": 1,
"face_count": 34,
"edge_count": 70,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1331669.849746117,
"actual": 1331671.238848718,
"absolute_delta": 1.3891026012133807,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 140990.902997394,
"actual": 140990.740373872,
"absolute_delta": 0.16262352201738395,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.55,
-2.0,
-82.55,
82.55,
123.1398732,
82.55
],
"actual": [
-82.55,
-2.0000001,
-82.55,
82.5500001,
123.1398732,
82.55
],
"max_absolute_delta": 1.000000082740371e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 45,
"matches": false
},
"edge_count": {
"expected": 70,
"actual": 114,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 76,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}