Files
cdsl-cad/json_to_cdsl/output/MDB1B50-175_MB12159-Body.cdsl.json
2026-08-24 14:52:08 +08:00

909 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "MDB1B50-175_MB12159-Body",
"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": "Body_Sketch",
"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": [
-32.0,
-32.0
],
"end": [
32.0,
-32.0
]
},
{
"type": "line",
"start": [
32.0,
-32.0
],
"end": [
32.0,
32.0
]
},
{
"type": "line",
"start": [
32.0,
32.0
],
"end": [
-32.0,
32.0
]
},
{
"type": "line",
"start": [
-32.0,
32.0
],
"end": [
-32.0,
-32.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
32.0,
32.0
],
"end": [
-32.0,
-32.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Rod Hole_Sketch",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 10.05
}
},
{
"id": "sk_004",
"name": "Piston Pocket_Sketch",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 25.05
}
},
{
"id": "sk_005",
"name": "Switch Grooves_Sketch",
"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": [
-16.175,
32.0
],
"end": [
-16.175,
30.893043531
]
},
{
"type": "line",
"start": [
-16.175,
30.893043531
],
"end": [
-16.855771366,
30.5
]
},
{
"type": "line",
"start": [
-16.855771366,
30.5
],
"end": [
-15.65,
26.0
]
},
{
"type": "line",
"start": [
-15.65,
26.0
],
"end": [
-9.35,
26.0
]
},
{
"type": "line",
"start": [
-9.35,
26.0
],
"end": [
-8.144228634,
30.5
]
},
{
"type": "line",
"start": [
-8.144228634,
30.5
],
"end": [
-8.825,
30.893043531
]
},
{
"type": "line",
"start": [
-8.825,
30.893043531
],
"end": [
-8.825,
32.0
]
},
{
"type": "line",
"start": [
-8.825,
32.0
],
"end": [
-16.175,
32.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
16.175,
32.0
],
"end": [
8.825,
32.0
]
},
{
"type": "line",
"start": [
8.825,
32.0
],
"end": [
8.825,
30.893043531
]
},
{
"type": "line",
"start": [
8.825,
30.893043531
],
"end": [
8.144228634,
30.5
]
},
{
"type": "line",
"start": [
8.144228634,
30.5
],
"end": [
9.35,
26.0
]
},
{
"type": "line",
"start": [
9.35,
26.0
],
"end": [
15.65,
26.0
]
},
{
"type": "line",
"start": [
15.65,
26.0
],
"end": [
16.855771366,
30.5
]
},
{
"type": "line",
"start": [
16.855771366,
30.5
],
"end": [
16.175,
30.893043531
]
},
{
"type": "line",
"start": [
16.175,
30.893043531
],
"end": [
16.175,
32.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.5,
27.581960784
],
"end": [
-12.5,
26.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
54.141564346
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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_004",
"name": "Body",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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_005",
"name": "Body Rounds",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 6.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Rod Hole",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "Piston Pocket",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "Switch Grooves",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_007",
"name": "Rod Hole Chamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.8,
"angle_rad": 0.5235987755983
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Switch Groove Inside Fillet",
"atomic_id": "fillet",
"depends_on": [
"f_009"
],
"params": {
"radius_mm": 0.4,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Switch Groove Outside Round",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"radius_mm": 0.3,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0501_箱体壳体/050199_通用壳体/MDB1B50-175_MB12159 Body.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.4000146502068958,
"volume": 0.0004000146502068958,
"surface_area": 0.10976953836095471,
"center_of_mass": [
7.886233503278633e-18,
-1.3832665964905595e-17,
2.3545040944553462e-17
],
"principal_moments": [
0.0003772383823905327,
0.00185203614919144,
0.00185203614919144
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.032000000000000174,
-0.03200000000000012,
-0.103,
0.032000000000000056,
0.032,
0.103
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Switch Groove Pat",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.032000000000000174,
-0.03200000000000012,
-0.103,
0.032000000000000056,
0.032,
0.103
],
"face_count": 113,
"edge_count": 320,
"vertex_count": 208
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 118,
"surface_counts": {
"cone": 4,
"cylinder": 42,
"plane": 72
},
"axis_count": 46,
"repeat_spacings_mm": [
{
"spacing_mm": 25.0,
"pair_count": 16
},
{
"spacing_mm": 265.6131,
"pair_count": 8
},
{
"spacing_mm": 265.3453,
"pair_count": 8
},
{
"spacing_mm": 207.7939,
"pair_count": 8
},
{
"spacing_mm": 207.4515,
"pair_count": 8
},
{
"spacing_mm": 30.5347,
"pair_count": 8
},
{
"spacing_mm": 28.1108,
"pair_count": 8
},
{
"spacing_mm": 99.5058,
"pair_count": 8
},
{
"spacing_mm": 97.2809,
"pair_count": 8
},
{
"spacing_mm": 91.1358,
"pair_count": 8
},
{
"spacing_mm": 91.9742,
"pair_count": 8
},
{
"spacing_mm": 110.4951,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-32.0,
-32.0,
-103.0,
32.0,
32.0,
103.0
],
"volume_mm3": 400014.650206896,
"surface_area_mm2": 109769.538360954,
"solid_count": 1,
"face_count": 118,
"edge_count": 338,
"vertex_count": 224
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.0,
-32.0,
-103.0,
32.0,
32.0,
103.0
],
"volume_mm3": 400014.650206896,
"surface_area_mm2": 109769.538360955,
"solid_count": 1,
"face_count": 113,
"edge_count": 320,
"vertex_count": 208
},
"comparisons": {
"volume_mm3": {
"expected": 400014.650206896,
"actual": 400014.650206896,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 109769.538360955,
"actual": 109769.538360954,
"absolute_delta": 1.0040821507573128e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.0,
-32.0,
-103.0,
32.0,
32.0,
103.0
],
"actual": [
-32.0,
-32.0,
-103.0,
32.0,
32.0,
103.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 113,
"actual": 118,
"matches": false
},
"edge_count": {
"expected": 320,
"actual": 338,
"matches": false
},
"vertex_count": {
"expected": 208,
"actual": 224,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}