新增cdsl
This commit is contained in:
@@ -0,0 +1,862 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "GBT5782-2000A_3",
|
||||
"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": [
|
||||
1.4,
|
||||
2.0
|
||||
],
|
||||
"end": [
|
||||
1.4,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
1.4,
|
||||
1.0
|
||||
],
|
||||
"end": [
|
||||
17.4,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
17.4,
|
||||
1.0
|
||||
],
|
||||
"end": [
|
||||
17.4,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
17.4,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-0.0,
|
||||
1.62
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.0,
|
||||
1.62
|
||||
],
|
||||
"end": [
|
||||
0.196543927,
|
||||
2.16
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.196543927,
|
||||
2.16
|
||||
],
|
||||
"end": [
|
||||
0.4,
|
||||
2.16
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.4,
|
||||
2.16
|
||||
],
|
||||
"end": [
|
||||
0.4,
|
||||
2.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.4,
|
||||
2.0
|
||||
],
|
||||
"end": [
|
||||
1.4,
|
||||
2.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,
|
||||
2.16
|
||||
],
|
||||
"end": [
|
||||
-1.870614872,
|
||||
1.08
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-1.870614872,
|
||||
1.08
|
||||
],
|
||||
"end": [
|
||||
-1.870614872,
|
||||
-1.08
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-1.870614872,
|
||||
-1.08
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-2.16
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-2.16
|
||||
],
|
||||
"end": [
|
||||
1.870614872,
|
||||
-1.08
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
1.870614872,
|
||||
-1.08
|
||||
],
|
||||
"end": [
|
||||
1.870614872,
|
||||
1.08
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
1.870614872,
|
||||
1.08
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
2.16
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 1.870614872
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
2.16
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_005",
|
||||
"name": "草图4",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
63.405006425,
|
||||
997.998911687,
|
||||
-4.037593556
|
||||
],
|
||||
"x_dir": [
|
||||
0.997979715,
|
||||
0.0,
|
||||
-0.063533362
|
||||
],
|
||||
"y_dir": [
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0
|
||||
],
|
||||
"normal": [
|
||||
-0.063533362,
|
||||
-0.0,
|
||||
-0.997979715
|
||||
]
|
||||
},
|
||||
"profile": {
|
||||
"type": "analytic_contours",
|
||||
"contours": [
|
||||
{
|
||||
"role": "outer",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.311769145
|
||||
],
|
||||
"end": [
|
||||
0.18,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.18,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-0.18,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.18,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.311769145
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.311769145
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": [
|
||||
63.405006425,
|
||||
997.998911687,
|
||||
-4.037593556
|
||||
],
|
||||
"x_dir": [
|
||||
0.997979715,
|
||||
0.0,
|
||||
-0.063533362
|
||||
],
|
||||
"y_dir": [
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0
|
||||
],
|
||||
"normal": [
|
||||
-0.063533362,
|
||||
-0.0,
|
||||
-0.997979715
|
||||
]
|
||||
},
|
||||
"offset_mm": 0.0,
|
||||
"angle_rad": 0.0,
|
||||
"reverse": false,
|
||||
"solidworks_type": 8,
|
||||
"references": [
|
||||
{
|
||||
"kind": "feature",
|
||||
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "c4b8248b6e7155349f3c36e5f446354c8d8ae44b4b058ec7dc9b98951559f4a2",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.0174,
|
||||
0.0,
|
||||
-0.001
|
||||
],
|
||||
"end": [
|
||||
0.008399999999999994,
|
||||
2.960964806675293e-16,
|
||||
0.0009999999999999864
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"derived_from_sketch_id": "sk_005"
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "feature",
|
||||
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0
|
||||
},
|
||||
{
|
||||
"kind": "edge",
|
||||
"stable_id": "c4b8248b6e7155349f3c36e5f446354c8d8ae44b4b058ec7dc9b98951559f4a2",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"curve": {
|
||||
"type": "other",
|
||||
"parameters": null
|
||||
},
|
||||
"start": [
|
||||
0.0174,
|
||||
0.0,
|
||||
-0.001
|
||||
],
|
||||
"end": [
|
||||
0.008399999999999994,
|
||||
2.960964806675293e-16,
|
||||
0.0009999999999999864
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0101_螺栓/010103_GBT5782六角头螺栓AB级/GBT5782-2000A_3.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 5.9550560148567915e-05,
|
||||
"volume": 5.955056014856791e-08,
|
||||
"surface_area": 0.00017534114571184122,
|
||||
"center_of_mass": [
|
||||
0.006585435134291446,
|
||||
1.2512607693123528e-06,
|
||||
-2.4045984593641295e-08
|
||||
],
|
||||
"principal_moments": [
|
||||
5.010413854487291e-11,
|
||||
1.733008988425355e-09,
|
||||
1.7330517553078456e-09
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
0.0,
|
||||
-0.0021600000000000005,
|
||||
-0.0018706148721743883,
|
||||
0.01763448758089863,
|
||||
0.0021600000000000005,
|
||||
0.0018706148721743883
|
||||
],
|
||||
"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.0021600000000000005,
|
||||
-0.0018706148721743883,
|
||||
0.01763448758089863,
|
||||
0.00216,
|
||||
0.0018706148721743883
|
||||
],
|
||||
"face_count": 26,
|
||||
"edge_count": 65,
|
||||
"vertex_count": 42
|
||||
},
|
||||
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 73,
|
||||
"surface_counts": {
|
||||
"bspline": 2,
|
||||
"cone": 2,
|
||||
"cylinder": 53,
|
||||
"plane": 16
|
||||
},
|
||||
"axis_count": 55,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-1e-07,
|
||||
-2.1600001,
|
||||
-1.870614972,
|
||||
17.4000001,
|
||||
2.1600001,
|
||||
1.870614972
|
||||
],
|
||||
"volume_mm3": 59.531042408,
|
||||
"surface_area_mm2": 175.377741349,
|
||||
"solid_count": 1,
|
||||
"face_count": 73,
|
||||
"edge_count": 210,
|
||||
"vertex_count": 140
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
0.0,
|
||||
-2.16,
|
||||
-1.870614872,
|
||||
17.634487581,
|
||||
2.16,
|
||||
1.870614872
|
||||
],
|
||||
"volume_mm3": 59.550560149,
|
||||
"surface_area_mm2": 175.341145712,
|
||||
"solid_count": 1,
|
||||
"face_count": 26,
|
||||
"edge_count": 65,
|
||||
"vertex_count": 42
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 59.550560149,
|
||||
"actual": 59.531042408,
|
||||
"absolute_delta": 0.019517741000001365,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 175.341145712,
|
||||
"actual": 175.377741349,
|
||||
"absolute_delta": 0.03659563699997648,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
0.0,
|
||||
-2.16,
|
||||
-1.870614872,
|
||||
17.634487581,
|
||||
2.16,
|
||||
1.870614872
|
||||
],
|
||||
"actual": [
|
||||
-1e-07,
|
||||
-2.1600001,
|
||||
-1.870614972,
|
||||
17.4000001,
|
||||
2.1600001,
|
||||
1.870614972
|
||||
],
|
||||
"max_absolute_delta": 0.2344874809999986,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 26,
|
||||
"actual": 73,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 65,
|
||||
"actual": 210,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 42,
|
||||
"actual": 140,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": false,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user