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

1016 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_Bearing",
"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": [
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": [
-9.525,
28.435783942
],
"end": [
9.525,
28.435783942
],
"center": [
-0.0,
11.938
],
"radius_mm": 19.05,
"clockwise": true
},
{
"type": "line",
"start": [
9.525,
28.435783942
],
"end": [
9.525,
26.530783942
]
},
{
"type": "line",
"start": [
9.525,
26.530783942
],
"end": [
3.58302091,
26.530783942
]
},
{
"type": "arc",
"start": [
3.58302091,
26.530783942
],
"end": [
-3.58302091,
26.530783942
],
"center": [
-0.0,
25.235383942
],
"radius_mm": 3.81,
"clockwise": false
},
{
"type": "line",
"start": [
-3.58302091,
26.530783942
],
"end": [
-9.525,
26.530783942
]
},
{
"type": "line",
"start": [
-9.525,
26.530783942
],
"end": [
-9.525,
28.435783942
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-22.952341707,
0.0
],
"end": [
25.130777767,
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": "arc",
"start": [
-4.207002,
-25.235383942
],
"end": [
4.207002,
-25.235383942
],
"center": [
0.0,
-25.235383942
],
"radius_mm": 4.207002,
"clockwise": false
},
{
"type": "line",
"start": [
4.207002,
-25.235383942
],
"end": [
-4.207002,
-25.235383942
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-9.422384107,
-25.235383942
],
"end": [
9.422384107,
-25.235383942
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
-22.225,
15.875
],
"end": [
15.875,
15.875
]
},
{
"type": "line",
"start": [
15.875,
15.875
],
"end": [
15.875,
22.225
]
},
{
"type": "line",
"start": [
15.875,
22.225
],
"end": [
-22.225,
22.225
]
},
{
"type": "line",
"start": [
-22.225,
22.225
],
"end": [
-22.225,
15.875
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-18.310799001,
0.0
],
"end": [
13.439173499,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
9.525,
-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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 22.225,
"outer_radius_mm": 26.133781942
}
},
{
"id": "sk_006",
"name": "Sketch5",
"role": "profile",
"workplane": {
"origin_mm": [
9.525,
-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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 22.225,
"outer_radius_mm": 22.622002
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Plane2",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "Plane3",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_002",
"f_001"
],
"params": {
"axis": {
"unresolved": "reference axis was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"reference axis was not captured"
]
},
{
"id": "f_004",
"name": "Base-Revolve",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-22.952341707,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "58610bbb746a3a5ad10e9674135e162f064f46ac074816f7851ee27c09845838",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.022952341707487278,
0.0,
0.0
],
"end": [
0.025130777767291335,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Axis2",
"atomic_id": "reference_axis",
"depends_on": [
"f_003",
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_006",
"name": "Boss-Revolve4",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-9.422384107,
-25.235383942,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "1a2b018bd80efa51abc2e045439f7a350672450f84561adfdda03720e906fda3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.009422384106642312,
-0.025235383942093566,
0.0
],
"end": [
0.009422384106642312,
-0.025235383942093566,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Boss-Revolve2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-18.310799001,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "a9d1c8cb086524d0003aeefbc47d265f01e148b22c45c8074f34bad8a4aad0b0",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.018310799001064002,
0.0,
0.0
],
"end": [
0.013439173498936,
1.0408340855860843e-17,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_008"
],
"params": {
"distance_mm": 1.5875
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_008"
],
"params": {
"distance_mm": 0.79375
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_008",
"f_010"
],
"params": {
"distance_mm": 0.79375,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_011",
"f_004",
"f_008"
],
"params": {
"distance_mm": 0.635,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_013",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_012",
"f_011"
],
"params": {
"radius_mm": 0.397002,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "Mirror2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_001",
"f_013",
"f_012",
"f_011"
],
"params": {
"source_feature_ids": [
"f_013",
"f_012",
"f_011"
],
"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": "02_传动件/0203_轴承/020399_通用轴承/标准_Bearing.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04457760655536919,
"volume": 4.457760655536919e-05,
"surface_area": 0.022308007876980066,
"center_of_mass": [
-5.838910383356571e-10,
-4.938055371647296e-10,
0.0020378651114064264
],
"principal_moments": [
1.5251155430970668e-05,
1.5251155430970668e-05,
2.273346849770224e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030987999999999998,
-0.030987999999999998,
-0.015875,
0.030987999999999998,
0.030987999999999998,
0.022224999999999988
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Mirror2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.030987999999999998,
-0.030987999999999998,
-0.015875,
0.030987999999999998,
0.030987999999999998,
0.022224999999999988
],
"face_count": 61,
"edge_count": 145,
"vertex_count": 68
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 96,
"surface_counts": {
"cone": 8,
"cylinder": 20,
"plane": 10,
"sphere": 34,
"torus": 24
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 1.4288,
"pair_count": 2
},
{
"spacing_mm": 18.8912,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-30.9880001,
-30.9880001,
-15.875,
30.988,
30.9880001,
22.225
],
"volume_mm3": 44576.10797777,
"surface_area_mm2": 22307.841755604,
"solid_count": 1,
"face_count": 96,
"edge_count": 398,
"vertex_count": 294
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.988,
-30.988,
-15.875,
30.988,
30.988,
22.225
],
"volume_mm3": 44577.606555369,
"surface_area_mm2": 22308.00787698,
"solid_count": 1,
"face_count": 61,
"edge_count": 145,
"vertex_count": 68
},
"comparisons": {
"volume_mm3": {
"expected": 44577.606555369,
"actual": 44576.10797777,
"absolute_delta": 1.4985775989989634,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22308.00787698,
"actual": 22307.841755604,
"absolute_delta": 0.16612137599804555,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.988,
-30.988,
-15.875,
30.988,
30.988,
22.225
],
"actual": [
-30.9880001,
-30.9880001,
-15.875,
30.988,
30.9880001,
22.225
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 61,
"actual": 96,
"matches": false
},
"edge_count": {
"expected": 145,
"actual": 398,
"matches": false
},
"vertex_count": {
"expected": 68,
"actual": 294,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}