新增cdsl
This commit is contained in:
@@ -0,0 +1,862 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "GBT5785-2000A_1",
|
||||
"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": [
|
||||
5.3,
|
||||
5.0
|
||||
],
|
||||
"end": [
|
||||
5.3,
|
||||
4.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
5.3,
|
||||
4.0
|
||||
],
|
||||
"end": [
|
||||
40.3,
|
||||
4.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
40.3,
|
||||
4.0
|
||||
],
|
||||
"end": [
|
||||
40.3,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
40.3,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
5.3925
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
5.3925
|
||||
],
|
||||
"end": [
|
||||
0.654236496,
|
||||
7.19
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.654236496,
|
||||
7.19
|
||||
],
|
||||
"end": [
|
||||
4.3,
|
||||
7.19
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.3,
|
||||
7.19
|
||||
],
|
||||
"end": [
|
||||
4.3,
|
||||
5.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.3,
|
||||
5.0
|
||||
],
|
||||
"end": [
|
||||
5.3,
|
||||
5.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"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,
|
||||
7.19
|
||||
],
|
||||
"end": [
|
||||
-6.226722653,
|
||||
3.595
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-6.226722653,
|
||||
3.595
|
||||
],
|
||||
"end": [
|
||||
-6.226722653,
|
||||
-3.595
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-6.226722653,
|
||||
-3.595
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-7.19
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-7.19
|
||||
],
|
||||
"end": [
|
||||
6.226722653,
|
||||
-3.595
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
6.226722653,
|
||||
-3.595
|
||||
],
|
||||
"end": [
|
||||
6.226722653,
|
||||
3.595
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
6.226722653,
|
||||
3.595
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
7.19
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 6.226722653
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
7.19
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 4.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_005",
|
||||
"name": "草图4",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
23.859643098,
|
||||
999.753906129,
|
||||
-0.573454291
|
||||
],
|
||||
"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.6
|
||||
],
|
||||
"end": [
|
||||
0.27,
|
||||
-0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.27,
|
||||
-0.0
|
||||
],
|
||||
"end": [
|
||||
-0.27,
|
||||
-0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.27,
|
||||
-0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.6
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.6
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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.753906129,
|
||||
-0.573454291
|
||||
],
|
||||
"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": "e7657b4803b6f86f4bb2b43b9503b7f2182833fbed7176d4e96690947587a0da",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "49342bd1b1a6387148979778a30a1ef2b8efb42462030dc98f04fc409c7aa5d3",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.0403,
|
||||
0.0,
|
||||
-0.004
|
||||
],
|
||||
"end": [
|
||||
0.01830000000000017,
|
||||
0.0034641016151388303,
|
||||
0.001999999999998286
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"derived_from_sketch_id": "sk_005"
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "feature",
|
||||
"stable_id": "e7657b4803b6f86f4bb2b43b9503b7f2182833fbed7176d4e96690947587a0da",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "49342bd1b1a6387148979778a30a1ef2b8efb42462030dc98f04fc409c7aa5d3",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.0403,
|
||||
0.0,
|
||||
-0.004
|
||||
],
|
||||
"end": [
|
||||
0.01830000000000017,
|
||||
0.0034641016151388303,
|
||||
0.001999999999998286
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0101_螺栓/010105_GBT5785六角头螺栓细牙/GBT5785-2000A_1.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.0022635060996886265,
|
||||
"volume": 2.2635060996886266e-06,
|
||||
"surface_area": 0.0019674338093931933,
|
||||
"center_of_mass": [
|
||||
0.01659687513233843,
|
||||
1.3996551248857612e-06,
|
||||
-8.277567538619509e-07
|
||||
],
|
||||
"principal_moments": [
|
||||
2.5047807404609158e-08,
|
||||
3.6083965077870586e-07,
|
||||
3.6090203394972455e-07
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
0.0,
|
||||
-0.00719,
|
||||
-0.006226722653210116,
|
||||
0.04070648872350572,
|
||||
0.00719,
|
||||
0.006226722653210115
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "切除-扫描1",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
|
||||
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
0.0,
|
||||
-0.00719,
|
||||
-0.006226722653210116,
|
||||
0.04070648872350572,
|
||||
0.00719,
|
||||
0.006226722653210115
|
||||
],
|
||||
"face_count": 16,
|
||||
"edge_count": 32,
|
||||
"vertex_count": 19
|
||||
},
|
||||
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 92,
|
||||
"surface_counts": {
|
||||
"bspline": 2,
|
||||
"cone": 2,
|
||||
"cylinder": 77,
|
||||
"plane": 11
|
||||
},
|
||||
"axis_count": 79,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-1e-07,
|
||||
-7.1900001,
|
||||
-6.226722753,
|
||||
40.3000001,
|
||||
7.1900001,
|
||||
6.226722753
|
||||
],
|
||||
"volume_mm3": 2262.767779985,
|
||||
"surface_area_mm2": 1969.459575338,
|
||||
"solid_count": 1,
|
||||
"face_count": 92,
|
||||
"edge_count": 265,
|
||||
"vertex_count": 177
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
0.0,
|
||||
-7.19,
|
||||
-6.226722653,
|
||||
40.706488724,
|
||||
7.19,
|
||||
6.226722653
|
||||
],
|
||||
"volume_mm3": 2263.506099689,
|
||||
"surface_area_mm2": 1967.433809393,
|
||||
"solid_count": 1,
|
||||
"face_count": 16,
|
||||
"edge_count": 32,
|
||||
"vertex_count": 19
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 2263.506099689,
|
||||
"actual": 2262.767779985,
|
||||
"absolute_delta": 0.7383197040003324,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 1967.433809393,
|
||||
"actual": 1969.459575338,
|
||||
"absolute_delta": 2.0257659449998755,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
0.0,
|
||||
-7.19,
|
||||
-6.226722653,
|
||||
40.706488724,
|
||||
7.19,
|
||||
6.226722653
|
||||
],
|
||||
"actual": [
|
||||
-1e-07,
|
||||
-7.1900001,
|
||||
-6.226722753,
|
||||
40.3000001,
|
||||
7.1900001,
|
||||
6.226722753
|
||||
],
|
||||
"max_absolute_delta": 0.40648862400000496,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 16,
|
||||
"actual": 92,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 32,
|
||||
"actual": 265,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 19,
|
||||
"actual": 177,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": false,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user