Files
cdsl-cad/json_to_cdsl/output/_User-Library-Flange-C300DN100_UNC-1-2-13-_50.cdsl.json
T
2026-08-24 14:52:08 +08:00

728 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_UNC-1-2-13-_50",
"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": "草圖4",
"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": [
0.0,
0.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
25.0
],
"end": [
5.15,
25.0
]
},
{
"type": "line",
"start": [
5.15,
25.0
],
"end": [
6.35,
24.307179677
]
},
{
"type": "line",
"start": [
6.35,
24.307179677
],
"end": [
5.15,
23.614359354
]
},
{
"type": "line",
"start": [
5.15,
23.614359354
],
"end": [
6.35,
22.921539031
]
},
{
"type": "line",
"start": [
6.35,
22.921539031
],
"end": [
5.15,
22.228718708
]
},
{
"type": "line",
"start": [
5.15,
22.228718708
],
"end": [
6.35,
21.535898385
]
},
{
"type": "line",
"start": [
6.35,
21.535898385
],
"end": [
5.15,
20.843078062
]
},
{
"type": "line",
"start": [
5.15,
20.843078062
],
"end": [
6.35,
20.150257739
]
},
{
"type": "line",
"start": [
6.35,
20.150257739
],
"end": [
5.15,
19.457437416
]
},
{
"type": "line",
"start": [
5.15,
19.457437416
],
"end": [
6.35,
18.764617093
]
},
{
"type": "line",
"start": [
6.35,
18.764617093
],
"end": [
5.15,
18.07179677
]
},
{
"type": "line",
"start": [
5.15,
18.07179677
],
"end": [
6.35,
17.378976447
]
},
{
"type": "line",
"start": [
6.35,
17.378976447
],
"end": [
5.15,
16.686156124
]
},
{
"type": "line",
"start": [
5.15,
16.686156124
],
"end": [
6.35,
15.993335801
]
},
{
"type": "line",
"start": [
6.35,
15.993335801
],
"end": [
5.15,
15.300515478
]
},
{
"type": "line",
"start": [
5.15,
15.300515478
],
"end": [
6.35,
14.607695155
]
},
{
"type": "line",
"start": [
6.35,
14.607695155
],
"end": [
5.15,
13.914874832
]
},
{
"type": "line",
"start": [
5.15,
13.914874832
],
"end": [
6.35,
13.222054509
]
},
{
"type": "line",
"start": [
6.35,
13.222054509
],
"end": [
5.15,
12.529234186
]
},
{
"type": "line",
"start": [
5.15,
12.529234186
],
"end": [
6.35,
11.836413862
]
},
{
"type": "line",
"start": [
6.35,
11.836413862
],
"end": [
6.35,
-0.0
]
},
{
"type": "line",
"start": [
6.35,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-2.968452186
],
"end": [
0.0,
18.62562662
]
}
]
}
}
]
},
"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,
-2.968452186,
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": "c720c39dabe8e165e095acb8112db5757b64ed8f5ffe609e34d3be3fafa37847",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.002968452186054505,
0.0
],
"end": [
0.0,
0.0186256266201905,
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": "pattern_mirror",
"depends_on": [
"f_004",
"f_002"
],
"params": {
"source_feature_ids": [
"f_004"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured",
"mirror plane is missing",
"mirror source features/faces are missing"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_UNC.1-2(13)_50.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.005743299436514244,
"volume": 5.7432994365142445e-06,
"surface_area": 0.003013462402732803,
"center_of_mass": [
0.0,
-1.4402533277196927e-18,
2.490370789241314e-19
],
"principal_moments": [
1.0665100607032919e-07,
1.1638908674438484e-06,
1.1638908674438484e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006350000000000251,
-0.025,
-0.006350000000000251,
0.006350000000000252,
0.025,
0.006350000000000251
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "鏡射1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABoAAAA",
"persist_reference_sha256": "a7bf1c080427b38617acd831df2ff24682b4f151e171ebf560855dedeb1d4c9e",
"component": null,
"geometry": {
"box": [
-0.006350000000000251,
-0.025,
-0.006350000000000251,
0.006350000000000251,
0.025,
0.006350000000000251
],
"face_count": 41,
"edge_count": 40,
"vertex_count": 0
},
"stable_id": "a7bf1c080427b38617acd831df2ff24682b4f151e171ebf560855dedeb1d4c9e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 80,
"surface_counts": {
"cone": 76,
"cylinder": 2,
"plane": 2
},
"axis_count": 78,
"repeat_spacings_mm": [
{
"spacing_mm": 0.6928,
"pair_count": 36
},
{
"spacing_mm": 1.3856,
"pair_count": 34
},
{
"spacing_mm": 2.0785,
"pair_count": 32
},
{
"spacing_mm": 2.7713,
"pair_count": 30
},
{
"spacing_mm": 3.4641,
"pair_count": 28
},
{
"spacing_mm": 4.1569,
"pair_count": 26
},
{
"spacing_mm": 4.8497,
"pair_count": 24
},
{
"spacing_mm": 5.5426,
"pair_count": 22
},
{
"spacing_mm": 6.2354,
"pair_count": 20
},
{
"spacing_mm": 36.1436,
"pair_count": 19
},
{
"spacing_mm": 6.9282,
"pair_count": 18
},
{
"spacing_mm": 36.8364,
"pair_count": 18
}
],
"metrics": {
"bounding_box_mm": [
-6.35,
-25.0,
-6.35,
6.35,
25.0,
6.35
],
"volume_mm3": 5743.299436514,
"surface_area_mm2": 3013.462402733,
"solid_count": 1,
"face_count": 80,
"edge_count": 158,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.35,
-25.0,
-6.35,
6.35,
25.0,
6.35
],
"volume_mm3": 5743.299436514,
"surface_area_mm2": 3013.462402733,
"solid_count": 1,
"face_count": 41,
"edge_count": 40,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 5743.299436514,
"actual": 5743.299436514,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3013.462402733,
"actual": 3013.462402733,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.35,
-25.0,
-6.35,
6.35,
25.0,
6.35
],
"actual": [
-6.35,
-25.0,
-6.35,
6.35,
25.0,
6.35
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 41,
"actual": 80,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 158,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}