新增cdsl
This commit is contained in:
@@ -0,0 +1,855 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "CQ-F050_Flange",
|
||||
"geometry": {
|
||||
"sketches": [
|
||||
{
|
||||
"id": "sk_001",
|
||||
"name": "Origin",
|
||||
"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": "Sketch1",
|
||||
"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": [
|
||||
-44.5,
|
||||
33.5
|
||||
],
|
||||
"end": [
|
||||
44.5,
|
||||
33.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
44.5,
|
||||
33.5
|
||||
],
|
||||
"end": [
|
||||
44.5,
|
||||
-33.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
44.5,
|
||||
-33.5
|
||||
],
|
||||
"end": [
|
||||
-44.5,
|
||||
-33.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-44.5,
|
||||
-33.5
|
||||
],
|
||||
"end": [
|
||||
-44.5,
|
||||
33.5
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
25.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
25.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
-25.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
-25.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 17.5
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
76.034347826,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
39.988434783
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Sketch2",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
9.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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
25.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 7.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
25.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 7.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-25.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 7.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-25.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 7.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"name": "Sketch3",
|
||||
"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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
38.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-38.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_005",
|
||||
"name": "Sketch4",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
9.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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
38.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
38.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-38.0,
|
||||
-25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-38.0,
|
||||
25.0
|
||||
],
|
||||
"radius_mm": 3.3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"id": "f_001",
|
||||
"name": "Plane1",
|
||||
"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": "Plane2",
|
||||
"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": "Base",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_001"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 9.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"id": "f_003",
|
||||
"name": "Plane3",
|
||||
"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": "Cbore",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 5.5,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "OuterHoles12-25",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_001",
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": true,
|
||||
"end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_004"
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "OuterHoles32-100",
|
||||
"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_005"
|
||||
},
|
||||
{
|
||||
"id": "f_008",
|
||||
"name": "Axis1",
|
||||
"atomic_id": "reference_axis",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"axis": {
|
||||
"origin_mm": [
|
||||
0.0,
|
||||
0.0,
|
||||
9.0
|
||||
],
|
||||
"direction": [
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0
|
||||
],
|
||||
"selector": {
|
||||
"kind": "face",
|
||||
"stable_id": "dd102861259187e95fd8ad412ae96d390efe991213b375af6a4e597916700497",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"surface": {
|
||||
"type": "cylinder",
|
||||
"parameters": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.009,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.017500000000000005
|
||||
]
|
||||
},
|
||||
"box": [
|
||||
-0.017500000000000005,
|
||||
-0.017500000000000005,
|
||||
0.0,
|
||||
0.017500000000000005,
|
||||
0.017500000000000005,
|
||||
0.009
|
||||
],
|
||||
"area": 0.000989601685880785
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "face",
|
||||
"stable_id": "dd102861259187e95fd8ad412ae96d390efe991213b375af6a4e597916700497",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"surface": {
|
||||
"type": "cylinder",
|
||||
"parameters": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.009,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.017500000000000005
|
||||
]
|
||||
},
|
||||
"box": [
|
||||
-0.017500000000000005,
|
||||
-0.017500000000000005,
|
||||
0.0,
|
||||
0.017500000000000005,
|
||||
0.017500000000000005,
|
||||
0.009
|
||||
],
|
||||
"area": 0.000989601685880785
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "03_连接与管件/0301_法兰/030199_通用法兰/CQ-F050_Flange.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.03991075116809369,
|
||||
"volume": 3.991075116809369e-05,
|
||||
"surface_area": 0.015256321194585844,
|
||||
"center_of_mass": [
|
||||
1.2435455435090533e-19,
|
||||
-2.8394289910123388e-18,
|
||||
0.004384505939823683
|
||||
],
|
||||
"principal_moments": [
|
||||
1.645299790569153e-05,
|
||||
3.079305494886651e-05,
|
||||
4.670217650346906e-05
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.04450000000000001,
|
||||
-0.0335,
|
||||
0.0,
|
||||
0.04450000000000001,
|
||||
0.0335,
|
||||
0.009
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "OuterHoles32-100",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABsAAAAZgAAAGUAAAA=",
|
||||
"persist_reference_sha256": "6850591f5218e6591de189486b337de1dcbe94dbc2ce48d98f814318e46ae4db",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.04450000000000001,
|
||||
-0.0335,
|
||||
0.0,
|
||||
0.04450000000000001,
|
||||
0.0335,
|
||||
0.009
|
||||
],
|
||||
"face_count": 23,
|
||||
"edge_count": 38,
|
||||
"vertex_count": 8
|
||||
},
|
||||
"stable_id": "6850591f5218e6591de189486b337de1dcbe94dbc2ce48d98f814318e46ae4db"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 36,
|
||||
"surface_counts": {
|
||||
"cylinder": 26,
|
||||
"plane": 10
|
||||
},
|
||||
"axis_count": 26,
|
||||
"repeat_spacings_mm": [
|
||||
{
|
||||
"spacing_mm": 50.0,
|
||||
"pair_count": 10
|
||||
},
|
||||
{
|
||||
"spacing_mm": 50.3016,
|
||||
"pair_count": 8
|
||||
},
|
||||
{
|
||||
"spacing_mm": 51.7808,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 13.4629,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 63.0971,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 80.5062,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 46.3681,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 52.4404,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 63.6396,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 80.9321,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 15.8114,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 70.7107,
|
||||
"pair_count": 4
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-44.5,
|
||||
-33.5,
|
||||
0.0,
|
||||
44.5,
|
||||
33.5,
|
||||
9.0
|
||||
],
|
||||
"volume_mm3": 39910.751168094,
|
||||
"surface_area_mm2": 15256.321194586,
|
||||
"solid_count": 1,
|
||||
"face_count": 36,
|
||||
"edge_count": 90,
|
||||
"vertex_count": 60
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-44.5,
|
||||
-33.5,
|
||||
0.0,
|
||||
44.5,
|
||||
33.5,
|
||||
9.0
|
||||
],
|
||||
"volume_mm3": 39910.751168094,
|
||||
"surface_area_mm2": 15256.321194586,
|
||||
"solid_count": 1,
|
||||
"face_count": 23,
|
||||
"edge_count": 38,
|
||||
"vertex_count": 8
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 39910.751168094,
|
||||
"actual": 39910.751168094,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 15256.321194586,
|
||||
"actual": 15256.321194586,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-44.5,
|
||||
-33.5,
|
||||
0.0,
|
||||
44.5,
|
||||
33.5,
|
||||
9.0
|
||||
],
|
||||
"actual": [
|
||||
-44.5,
|
||||
-33.5,
|
||||
0.0,
|
||||
44.5,
|
||||
33.5,
|
||||
9.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 23,
|
||||
"actual": 36,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 38,
|
||||
"actual": 90,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 8,
|
||||
"actual": 60,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user