新增cdsl
This commit is contained in:
@@ -0,0 +1,840 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "GBT5780-2000_10",
|
||||
"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,
|
||||
-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": [
|
||||
4.0,
|
||||
5.445
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
54.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
54.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
54.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
54.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
4.08375
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
4.08375
|
||||
],
|
||||
"end": [
|
||||
0.495454481,
|
||||
5.445
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.495454481,
|
||||
5.445
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
5.445
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-110.361254296,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
114.070876289,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "草图2",
|
||||
"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": [
|
||||
0.0,
|
||||
5.445
|
||||
],
|
||||
"end": [
|
||||
-4.715508324,
|
||||
2.7225
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-4.715508324,
|
||||
2.7225
|
||||
],
|
||||
"end": [
|
||||
-4.715508324,
|
||||
-2.7225
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-4.715508324,
|
||||
-2.7225
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-5.445
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-5.445
|
||||
],
|
||||
"end": [
|
||||
4.715508324,
|
||||
-2.7225
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.715508324,
|
||||
-2.7225
|
||||
],
|
||||
"end": [
|
||||
4.715508324,
|
||||
2.7225
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.715508324,
|
||||
2.7225
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
5.445
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 4.715508324
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
5.445
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 3.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_005",
|
||||
"name": "草图4",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
23.859643098,
|
||||
999.784730641,
|
||||
-0.573473384
|
||||
],
|
||||
"x_dir": [
|
||||
0.999715156,
|
||||
-0.0,
|
||||
-0.023866441
|
||||
],
|
||||
"y_dir": [
|
||||
-0.0,
|
||||
-1.0,
|
||||
0.0
|
||||
],
|
||||
"normal": [
|
||||
-0.023866441,
|
||||
0.0,
|
||||
-0.999715156
|
||||
]
|
||||
},
|
||||
"profile": {
|
||||
"type": "analytic_contours",
|
||||
"contours": [
|
||||
{
|
||||
"role": "outer",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.45
|
||||
],
|
||||
"end": [
|
||||
0.2025,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.2025,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-0.2025,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.2025,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.45
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.45
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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_004",
|
||||
"name": "旋转1",
|
||||
"atomic_id": "revolve_add",
|
||||
"depends_on": [
|
||||
"f_001"
|
||||
],
|
||||
"params": {
|
||||
"angle_deg": 360.0,
|
||||
"axis": {
|
||||
"origin_mm": [
|
||||
-110.361254296,
|
||||
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": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
-0.11036125429553265,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.11407087628865978,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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_005",
|
||||
"name": "切除-拉伸1",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "基准面1",
|
||||
"atomic_id": "reference_plane",
|
||||
"depends_on": [
|
||||
"f_005"
|
||||
],
|
||||
"params": {
|
||||
"plane": {
|
||||
"origin_mm": [
|
||||
23.859643098,
|
||||
999.784730641,
|
||||
-0.573473384
|
||||
],
|
||||
"x_dir": [
|
||||
0.999715156,
|
||||
-0.0,
|
||||
-0.023866441
|
||||
],
|
||||
"y_dir": [
|
||||
-0.0,
|
||||
-1.0,
|
||||
0.0
|
||||
],
|
||||
"normal": [
|
||||
-0.023866441,
|
||||
0.0,
|
||||
-0.999715156
|
||||
]
|
||||
},
|
||||
"offset_mm": 0.0,
|
||||
"angle_rad": 0.0,
|
||||
"reverse": false,
|
||||
"solidworks_type": 8,
|
||||
"references": [
|
||||
{
|
||||
"kind": "feature",
|
||||
"stable_id": "2a2a35de15ce05179df1376395a4d8a844e14beb71ab596ecac536e77d5f3da5",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "9e1367de91b9249e7f7d5b0fc46580b649875cad6076aea8300f99b1327e8087",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.05399999999999999,
|
||||
0.0,
|
||||
-0.0030000000000000014
|
||||
],
|
||||
"end": [
|
||||
0.03599999999999981,
|
||||
-1.6588397322436784e-15,
|
||||
-0.002999999999999953
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"derived_from_sketch_id": "sk_005"
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "feature",
|
||||
"stable_id": "2a2a35de15ce05179df1376395a4d8a844e14beb71ab596ecac536e77d5f3da5",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "9e1367de91b9249e7f7d5b0fc46580b649875cad6076aea8300f99b1327e8087",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.05399999999999999,
|
||||
0.0,
|
||||
-0.0030000000000000014
|
||||
],
|
||||
"end": [
|
||||
0.03599999999999981,
|
||||
-1.6588397322436784e-15,
|
||||
-0.002999999999999953
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0101_螺栓/010101_GBT5780六角头螺栓C级/GBT5780-2000_10.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.0016522198451969562,
|
||||
"volume": 1.6522198451969563e-06,
|
||||
"surface_area": 0.0015977593530388298,
|
||||
"center_of_mass": [
|
||||
0.02340639241515553,
|
||||
-3.7308836222766583e-07,
|
||||
-3.3662836585491672e-09
|
||||
],
|
||||
"principal_moments": [
|
||||
9.537803549833653e-09,
|
||||
4.505622286501568e-07,
|
||||
4.5058074027554023e-07
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
0.0,
|
||||
-0.0054449999999999985,
|
||||
-0.004715508323606269,
|
||||
0.05431012421492046,
|
||||
0.0054449999999999985,
|
||||
0.0047155083236062705
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "切除-扫描1",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZgAAAGUAAAA=",
|
||||
"persist_reference_sha256": "2ffcbb18b5b8c930c055b6557fff64640c4c121a7bb76e62e3b296ccd2b9d900",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
0.0,
|
||||
-0.0054449999999999985,
|
||||
-0.004715508323606269,
|
||||
0.05431012421492046,
|
||||
0.0054449999999999985,
|
||||
0.0047155083236062705
|
||||
],
|
||||
"face_count": 14,
|
||||
"edge_count": 29,
|
||||
"vertex_count": 18
|
||||
},
|
||||
"stable_id": "2ffcbb18b5b8c930c055b6557fff64640c4c121a7bb76e62e3b296ccd2b9d900"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 96,
|
||||
"surface_counts": {
|
||||
"bspline": 2,
|
||||
"cone": 2,
|
||||
"cylinder": 82,
|
||||
"plane": 10
|
||||
},
|
||||
"axis_count": 84,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-1e-07,
|
||||
-5.4450001,
|
||||
-4.715508424,
|
||||
54.0000001,
|
||||
5.4450001,
|
||||
4.715508424
|
||||
],
|
||||
"volume_mm3": 1652.430029703,
|
||||
"surface_area_mm2": 1597.155309748,
|
||||
"solid_count": 1,
|
||||
"face_count": 96,
|
||||
"edge_count": 279,
|
||||
"vertex_count": 186
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
0.0,
|
||||
-5.445,
|
||||
-4.715508324,
|
||||
54.310124215,
|
||||
5.445,
|
||||
4.715508324
|
||||
],
|
||||
"volume_mm3": 1652.219845197,
|
||||
"surface_area_mm2": 1597.759353039,
|
||||
"solid_count": 1,
|
||||
"face_count": 14,
|
||||
"edge_count": 29,
|
||||
"vertex_count": 18
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 1652.219845197,
|
||||
"actual": 1652.430029703,
|
||||
"absolute_delta": 0.210184505999905,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 1597.759353039,
|
||||
"actual": 1597.155309748,
|
||||
"absolute_delta": 0.6040432909999254,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
0.0,
|
||||
-5.445,
|
||||
-4.715508324,
|
||||
54.310124215,
|
||||
5.445,
|
||||
4.715508324
|
||||
],
|
||||
"actual": [
|
||||
-1e-07,
|
||||
-5.4450001,
|
||||
-4.715508424,
|
||||
54.0000001,
|
||||
5.4450001,
|
||||
4.715508424
|
||||
],
|
||||
"max_absolute_delta": 0.3101241150000007,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 14,
|
||||
"actual": 96,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 29,
|
||||
"actual": 279,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 18,
|
||||
"actual": 186,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": false,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user