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

1494 lines
33 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_Spur-Gear_ISO1",
"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": "HoldingSke",
"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": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.153444105,
-0.035425363
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-2.10388449,
2.377876164
]
},
{
"type": "line",
"start": [
-2.10388449,
2.377876164
],
"end": [
3.363457304,
27.182528033
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-11.863037537,
4.53413061
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
8.44728268,
1.795525362
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-23.79860246,
-8.876177157
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-10.527828547,
-7.103156065
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-76.2,
54.61
],
"end": [
-73.66,
54.61
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-71.008970075,
38.756610187
],
"end": [
-53.107825649,
45.272093917
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-76.2,
71.12
],
"end": [
104.112849271,
71.12
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-12.7,
-0.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-76.2,
101.6
],
"end": [
-75.9714,
101.6
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
24.973311374,
27.94
],
"end": [
52.951835953,
28.428366963
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
24.973311374,
27.94
],
"end": [
24.974581361,
27.939994459
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
24.973311374,
27.94
],
"end": [
100.400642757,
29.585830226
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-63.627,
-6.35
],
"end": [
-12.827,
-6.35
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 9.525
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.7
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.7
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 9.525
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-15.0,
0.0
],
"end": [
100.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "BasProSke",
"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": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
44.45
]
},
{
"type": "line",
"start": [
0.0,
44.45
],
"end": [
12.7,
44.45
]
},
{
"type": "line",
"start": [
12.7,
44.45
],
"end": [
12.7,
0.0
]
},
{
"type": "line",
"start": [
12.7,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-10.0,
0.0
],
"end": [
60.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "TooCutSke",
"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": [
3.552242783,
29.951316604
],
"end": [
-3.552242783,
29.951316604
],
"center": [
0.0,
0.0
],
"radius_mm": 30.16123,
"clockwise": false
},
{
"type": "arc",
"start": [
-3.552242783,
29.951316604
],
"end": [
-10.439744342,
43.232776261
],
"center": [
-18.783087453,
30.479493322
],
"radius_mm": 15.24,
"clockwise": false
},
{
"type": "arc",
"start": [
-10.439744342,
43.232776261
],
"end": [
10.439744342,
43.232776261
],
"center": [
0.0,
0.0
],
"radius_mm": 44.4754,
"clockwise": false
},
{
"type": "arc",
"start": [
10.439744342,
43.232776261
],
"end": [
3.552242783,
29.951316604
],
"center": [
18.783087453,
30.479493322
],
"radius_mm": 15.24,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 38.1
},
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 35.802288857
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
107.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-5.372540908,
37.719302806
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-19.579435402,
73.071447704
]
},
{
"type": "line",
"start": [
-5.372540908,
37.719302806
],
"end": [
-9.789717701,
36.535723852
]
}
]
}
},
{
"id": "sk_005",
"name": "HubNeaOneSke",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.7
}
},
{
"id": "sk_006",
"name": "HubNeaBotSke",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.7
}
},
{
"id": "sk_007",
"name": "HubFarSke",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.7
}
},
{
"id": "sk_008",
"name": "BorSke",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 9.525
}
},
{
"id": "sk_009",
"name": "KeySke",
"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": [
-3.175,
0.0
],
"end": [
-3.175,
12.065
]
},
{
"type": "line",
"start": [
-3.175,
12.065
],
"end": [
3.175,
12.065
]
},
{
"type": "line",
"start": [
3.175,
12.065
],
"end": [
3.175,
0.0
]
},
{
"type": "line",
"start": [
3.175,
0.0
],
"end": [
-3.175,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
34.0
]
}
]
}
}
]
},
"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,
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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_002"
},
"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_004"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Base-Revolve",
"atomic_id": "revolve_add",
"depends_on": [
"f_002"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-10.0,
0.0,
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": "e6c34a95a7418707ad9f957cae0bc7ef29198e6a4a426f645f304d3fced54bf9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.01,
0.0,
0.0
],
"end": [
0.060000000000000005,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "ToothCut",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "HubNearOne",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.7000508,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "HubNearBoth",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.3500254,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "FarPln",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"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": 12.7,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
],
"derived_from_sketch_id": "sk_007"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_012",
"name": "Bore",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 50.8001016,
"reverse": true,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_013",
"name": "Keyway",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 50.8001016,
"reverse": true,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_009",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "Breaks",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 0.127,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "RootFillets",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 1.58877,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "HubFar",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_010"
],
"params": {
"distance_mm": 6.3500254,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0201_齿轮/020101_直齿轮/标准_Spur Gear_ISO1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.050526421394675815,
"volume": 5.052642139467582e-05,
"surface_area": 0.014902181011091293,
"center_of_mass": [
0.00635,
-4.215761097864477e-17,
9.529492253376803e-18
],
"principal_moments": [
2.082703079290491e-05,
2.082703079290491e-05,
4.0295827168018596e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.04321367323294582,
-0.04321367323294586,
0.0127,
0.043213673232945754,
0.04321367323294579
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Bore",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
0.0,
-0.04321367323294582,
-0.04321367323294586,
0.0127,
0.043213673232945754,
0.04321367323294579
],
"face_count": 51,
"edge_count": 146,
"vertex_count": 96
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cylinder": 55,
"plane": 2
},
"axis_count": 55,
"repeat_spacings_mm": [
{
"spacing_mm": 35.8023,
"pair_count": 48
},
{
"spacing_mm": 37.9881,
"pair_count": 24
},
{
"spacing_mm": 18.5326,
"pair_count": 24
},
{
"spacing_mm": 42.3921,
"pair_count": 24
},
{
"spacing_mm": 69.1647,
"pair_count": 24
},
{
"spacing_mm": 62.0114,
"pair_count": 24
},
{
"spacing_mm": 50.6321,
"pair_count": 24
},
{
"spacing_mm": 68.6047,
"pair_count": 12
},
{
"spacing_mm": 60.959,
"pair_count": 12
},
{
"spacing_mm": 71.6046,
"pair_count": 12
},
{
"spacing_mm": 71.5751,
"pair_count": 12
},
{
"spacing_mm": 69.6678,
"pair_count": 12
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-43.213673233,
-43.213673233,
12.7,
43.213673233,
43.213673233
],
"volume_mm3": 50526.421394934,
"surface_area_mm2": 14902.181011147,
"solid_count": 1,
"face_count": 57,
"edge_count": 165,
"vertex_count": 110
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-43.213673233,
-43.213673233,
12.7,
43.213673233,
43.213673233
],
"volume_mm3": 50526.421394676,
"surface_area_mm2": 14902.181011091,
"solid_count": 1,
"face_count": 51,
"edge_count": 146,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 50526.421394676,
"actual": 50526.421394934,
"absolute_delta": 2.579981810413301e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 14902.181011091,
"actual": 14902.181011147,
"absolute_delta": 5.6001226766966283e-08,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-43.213673233,
-43.213673233,
12.7,
43.213673233,
43.213673233
],
"actual": [
0.0,
-43.213673233,
-43.213673233,
12.7,
43.213673233,
43.213673233
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 51,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 146,
"actual": 165,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 110,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}