Files
cdsl-cad/json_to_cdsl/output/_User-Library-Flange-C300DN100_DN80-100StemPackingB.cdsl.json
T
2026-08-24 14:52:08 +08:00

477 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_DN80-100StemPackingB",
"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": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
14.0,
-4.0
],
"end": [
17.0,
-1.0
]
},
{
"type": "line",
"start": [
17.0,
-1.0
],
"end": [
20.0,
-4.0
]
},
{
"type": "line",
"start": [
20.0,
-4.0
],
"end": [
20.0,
-3.0
]
},
{
"type": "line",
"start": [
20.0,
-3.0
],
"end": [
17.0,
0.0
]
},
{
"type": "line",
"start": [
17.0,
0.0
],
"end": [
14.0,
-3.0
]
},
{
"type": "line",
"start": [
14.0,
-3.0
],
"end": [
14.0,
-4.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
13.213303534
],
"end": [
0.0,
-13.213303534
]
}
]
}
}
]
},
"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_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_004",
"name": "旋轉1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
13.213303534,
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": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
1.0276328103311108e-17,
0.01321330353414972,
0.0
],
"end": [
1.0276328103311108e-17,
-0.01321330353414972,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_DN80~100StemPackingB.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.005319344681058288,
"volume": 6.408849013323239e-07,
"surface_area": 0.0020263245392127217,
"center_of_mass": [
2.471425576240595e-53,
-0.0020000000000000313,
-1.0945896441602674e-17
],
"principal_moments": [
7.970151447118953e-07,
7.970151447118953e-07,
1.5851647149553663e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.020000000000000007,
-0.004000000000000021,
-0.020000000000000018,
0.020000000000000007,
0.0,
0.019999999999999997
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋轉1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.020000000000000007,
-0.004000000000000021,
-0.020000000000000018,
0.020000000000000007,
0.0,
0.019999999999999997
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 12,
"surface_counts": {
"cone": 8,
"cylinder": 4
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 1.0,
"pair_count": 2
},
{
"spacing_mm": 3.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-20.0,
-4.0,
-20.0,
20.0,
0.0,
20.0
],
"volume_mm3": 640.884901332,
"surface_area_mm2": 2026.324539213,
"solid_count": 1,
"face_count": 12,
"edge_count": 24,
"vertex_count": 12
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
-4.0,
-20.0,
20.0,
0.0,
20.0
],
"volume_mm3": 640.884901332,
"surface_area_mm2": 2026.324539213,
"solid_count": 1,
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 640.884901332,
"actual": 640.884901332,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2026.324539213,
"actual": 2026.324539213,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
-4.0,
-20.0,
20.0,
0.0,
20.0
],
"actual": [
-20.0,
-4.0,
-20.0,
20.0,
0.0,
20.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 6,
"actual": 12,
"matches": false
},
"edge_count": {
"expected": 6,
"actual": 24,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 12,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}