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

1280 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Gear-Sprocket",
"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": [
24.148145657,
0.0
],
"end": [
20.912907593,
12.074072829
]
},
{
"type": "line",
"start": [
20.912907593,
12.074072829
],
"end": [
12.074072829,
20.912907593
]
},
{
"type": "line",
"start": [
12.074072829,
20.912907593
],
"end": [
0.0,
24.148145657
]
},
{
"type": "line",
"start": [
0.0,
24.148145657
],
"end": [
-12.074072829,
20.912907593
]
},
{
"type": "line",
"start": [
-12.074072829,
20.912907593
],
"end": [
-20.912907593,
12.074072829
]
},
{
"type": "line",
"start": [
-20.912907593,
12.074072829
],
"end": [
-24.148145657,
0.0
]
},
{
"type": "line",
"start": [
-24.148145657,
0.0
],
"end": [
-20.912907593,
-12.074072829
]
},
{
"type": "line",
"start": [
-20.912907593,
-12.074072829
],
"end": [
-12.074072829,
-20.912907593
]
},
{
"type": "line",
"start": [
-12.074072829,
-20.912907593
],
"end": [
-0.0,
-24.148145657
]
},
{
"type": "line",
"start": [
-0.0,
-24.148145657
],
"end": [
12.074072829,
-20.912907593
]
},
{
"type": "line",
"start": [
12.074072829,
-20.912907593
],
"end": [
20.912907593,
-12.074072829
]
},
{
"type": "line",
"start": [
20.912907593,
-12.074072829
],
"end": [
24.148145657,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 23.325317547
}
]
}
},
{
"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": [
-17.907703773,
15.079276649
],
"end": [
-15.963160125,
11.720519438
],
"center": [
10.494418604,
29.280337837
],
"radius_mm": 31.754538171,
"clockwise": false
},
{
"type": "line",
"start": [
-15.963160125,
11.720519438
],
"end": [
-11.720519438,
15.963160125
]
},
{
"type": "arc",
"start": [
-11.720519438,
15.963160125
],
"end": [
-15.079276649,
17.907703773
],
"center": [
-29.280337837,
-10.494418604
],
"radius_mm": 31.754538171,
"clockwise": true
},
{
"type": "line",
"start": [
-15.079276649,
17.907703773
],
"end": [
-17.907703773,
19.321917336
]
},
{
"type": "line",
"start": [
-17.907703773,
19.321917336
],
"end": [
-18.614810555,
18.614810555
]
},
{
"type": "line",
"start": [
-18.614810555,
18.614810555
],
"end": [
-19.321917336,
17.907703773
]
},
{
"type": "line",
"start": [
-19.321917336,
17.907703773
],
"end": [
-17.907703773,
15.079276649
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 24.148145657
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-18.614810555,
18.614810555
]
}
]
}
},
{
"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": [
-19.321917336,
17.907703773
],
"end": [
-15.963160125,
11.720519438
],
"center": [
-54.582835136,
-5.239192157
],
"radius_mm": 42.179510611,
"clockwise": true
},
{
"type": "line",
"start": [
-15.963160125,
11.720519438
],
"end": [
-11.720519438,
15.963160125
]
},
{
"type": "arc",
"start": [
-11.720519438,
15.963160125
],
"end": [
-17.907703773,
19.321917336
],
"center": [
5.239192157,
54.582835136
],
"radius_mm": 42.179510611,
"clockwise": false
},
{
"type": "line",
"start": [
-17.907703773,
19.321917336
],
"end": [
-18.614810555,
18.614810555
]
},
{
"type": "line",
"start": [
-18.614810555,
18.614810555
],
"end": [
-19.321917336,
17.907703773
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-18.614810555,
18.614810555
],
"end": [
-13.84170373,
13.84170373
]
}
]
}
},
{
"id": "sk_005",
"name": "3DSketch1",
"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": [],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
-0.707106781,
0.707106781
],
"y_dir": [
0.5,
0.5,
-0.707106781
],
"normal": [
0.281084637,
0.678598345,
0.678598345
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
3.5,
19.575317547
],
"end": [
3.5,
27.458762259
]
},
{
"type": "line",
"start": [
3.5,
27.458762259
],
"end": [
1.5,
27.458762259
]
},
{
"type": "line",
"start": [
1.5,
27.458762259
],
"end": [
2.5,
19.575317547
]
},
{
"type": "line",
"start": [
2.5,
19.575317547
],
"end": [
3.5,
19.575317547
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-1.5,
27.458762259
],
"end": [
-2.5,
19.575317547
]
},
{
"type": "line",
"start": [
-2.5,
19.575317547
],
"end": [
-3.5,
19.575317547
]
},
{
"type": "line",
"start": [
-3.5,
19.575317547
],
"end": [
-3.5,
27.458762259
]
},
{
"type": "line",
"start": [
-3.5,
27.458762259
],
"end": [
-1.5,
27.458762259
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
26.913699664
],
"end": [
0.0,
17.711760567
]
}
]
}
},
{
"id": "sk_007",
"name": "3DSketch2",
"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": [],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_008",
"name": "Sketch5",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 10.0,
"outer_radius_mm": 19.803864701
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 7.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"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": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
-0.707106781,
0.707106781
],
"y_dir": [
0.5,
0.5,
-0.707106781
],
"normal": [
0.281084637,
0.678598345,
0.678598345
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "7de22f13fba3df5b9cb2023ab65c5c0ba4d528d171cbb9b29f6c760c754ad828",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "feature",
"stable_id": "293cdbe42e81f14e7f04d7f53d89e4edf2fc557dfe1361d9b68a5e2305237f1b",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "axis",
"stable_id": "9c0b16ac581206194dd91ae0dd933535e75a28546089156f49ec194bb0cf8377",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.0,
-0.004223907644296185
]
}
},
{
"kind": "axis",
"stable_id": "e25f845ea1ad396c3bf25b9af48a3448dbe08b8b2434cbda2864e2effe0c17bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.018614810554588922,
0.01861481055458893,
0.0
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "feature",
"stable_id": "7de22f13fba3df5b9cb2023ab65c5c0ba4d528d171cbb9b29f6c760c754ad828",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "feature",
"stable_id": "293cdbe42e81f14e7f04d7f53d89e4edf2fc557dfe1361d9b68a5e2305237f1b",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "axis",
"stable_id": "9c0b16ac581206194dd91ae0dd933535e75a28546089156f49ec194bb0cf8377",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.0,
-0.004223907644296185
]
}
},
{
"kind": "axis",
"stable_id": "e25f845ea1ad396c3bf25b9af48a3448dbe08b8b2434cbda2864e2effe0c17bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.018614810554588922,
0.01861481055458893,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_006",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 7.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0205_带轮链轮/020504_链轮/Gear Sprocket.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.006742251043542908,
"volume": 6.7422510435429085e-06,
"surface_area": 0.0039060199213987123,
"center_of_mass": [
2.880639078494546e-18,
3.682202637500857e-18,
-8.319267887278982e-14
],
"principal_moments": [
1.0065094968748221e-06,
1.0065094968748221e-06,
1.976490011403442e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025687123149305754,
-0.025687123149305734,
-0.003,
0.02568712314930572,
0.025687123149305692,
0.003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAByAAAA",
"persist_reference_sha256": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec",
"component": null,
"geometry": {
"box": [
-0.025687123149305754,
-0.025687123149305734,
-0.003,
0.02568712314930572,
0.025687123149305692,
0.003
],
"face_count": 101,
"edge_count": 196,
"vertex_count": 96
},
"stable_id": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 105,
"surface_counts": {
"cone": 4,
"cylinder": 63,
"plane": 38
},
"axis_count": 67,
"repeat_spacings_mm": [
{
"spacing_mm": 54.836,
"pair_count": 24
},
{
"spacing_mm": 55.161,
"pair_count": 24
},
{
"spacing_mm": 28.384,
"pair_count": 24
},
{
"spacing_mm": 54.8337,
"pair_count": 24
},
{
"spacing_mm": 77.5466,
"pair_count": 24
},
{
"spacing_mm": 94.9748,
"pair_count": 24
},
{
"spacing_mm": 105.9306,
"pair_count": 24
},
{
"spacing_mm": 84.6011,
"pair_count": 12
},
{
"spacing_mm": 99.7794,
"pair_count": 12
},
{
"spacing_mm": 108.1579,
"pair_count": 12
},
{
"spacing_mm": 109.1657,
"pair_count": 12
},
{
"spacing_mm": 102.7339,
"pair_count": 12
}
],
"metrics": {
"bounding_box_mm": [
-25.687123249,
-25.687123249,
-3.0,
25.687123249,
25.687123249,
3.0
],
"volume_mm3": 6742.251048676,
"surface_area_mm2": 3906.019908082,
"solid_count": 1,
"face_count": 105,
"edge_count": 211,
"vertex_count": 108
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.687123149,
-25.687123149,
-3.0,
25.687123149,
25.687123149,
3.0
],
"volume_mm3": 6742.251043543,
"surface_area_mm2": 3906.019921399,
"solid_count": 1,
"face_count": 101,
"edge_count": 196,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 6742.251043543,
"actual": 6742.251048676,
"absolute_delta": 5.13299983140314e-06,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3906.019921399,
"actual": 3906.019908082,
"absolute_delta": 1.3317000139068114e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.687123149,
-25.687123149,
-3.0,
25.687123149,
25.687123149,
3.0
],
"actual": [
-25.687123249,
-25.687123249,
-3.0,
25.687123249,
25.687123249,
3.0
],
"max_absolute_delta": 9.999999761589606e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 101,
"actual": 105,
"matches": false
},
"edge_count": {
"expected": 196,
"actual": 211,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 108,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}