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

717 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "022176",
"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": [
3.12,
8.6000082
],
"end": [
-3.12,
8.6000082
]
},
{
"type": "line",
"start": [
-3.12,
8.6000082
],
"end": [
-3.12,
-8.6000082
]
},
{
"type": "line",
"start": [
-3.12,
-8.6000082
],
"end": [
3.12,
-8.6000082
]
},
{
"type": "line",
"start": [
3.12,
-8.6000082
],
"end": [
3.12,
8.6000082
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
3.12,
8.6000082
],
"end": [
-3.12,
-8.6000082
]
},
{
"type": "line",
"start": [
3.12,
-8.6000082
],
"end": [
-3.12,
8.6000082
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "arc",
"start": [
17.526,
-8.6000082
],
"end": [
22.413799819,
-6.320789713
],
"center": [
17.526,
-2.219438688
],
"radius_mm": 6.380569512,
"clockwise": false
},
{
"type": "line",
"start": [
22.413799819,
-6.320789713
],
"end": [
28.980341739,
1.504910212
]
},
{
"type": "line",
"start": [
28.980341739,
1.504910212
],
"end": [
18.765004331,
10.076596063
]
},
{
"type": "line",
"start": [
18.765004331,
10.076596063
],
"end": [
17.526,
8.6000082
]
},
{
"type": "line",
"start": [
17.526,
8.6000082
],
"end": [
17.526,
-8.6000082
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
505.118879232,
586.824088833,
-0.020286896
],
"x_dir": [
1.0,
0.0,
-0.0
],
"y_dir": [
0.64278761,
0.766044443,
0.0
],
"normal": [
0.0,
-0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
-18.607367239
],
"radius_mm": 4.010705014
}
}
]
},
"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_004",
"name": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 17.526,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.0,
"tangent_propagation": false
},
"execution_status": "deferred",
"unresolved": [
"fillet radius/distance is missing or non-positive"
]
},
{
"id": "f_006",
"name": "Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "6c45a550dd55fb70188879807e0d5d3acb8afb403bec886c1c84b5efc1f07607",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.2606989985027042e-16,
0.0,
0.0031199999999999986,
0.008600008199999998,
0.017525999999999993
]
},
"box": [
0.0031199999999999986,
-0.008600008200000002,
1.734723475976807e-18,
0.003120000000000001,
0.008600008199999998,
0.017525999999999993
],
"area": 0.0002697035232212355
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.623249889,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_006"
],
"params": {
"radius_mm": 2.54,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 1.27,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "022176.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0023809094790538114,
"volume": 2.3809094790538113e-06,
"surface_area": 0.0011793497051835913,
"center_of_mass": [
2.3155602828599093e-11,
0.00020377606250988696,
0.013543938180063287
],
"principal_moments": [
5.347172162975766e-08,
1.2374139448644374e-07,
1.62591551969828e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.004010705013678339,
-0.008600008200000005,
0.0,
0.004010705013678338,
0.009086335443372102,
0.02965643398475775
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZwAAAGUAAAA=",
"persist_reference_sha256": "cd429aceccd7555b58e63d31428bede5e0a1596316f4a7445ee4ce9894449fa4",
"component": null,
"geometry": {
"box": [
-0.004010705013678339,
-0.008600008200000005,
0.0,
0.004010705013678338,
0.009086335443372102,
0.02965643398475775
],
"face_count": 30,
"edge_count": 66,
"vertex_count": 38
},
"stable_id": "cd429aceccd7555b58e63d31428bede5e0a1596316f4a7445ee4ce9894449fa4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 7,
"cylinder": 5,
"plane": 20
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 6.24,
"pair_count": 3
},
{
"spacing_mm": 8.8923,
"pair_count": 3
},
{
"spacing_mm": 8.4767,
"pair_count": 2
},
{
"spacing_mm": 13.7979,
"pair_count": 2
},
{
"spacing_mm": 29.5204,
"pair_count": 2
},
{
"spacing_mm": 28.1493,
"pair_count": 2
},
{
"spacing_mm": 10.8633,
"pair_count": 2
},
{
"spacing_mm": 12.3063,
"pair_count": 2
},
{
"spacing_mm": 18.7591,
"pair_count": 2
},
{
"spacing_mm": 11.6046,
"pair_count": 2
},
{
"spacing_mm": 9.1978,
"pair_count": 2
},
{
"spacing_mm": 11.1147,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-4.010705114,
-8.6000082,
0.0,
4.010705114,
9.086335543,
29.656434085
],
"volume_mm3": 2380.909399104,
"surface_area_mm2": 1179.349705076,
"solid_count": 1,
"face_count": 32,
"edge_count": 74,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.010705014,
-8.6000082,
0.0,
4.010705014,
9.086335443,
29.656433985
],
"volume_mm3": 2380.909479054,
"surface_area_mm2": 1179.349705184,
"solid_count": 1,
"face_count": 30,
"edge_count": 66,
"vertex_count": 38
},
"comparisons": {
"volume_mm3": {
"expected": 2380.909479054,
"actual": 2380.909399104,
"absolute_delta": 7.99499998720421e-05,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1179.349705184,
"actual": 1179.349705076,
"absolute_delta": 1.0799999472510535e-07,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-4.010705014,
-8.6000082,
0.0,
4.010705014,
9.086335443,
29.656433985
],
"actual": [
-4.010705114,
-8.6000082,
0.0,
4.010705114,
9.086335543,
29.656434085
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 30,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 66,
"actual": 74,
"matches": false
},
"vertex_count": {
"expected": 38,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}