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

862 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_C150DN100-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": "草圖3",
"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": [],
"construction": [
{
"type": "circle",
"center": [
-0.0,
53.4
],
"radius_mm": 77.0
},
{
"type": "line",
"start": [
0.0,
31.651335725
],
"end": [
0.0,
-31.651335725
]
},
{
"type": "line",
"start": [
-67.431513258,
53.4
],
"end": [
67.431513258,
53.4
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖4",
"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": [
56.090575581,
0.0
],
"end": [
63.5,
0.0
]
},
{
"type": "line",
"start": [
63.5,
0.0
],
"end": [
64.5,
-1.0
]
},
{
"type": "line",
"start": [
64.5,
-1.0
],
"end": [
64.5,
-12.5
]
},
{
"type": "line",
"start": [
64.5,
-12.5
],
"end": [
63.5,
-13.5
]
},
{
"type": "line",
"start": [
63.5,
-13.5
],
"end": [
57.0,
-13.5
]
},
{
"type": "line",
"start": [
57.0,
-13.5
],
"end": [
51.0,
-11.9
]
},
{
"type": "line",
"start": [
51.0,
-11.9
],
"end": [
51.0,
-4.4
]
},
{
"type": "line",
"start": [
51.0,
-4.4
],
"end": [
52.1,
-3.3
]
},
{
"type": "line",
"start": [
52.1,
-3.3
],
"end": [
54.170663133,
-1.5
]
},
{
"type": "line",
"start": [
54.170663133,
-1.5
],
"end": [
56.090575581,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-47.460760021,
0.0
],
"end": [
47.460760021,
0.0
]
},
{
"type": "line",
"start": [
0.0,
37.928878476
],
"end": [
0.0,
-37.928878476
]
}
]
}
},
{
"id": "sk_004",
"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": [
-2.499530483,
64.451550388
],
"end": [
2.499530483,
64.451550388
],
"center": [
0.0,
64.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "arc",
"start": [
2.499530483,
64.451550388
],
"end": [
-2.499530483,
64.451550388
],
"center": [
0.0,
0.0
],
"radius_mm": 64.5,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
64.451550388,
2.499530483
],
"end": [
64.451550388,
-2.499530483
],
"center": [
64.5,
-0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "arc",
"start": [
64.451550388,
-2.499530483
],
"end": [
64.451550388,
2.499530483
],
"center": [
-0.0,
0.0
],
"radius_mm": 64.5,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
2.499530483,
-64.451550388
],
"end": [
-2.499530483,
-64.451550388
],
"center": [
0.0,
-64.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "arc",
"start": [
-2.499530483,
-64.451550388
],
"end": [
2.499530483,
-64.451550388
],
"center": [
0.0,
0.0
],
"radius_mm": 64.5,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-64.451550388,
-2.499530483
],
"end": [
-64.451550388,
2.499530483
],
"center": [
-64.5,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "arc",
"start": [
-64.451550388,
2.499530483
],
"end": [
-64.451550388,
-2.499530483
],
"center": [
0.0,
0.0
],
"radius_mm": 64.5,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
64.595664646
],
"end": [
0.0,
-64.595664646
]
},
{
"type": "line",
"start": [
-30.54676195,
0.0
],
"end": [
30.54676195,
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_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_002"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
37.928878476,
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": "3f1622976423db8c5dfff88c9bf42985f20df330772938ee5d1d45a4bf8bcf3f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
8.323928465740401e-18,
0.03792887847556677,
0.0
],
"end": [
8.323928465740401e-18,
-0.03792887847556677,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"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"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_C150DN100.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.4988333974895192,
"volume": 6.010040933608665e-05,
"surface_area": 0.017903198727666898,
"center_of_mass": [
-9.721970061536368e-18,
-7.927667017476718e-17,
0.006897268179565452
],
"principal_moments": [
0.0008599229513590525,
0.0008599229513590525,
0.0017063471233208375
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.077,
-0.06445155038759688,
-0.1304,
0.077,
0.06445155038759688,
0.031651335725145134
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZQAAAA==",
"persist_reference_sha256": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371",
"component": null,
"geometry": {
"box": [
-0.06445155038759688,
-0.06445155038759688,
-6.938893903907228e-18,
0.0644515503875969,
0.06445155038759688,
0.013499999999999998
],
"face_count": 23,
"edge_count": 54,
"vertex_count": 32
},
"stable_id": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 29,
"surface_counts": {
"cone": 16,
"cylinder": 11,
"plane": 2
},
"axis_count": 27,
"repeat_spacings_mm": [
{
"spacing_mm": 65.6068,
"pair_count": 4
},
{
"spacing_mm": 65.3015,
"pair_count": 4
},
{
"spacing_mm": 82.4935,
"pair_count": 4
},
{
"spacing_mm": 64.5198,
"pair_count": 4
},
{
"spacing_mm": 65.8976,
"pair_count": 4
},
{
"spacing_mm": 65.7001,
"pair_count": 4
},
{
"spacing_mm": 64.5,
"pair_count": 4
},
{
"spacing_mm": 91.2168,
"pair_count": 4
},
{
"spacing_mm": 129.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-64.451550488,
-64.451550488,
-1e-07,
64.451550488,
64.451550488,
13.5000001
],
"volume_mm3": 60100.292756068,
"surface_area_mm2": 17903.192556414,
"solid_count": 1,
"face_count": 29,
"edge_count": 73,
"vertex_count": 46
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-77.0,
-64.451550388,
-130.4,
77.0,
64.451550388,
31.651335725
],
"volume_mm3": 60100.409336087,
"surface_area_mm2": 17903.198727667,
"solid_count": 1,
"face_count": 23,
"edge_count": 54,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 60100.409336087,
"actual": 60100.292756068,
"absolute_delta": 0.11658001900650561,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 17903.198727667,
"actual": 17903.192556414,
"absolute_delta": 0.006171253000502475,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-77.0,
-64.451550388,
-130.4,
77.0,
64.451550388,
31.651335725
],
"actual": [
-64.451550488,
-64.451550488,
-1e-07,
64.451550488,
64.451550488,
13.5000001
],
"max_absolute_delta": 130.3999999,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 29,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 73,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 46,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}