743 lines
16 KiB
JSON
743 lines
16 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "M12-90414ccee0",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "原点",
|
|
"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": "草图1",
|
|
"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": [
|
|
8.673244419,
|
|
-5.0075
|
|
],
|
|
"end": [
|
|
8.673244419,
|
|
5.0075
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.673244419,
|
|
5.0075
|
|
],
|
|
"end": [
|
|
-0.0,
|
|
10.015
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.0,
|
|
10.015
|
|
],
|
|
"end": [
|
|
-8.673244419,
|
|
5.0075
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.673244419,
|
|
5.0075
|
|
],
|
|
"end": [
|
|
-8.673244419,
|
|
-5.0075
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.673244419,
|
|
-5.0075
|
|
],
|
|
"end": [
|
|
-0.0,
|
|
-10.015
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.0,
|
|
-10.015
|
|
],
|
|
"end": [
|
|
8.673244419,
|
|
-5.0075
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 8.673244419
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图4",
|
|
"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": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 8.673244419
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图3",
|
|
"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": "inner",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.673244419,
|
|
0.0
|
|
],
|
|
"end": [
|
|
10.015,
|
|
-0.774662946
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.015,
|
|
-0.774662946
|
|
],
|
|
"end": [
|
|
10.015,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.015,
|
|
0.0
|
|
],
|
|
"end": [
|
|
8.673244419,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.015,
|
|
-10.8
|
|
],
|
|
"end": [
|
|
8.673244419,
|
|
-10.8
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.673244419,
|
|
-10.8
|
|
],
|
|
"end": [
|
|
10.015,
|
|
-10.025337054
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.015,
|
|
-10.025337054
|
|
],
|
|
"end": [
|
|
10.015,
|
|
-10.8
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-10.015,
|
|
-5.4
|
|
],
|
|
"end": [
|
|
10.015,
|
|
-5.4
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-10.8
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "前视",
|
|
"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": "上视",
|
|
"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_003",
|
|
"name": "右视",
|
|
"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_004",
|
|
"name": "凸台-拉伸1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_002"
|
|
],
|
|
"params": {
|
|
"distance_mm": 10.8,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "切除-旋转1",
|
|
"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": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_004",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "ef1dc1ba14e275fa0711c585a47863ca5ebccfbf7106071af245734cf156960e",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-0.0108,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M12 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 12.0,
|
|
"depth_mm": 10.8,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 12.0,
|
|
"depth_mm": 10.8,
|
|
"class": "2B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-2d30b55a8e6afe4198041430",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-8.673244419,
|
|
0.0,
|
|
-8.673244419,
|
|
8.673244419,
|
|
0.0,
|
|
8.673244419
|
|
],
|
|
"center_mm": [
|
|
0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-2d30b55a8e6afe4198041430",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-8.673244419,
|
|
0.0,
|
|
-8.673244419,
|
|
8.673244419,
|
|
0.0,
|
|
8.673244419
|
|
],
|
|
"center_mm": [
|
|
0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "01_紧固件/0103_螺母/010399_通用螺母/螺母(M12).solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "hybrid_semantic_surfaceir_pending",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.0019205152050856644,
|
|
"volume": 1.9205152050856643e-06,
|
|
"surface_area": 0.0013283719463002626,
|
|
"center_of_mass": [
|
|
-5.704668289133605e-19,
|
|
-0.0054,
|
|
2.6794782832843605e-09
|
|
],
|
|
"principal_moments": [
|
|
7.10466399123644e-08,
|
|
7.104686364970727e-08,
|
|
1.0515532519312135e-07
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.008673244418901153,
|
|
-0.0108,
|
|
-0.010015,
|
|
0.00867324441890115,
|
|
2.326828918379972e-19,
|
|
0.010015000000000003
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M12 螺纹孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
|
|
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.008673244418901153,
|
|
-0.0108,
|
|
-0.010015,
|
|
0.00867324441890115,
|
|
2.326828918379972e-19,
|
|
0.010015000000000003
|
|
],
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 24,
|
|
"surface_counts": {
|
|
"cone": 14,
|
|
"cylinder": 2,
|
|
"plane": 8
|
|
},
|
|
"axis_count": 16,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-8.673244519,
|
|
-10.8000001,
|
|
-10.0150001,
|
|
8.673244519,
|
|
1e-07,
|
|
10.0150001
|
|
],
|
|
"volume_mm3": 1920.505275621,
|
|
"surface_area_mm2": 1328.36838031,
|
|
"solid_count": 1,
|
|
"face_count": 24,
|
|
"edge_count": 52,
|
|
"vertex_count": 30
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-8.673244419,
|
|
-10.8,
|
|
-10.015,
|
|
8.673244419,
|
|
0.0,
|
|
10.015
|
|
],
|
|
"volume_mm3": 1920.515205086,
|
|
"surface_area_mm2": 1328.3719463,
|
|
"solid_count": 1,
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 1920.515205086,
|
|
"actual": 1920.505275621,
|
|
"absolute_delta": 0.009929464999913762,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 1328.3719463,
|
|
"actual": 1328.36838031,
|
|
"absolute_delta": 0.003565989999970043,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-8.673244419,
|
|
-10.8,
|
|
-10.015,
|
|
8.673244419,
|
|
0.0,
|
|
10.015
|
|
],
|
|
"actual": [
|
|
-8.673244519,
|
|
-10.8000001,
|
|
-10.0150001,
|
|
8.673244519,
|
|
1e-07,
|
|
10.0150001
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 21,
|
|
"actual": 24,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 44,
|
|
"actual": 52,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 24,
|
|
"actual": 30,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|