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

1260 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_DN80-100-SP",
"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": [
0.0,
57.5
],
"end": [
14.0,
55.266809561
],
"center": [
0.0,
12.5
],
"radius_mm": 45.0,
"clockwise": true
},
{
"type": "line",
"start": [
14.0,
55.266809561
],
"end": [
14.0,
42.0
]
},
{
"type": "line",
"start": [
14.0,
42.0
],
"end": [
17.25,
42.0
]
},
{
"type": "line",
"start": [
17.25,
42.0
],
"end": [
17.25,
28.0
]
},
{
"type": "line",
"start": [
17.25,
28.0
],
"end": [
14.0,
28.0
]
},
{
"type": "line",
"start": [
14.0,
28.0
],
"end": [
14.0,
25.0
]
},
{
"type": "line",
"start": [
14.0,
25.0
],
"end": [
13.0,
25.0
]
},
{
"type": "line",
"start": [
13.0,
25.0
],
"end": [
13.0,
12.0
]
},
{
"type": "line",
"start": [
13.0,
12.0
],
"end": [
14.0,
12.0
]
},
{
"type": "line",
"start": [
14.0,
12.0
],
"end": [
14.0,
-19.1
]
},
{
"type": "line",
"start": [
14.0,
-19.1
],
"end": [
13.25,
-19.1
]
},
{
"type": "line",
"start": [
13.25,
-19.1
],
"end": [
13.25,
-24.1
]
},
{
"type": "line",
"start": [
13.25,
-24.1
],
"end": [
12.45,
-24.1
]
},
{
"type": "line",
"start": [
12.45,
-24.1
],
"end": [
12.45,
-25.6
]
},
{
"type": "line",
"start": [
12.45,
-25.6
],
"end": [
13.25,
-25.6
]
},
{
"type": "line",
"start": [
13.25,
-25.6
],
"end": [
13.25,
-54.5
]
},
{
"type": "line",
"start": [
13.25,
-54.5
],
"end": [
12.45,
-54.5
]
},
{
"type": "line",
"start": [
12.45,
-54.5
],
"end": [
12.45,
-56.0
]
},
{
"type": "line",
"start": [
12.45,
-56.0
],
"end": [
13.25,
-56.0
]
},
{
"type": "line",
"start": [
13.25,
-56.0
],
"end": [
13.25,
-57.5
]
},
{
"type": "line",
"start": [
13.25,
-57.5
],
"end": [
0.0,
-57.5
]
},
{
"type": "line",
"start": [
0.0,
-57.5
],
"end": [
0.0,
57.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
67.36272256
],
"end": [
0.0,
-67.36272256
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖11",
"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": "line",
"start": [
-14.0,
0.6
],
"end": [
-14.0,
-0.6
]
},
{
"type": "line",
"start": [
-14.0,
-0.6
],
"end": [
14.0,
-0.6
]
},
{
"type": "line",
"start": [
14.0,
-0.6
],
"end": [
14.0,
0.6
]
},
{
"type": "line",
"start": [
14.0,
0.6
],
"end": [
-14.0,
0.6
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-17.036792245,
0.0
],
"end": [
17.036792245,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖23",
"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": "line",
"start": [
-17.25,
17.25
],
"end": [
-8.0,
17.25
]
},
{
"type": "line",
"start": [
-8.0,
17.25
],
"end": [
-8.0,
-17.25
]
},
{
"type": "line",
"start": [
-8.0,
-17.25
],
"end": [
-17.25,
-17.25
]
},
{
"type": "line",
"start": [
-17.25,
-17.25
],
"end": [
-17.25,
17.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.0,
17.25
],
"end": [
17.25,
17.25
]
},
{
"type": "line",
"start": [
17.25,
17.25
],
"end": [
17.25,
-17.25
]
},
{
"type": "line",
"start": [
17.25,
-17.25
],
"end": [
8.0,
-17.25
]
},
{
"type": "line",
"start": [
8.0,
-17.25
],
"end": [
8.0,
17.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
7.02355163
],
"end": [
0.0,
-6.481790072
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖19",
"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": "circle",
"center": [
0.0,
34.5
],
"radius_mm": 1.0
}
},
{
"id": "sk_006",
"name": "草圖24",
"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,
49.0
],
"radius_mm": 1.0
}
},
{
"id": "sk_007",
"name": "草圖25",
"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": "line",
"start": [
0.0,
15.556349186
],
"end": [
-15.556349186,
-0.0
]
},
{
"type": "line",
"start": [
-15.556349186,
-0.0
],
"end": [
0.0,
-15.556349186
]
},
{
"type": "line",
"start": [
0.0,
-15.556349186
],
"end": [
15.556349186,
-0.0
]
},
{
"type": "line",
"start": [
15.556349186,
-0.0
],
"end": [
0.0,
15.556349186
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 17.25
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-8.902719236,
8.902719236
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.705140193
]
}
]
}
}
]
},
"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,
67.36272256,
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": [
1.432927030191712e-17,
0.06736272256042336,
0.0
],
"end": [
1.432927030191712e-17,
-0.06736272256042336,
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": "除料-伸長9",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "導角4",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.25,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "除料-伸長4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "伸長2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 18.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_012",
"name": "導角3",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.75,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "伸長3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_011",
"name": "除料-伸長10",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "ceda5c7cf7f64c09ec756c0563720abf30bb67af80637dc948943543011d4f8d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.014000000000000009,
-0.019100000000000002,
0.0
]
},
"box": [
-0.013999999999999981,
-0.019100000000000006,
-0.013999999999999995,
0.014000000000000009,
-0.019100000000000006,
0.013999999999999995
],
"area": 6.420629985774131e-05
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "圓角3",
"atomic_id": "fillet",
"depends_on": [
"f_008",
"f_009"
],
"params": {
"radius_mm": 0.8,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_DN80~100.SP.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06476620600222133,
"volume": 6.476620600222133e-05,
"surface_area": 0.01182093931858181,
"center_of_mass": [
-3.1598295770507756e-07,
0.0030312299186812594,
4.5437221595197863e-07
],
"principal_moments": [
6.37159558160904e-06,
6.737049417565812e-05,
6.759625244711919e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01724999999999998,
-0.0575,
-0.017249999999999995,
0.01725000000000001,
0.0575,
0.018
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "導角3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAB0AAAAcwAAAGwAAABpAAAAcgAAAGUAAAA=",
"persist_reference_sha256": "945388b696d8742005d55562ee5788c04e6f615ab346ee7798683b3e4c2468d1",
"component": null,
"geometry": {
"box": [
-0.01724999999999998,
-0.0575,
-0.017249999999999995,
0.01725000000000001,
0.0575,
0.018
],
"face_count": 76,
"edge_count": 181,
"vertex_count": 108
},
"stable_id": "945388b696d8742005d55562ee5788c04e6f615ab346ee7798683b3e4c2468d1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 94,
"surface_counts": {
"bspline": 2,
"cone": 13,
"cylinder": 38,
"plane": 37,
"sphere": 2,
"torus": 2
},
"axis_count": 51,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-17.2500001,
-57.5000001,
-17.2500001,
17.2500001,
57.5,
18.0000001
],
"volume_mm3": 64766.200516529,
"surface_area_mm2": 11820.938213347,
"solid_count": 1,
"face_count": 94,
"edge_count": 244,
"vertex_count": 157
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-17.25,
-57.5,
-17.25,
17.25,
57.5,
18.0
],
"volume_mm3": 64766.206002221,
"surface_area_mm2": 11820.939318582,
"solid_count": 1,
"face_count": 76,
"edge_count": 181,
"vertex_count": 108
},
"comparisons": {
"volume_mm3": {
"expected": 64766.206002221,
"actual": 64766.200516529,
"absolute_delta": 0.0054856919960002415,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11820.939318582,
"actual": 11820.938213347,
"absolute_delta": 0.0011052350000682054,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-17.25,
-57.5,
-17.25,
17.25,
57.5,
18.0
],
"actual": [
-17.2500001,
-57.5000001,
-17.2500001,
17.2500001,
57.5,
18.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 76,
"actual": 94,
"matches": false
},
"edge_count": {
"expected": 181,
"actual": 244,
"matches": false
},
"vertex_count": {
"expected": 108,
"actual": 157,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}