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

1054 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_bearing-cap",
"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": "arc",
"start": [
26.0,
0.0
],
"end": [
-26.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 26.0,
"clockwise": false
},
{
"type": "line",
"start": [
-26.0,
0.0
],
"end": [
-60.0,
0.0
]
},
{
"type": "line",
"start": [
-60.0,
0.0
],
"end": [
-60.0,
15.0
]
},
{
"type": "line",
"start": [
-60.0,
15.0
],
"end": [
-37.080992435,
15.0
]
},
{
"type": "arc",
"start": [
-37.080992435,
15.0
],
"end": [
37.080992435,
15.0
],
"center": [
0.0,
0.0
],
"radius_mm": 40.0,
"clockwise": false
},
{
"type": "line",
"start": [
37.080992435,
15.0
],
"end": [
60.0,
15.0
]
},
{
"type": "line",
"start": [
60.0,
15.0
],
"end": [
60.0,
0.0
]
},
{
"type": "line",
"start": [
60.0,
0.0
],
"end": [
26.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
62.274120515
],
"end": [
0.0,
-48.929666119
]
}
]
}
},
{
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
12.5,
37.996710384
],
"end": [
0.0,
40.0
],
"center": [
0.0,
0.0
],
"radius_mm": 40.0,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
0.0,
48.0
]
},
{
"type": "line",
"start": [
0.0,
48.0
],
"end": [
10.0,
48.0
]
},
{
"type": "line",
"start": [
10.0,
48.0
],
"end": [
12.5,
37.996710384
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch6",
"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": [
26.0,
0.0
],
"end": [
-26.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 26.0,
"clockwise": false
},
{
"type": "line",
"start": [
-26.0,
0.0
],
"end": [
-32.0,
0.0
]
},
{
"type": "arc",
"start": [
-32.0,
0.0
],
"end": [
32.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 32.0,
"clockwise": false
},
{
"type": "line",
"start": [
32.0,
0.0
],
"end": [
26.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": "circles",
"items": [
{
"center": [
-47.5,
0.0
],
"radius_mm": 15.0
},
{
"center": [
47.5,
0.0
],
"radius_mm": 15.0
}
]
}
},
{
"id": "sk_006",
"name": "Sketch10",
"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": [
5.25,
33.0
],
"end": [
1.25,
29.0
],
"center": [
5.25,
29.0
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
1.25,
29.0
],
"end": [
1.25,
21.249466287
]
},
{
"type": "line",
"start": [
1.25,
21.249466287
],
"end": [
0.0,
21.249466287
]
},
{
"type": "line",
"start": [
0.0,
21.249466287
],
"end": [
0.0,
48.0
]
},
{
"type": "line",
"start": [
0.0,
48.0
],
"end": [
7.5,
48.0
]
},
{
"type": "line",
"start": [
7.5,
48.0
],
"end": [
7.5,
34.0
]
},
{
"type": "arc",
"start": [
7.5,
34.0
],
"end": [
6.5,
33.0
],
"center": [
6.5,
34.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
6.5,
33.0
],
"end": [
5.25,
33.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
48.0
],
"end": [
0.0,
21.249466287
]
}
]
}
}
]
},
"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": 45.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
40.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "e25f845ea1ad396c3bf25b9af48a3448dbe08b8b2434cbda2864e2effe0c17bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
2.0212861992297215e-17,
0.04000000000000001,
0.0
],
"end": [
0.0,
0.04800000000000003,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
48.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "1425c6379dd17aea0b31e9aaa6bfaa104d73a4bfe88f56bfc5d5707fa636f43a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.04799999999999997,
0.0
],
"end": [
0.0,
0.021249466287091186,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0203_轴承/020399_通用轴承/标准_bearing cap.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.734051799480231,
"volume": 9.410920506156808e-05,
"surface_area": 0.02106322979115505,
"center_of_mass": [
1.1518527462621707e-07,
0.01775406232351585,
1.8074422244578182e-08
],
"principal_moments": [
0.0002332964717718635,
0.0008928007485930217,
0.0009324542840501865
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.06,
0.0,
-0.025,
0.06,
0.04800000000000003,
0.025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1",
"component": null,
"geometry": {
"box": [
-0.06,
0.0,
-0.025,
0.06,
0.04800000000000003,
0.025
],
"face_count": 31,
"edge_count": 68,
"vertex_count": 36
},
"stable_id": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 38,
"surface_counts": {
"cone": 2,
"cylinder": 18,
"plane": 12,
"torus": 6
},
"axis_count": 20,
"repeat_spacings_mm": [
{
"spacing_mm": 77.0276,
"pair_count": 4
},
{
"spacing_mm": 106.3038,
"pair_count": 4
},
{
"spacing_mm": 21.691,
"pair_count": 4
},
{
"spacing_mm": 71.225,
"pair_count": 4
},
{
"spacing_mm": 52.6735,
"pair_count": 4
},
{
"spacing_mm": 116.6383,
"pair_count": 4
},
{
"spacing_mm": 114.0,
"pair_count": 3
},
{
"spacing_mm": 67.5296,
"pair_count": 2
},
{
"spacing_mm": 47.5,
"pair_count": 2
},
{
"spacing_mm": 71.0721,
"pair_count": 2
},
{
"spacing_mm": 95.0,
"pair_count": 2
},
{
"spacing_mm": 60.8276,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-60.0000001,
-1e-07,
-25.0000001,
60.0000001,
48.0000001,
25.0000001
],
"volume_mm3": 94108.076621474,
"surface_area_mm2": 21063.042759636,
"solid_count": 1,
"face_count": 38,
"edge_count": 94,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-60.0,
0.0,
-25.0,
60.0,
48.0,
25.0
],
"volume_mm3": 94109.205061568,
"surface_area_mm2": 21063.229791155,
"solid_count": 1,
"face_count": 31,
"edge_count": 68,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 94109.205061568,
"actual": 94108.076621474,
"absolute_delta": 1.1284400940057822,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 21063.229791155,
"actual": 21063.042759636,
"absolute_delta": 0.18703151900263038,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-60.0,
0.0,
-25.0,
60.0,
48.0,
25.0
],
"actual": [
-60.0000001,
-1e-07,
-25.0000001,
60.0000001,
48.0000001,
25.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 38,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 94,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}