Files
cdsl-cad/json_to_cdsl/output/cylinder-flange.cdsl.json
T
2026-08-24 14:52:08 +08:00

674 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "cylinder-flange",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Orijin",
"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": "Sketch1",
"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,
117.5
],
"end": [
0.0,
170.0
]
},
{
"type": "line",
"start": [
0.0,
170.0
],
"end": [
45.0,
170.0
]
},
{
"type": "line",
"start": [
45.0,
170.0
],
"end": [
45.0,
102.5
]
},
{
"type": "line",
"start": [
45.0,
102.5
],
"end": [
15.0,
102.5
]
},
{
"type": "line",
"start": [
15.0,
102.5
],
"end": [
15.0,
117.5
]
},
{
"type": "line",
"start": [
15.0,
117.5
],
"end": [
0.0,
117.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
132.791291291,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "circles",
"items": [
{
"center": [
0.0,
152.5
],
"radius_mm": 9.5
},
{
"center": [
76.25,
132.068874077
],
"radius_mm": 9.5
},
{
"center": [
132.068874077,
76.25
],
"radius_mm": 9.5
},
{
"center": [
152.5,
0.0
],
"radius_mm": 9.5
},
{
"center": [
132.068874077,
-76.25
],
"radius_mm": 9.5
},
{
"center": [
76.25,
-132.068874077
],
"radius_mm": 9.5
},
{
"center": [
0.0,
-152.5
],
"radius_mm": 9.5
},
{
"center": [
-76.25,
-132.068874077
],
"radius_mm": 9.5
},
{
"center": [
-132.068874077,
-76.25
],
"radius_mm": 9.5
},
{
"center": [
-152.5,
-0.0
],
"radius_mm": 9.5
},
{
"center": [
-132.068874077,
76.25
],
"radius_mm": 9.5
},
{
"center": [
-76.25,
132.068874077
],
"radius_mm": 9.5
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Ön Düzlem",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Üst Düzlem",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "2764e58f20d90c8731758c4808733c83e371dce63877fef485d1c8b4de232ae9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.13279129129129133,
0.0,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Sağ Düzlem",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.25,
"angle_rad": 0.5235987755983
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/cylinder flange.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 17.87036372433953,
"volume": 0.0022910722723512218,
"surface_area": 0.21873257259855175,
"center_of_mass": [
0.023518223747847816,
1.042698494448422e-17,
-1.3874244371421039e-17
],
"principal_moments": [
0.1813744340142838,
0.1813744340142838,
0.3569399897417946
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.17,
-0.17,
0.045,
0.17,
0.17
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
0.0,
-0.17,
-0.17,
0.045,
0.17,
0.17
],
"face_count": 42,
"edge_count": 54,
"vertex_count": 0
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 81,
"surface_counts": {
"cone": 48,
"cylinder": 30,
"plane": 3
},
"axis_count": 78,
"repeat_spacings_mm": [
{
"spacing_mm": 78.9398,
"pair_count": 36
},
{
"spacing_mm": 152.5,
"pair_count": 36
},
{
"spacing_mm": 215.6676,
"pair_count": 36
},
{
"spacing_mm": 264.1377,
"pair_count": 36
},
{
"spacing_mm": 294.6074,
"pair_count": 36
},
{
"spacing_mm": 90.51,
"pair_count": 24
},
{
"spacing_mm": 158.798,
"pair_count": 24
},
{
"spacing_mm": 220.166,
"pair_count": 24
},
{
"spacing_mm": 267.8233,
"pair_count": 24
},
{
"spacing_mm": 297.9162,
"pair_count": 24
},
{
"spacing_mm": 93.0583,
"pair_count": 24
},
{
"spacing_mm": 160.2642,
"pair_count": 24
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-170.0,
-170.0,
45.0,
170.0,
170.0
],
"volume_mm3": 2291072.272351224,
"surface_area_mm2": 218732.572598552,
"solid_count": 1,
"face_count": 81,
"edge_count": 186,
"vertex_count": 108
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-170.0,
-170.0,
45.0,
170.0,
170.0
],
"volume_mm3": 2291072.272351222,
"surface_area_mm2": 218732.572598552,
"solid_count": 1,
"face_count": 42,
"edge_count": 54,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 2291072.272351222,
"actual": 2291072.272351224,
"absolute_delta": 1.862645149230957e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 218732.572598552,
"actual": 218732.572598552,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-170.0,
-170.0,
45.0,
170.0,
170.0
],
"actual": [
-0.0,
-170.0,
-170.0,
45.0,
170.0,
170.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 42,
"actual": 81,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 186,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 108,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}