Files
cdsl-cad/json_to_cdsl/output/lower-cap_Solidworks.cdsl.json
2026-08-24 14:52:08 +08:00

1040 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "lower-cap_Solidworks",
"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": [
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,
76.2
],
"radius_mm": 47.625,
"clockwise": false
},
{
"type": "line",
"start": [
-47.625,
76.2
],
"end": [
-47.625,
38.1
]
},
{
"type": "line",
"start": [
-47.625,
38.1
],
"end": [
47.625,
38.1
]
},
{
"type": "line",
"start": [
47.625,
38.1
],
"end": [
47.625,
76.2
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
76.2
],
"radius_mm": 12.7
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
76.2
],
"end": [
0.0,
53.603506738
]
}
]
}
},
{
"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": "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_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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 69.85,
"outer_radius_mm": 76.2
}
},
{
"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": 26.0
}
},
{
"id": "sk_007",
"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": "circle",
"center": [
0.0,
20.05
],
"radius_mm": 7.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": "circle",
"center": [
-50.55,
0.0
],
"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": 38.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
34.925
],
"x_dir": [
-0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"offset_mm": 34.925,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "8f213ccf21ed4f95cd7f97e18f52c660c8317032232e70be702e6e5634a51b61",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "33da34608fb98eceeb50131fc428238e42131a63455fad929f63eb1bf2198a1f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
-0.08254999999999997,
0.0381,
0.08255000000000001
]
},
"box": [
-0.08254999999999997,
0.0,
0.08255000000000001,
0.08255000000000003,
0.0381,
0.08255000000000001
],
"area": 0.0062903099999999995
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "8f213ccf21ed4f95cd7f97e18f52c660c8317032232e70be702e6e5634a51b61",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "33da34608fb98eceeb50131fc428238e42131a63455fad929f63eb1bf2198a1f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
-0.08254999999999997,
0.0381,
0.08255000000000001
]
},
"box": [
-0.08254999999999997,
0.0,
0.08255000000000001,
0.08255000000000003,
0.0381,
0.08255000000000001
],
"area": 0.0062903099999999995
}
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 97.575,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "Cut-Extrude2",
"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_005"
},
{
"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_006"
},
{
"id": "f_012",
"name": "Cut-Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 19.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_013",
"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_005",
"f_004"
],
"params": {
"distance_mm": 28.575,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_011",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 38.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_007",
"name": "Mirror1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_001"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured"
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/lower cap_Solidworks格式三维图.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.291739433431786,
"volume": 0.001291739433431786,
"surface_area": 0.1386522770385391,
"center_of_mass": [
0.00035920669286803344,
0.03640239070001434,
-7.4417303931781e-10
],
"principal_moments": [
0.0036499034527788035,
0.003858420634644594,
0.0051065357801185944
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08255000000000001,
0.0,
-0.08254999999999998,
0.08255000000000003,
0.123825,
0.08255000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
-0.08255000000000001,
0.0,
-0.08254999999999998,
0.08255000000000003,
0.123825,
0.08255000000000001
],
"face_count": 35,
"edge_count": 70,
"vertex_count": 32
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cylinder": 28,
"plane": 18
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 172.6287,
"pair_count": 8
},
{
"spacing_mm": 130.2063,
"pair_count": 4
},
{
"spacing_mm": 112.2604,
"pair_count": 4
},
{
"spacing_mm": 110.5979,
"pair_count": 4
},
{
"spacing_mm": 116.2187,
"pair_count": 4
},
{
"spacing_mm": 123.9275,
"pair_count": 4
},
{
"spacing_mm": 169.7364,
"pair_count": 4
},
{
"spacing_mm": 155.2057,
"pair_count": 4
},
{
"spacing_mm": 222.4279,
"pair_count": 4
},
{
"spacing_mm": 100.6339,
"pair_count": 4
},
{
"spacing_mm": 106.7291,
"pair_count": 4
},
{
"spacing_mm": 132.0586,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-82.5500001,
-1e-07,
-82.55,
82.55,
123.825,
82.55
],
"volume_mm3": 1291739.216925404,
"surface_area_mm2": 138652.270954374,
"solid_count": 1,
"face_count": 46,
"edge_count": 114,
"vertex_count": 76
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-82.55,
0.0,
-82.55,
82.55,
123.825,
82.55
],
"volume_mm3": 1291739.433431786,
"surface_area_mm2": 138652.277038539,
"solid_count": 1,
"face_count": 35,
"edge_count": 70,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1291739.433431786,
"actual": 1291739.216925404,
"absolute_delta": 0.2165063819848001,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 138652.277038539,
"actual": 138652.270954374,
"absolute_delta": 0.006084165011998266,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-82.55,
0.0,
-82.55,
82.55,
123.825,
82.55
],
"actual": [
-82.5500001,
-1e-07,
-82.55,
82.55,
123.825,
82.55
],
"max_absolute_delta": 1.000000082740371e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 35,
"actual": 46,
"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
}
}