Files
cdsl-cad/json_to_cdsl/output/1016Z_vis-M4b.cdsl.json
2026-08-24 14:52:08 +08:00

723 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "1016Z_vis-M4b",
"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": [
0.0,
0.0
],
"end": [
0.0,
4.0
]
},
{
"type": "line",
"start": [
0.0,
4.0
],
"end": [
0.45,
4.0
]
},
{
"type": "line",
"start": [
0.45,
4.0
],
"end": [
2.7,
1.75
]
},
{
"type": "line",
"start": [
2.7,
1.75
],
"end": [
43.2,
1.75
]
},
{
"type": "line",
"start": [
43.2,
1.75
],
"end": [
43.2,
2.0
]
},
{
"type": "line",
"start": [
43.2,
2.0
],
"end": [
72.8,
2.0
]
},
{
"type": "line",
"start": [
72.8,
2.0
],
"end": [
73.2,
1.6
]
},
{
"type": "line",
"start": [
73.2,
1.6
],
"end": [
73.2,
0.0
]
},
{
"type": "line",
"start": [
73.2,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
157.095819996,
0.0
]
}
]
}
},
{
"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": [
0.0,
0.0
],
"end": [
-0.0,
2.5
]
},
{
"type": "line",
"start": [
-0.0,
2.5
],
"end": [
0.5,
2.0
]
},
{
"type": "line",
"start": [
0.5,
2.0
],
"end": [
2.5,
1.002836784
]
},
{
"type": "line",
"start": [
2.5,
1.002836784
],
"end": [
2.5,
0.0
]
},
{
"type": "line",
"start": [
2.5,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
3.606119856,
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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.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,
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": "Révolution1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"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.15709581999575273,
0.0,
0.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
],
"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": "Enlèv. mat.-Extru.1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 1.4,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "Enlèv. mat.-Extru.2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "c4f3cf66723e562e75107c34fb69e14fad6b860bf6c2e930f99e8e30fa32b1de",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.0025,
0.0010028367838931284,
-0.0007
]
},
"box": [
0.0025,
-0.0010028367838931284,
-0.0010028367838931308,
0.0025,
0.0010028367838931284,
0.0010028367838931357
],
"area": 3.6558859898015184e-06
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/1016Z_vis M4b.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00639627774412739,
"volume": 8.306854213152454e-07,
"surface_area": 0.0009797558060050597,
"center_of_mass": [
0.037173610285413154,
3.2082290907534505e-20,
6.184219644490673e-20
],
"principal_moments": [
1.3988898909777824e-08,
3.170997308857776e-06,
3.170997308857776e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-3.061616997868383e-19,
-0.004,
-0.004,
0.0732,
0.004,
0.004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Enlèv. mat.-Extru.2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-3.061616997868383e-19,
-0.004,
-0.004,
0.0732,
0.004,
0.004
],
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 4,
"cylinder": 8,
"plane": 20
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-4.0,
-4.0,
73.2,
4.0,
4.0
],
"volume_mm3": 830.684214477,
"surface_area_mm2": 979.755559024,
"solid_count": 1,
"face_count": 32,
"edge_count": 78,
"vertex_count": 50
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-4.0,
-4.0,
73.2,
4.0,
4.0
],
"volume_mm3": 830.685421315,
"surface_area_mm2": 979.755806005,
"solid_count": 1,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 830.685421315,
"actual": 830.684214477,
"absolute_delta": 0.001206838000030075,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 979.755806005,
"actual": 979.755559024,
"absolute_delta": 0.0002469809999183781,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-4.0,
-4.0,
73.2,
4.0,
4.0
],
"actual": [
-1e-07,
-4.0,
-4.0,
73.2,
4.0,
4.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 78,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 50,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}