Files
cdsl-cad/json_to_cdsl/output/JBT79_1-94A-2_5_25.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_25",
"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": [
520.5,
222.282351245
],
"end": [
520.849547838,
218.752260812
],
"center": [
538.5,
222.282351245
],
"radius_mm": 18.0,
"clockwise": false
},
{
"type": "line",
"start": [
520.849547838,
218.752260812
],
"end": [
549.106018086,
77.469909568
]
},
{
"type": "arc",
"start": [
549.106018086,
77.469909568
],
"end": [
566.756470249,
63.0
],
"center": [
566.756470249,
81.0
],
"radius_mm": 18.0,
"clockwise": false
},
{
"type": "line",
"start": [
566.756470249,
63.0
],
"end": [
660.0,
63.0
]
},
{
"type": "line",
"start": [
660.0,
63.0
],
"end": [
660.0,
0.0
]
},
{
"type": "line",
"start": [
660.0,
0.0
],
"end": [
570.0,
0.0
]
},
{
"type": "line",
"start": [
570.0,
0.0
],
"end": [
570.0,
-5.0
]
},
{
"type": "line",
"start": [
570.0,
-5.0
],
"end": [
500.0,
-5.0
]
},
{
"type": "line",
"start": [
500.0,
-5.0
],
"end": [
500.0,
267.0
]
},
{
"type": "line",
"start": [
500.0,
267.0
],
"end": [
520.5,
267.0
]
},
{
"type": "line",
"start": [
520.5,
267.0
],
"end": [
520.5,
222.282351245
]
}
]
}
],
"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": [
552.0,
220.5
],
"end": [
552.0,
63.0
]
},
{
"type": "line",
"start": [
520.5,
220.5
],
"end": [
552.0,
220.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,
605.0
],
"radius_mm": 29.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,
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": "7e36c3eb10c8c9ccfd289657941405820b88be21adf9e23ad62bb06c9581691f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.5205000000000001
]
},
"box": [
-0.5205000000000001,
0.22228235124467027,
-0.5205000000000001,
0.5205000000000001,
0.267,
0.5205000000000001
],
"area": 0.14624450692499033
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "7e36c3eb10c8c9ccfd289657941405820b88be21adf9e23ad62bb06c9581691f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.5205000000000001
]
},
"box": [
-0.5205000000000001,
0.22228235124467027,
-0.5205000000000001,
0.5205000000000001,
0.267,
0.5205000000000001
],
"area": 0.14624450692499033
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030109_JBT79铸钢法兰/JBT79_1-94A-2_5_25.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 55.084284555584844,
"volume": 0.055084284555584846,
"surface_area": 3.043871728616923,
"center_of_mass": [
5.671050345260662e-17,
0.07594507191961804,
-1.2301627646986251e-17
],
"principal_moments": [
8.806265873415482,
8.806265873415482,
17.096134780403208
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.66,
-0.0050000000000000044,
-0.66,
0.66,
0.267,
0.66
],
"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.66,
-0.0050000000000000044,
-0.66,
0.66,
0.267,
0.66
],
"face_count": 39,
"edge_count": 67,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 74,
"surface_counts": {
"cone": 2,
"cylinder": 64,
"plane": 4,
"torus": 4
},
"axis_count": 66,
"repeat_spacings_mm": [
{
"spacing_mm": 135.477,
"pair_count": 28
},
{
"spacing_mm": 269.2503,
"pair_count": 28
},
{
"spacing_mm": 399.6377,
"pair_count": 28
},
{
"spacing_mm": 524.9993,
"pair_count": 28
},
{
"spacing_mm": 643.7588,
"pair_count": 28
},
{
"spacing_mm": 754.4227,
"pair_count": 28
},
{
"spacing_mm": 855.5992,
"pair_count": 28
},
{
"spacing_mm": 946.0161,
"pair_count": 28
},
{
"spacing_mm": 1024.5363,
"pair_count": 28
},
{
"spacing_mm": 1090.1723,
"pair_count": 28
},
{
"spacing_mm": 1142.0988,
"pair_count": 28
},
{
"spacing_mm": 1179.6628,
"pair_count": 28
}
],
"metrics": {
"bounding_box_mm": [
-660.0,
-5.0,
-660.0,
660.0,
267.0,
660.0
],
"volume_mm3": 55084284.55558494,
"surface_area_mm2": 3043871.728616924,
"solid_count": 1,
"face_count": 74,
"edge_count": 204,
"vertex_count": 134
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-660.0,
-5.0,
-660.0,
660.0,
267.0,
660.0
],
"volume_mm3": 55084284.55558485,
"surface_area_mm2": 3043871.728616923,
"solid_count": 1,
"face_count": 39,
"edge_count": 67,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 55084284.55558485,
"actual": 55084284.55558494,
"absolute_delta": 8.940696716308594e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3043871.728616923,
"actual": 3043871.728616924,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-660.0,
-5.0,
-660.0,
660.0,
267.0,
660.0
],
"actual": [
-660.0,
-5.0,
-660.0,
660.0,
267.0,
660.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 39,
"actual": 74,
"matches": false
},
"edge_count": {
"expected": 67,
"actual": 204,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 134,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}