Files
cdsl-cad/json_to_cdsl/output/1016Z_pignon-Z9-1_2p.cdsl.json
T
2026-08-24 14:52:08 +08:00

1122 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "1016Z_pignon-Z9-1_2p",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origine",
"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": "Esquisse1",
"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": [
-5.8,
20.4
],
"end": [
-6.6,
17.5
]
},
{
"type": "line",
"start": [
-6.6,
17.5
],
"end": [
-6.6,
10.5
]
},
{
"type": "line",
"start": [
-6.6,
10.5
],
"end": [
-9.0,
10.5
]
},
{
"type": "line",
"start": [
-9.0,
10.5
],
"end": [
-9.0,
5.5
]
},
{
"type": "line",
"start": [
-9.0,
5.5
],
"end": [
0.0,
5.5
]
},
{
"type": "line",
"start": [
0.0,
5.5
],
"end": [
0.0,
10.5
]
},
{
"type": "line",
"start": [
0.0,
10.5
],
"end": [
-3.7,
10.5
]
},
{
"type": "line",
"start": [
-3.7,
10.5
],
"end": [
-3.7,
17.5
]
},
{
"type": "line",
"start": [
-3.7,
17.5
],
"end": [
-4.5,
20.4
]
},
{
"type": "line",
"start": [
-4.5,
20.4
],
"end": [
-5.8,
20.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-12.884892086,
0.0
]
},
{
"type": "line",
"start": [
-5.15,
20.4
],
"end": [
-5.15,
15.177704754
]
}
]
}
},
{
"id": "sk_003",
"name": "Esquisse2",
"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": [
-2.0,
7.3
],
"end": [
2.0,
7.3
]
},
{
"type": "line",
"start": [
2.0,
7.3
],
"end": [
2.0,
0.0
]
},
{
"type": "line",
"start": [
2.0,
0.0
],
"end": [
-2.0,
0.0
]
},
{
"type": "line",
"start": [
-2.0,
0.0
],
"end": [
-2.0,
7.3
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Esquisse3",
"role": "profile",
"workplane": {
"origin_mm": [
5.15,
-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": [
-0.0,
18.566157941
],
"end": [
-11.934096284,
14.222502121
]
},
{
"type": "line",
"start": [
-11.934096284,
14.222502121
],
"end": [
-18.284096284,
3.223979493
]
},
{
"type": "line",
"start": [
-18.284096284,
3.223979493
],
"end": [
-16.078764428,
-9.283078971
]
},
{
"type": "line",
"start": [
-16.078764428,
-9.283078971
],
"end": [
-6.35,
-17.446481614
]
},
{
"type": "line",
"start": [
-6.35,
-17.446481614
],
"end": [
6.35,
-17.446481614
]
},
{
"type": "line",
"start": [
6.35,
-17.446481614
],
"end": [
16.078764428,
-9.283078971
]
},
{
"type": "line",
"start": [
16.078764428,
-9.283078971
],
"end": [
18.284096284,
3.223979493
]
},
{
"type": "line",
"start": [
18.284096284,
3.223979493
],
"end": [
11.934096284,
14.222502121
]
},
{
"type": "line",
"start": [
11.934096284,
14.222502121
],
"end": [
-0.0,
18.566157941
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 18.566157941
}
]
}
},
{
"id": "sk_005",
"name": "Esquisse4",
"role": "profile",
"workplane": {
"origin_mm": [
5.15,
-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": [
-3.488153141,
16.878433832
],
"end": [
3.488153141,
16.878433832
],
"center": [
-0.0,
18.566157941
],
"radius_mm": 3.875,
"clockwise": false
},
{
"type": "arc",
"start": [
3.488153141,
16.878433832
],
"end": [
5.645191484,
19.603362291
],
"center": [
10.68950156,
13.394100189
],
"radius_mm": 8.0,
"clockwise": true
},
{
"type": "arc",
"start": [
5.645191484,
19.603362291
],
"end": [
-5.645191484,
19.603362291
],
"center": [
0.0,
0.0
],
"radius_mm": 20.4,
"clockwise": true
},
{
"type": "arc",
"start": [
-5.645191484,
19.603362291
],
"end": [
-3.488153141,
16.878433832
],
"center": [
-10.68950156,
13.394100189
],
"radius_mm": 8.0,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
-11.934096284,
14.222502121
],
"radius_mm": 3.875
},
{
"type": "circle",
"center": [
11.934096284,
14.222502121
],
"radius_mm": 3.875
},
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 14.691157941
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.0,
18.566157941
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-10.550292872,
28.986691433
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plan de face",
"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": "Plan de dessus",
"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_004",
"name": "Axe pignon",
"atomic_id": "reference_axis",
"depends_on": [
"f_001"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_006",
"name": "Plan milieu denture",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
5.15,
-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": 6,
"references": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
},
{
"kind": "feature",
"stable_id": "b5a93fd003c41bc2dc2b760369f1ed87638e8c12100341da37ffa2938e6d6452",
"source": "solidworks",
"confidence": 1.0
}
],
"derived_from_sketch_id": "sk_004"
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
},
{
"kind": "feature",
"stable_id": "b5a93fd003c41bc2dc2b760369f1ed87638e8c12100341da37ffa2938e6d6452",
"source": "solidworks",
"confidence": 1.0
}
]
},
{
"id": "f_003",
"name": "Plan de droite",
"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": "Révolution1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "3e938b556cea30cb6fbba95a2008393b1dc64eb904ccf88d61f7d0973150580d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.01288489208633094,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Enlèv. mat.-Extru.1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "Enlèv. mat.-Extru.2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0201_齿轮/020199_通用齿轮/1016Z_pignon Z9 1_2p.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.029510460168055738,
"volume": 3.8325272945526935e-06,
"surface_area": 0.0028264980906841696,
"center_of_mass": [
-6.329448539948083e-18,
-0.00011447277503563963,
0.004778117512306749
],
"principal_moments": [
2.0687537299189047e-06,
2.089960051135908e-06,
3.907906338561713e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.020285820382983925,
-0.0204,
0.0,
0.020285820382983953,
0.019603362290927004,
0.009
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Répétition circulaire1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.020285820382983925,
-0.020399999999999998,
0.0,
0.020285820382983953,
0.019603362290927004,
0.009
],
"face_count": 64,
"edge_count": 178,
"vertex_count": 116
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 72,
"surface_counts": {
"cone": 18,
"cylinder": 47,
"plane": 7
},
"axis_count": 65,
"repeat_spacings_mm": [
{
"spacing_mm": 31.1444,
"pair_count": 18
},
{
"spacing_mm": 23.3088,
"pair_count": 18
},
{
"spacing_mm": 12.6929,
"pair_count": 18
},
{
"spacing_mm": 17.1367,
"pair_count": 18
},
{
"spacing_mm": 18.0916,
"pair_count": 18
},
{
"spacing_mm": 17.5316,
"pair_count": 18
},
{
"spacing_mm": 11.7222,
"pair_count": 18
},
{
"spacing_mm": 1.4951,
"pair_count": 18
},
{
"spacing_mm": 22.0305,
"pair_count": 18
},
{
"spacing_mm": 29.6817,
"pair_count": 18
},
{
"spacing_mm": 33.7528,
"pair_count": 18
},
{
"spacing_mm": 35.2347,
"pair_count": 18
}
],
"metrics": {
"bounding_box_mm": [
-20.285820483,
-20.4000001,
0.0,
20.285820483,
19.603362391,
9.0
],
"volume_mm3": 3832.540505285,
"surface_area_mm2": 2826.50447534,
"solid_count": 1,
"face_count": 72,
"edge_count": 204,
"vertex_count": 136
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.285820383,
-20.4,
0.0,
20.285820383,
19.603362291,
9.0
],
"volume_mm3": 3832.527294553,
"surface_area_mm2": 2826.498090684,
"solid_count": 1,
"face_count": 64,
"edge_count": 178,
"vertex_count": 116
},
"comparisons": {
"volume_mm3": {
"expected": 3832.527294553,
"actual": 3832.540505285,
"absolute_delta": 0.013210732000061398,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2826.498090684,
"actual": 2826.50447534,
"absolute_delta": 0.0063846560001366015,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.285820383,
-20.4,
0.0,
20.285820383,
19.603362291,
9.0
],
"actual": [
-20.285820483,
-20.4000001,
0.0,
20.285820483,
19.603362391,
9.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 64,
"actual": 72,
"matches": false
},
"edge_count": {
"expected": 178,
"actual": 204,
"matches": false
},
"vertex_count": {
"expected": 116,
"actual": 136,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}