Files
cdsl-cad/json_to_cdsl/output/_User-Library-Flange-C300DN100_A-M14x2-0_35.cdsl.json
T
2026-08-24 14:52:08 +08:00

1086 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_A-M14x2-0_35",
"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,
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": [
12.413030788,
0.0
],
"end": [
6.206515394,
10.75
]
},
{
"type": "line",
"start": [
6.206515394,
10.75
],
"end": [
-6.206515394,
10.75
]
},
{
"type": "line",
"start": [
-6.206515394,
10.75
],
"end": [
-12.413030788,
-0.0
]
},
{
"type": "line",
"start": [
-12.413030788,
-0.0
],
"end": [
-6.206515394,
-10.75
]
},
{
"type": "line",
"start": [
-6.206515394,
-10.75
],
"end": [
6.206515394,
-10.75
]
},
{
"type": "line",
"start": [
6.206515394,
-10.75
],
"end": [
12.413030788,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 10.75
}
]
}
},
{
"id": "sk_003",
"name": "草圖3",
"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": [
-12.797596605,
0.0
],
"end": [
-10.75,
0.0
]
},
{
"type": "line",
"start": [
-10.75,
0.0
],
"end": [
-12.797596605,
-0.745264216
]
},
{
"type": "line",
"start": [
-12.797596605,
-0.745264216
],
"end": [
-12.797596605,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
1.716062233
],
"end": [
0.0,
-5.426498942
]
}
]
}
},
{
"id": "sk_004",
"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,
-10.0
],
"end": [
0.0,
-44.0
]
},
{
"type": "line",
"start": [
0.0,
-44.0
],
"end": [
6.0,
-44.0
]
},
{
"type": "line",
"start": [
6.0,
-44.0
],
"end": [
7.0,
-43.0
]
},
{
"type": "line",
"start": [
7.0,
-43.0
],
"end": [
6.0,
-42.0
]
},
{
"type": "line",
"start": [
6.0,
-42.0
],
"end": [
7.0,
-41.0
]
},
{
"type": "line",
"start": [
7.0,
-41.0
],
"end": [
6.0,
-40.0
]
},
{
"type": "line",
"start": [
6.0,
-40.0
],
"end": [
7.0,
-39.0
]
},
{
"type": "line",
"start": [
7.0,
-39.0
],
"end": [
6.0,
-38.0
]
},
{
"type": "line",
"start": [
6.0,
-38.0
],
"end": [
7.0,
-37.0
]
},
{
"type": "line",
"start": [
7.0,
-37.0
],
"end": [
6.0,
-36.0
]
},
{
"type": "line",
"start": [
6.0,
-36.0
],
"end": [
7.0,
-35.0
]
},
{
"type": "line",
"start": [
7.0,
-35.0
],
"end": [
6.0,
-34.0
]
},
{
"type": "line",
"start": [
6.0,
-34.0
],
"end": [
7.0,
-33.0
]
},
{
"type": "line",
"start": [
7.0,
-33.0
],
"end": [
6.0,
-32.0
]
},
{
"type": "line",
"start": [
6.0,
-32.0
],
"end": [
7.0,
-31.0
]
},
{
"type": "line",
"start": [
7.0,
-31.0
],
"end": [
6.0,
-30.0
]
},
{
"type": "line",
"start": [
6.0,
-30.0
],
"end": [
7.0,
-29.0
]
},
{
"type": "line",
"start": [
7.0,
-29.0
],
"end": [
6.0,
-28.0
]
},
{
"type": "line",
"start": [
6.0,
-28.0
],
"end": [
7.0,
-27.0
]
},
{
"type": "line",
"start": [
7.0,
-27.0
],
"end": [
6.0,
-26.0
]
},
{
"type": "line",
"start": [
6.0,
-26.0
],
"end": [
7.0,
-25.0
]
},
{
"type": "line",
"start": [
7.0,
-25.0
],
"end": [
6.0,
-24.0
]
},
{
"type": "line",
"start": [
6.0,
-24.0
],
"end": [
7.0,
-23.0
]
},
{
"type": "line",
"start": [
7.0,
-23.0
],
"end": [
6.0,
-22.0
]
},
{
"type": "line",
"start": [
6.0,
-22.0
],
"end": [
7.0,
-21.0
]
},
{
"type": "line",
"start": [
7.0,
-21.0
],
"end": [
6.0,
-20.0
]
},
{
"type": "line",
"start": [
6.0,
-20.0
],
"end": [
7.0,
-19.0
]
},
{
"type": "line",
"start": [
7.0,
-19.0
],
"end": [
6.0,
-18.0
]
},
{
"type": "line",
"start": [
6.0,
-18.0
],
"end": [
7.0,
-17.0
]
},
{
"type": "line",
"start": [
7.0,
-17.0
],
"end": [
6.0,
-16.0
]
},
{
"type": "line",
"start": [
6.0,
-16.0
],
"end": [
7.0,
-15.0
]
},
{
"type": "line",
"start": [
7.0,
-15.0
],
"end": [
7.0,
-10.0
]
},
{
"type": "line",
"start": [
7.0,
-10.0
],
"end": [
0.0,
-10.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.847372361
],
"end": [
0.0,
-196.197058213
]
}
]
}
}
]
},
"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": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 10.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "除料-旋轉1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
1.716062233,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "3e938b556cea30cb6fbba95a2008393b1dc64eb904ccf88d61f7d0973150580d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0017160622333098332,
0.0
],
"end": [
0.0,
-0.005426498942402573,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "旋轉1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.847372361,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "fc5bdfdecfd8ec5f85569117acac440b06a394d8b04d0098369a60824dc0b7da",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0008473723605880541,
0.0
],
"end": [
0.0,
-0.19619705821286992,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_A-M14x2.0_35.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.008622917469642393,
"volume": 8.622917469642393e-06,
"surface_area": 0.0033863883838267483,
"center_of_mass": [
-3.1688056309337675e-09,
-0.01663116758599438,
-1.135624563708169e-18
],
"principal_moments": [
3.5723899369240755e-07,
1.6753684612590844e-06,
1.6753692257623023e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01241303078757696,
-0.044000000000000004,
-0.01075000000000001,
0.012413030787576954,
0.0,
0.010750000000000004
],
"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.01241303078757696,
-0.044000000000000004,
-0.01075000000000001,
0.012413030787576954,
0.0,
0.010750000000000004
],
"face_count": 45,
"edge_count": 61,
"vertex_count": 18
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 75,
"surface_counts": {
"cone": 64,
"cylinder": 2,
"plane": 9
},
"axis_count": 66,
"repeat_spacings_mm": [
{
"spacing_mm": 1.0,
"pair_count": 28
},
{
"spacing_mm": 2.0,
"pair_count": 27
},
{
"spacing_mm": 3.0,
"pair_count": 26
},
{
"spacing_mm": 4.0,
"pair_count": 25
},
{
"spacing_mm": 5.0,
"pair_count": 24
},
{
"spacing_mm": 6.0,
"pair_count": 23
},
{
"spacing_mm": 7.0,
"pair_count": 22
},
{
"spacing_mm": 8.0,
"pair_count": 21
},
{
"spacing_mm": 9.0,
"pair_count": 20
},
{
"spacing_mm": 10.0,
"pair_count": 19
},
{
"spacing_mm": 11.0,
"pair_count": 18
},
{
"spacing_mm": 12.0,
"pair_count": 17
}
],
"metrics": {
"bounding_box_mm": [
-12.413030888,
-44.0,
-10.7500001,
12.413030888,
1e-07,
10.7500001
],
"volume_mm3": 8622.916425301,
"surface_area_mm2": 3386.385637197,
"solid_count": 1,
"face_count": 75,
"edge_count": 152,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.413030788,
-44.0,
-10.75,
12.413030788,
0.0,
10.75
],
"volume_mm3": 8622.917469642,
"surface_area_mm2": 3386.388383827,
"solid_count": 1,
"face_count": 45,
"edge_count": 61,
"vertex_count": 18
},
"comparisons": {
"volume_mm3": {
"expected": 8622.917469642,
"actual": 8622.916425301,
"absolute_delta": 0.00104434099921491,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3386.388383827,
"actual": 3386.385637197,
"absolute_delta": 0.002746629999819561,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.413030788,
-44.0,
-10.75,
12.413030788,
0.0,
10.75
],
"actual": [
-12.413030888,
-44.0,
-10.7500001,
12.413030888,
1e-07,
10.7500001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 75,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 152,
"matches": false
},
"vertex_count": {
"expected": 18,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}