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

528 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "axe",
"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": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.0
}
},
{
"id": "sk_003",
"name": "Esquisse2",
"role": "profile",
"workplane": {
"origin_mm": [
110.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.0
}
},
{
"id": "sk_004",
"name": "Esquisse3",
"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": [
-4.0,
-110.25
],
"end": [
-4.0,
-109.75
]
},
{
"type": "line",
"start": [
-4.0,
-109.75
],
"end": [
-3.566987298,
-110.0
]
},
{
"type": "line",
"start": [
-3.566987298,
-110.0
],
"end": [
-4.0,
-110.25
]
}
]
}
]
}
}
]
},
"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,
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_004"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Boss.-Extru.1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 220.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"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
],
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Congé1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.15,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Congé2",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.05,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Symétrie2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_001",
"f_006",
"f_005"
],
"params": {
"source_feature_ids": [
"f_006",
"f_005"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured",
"mirror plane is missing",
"mirror source features/faces are missing"
]
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020299_通用轴/axe.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.010990143571298223,
"volume": 1.0990143571298223e-05,
"surface_area": 0.0058146887754226585,
"center_of_mass": [
6.664285263688802e-08,
4.682266678743264e-08,
-5.5506383876220785e-09
],
"principal_moments": [
8.743633849226313e-08,
4.3928274155112346e-05,
4.3928274155112346e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.004199613149376367,
-0.00419919483010493,
-0.11027907991482933,
0.004199529824915661,
0.00419950153283509,
0.1102784592683004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Symétrie2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "2ffcbb18b5b8c930c055b6557fff64640c4c121a7bb76e62e3b296ccd2b9d900",
"component": null,
"geometry": {
"box": [
-0.004199613149376367,
-0.00419919483010493,
-0.11027907991482933,
0.004199529824915661,
0.00419950153283509,
0.1102784592683004
],
"face_count": 15,
"edge_count": 36,
"vertex_count": 24
},
"stable_id": "2ffcbb18b5b8c930c055b6557fff64640c4c121a7bb76e62e3b296ccd2b9d900"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 76,
"surface_counts": {
"bspline": 10,
"cylinder": 62,
"plane": 4
},
"axis_count": 62,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-4.000039305,
-4.000039825,
-110.259648741,
4.0000001,
4.000101789,
110.259648741
],
"volume_mm3": 10983.44190965,
"surface_area_mm2": 5801.284221572,
"solid_count": 1,
"face_count": 76,
"edge_count": 218,
"vertex_count": 144
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.199613149,
-4.19919483,
-110.279079915,
4.199529825,
4.199501533,
110.278459268
],
"volume_mm3": 10990.143571298,
"surface_area_mm2": 5814.688775423,
"solid_count": 1,
"face_count": 15,
"edge_count": 36,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 10990.143571298,
"actual": 10983.44190965,
"absolute_delta": 6.701661647999572,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 5814.688775423,
"actual": 5801.284221572,
"absolute_delta": 13.404553850999946,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-4.199613149,
-4.19919483,
-110.279079915,
4.199529825,
4.199501533,
110.278459268
],
"actual": [
-4.000039305,
-4.000039825,
-110.259648741,
4.0000001,
4.000101789,
110.259648741
],
"max_absolute_delta": 0.19957384400000056,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 76,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 218,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 144,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}