Files
cdsl-cad/json_to_cdsl/output/241179.cdsl.json
T
2026-08-21 11:13:18 +08:00

642 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "241179",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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,
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": [
7.81355036,
3.794636685
],
"end": [
7.708100536,
-39.593255697
],
"center": [
20.185357911,
-17.929506059
],
"radius_mm": 25.0,
"clockwise": false
},
{
"type": "line",
"start": [
7.708100536,
-39.593255697
],
"end": [
7.708100536,
-49.593255697
]
},
{
"type": "line",
"start": [
7.708100536,
-49.593255697
],
"end": [
-27.18644964,
-49.593255697
]
},
{
"type": "line",
"start": [
-27.18644964,
-49.593255697
],
"end": [
-27.18644964,
13.794636685
]
},
{
"type": "line",
"start": [
-27.18644964,
13.794636685
],
"end": [
7.81355036,
13.794636685
]
},
{
"type": "line",
"start": [
7.81355036,
13.794636685
],
"end": [
7.81355036,
3.794636685
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-27.18644964,
13.794636685
],
"end": [
-27.18644964,
-51.912408734
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
-13.794636685,
-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": [
27.18644964,
0.0
],
"radius_mm": 12.5
}
},
{
"id": "sk_004",
"name": "Sketch5",
"role": "profile",
"workplane": {
"origin_mm": [
-13.794636685,
-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": [
31.18644964,
3.799687304
],
"end": [
23.18644964,
3.799687304
]
},
{
"type": "line",
"start": [
23.18644964,
3.799687304
],
"end": [
23.18644964,
16.5
]
},
{
"type": "line",
"start": [
23.18644964,
16.5
],
"end": [
31.18644964,
16.5
]
},
{
"type": "line",
"start": [
31.18644964,
16.5
],
"end": [
31.18644964,
3.799687304
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
27.18644964,
0.0
],
"end": [
27.18644964,
20.848743408
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Right Plane",
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_002"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-27.18644964,
13.794636685,
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": "b03758c191a28bb904c85d6900931ce6ed7a445014f468e4acd7767ddd668549",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.02718644963973387,
0.013794636684507566,
0.0
],
"end": [
-0.027186449639733865,
-0.05191240873423615,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "241179.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.13749497019499238,
"volume": 0.00013749497019499237,
"surface_area": 0.025397104069435256,
"center_of_mass": [
-0.027186449639733868,
-0.0002237482364552437,
0.017838441878279414
],
"principal_moments": [
7.896057449603874e-05,
0.0001018743806210124,
0.00010231520651028507
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.06218644963973388,
-0.03500000000000001,
-0.013794636684507571,
0.007813550360266139,
0.03500000000000001,
0.04959325569721475
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABpAAAAaAAAAGUAAAA=",
"persist_reference_sha256": "ae7f0f497d1bfedf9144c738ac11e20bc6711f8994b0d93139076cfc9b65f5e6",
"component": null,
"geometry": {
"box": [
-0.06218644963973388,
-0.03500000000000001,
-0.013794636684507566,
0.007813550360266139,
0.03500000000000001,
0.04959325569721475
],
"face_count": 9,
"edge_count": 16,
"vertex_count": 8
},
"stable_id": "ae7f0f497d1bfedf9144c738ac11e20bc6711f8994b0d93139076cfc9b65f5e6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 16,
"surface_counts": {
"cylinder": 7,
"plane": 5,
"torus": 4
},
"axis_count": 7,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-62.18644964,
-35.0,
-13.794636685,
7.81355036,
35.0,
49.593255697
],
"volume_mm3": 137494.970194992,
"surface_area_mm2": 25397.104069435,
"solid_count": 1,
"face_count": 16,
"edge_count": 36,
"vertex_count": 22
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-62.18644964,
-35.0,
-13.794636685,
7.81355036,
35.0,
49.593255697
],
"volume_mm3": 137494.970194992,
"surface_area_mm2": 25397.104069435,
"solid_count": 1,
"face_count": 9,
"edge_count": 16,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 137494.970194992,
"actual": 137494.970194992,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 25397.104069435,
"actual": 25397.104069435,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-62.18644964,
-35.0,
-13.794636685,
7.81355036,
35.0,
49.593255697
],
"actual": [
-62.18644964,
-35.0,
-13.794636685,
7.81355036,
35.0,
49.593255697
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 9,
"actual": 16,
"matches": false
},
"edge_count": {
"expected": 16,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 22,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}