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

898 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_DN100-BP",
"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": [
51.464078812,
-57.275200497
],
"end": [
51.464078812,
57.275200497
],
"center": [
0.0,
0.0
],
"radius_mm": 77.0,
"clockwise": false
},
{
"type": "arc",
"start": [
51.464078812,
57.275200497
],
"end": [
50.0,
56.62244676
],
"center": [
50.87755324,
56.62244676
],
"radius_mm": 0.87755324,
"clockwise": false
},
{
"type": "line",
"start": [
50.0,
56.62244676
],
"end": [
50.0,
-56.62244676
]
},
{
"type": "arc",
"start": [
50.0,
-56.62244676
],
"end": [
51.464078812,
-57.275200497
],
"center": [
50.87755324,
-56.62244676
],
"radius_mm": 0.87755324,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
12.986678528
],
"end": [
0.0,
-12.986678528
]
},
{
"type": "line",
"start": [
46.717878644,
57.5
],
"end": [
53.969410981,
57.5
]
},
{
"type": "line",
"start": [
46.717878644,
-57.5
],
"end": [
56.543735773,
-57.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖5",
"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": [
-51.0,
57.688820407
],
"end": [
-55.474678908,
53.4
],
"center": [
0.0,
0.0
],
"radius_mm": 77.0,
"clockwise": false
},
{
"type": "line",
"start": [
-55.474678908,
53.4
],
"end": [
-64.5,
53.4
]
},
{
"type": "line",
"start": [
-64.5,
53.4
],
"end": [
-64.5,
66.9
]
},
{
"type": "line",
"start": [
-64.5,
66.9
],
"end": [
-51.0,
66.9
]
},
{
"type": "line",
"start": [
-51.0,
66.9
],
"end": [
-51.0,
57.688820407
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
53.4,
-55.474678908
],
"end": [
57.688820407,
-51.0
],
"center": [
0.0,
0.0
],
"radius_mm": 77.0,
"clockwise": false
},
{
"type": "line",
"start": [
57.688820407,
-51.0
],
"end": [
66.9,
-51.0
]
},
{
"type": "line",
"start": [
66.9,
-51.0
],
"end": [
66.9,
-64.5
]
},
{
"type": "line",
"start": [
66.9,
-64.5
],
"end": [
53.4,
-64.5
]
},
{
"type": "line",
"start": [
53.4,
-64.5
],
"end": [
53.4,
-55.474678908
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
34.639106176
],
"end": [
0.0,
-34.639106176
]
},
{
"type": "line",
"start": [
-37.204965892,
0.0
],
"end": [
37.204965892,
0.0
]
},
{
"type": "line",
"start": [
-75.830860736,
75.830860736
],
"end": [
75.830860736,
-75.830860736
]
}
]
}
},
{
"id": "sk_004",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
72.321782178,
26.430282302
],
"end": [
72.321782178,
-26.430282302
],
"center": [
101.0,
0.0
],
"radius_mm": 39.0,
"clockwise": false
},
{
"type": "arc",
"start": [
72.321782178,
-26.430282302
],
"end": [
72.321782178,
26.430282302
],
"center": [
0.0,
0.0
],
"radius_mm": 77.0,
"clockwise": true
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-2.785062799,
0.0
],
"end": [
27.826760475,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖3",
"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": "circle",
"center": [
0.0,
6.5
],
"radius_mm": 1.5
}
},
{
"id": "sk_006",
"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": [],
"construction": [
{
"type": "line",
"start": [
-10.0,
0.0
],
"end": [
10.0,
0.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,
12.986678528,
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": "0953f698ae621195580094414fdf8bbb49196105b13fa73ca1dde210266354cf",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
1.5131327382837032e-17,
0.012986678527743795,
0.0
],
"end": [
1.5131327382837032e-17,
-0.012986678527743795,
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_002",
"f_004"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_DN100.BP.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 7.404350230936299,
"volume": 0.000831949464150146,
"surface_area": 0.09348064979159051,
"center_of_mass": [
-0.0007225625053996219,
-6.634063786887845e-07,
-2.188697622815402e-11
],
"principal_moments": [
0.019222988655981172,
0.019590591282324467,
0.02858048827324875
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07699999999999999,
-0.07583086073567599,
-0.07699999999999999,
0.07658328799418315,
0.07583086073567613,
0.07699999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.07699999999999999,
-0.057499999999999996,
-0.07699999999999999,
0.07658328799418315,
0.057499999999999996,
0.07699999999999999
],
"face_count": 8,
"edge_count": 13,
"vertex_count": 5
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 13,
"surface_counts": {
"cylinder": 5,
"plane": 2,
"sphere": 2,
"torus": 4
},
"axis_count": 5,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-77.0,
-57.5000001,
-77.0,
76.583288094,
57.5000001,
77.0
],
"volume_mm3": 831949.364308553,
"surface_area_mm2": 93480.642601161,
"solid_count": 1,
"face_count": 13,
"edge_count": 41,
"vertex_count": 27
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-77.0,
-75.830860736,
-77.0,
76.583287994,
75.830860736,
77.0
],
"volume_mm3": 831949.464150146,
"surface_area_mm2": 93480.649791591,
"solid_count": 1,
"face_count": 8,
"edge_count": 13,
"vertex_count": 5
},
"comparisons": {
"volume_mm3": {
"expected": 831949.464150146,
"actual": 831949.364308553,
"absolute_delta": 0.0998415929498151,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 93480.649791591,
"actual": 93480.642601161,
"absolute_delta": 0.007190429998445325,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-77.0,
-75.830860736,
-77.0,
76.583287994,
75.830860736,
77.0
],
"actual": [
-77.0,
-57.5000001,
-77.0,
76.583288094,
57.5000001,
77.0
],
"max_absolute_delta": 18.330860636000004,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 8,
"actual": 13,
"matches": false
},
"edge_count": {
"expected": 13,
"actual": 41,
"matches": false
},
"vertex_count": {
"expected": 5,
"actual": 27,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}