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

582 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_DN80-100SnapRing",
"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": "arc",
"start": [
1.0,
-12.058606885
],
"end": [
-1.0,
-12.058606885
],
"center": [
0.0,
0.0
],
"radius_mm": 12.1,
"clockwise": false
},
{
"type": "line",
"start": [
-1.0,
-12.058606885
],
"end": [
-1.0,
-16.458606885
]
},
{
"type": "line",
"start": [
-1.0,
-16.458606885
],
"end": [
-5.5,
-16.458606885
]
},
{
"type": "arc",
"start": [
-5.5,
-16.458606885
],
"end": [
-6.5,
-15.458606885
],
"center": [
-5.5,
-15.458606885
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-6.5,
-15.458606885
],
"end": [
-6.5,
-11.681186853
]
},
{
"type": "arc",
"start": [
-6.5,
-11.681186853
],
"end": [
6.5,
-11.681186853
],
"center": [
0.0,
1.0
],
"radius_mm": 14.25,
"clockwise": false
},
{
"type": "line",
"start": [
6.5,
-11.681186853
],
"end": [
6.5,
-15.458606885
]
},
{
"type": "arc",
"start": [
6.5,
-15.458606885
],
"end": [
5.5,
-16.458606885
],
"center": [
5.5,
-15.458606885
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.5,
-16.458606885
],
"end": [
1.0,
-16.458606885
]
},
{
"type": "line",
"start": [
1.0,
-16.458606885
],
"end": [
1.0,
-12.058606885
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-3.2,
-14.25
],
"radius_mm": 1.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
3.2,
-14.25
],
"radius_mm": 1.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-69.29222973,
0.0
],
"end": [
61.633614865,
0.0
]
},
{
"type": "line",
"start": [
0.0,
35.244881963
],
"end": [
0.0,
-68.927533784
]
},
{
"type": "line",
"start": [
-2.981039157,
-14.25
],
"end": [
2.977161774,
-14.25
]
}
]
}
}
]
},
"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": 1.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_DN80~100SnapRing.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0002530498398994507,
"volume": 2.530498398994507e-07,
"surface_area": 0.0006510977359767704,
"center_of_mass": [
1.5312624306113e-17,
0.0006,
-0.0007338508259337238
],
"principal_moments": [
1.9495363430577996e-08,
2.7887152534387388e-08,
4.732178400338959e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.014249999999999995,
0.0,
-0.01525,
0.014250000000000002,
0.0012,
0.01645860688471102
],
"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.014249999999999995,
0.0,
-0.01525,
0.014250000000000002,
0.0012,
0.01645860688471102
],
"face_count": 14,
"edge_count": 34,
"vertex_count": 20
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cylinder": 10,
"plane": 8
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 15.5821,
"pair_count": 2
},
{
"spacing_mm": 14.6049,
"pair_count": 2
},
{
"spacing_mm": 2.5982,
"pair_count": 2
},
{
"spacing_mm": 8.7835,
"pair_count": 2
},
{
"spacing_mm": 17.3533,
"pair_count": 2
},
{
"spacing_mm": 16.4079,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-14.25,
0.0,
-15.25,
14.25,
1.2,
16.458606885
],
"volume_mm3": 253.049839899,
"surface_area_mm2": 651.097735977,
"solid_count": 1,
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-14.25,
0.0,
-15.25,
14.25,
1.2,
16.458606885
],
"volume_mm3": 253.049839899,
"surface_area_mm2": 651.097735977,
"solid_count": 1,
"face_count": 14,
"edge_count": 34,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 253.049839899,
"actual": 253.049839899,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 651.097735977,
"actual": 651.097735977,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-14.25,
0.0,
-15.25,
14.25,
1.2,
16.458606885
],
"actual": [
-14.25,
0.0,
-15.25,
14.25,
1.2,
16.458606885
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}