Files
cdsl-cad/json_to_cdsl/output/072228.cdsl.json
T
2026-08-21 11:13:18 +08:00

1436 lines
33 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "072228",
"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,
-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": "line",
"start": [
30.299895408,
126.0
],
"end": [
20.0,
126.0
]
},
{
"type": "line",
"start": [
20.0,
126.0
],
"end": [
20.0,
156.0
]
},
{
"type": "line",
"start": [
20.0,
156.0
],
"end": [
0.0,
156.0
]
},
{
"type": "line",
"start": [
0.0,
156.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
20.0,
0.0
]
},
{
"type": "line",
"start": [
20.0,
0.0
],
"end": [
20.0,
30.0
]
},
{
"type": "line",
"start": [
20.0,
30.0
],
"end": [
75.700104592,
30.0
]
},
{
"type": "line",
"start": [
75.700104592,
30.0
],
"end": [
368.967966988,
191.056940824
]
},
{
"type": "line",
"start": [
368.967966988,
191.056940824
],
"end": [
317.943059176,
283.967966988
]
},
{
"type": "line",
"start": [
317.943059176,
283.967966988
],
"end": [
30.299895408,
126.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
78.0
],
"end": [
53.0,
78.0
]
},
{
"type": "line",
"start": [
297.0,
212.0
],
"end": [
53.0,
78.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-243.107656032,
202.368722426
],
"end": [
-247.059176632,
215.947584122
],
"center": [
-251.87284718,
207.182392974
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
-247.059176632,
215.947584122
],
"end": [
-330.217919074,
261.616729561
]
},
{
"type": "line",
"start": [
-330.217919074,
261.616729561
],
"end": [
-356.69310709,
213.40817825
]
},
{
"type": "line",
"start": [
-356.69310709,
213.40817825
],
"end": [
-273.534364647,
167.73903281
]
},
{
"type": "arc",
"start": [
-273.534364647,
167.73903281
],
"end": [
-259.955502951,
171.690553409
],
"center": [
-268.720694099,
176.504223958
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-259.955502951,
171.690553409
],
"end": [
-243.107656032,
202.368722426
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-81.163564999,
136.820180266
],
"end": [
-77.212044399,
123.241318571
],
"center": [
-85.977235547,
128.054989119
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-77.212044399,
123.241318571
],
"end": [
-104.16859947,
74.156248144
]
},
{
"type": "arc",
"start": [
-104.16859947,
74.156248144
],
"end": [
-117.747461165,
70.204727545
],
"center": [
-112.933790617,
78.969918693
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
-117.747461165,
70.204727545
],
"end": [
-238.707099001,
136.633381111
]
},
{
"type": "arc",
"start": [
-238.707099001,
136.633381111
],
"end": [
-242.658619601,
150.212242807
],
"center": [
-233.893428453,
145.398572258
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-242.658619601,
150.212242807
],
"end": [
-215.702064531,
199.297313233
]
},
{
"type": "arc",
"start": [
-215.702064531,
199.297313233
],
"end": [
-202.123202835,
203.248833832
],
"center": [
-206.936873383,
194.483642685
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-202.123202835,
203.248833832
],
"end": [
-81.163564999,
136.820180266
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-53.0,
78.0
],
"radius_mm": 27.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-308.646208894,
269.735308247
],
"radius_mm": 2.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-351.969243828,
190.848587919
],
"radius_mm": 2.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-222.747335648,
222.561336875
],
"radius_mm": 2.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-266.070370582,
143.674616547
],
"radius_mm": 2.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-265.696772271,
246.148322561
],
"radius_mm": 2.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-309.019807205,
167.261602233
],
"radius_mm": 2.6
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-94.806995473,
78.0
],
"end": [
0.0,
78.0
]
},
{
"type": "line",
"start": [
-396.318363705,
266.543691543
],
"end": [
-70.739230089,
87.742036197
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-224.467255678,
204.110983781
],
"end": [
-228.418776277,
217.689845477
],
"center": [
-233.232446826,
208.924654329
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
-228.418776277,
217.689845477
],
"end": [
-325.163564999,
270.820180266
]
},
{
"type": "line",
"start": [
-325.163564999,
270.820180266
],
"end": [
-361.747461165,
204.204727545
]
},
{
"type": "line",
"start": [
-361.747461165,
204.204727545
],
"end": [
-265.002672444,
151.074392755
]
},
{
"type": "arc",
"start": [
-265.002672444,
151.074392755
],
"end": [
-251.423810748,
155.025913355
],
"center": [
-260.189001896,
159.839583903
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-251.423810748,
155.025913355
],
"end": [
-224.467255678,
204.110983781
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-390.187283553,
263.176622935
],
"end": [
-102.14314601,
104.988449038
]
}
]
}
},
{
"id": "sk_005",
"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": "circles",
"items": [
{
"center": [
-10.0,
7.0
],
"radius_mm": 3.0
},
{
"center": [
-10.0,
149.0
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_006",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
0.0
],
"x_dir": [
0.0,
-0.481367055,
-0.876519115
],
"y_dir": [
0.61979261,
-0.340377909,
0.707106781
],
"normal": [
-0.71766323,
-0.610399434,
0.335219361
]
},
"profile": {
"type": "circle",
"center": [
5.0,
42.856037045
],
"radius_mm": 2.1
}
},
{
"id": "sk_007",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circles",
"items": [
{
"center": [
266.070370582,
143.674616547
],
"radius_mm": 2.6
},
{
"center": [
351.969243828,
190.848587919
],
"radius_mm": 2.6
},
{
"center": [
308.646208894,
269.735308247
],
"radius_mm": 2.6
},
{
"center": [
222.747335648,
222.561336875
],
"radius_mm": 2.6
},
{
"center": [
309.019807205,
167.261602233
],
"radius_mm": 2.6
},
{
"center": [
265.696772271,
246.148322561
],
"radius_mm": 2.6
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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_004",
"name": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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_005",
"name": "Extrude2",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Ø11.0 (11) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 11.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
20.0,
20.0,
10.0
]
},
{
"mm": [
20.0,
136.0,
10.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "Extrude4",
"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_005"
},
{
"id": "f_006",
"name": "Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "M6 Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_005",
"f_004"
],
"params": {
"hole_type": "Tapped hole",
"diameter_mm": 6.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
53.0,
112.0,
0.0
]
},
{
"mm": [
53.0,
44.0,
0.0
]
},
{
"mm": [
87.0,
78.0,
0.0
]
},
{
"mm": [
19.0,
78.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e4034b0b2f7994a904ea1a7a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
0.0,
366.561131714,
281.561131714,
0.0
],
"center_mm": [
134.557855968,
125.953440292,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e4034b0b2f7994a904ea1a7a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
0.0,
366.561131714,
281.561131714,
0.0
],
"center_mm": [
134.557855968,
125.953440292,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_012",
"name": "Extrude6",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 8.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "072228.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.0846332097786213,
"volume": 0.00038557915122232767,
"surface_area": 0.08505069071100892,
"center_of_mass": [
0.14900976949693576,
0.13333630145955674,
0.01047002264646867
],
"principal_moments": [
0.005059997050805528,
0.04460153705015516,
0.04945673138867912
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-2.0816681711721685e-17,
0.0,
0.0,
0.3665611317135453,
0.28156113171354535,
0.02
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Extrude6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
-2.0816681711721685e-17,
0.0,
0.0,
0.3665611317135453,
0.28156113171354535,
0.02
],
"face_count": 68,
"edge_count": 136,
"vertex_count": 68
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 95,
"surface_counts": {
"cone": 8,
"cylinder": 51,
"plane": 36
},
"axis_count": 59,
"repeat_spacings_mm": [
{
"spacing_mm": 48.0833,
"pair_count": 8
},
{
"spacing_mm": 49.558,
"pair_count": 8
},
{
"spacing_mm": 12.0,
"pair_count": 4
},
{
"spacing_mm": 68.0,
"pair_count": 4
},
{
"spacing_mm": 69.0507,
"pair_count": 4
},
{
"spacing_mm": 39.4462,
"pair_count": 4
},
{
"spacing_mm": 34.9285,
"pair_count": 4
},
{
"spacing_mm": 49.0,
"pair_count": 4
},
{
"spacing_mm": 102.4744,
"pair_count": 4
},
{
"spacing_mm": 56.0,
"pair_count": 3
},
{
"spacing_mm": 90.0,
"pair_count": 3
},
{
"spacing_mm": 154.4725,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
366.561131714,
281.561131714,
20.0
],
"volume_mm3": 385579.151222328,
"surface_area_mm2": 85050.690711009,
"solid_count": 1,
"face_count": 95,
"edge_count": 233,
"vertex_count": 154
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
366.561131714,
281.561131714,
20.0
],
"volume_mm3": 385579.151222328,
"surface_area_mm2": 85050.690711009,
"solid_count": 1,
"face_count": 68,
"edge_count": 136,
"vertex_count": 68
},
"comparisons": {
"volume_mm3": {
"expected": 385579.151222328,
"actual": 385579.151222328,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 85050.690711009,
"actual": 85050.690711009,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
0.0,
366.561131714,
281.561131714,
20.0
],
"actual": [
-0.0,
0.0,
0.0,
366.561131714,
281.561131714,
20.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 68,
"actual": 95,
"matches": false
},
"edge_count": {
"expected": 136,
"actual": 233,
"matches": false
},
"vertex_count": {
"expected": 68,
"actual": 154,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}