Files
cdsl-cad/json_to_cdsl/output/JBT84-94AB-6_3_1.cdsl.json
T
2026-08-24 14:52:08 +08:00

753 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT84-94AB-6_3_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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
15.354065923,
-0.0
],
"end": [
13.497112541,
1.257218647
],
"center": [
15.354065923,
2.0
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
13.497112541,
1.257218647
],
"end": [
7.0,
17.5
]
},
{
"type": "line",
"start": [
7.0,
17.5
],
"end": [
7.0,
33.267949192
]
},
{
"type": "line",
"start": [
7.0,
33.267949192
],
"end": [
4.0,
35.0
]
},
{
"type": "line",
"start": [
4.0,
35.0
],
"end": [
4.0,
-12.0
]
},
{
"type": "line",
"start": [
4.0,
-12.0
],
"end": [
17.0,
-12.0
]
},
{
"type": "line",
"start": [
17.0,
-12.0
],
"end": [
17.0,
-4.0
]
},
{
"type": "line",
"start": [
17.0,
-4.0
],
"end": [
25.0,
-4.0
]
},
{
"type": "line",
"start": [
25.0,
-4.0
],
"end": [
25.0,
0.0
]
},
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
15.354065923,
-0.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
16.0,
14.0
],
"end": [
16.0,
2.0
]
},
{
"type": "line",
"start": [
16.0,
2.0
],
"end": [
18.0,
0.0
]
},
{
"type": "line",
"start": [
18.0,
0.0
],
"end": [
50.0,
0.0
]
},
{
"type": "line",
"start": [
50.0,
0.0
],
"end": [
50.0,
14.0
]
},
{
"type": "line",
"start": [
50.0,
14.0
],
"end": [
16.0,
14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
101.343063584
],
"end": [
0.0,
-88.42283237
]
},
{
"type": "line",
"start": [
-94.748362235,
0.0
],
"end": [
96.363391137,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
35.0
],
"radius_mm": 7.0
}
}
]
},
"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": [
0.0,
101.343063584,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "4bc5be715818f345d9d516f574bed20b73423951ac33f11a8c732949d505302f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.10134306358381501,
0.0
],
"end": [
0.0,
-0.08842283236994217,
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": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准轴1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"origin_mm": [
0.0,
101.343063584,
0.0
],
"direction": [
0.0,
1.0,
0.0
],
"selector": {
"kind": "face",
"stable_id": "f752bcfb062d729d99e3c049b02495165af29543d3ae46790ee50978ca1c483d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.10134306358381501,
0.0,
0.0,
1.0,
0.0,
0.05000000000000002
]
},
"box": [
-0.05000000000000002,
0.0,
-0.05000000000000002,
0.05000000000000002,
0.013999999999999999,
0.05000000000000002
],
"area": 0.004398229715025711
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "f752bcfb062d729d99e3c049b02495165af29543d3ae46790ee50978ca1c483d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.10134306358381501,
0.0,
0.0,
1.0,
0.0,
0.05000000000000002
]
},
"box": [
-0.05000000000000002,
0.0,
-0.05000000000000002,
0.05000000000000002,
0.013999999999999999,
0.05000000000000002
],
"area": 0.004398229715025711
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030113_JBT84对焊环板式松套钢制管法兰/JBT84-94AB-6_3_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.1115321309001117,
"volume": 0.0001115321309001117,
"surface_area": 0.027086581220558535,
"center_of_mass": [
-4.728598498094468e-18,
0.005738053497279986,
5.1618999985978986e-18
],
"principal_moments": [
6.882798117386416e-05,
6.882798117386416e-05,
0.00012913623640544464
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05000000000000002,
-0.011999999999999997,
-0.05000000000000002,
0.05000000000000002,
0.035,
0.05000000000000002
],
"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.05000000000000002,
-0.011999999999999997,
-0.05000000000000002,
0.05000000000000002,
0.035,
0.05000000000000002
],
"face_count": 19,
"edge_count": 23,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cone": 6,
"cylinder": 20,
"plane": 5,
"torus": 2
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 49.4975,
"pair_count": 4
},
{
"spacing_mm": 37.6962,
"pair_count": 4
},
{
"spacing_mm": 118.624,
"pair_count": 4
},
{
"spacing_mm": 57.2205,
"pair_count": 4
},
{
"spacing_mm": 37.4266,
"pair_count": 4
},
{
"spacing_mm": 70.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-50.0,
-12.0,
-50.0,
50.0,
35.0,
50.0
],
"volume_mm3": 111532.130900112,
"surface_area_mm2": 27086.581220559,
"solid_count": 1,
"face_count": 33,
"edge_count": 74,
"vertex_count": 46
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-50.0,
-12.0,
-50.0,
50.0,
35.0,
50.0
],
"volume_mm3": 111532.130900112,
"surface_area_mm2": 27086.581220559,
"solid_count": 1,
"face_count": 19,
"edge_count": 23,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 111532.130900112,
"actual": 111532.130900112,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 27086.581220559,
"actual": 27086.581220559,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-50.0,
-12.0,
-50.0,
50.0,
35.0,
50.0
],
"actual": [
-50.0,
-12.0,
-50.0,
50.0,
35.0,
50.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 23,
"actual": 74,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 46,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}