新增cdsl
This commit is contained in:
@@ -0,0 +1,596 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "M14",
|
||||
"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": [
|
||||
0.045925177,
|
||||
11.674909673
|
||||
],
|
||||
"end": [
|
||||
-10.087805776,
|
||||
5.877227206
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-10.087805776,
|
||||
5.877227206
|
||||
],
|
||||
"end": [
|
||||
-10.133730952,
|
||||
-5.797682467
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-10.133730952,
|
||||
-5.797682467
|
||||
],
|
||||
"end": [
|
||||
-0.045925177,
|
||||
-11.674909673
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.045925177,
|
||||
-11.674909673
|
||||
],
|
||||
"end": [
|
||||
10.087805776,
|
||||
-5.877227206
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
10.087805776,
|
||||
-5.877227206
|
||||
],
|
||||
"end": [
|
||||
10.133730952,
|
||||
5.797682467
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
10.133730952,
|
||||
5.797682467
|
||||
],
|
||||
"end": [
|
||||
0.045925177,
|
||||
11.674909673
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 7.0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 10.110846589
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-26.808774834,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
37.174834437,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
25.021523179
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-25.021523179
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "草图2",
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 10.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"name": "草图3",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
7.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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 10.5
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"id": "f_001",
|
||||
"name": "基准面1",
|
||||
"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": "基准面2",
|
||||
"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": "基体-拉伸",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_001"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 7.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"id": "f_003",
|
||||
"name": "基准面3",
|
||||
"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": "切除-拉伸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": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "切除-拉伸2",
|
||||
"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": "supported",
|
||||
"sketch_id": "sk_004"
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "倒角1",
|
||||
"atomic_id": "chamfer",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.883333333,
|
||||
"angle_rad": 0.78539816339745
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0103_螺母/010399_通用螺母/螺母 M14.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.0013622670252179205,
|
||||
"volume": 1.3622670252179206e-06,
|
||||
"surface_area": 0.0011460623897008718,
|
||||
"center_of_mass": [
|
||||
1.9594847186484157e-17,
|
||||
8.732714407956615e-18,
|
||||
0.003499999999999999
|
||||
],
|
||||
"principal_moments": [
|
||||
6.134925763907158e-08,
|
||||
6.134925763907158e-08,
|
||||
1.1207156415481174e-07
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.010231110171360722,
|
||||
-0.011674909673232772,
|
||||
0.0,
|
||||
0.01023111017136075,
|
||||
0.01167490967323278,
|
||||
0.007
|
||||
],
|
||||
"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.010231110171360722,
|
||||
-0.011674909673232772,
|
||||
0.0,
|
||||
0.010231110171360748,
|
||||
0.01167490967323278,
|
||||
0.007
|
||||
],
|
||||
"face_count": 23,
|
||||
"edge_count": 58,
|
||||
"vertex_count": 36
|
||||
},
|
||||
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 26,
|
||||
"surface_counts": {
|
||||
"cone": 16,
|
||||
"cylinder": 2,
|
||||
"plane": 8
|
||||
},
|
||||
"axis_count": 18,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-10.133731052,
|
||||
-11.674909773,
|
||||
-1e-07,
|
||||
10.133731052,
|
||||
11.674909773,
|
||||
7.0000001
|
||||
],
|
||||
"volume_mm3": 1362.263556484,
|
||||
"surface_area_mm2": 1146.061488208,
|
||||
"solid_count": 1,
|
||||
"face_count": 26,
|
||||
"edge_count": 68,
|
||||
"vertex_count": 44
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-10.231110171,
|
||||
-11.674909673,
|
||||
0.0,
|
||||
10.231110171,
|
||||
11.674909673,
|
||||
7.0
|
||||
],
|
||||
"volume_mm3": 1362.267025218,
|
||||
"surface_area_mm2": 1146.062389701,
|
||||
"solid_count": 1,
|
||||
"face_count": 23,
|
||||
"edge_count": 58,
|
||||
"vertex_count": 36
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 1362.267025218,
|
||||
"actual": 1362.263556484,
|
||||
"absolute_delta": 0.003468734000080076,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 1146.062389701,
|
||||
"actual": 1146.061488208,
|
||||
"absolute_delta": 0.0009014930001285393,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-10.231110171,
|
||||
-11.674909673,
|
||||
0.0,
|
||||
10.231110171,
|
||||
11.674909673,
|
||||
7.0
|
||||
],
|
||||
"actual": [
|
||||
-10.133731052,
|
||||
-11.674909773,
|
||||
-1e-07,
|
||||
10.133731052,
|
||||
11.674909773,
|
||||
7.0000001
|
||||
],
|
||||
"max_absolute_delta": 0.09737911899999929,
|
||||
"within_tolerance": false
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 23,
|
||||
"actual": 26,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 58,
|
||||
"actual": 68,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 36,
|
||||
"actual": 44,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": false,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user