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

1054 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "148964",
"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": "arc",
"start": [
12.0,
0.0
],
"end": [
-12.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 12.0,
"clockwise": false
},
{
"type": "line",
"start": [
-12.0,
0.0
],
"end": [
-21.0,
0.0
]
},
{
"type": "arc",
"start": [
-21.0,
0.0
],
"end": [
21.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 21.0,
"clockwise": false
},
{
"type": "line",
"start": [
21.0,
0.0
],
"end": [
12.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-123.578186303,
0.0
],
"end": [
136.529611942,
0.0
]
}
]
}
},
{
"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": "line",
"start": [
0.0,
7.5
],
"end": [
7.0,
7.5
]
},
{
"type": "line",
"start": [
7.0,
7.5
],
"end": [
7.0,
-7.5
]
},
{
"type": "line",
"start": [
7.0,
-7.5
],
"end": [
0.0,
-7.5
]
},
{
"type": "line",
"start": [
0.0,
-7.5
],
"end": [
0.0,
7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-3.621193123,
0.0
],
"end": [
13.359431629,
0.0
]
}
]
}
},
{
"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": [
29.0,
-7.5
],
"end": [
29.0,
7.5
],
"center": [
29.0,
0.0
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
29.0,
7.5
],
"end": [
29.0,
-7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
46.560202294,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
-7.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": [
-28.798989873,
0.0
],
"radius_mm": 4.0
},
{
"center": [
28.798989873,
0.0
],
"radius_mm": 4.0
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
11.0,
0.0
],
"end": [
-11.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
-11.0,
0.0
],
"end": [
-12.0,
0.0
]
},
{
"type": "arc",
"start": [
-12.0,
0.0
],
"end": [
12.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 12.0,
"clockwise": false
},
{
"type": "line",
"start": [
12.0,
0.0
],
"end": [
11.0,
0.0
]
}
]
}
]
}
}
]
},
"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": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 8.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
34.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 34.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_011",
"name": "Boss-Extrude4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_012",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 1.0,
"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": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Mirror1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_003"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_008",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "b3c81fec447e20905b3ba6ddb4925534272e417f9c201fe8ff5028a7a99f1740",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
-500.00000000000006,
0.0075,
-0.007000000000000001
]
},
"box": [
0.01979898987320894,
-0.0075,
-0.007000000000000001,
0.029,
0.0075,
-0.007000000000000001
],
"area": 0.00013801515190181135
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"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_009",
"name": "Mirror2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_008",
"f_003"
],
"params": {
"source_feature_ids": [
"f_008"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_014",
"name": "Fillet3",
"atomic_id": "fillet",
"depends_on": [
"f_010",
"f_006",
"f_007"
],
"params": {
"radius_mm": 0.4,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_008",
"f_006",
"f_007",
"f_009"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "148964.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00978619545984171,
"volume": 9.786195459841711e-06,
"surface_area": 0.004221841464426103,
"center_of_mass": [
3.009195556695913e-14,
5.1684683726533536e-05,
-0.009049931173136566
],
"principal_moments": [
5.34687528040652e-07,
3.0753538367769978e-06,
3.193926143517739e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.036500000000000005,
-0.008,
-0.021000000000000005,
0.036500000000000005,
0.008,
1.734723475976807e-18
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1",
"component": null,
"geometry": {
"box": [
-0.036500000000000005,
-0.008,
-0.021,
0.036500000000000005,
0.008,
8.673617379884035e-19
],
"face_count": 28,
"edge_count": 68,
"vertex_count": 40
},
"stable_id": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cylinder": 14,
"plane": 11,
"torus": 8
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 500028.7991,
"pair_count": 4
},
{
"spacing_mm": 499971.2011,
"pair_count": 4
},
{
"spacing_mm": 499971.0004,
"pair_count": 4
},
{
"spacing_mm": 500029.0004,
"pair_count": 4
},
{
"spacing_mm": 500000.0002,
"pair_count": 4
},
{
"spacing_mm": 500000.0,
"pair_count": 4
},
{
"spacing_mm": 62.4961,
"pair_count": 2
},
{
"spacing_mm": 29.8895,
"pair_count": 2
},
{
"spacing_mm": 23.7714,
"pair_count": 2
},
{
"spacing_mm": 29.4174,
"pair_count": 2
},
{
"spacing_mm": 38.3411,
"pair_count": 2
},
{
"spacing_mm": 37.9742,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-36.5,
-8.0000001,
-21.0000001,
36.5,
8.0000001,
1e-07
],
"volume_mm3": 9786.196728492,
"surface_area_mm2": 4221.84168346,
"solid_count": 1,
"face_count": 33,
"edge_count": 85,
"vertex_count": 54
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-36.5,
-8.0,
-21.0,
36.5,
8.0,
0.0
],
"volume_mm3": 9786.195459842,
"surface_area_mm2": 4221.841464426,
"solid_count": 1,
"face_count": 28,
"edge_count": 68,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 9786.195459842,
"actual": 9786.196728492,
"absolute_delta": 0.0012686499994742917,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4221.841464426,
"actual": 4221.84168346,
"absolute_delta": 0.00021903400011069607,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-36.5,
-8.0,
-21.0,
36.5,
8.0,
0.0
],
"actual": [
-36.5,
-8.0000001,
-21.0000001,
36.5,
8.0000001,
1e-07
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 85,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 54,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}