Files
cdsl-cad/json_to_cdsl/output/JBT79_1-94A-2_5_21.cdsl.json
T
2026-08-24 14:52:08 +08:00

755 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT79_1-94A-2_5_21",
"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": "arc",
"start": [
316.5,
179.688234163
],
"end": [
316.733031892,
177.334840541
],
"center": [
328.5,
179.688234163
],
"radius_mm": 12.0,
"clockwise": false
},
{
"type": "line",
"start": [
316.733031892,
177.334840541
],
"end": [
340.070678724,
60.646606378
]
},
{
"type": "arc",
"start": [
340.070678724,
60.646606378
],
"end": [
351.837646833,
51.0
],
"center": [
351.837646833,
63.0
],
"radius_mm": 12.0,
"clockwise": false
},
{
"type": "line",
"start": [
351.837646833,
51.0
],
"end": [
422.5,
51.0
]
},
{
"type": "line",
"start": [
422.5,
51.0
],
"end": [
422.5,
0.0
]
},
{
"type": "line",
"start": [
422.5,
0.0
],
"end": [
359.0,
0.0
]
},
{
"type": "line",
"start": [
359.0,
0.0
],
"end": [
359.0,
-5.0
]
},
{
"type": "line",
"start": [
359.0,
-5.0
],
"end": [
300.0,
-5.0
]
},
{
"type": "line",
"start": [
300.0,
-5.0
],
"end": [
300.0,
219.0
]
},
{
"type": "line",
"start": [
300.0,
219.0
],
"end": [
316.5,
219.0
]
},
{
"type": "line",
"start": [
316.5,
219.0
],
"end": [
316.5,
179.688234163
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
90.845375723
],
"end": [
0.0,
-72.81088632
]
},
{
"type": "line",
"start": [
-108.206936416,
0.0
],
"end": [
101.208477842,
0.0
]
},
{
"type": "line",
"start": [
342.0,
178.5
],
"end": [
342.0,
51.0
]
},
{
"type": "line",
"start": [
316.5,
178.5
],
"end": [
342.0,
178.5
]
}
]
}
},
{
"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,
385.0
],
"radius_mm": 20.5
}
}
]
},
"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,
90.845375723,
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.09084537572254334,
0.0
],
"end": [
0.0,
-0.07281088631984584,
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,
90.845375723,
0.0
],
"direction": [
0.0,
1.0,
0.0
],
"selector": {
"kind": "face",
"stable_id": "c4227efafed8ec0e73bba0087ea7847c45142cec5a4015899963709047cd126f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.3165
]
},
"box": [
-0.31650000000000006,
0.17968823416311355,
-0.31650000000000006,
0.31650000000000006,
0.21899999999999997,
0.31650000000000006
],
"area": 0.07817648415852534
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "c4227efafed8ec0e73bba0087ea7847c45142cec5a4015899963709047cd126f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.3165
]
},
"box": [
-0.31650000000000006,
0.17968823416311355,
-0.31650000000000006,
0.31650000000000006,
0.21899999999999997,
0.31650000000000006
],
"area": 0.07817648415852534
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030109_JBT79铸钢法兰/JBT79_1-94A-2_5_21.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 22.174518351004483,
"volume": 0.022174518351004483,
"surface_area": 1.4935094851715836,
"center_of_mass": [
-1.0160796297946987e-17,
0.061430737802844755,
-2.7350113343346026e-17
],
"principal_moments": [
1.3884374335039387,
1.3884374335039387,
2.6371247747112743
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.4225,
-0.0050000000000000044,
-0.4225,
0.4225,
0.219,
0.4225
],
"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.4225,
-0.0050000000000000044,
-0.4225,
0.4225,
0.219,
0.4225
],
"face_count": 31,
"edge_count": 51,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 58,
"surface_counts": {
"cone": 2,
"cylinder": 48,
"plane": 4,
"torus": 4
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 120.4545,
"pair_count": 20
},
{
"spacing_mm": 237.9431,
"pair_count": 20
},
{
"spacing_mm": 349.5727,
"pair_count": 20
},
{
"spacing_mm": 452.5946,
"pair_count": 20
},
{
"spacing_mm": 544.4722,
"pair_count": 20
},
{
"spacing_mm": 622.9431,
"pair_count": 20
},
{
"spacing_mm": 686.075,
"pair_count": 20
},
{
"spacing_mm": 732.3135,
"pair_count": 20
},
{
"spacing_mm": 760.52,
"pair_count": 20
},
{
"spacing_mm": 396.751,
"pair_count": 20
},
{
"spacing_mm": 390.5566,
"pair_count": 20
},
{
"spacing_mm": 770.0,
"pair_count": 10
}
],
"metrics": {
"bounding_box_mm": [
-422.5,
-5.0,
-422.5,
422.5,
219.0,
422.5
],
"volume_mm3": 22174518.351004496,
"surface_area_mm2": 1493509.485171584,
"solid_count": 1,
"face_count": 58,
"edge_count": 156,
"vertex_count": 102
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-422.5,
-5.0,
-422.5,
422.5,
219.0,
422.5
],
"volume_mm3": 22174518.35100448,
"surface_area_mm2": 1493509.485171583,
"solid_count": 1,
"face_count": 31,
"edge_count": 51,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 22174518.35100448,
"actual": 22174518.351004496,
"absolute_delta": 1.4901161193847656e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1493509.485171583,
"actual": 1493509.485171584,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-422.5,
-5.0,
-422.5,
422.5,
219.0,
422.5
],
"actual": [
-422.5,
-5.0,
-422.5,
422.5,
219.0,
422.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 58,
"matches": false
},
"edge_count": {
"expected": 51,
"actual": 156,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 102,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}