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

723 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT79_1-94A-4_0_4",
"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": [
23.0,
56.495097568
],
"end": [
23.097096622,
55.514516892
],
"center": [
28.0,
56.495097568
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
23.097096622,
55.514516892
],
"end": [
30.196116135,
20.019419324
]
},
{
"type": "arc",
"start": [
30.196116135,
20.019419324
],
"end": [
35.099019514,
16.0
],
"center": [
35.099019514,
21.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
35.099019514,
16.0
],
"end": [
70.0,
16.0
]
},
{
"type": "line",
"start": [
70.0,
16.0
],
"end": [
70.0,
0.0
]
},
{
"type": "line",
"start": [
70.0,
0.0
],
"end": [
39.0,
0.0
]
},
{
"type": "line",
"start": [
39.0,
0.0
],
"end": [
39.0,
-2.0
]
},
{
"type": "line",
"start": [
39.0,
-2.0
],
"end": [
16.0,
-2.0
]
},
{
"type": "line",
"start": [
16.0,
-2.0
],
"end": [
16.0,
70.0
]
},
{
"type": "line",
"start": [
16.0,
70.0
],
"end": [
23.0,
70.0
]
},
{
"type": "line",
"start": [
23.0,
70.0
],
"end": [
23.0,
56.495097568
]
}
]
}
],
"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": [
31.0,
56.0
],
"end": [
31.0,
16.0
]
},
{
"type": "line",
"start": [
23.0,
56.0
],
"end": [
31.0,
56.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,
50.0
],
"radius_mm": 9.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": "dfc1075a9c56832b43a2041830f8f1310184e945c9c26eeaec1aa0ce824c0d73",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.023000000000000007
]
},
"box": [
-0.023000000000000007,
0.05649509756796392,
-0.023000000000000007,
0.023000000000000007,
0.06999999999999999,
0.023000000000000007
],
"area": 0.0019516375043248473
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "dfc1075a9c56832b43a2041830f8f1310184e945c9c26eeaec1aa0ce824c0d73",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.09084537572254334,
0.0,
0.0,
1.0,
0.0,
0.023000000000000007
]
},
"box": [
-0.023000000000000007,
0.05649509756796392,
-0.023000000000000007,
0.023000000000000007,
0.06999999999999999,
0.023000000000000007
],
"area": 0.0019516375043248473
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030109_JBT79铸钢法兰/JBT79_1-94A-4_0_4.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2978757070732221,
"volume": 0.0002978757070732221,
"surface_area": 0.05286268453044777,
"center_of_mass": [
-7.933469171354315e-18,
0.015039484485380642,
7.728284535405347e-18
],
"principal_moments": [
0.000373969856958554,
0.000373969856958554,
0.0006036019791743824
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07000000000000002,
-0.0020000000000000018,
-0.07000000000000002,
0.07000000000000002,
0.06999999999999999,
0.07000000000000002
],
"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.07000000000000002,
-0.0020000000000000018,
-0.07000000000000002,
0.07000000000000002,
0.06999999999999999,
0.07000000000000002
],
"face_count": 15,
"edge_count": 19,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 2,
"cylinder": 16,
"plane": 4,
"torus": 4
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 70.7107,
"pair_count": 4
},
{
"spacing_mm": 105.4527,
"pair_count": 4
},
{
"spacing_mm": 54.6338,
"pair_count": 4
},
{
"spacing_mm": 100.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-70.0,
-2.0,
-70.0,
70.0,
70.0,
70.0
],
"volume_mm3": 297875.707073222,
"surface_area_mm2": 52862.684530448,
"solid_count": 1,
"face_count": 26,
"edge_count": 60,
"vertex_count": 38
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-70.0,
-2.0,
-70.0,
70.0,
70.0,
70.0
],
"volume_mm3": 297875.707073222,
"surface_area_mm2": 52862.684530448,
"solid_count": 1,
"face_count": 15,
"edge_count": 19,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 297875.707073222,
"actual": 297875.707073222,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 52862.684530448,
"actual": 52862.684530448,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-70.0,
-2.0,
-70.0,
70.0,
70.0,
70.0
],
"actual": [
-70.0,
-2.0,
-70.0,
70.0,
70.0,
70.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 19,
"actual": 60,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 38,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}