Files
cdsl-cad/json_to_cdsl/output/1016Z_e-crou-M8-a-embase.cdsl.json
T
2026-08-24 14:52:08 +08:00

831 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "1016Z_e-crou-M8-a-embase",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-5.9,
-3.406366588
],
"end": [
0.0,
-6.812733176
]
},
{
"type": "line",
"start": [
0.0,
-6.812733176
],
"end": [
5.9,
-3.406366588
]
},
{
"type": "line",
"start": [
5.9,
-3.406366588
],
"end": [
5.9,
3.406366588
]
},
{
"type": "line",
"start": [
5.9,
3.406366588
],
"end": [
-0.0,
6.812733176
]
},
{
"type": "line",
"start": [
-0.0,
6.812733176
],
"end": [
-5.9,
3.406366588
]
},
{
"type": "line",
"start": [
-5.9,
3.406366588
],
"end": [
-5.9,
-3.406366588
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.9
}
]
}
},
{
"id": "sk_003",
"name": "Esquisse2",
"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": [
-1.0,
8.4
],
"end": [
-2.5,
5.801923789
]
},
{
"type": "line",
"start": [
-2.5,
5.801923789
],
"end": [
-2.5,
-0.0
]
},
{
"type": "line",
"start": [
-2.5,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
8.4
]
},
{
"type": "line",
"start": [
0.0,
8.4
],
"end": [
-1.0,
8.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-9.182563056,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Esquisse3",
"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": [
-6.9,
6.812733176
],
"end": [
-6.9,
5.946707773
]
},
{
"type": "line",
"start": [
-6.9,
5.946707773
],
"end": [
-6.4,
6.812733176
]
},
{
"type": "line",
"start": [
-6.4,
6.812733176
],
"end": [
-6.9,
6.812733176
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-8.805383838,
0.0
]
}
]
}
}
]
},
"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": "Boss.-Extru.1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 6.9,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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
],
"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_003"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Trou taraudé M81",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Trous taraudés",
"diameter_mm": 8.0,
"depth_mm": 6.9,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 6.9,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-daef09d3f9c4f249b97b51ff",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-8.4,
-8.4,
0.0,
8.4,
8.4,
0.0
],
"center_mm": [
-0.0,
0.0,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-daef09d3f9c4f249b97b51ff",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-8.4,
-8.4,
0.0,
8.4,
8.4,
0.0
],
"center_mm": [
-0.0,
0.0,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_005",
"name": "Révolution1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"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_003",
"selectors": [
{
"kind": "axis",
"stable_id": "40eaca46951dc267ad5974ba95d722fb5624870292baff3ff1bc2d1df42131d8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.0091825630555357,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "Enlèvement de matière-Révolution1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "dd3628f485420e9cccea7ef15b32e7d7e6f57e3972e1dba297816a9266803f73",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.008805383837671491,
0.0,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/1016Z_écrou M8 à embase.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.005720719361995956,
"volume": 7.429505664929813e-07,
"surface_area": 0.0007711529056930217,
"center_of_mass": [
4.5243134724525665e-09,
-9.354608528471595e-11,
0.0028730559707634768
],
"principal_moments": [
1.1337072612069211e-07,
1.1337084607373005e-07,
1.7759789965406778e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008400000000000001,
-0.008400000000000001,
0.0,
0.008400000000000001,
0.008400000000000001,
0.006900000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Trou taraudé M81",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.008400000000000001,
-0.008400000000000001,
0.0,
0.008400000000000001,
0.008400000000000001,
0.006900000000000002
],
"face_count": 17,
"edge_count": 40,
"vertex_count": 24
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 8,
"cylinder": 4,
"plane": 8
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.4000001,
-8.4000001,
0.0,
8.4000001,
8.4000001,
6.9000001
],
"volume_mm3": 742.960399842,
"surface_area_mm2": 771.155309031,
"solid_count": 1,
"face_count": 20,
"edge_count": 52,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.4,
-8.4,
0.0,
8.4,
8.4,
6.9
],
"volume_mm3": 742.950566493,
"surface_area_mm2": 771.152905693,
"solid_count": 1,
"face_count": 17,
"edge_count": 40,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 742.950566493,
"actual": 742.960399842,
"absolute_delta": 0.009833349000018643,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 771.152905693,
"actual": 771.155309031,
"absolute_delta": 0.002403338000021904,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.4,
-8.4,
0.0,
8.4,
8.4,
6.9
],
"actual": [
-8.4000001,
-8.4000001,
0.0,
8.4000001,
8.4000001,
6.9000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 52,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}