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

987 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "09---Corpo",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origem",
"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": "Esboço1",
"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": [
-21.0,
14.269532703
],
"end": [
-14.269532702,
21.0
],
"center": [
32.14740037,
-32.147400372
],
"radius_mm": 70.563289621,
"clockwise": true
},
{
"type": "line",
"start": [
-14.269532702,
21.0
],
"end": [
14.269532672,
21.0
]
},
{
"type": "arc",
"start": [
14.269532672,
21.0
],
"end": [
20.99999997,
14.269532702
],
"center": [
-32.147400402,
-32.14740037
],
"radius_mm": 70.563289621,
"clockwise": true
},
{
"type": "line",
"start": [
20.99999997,
14.269532702
],
"end": [
20.99999997,
0.700000015
]
},
{
"type": "line",
"start": [
20.99999997,
0.700000015
],
"end": [
20.49999997,
0.700000015
]
},
{
"type": "line",
"start": [
20.49999997,
0.700000015
],
"end": [
20.49999997,
-0.699999985
]
},
{
"type": "line",
"start": [
20.49999997,
-0.699999985
],
"end": [
20.99999997,
-0.699999985
]
},
{
"type": "line",
"start": [
20.99999997,
-0.699999985
],
"end": [
20.99999997,
-14.269532672
]
},
{
"type": "arc",
"start": [
20.99999997,
-14.269532672
],
"end": [
14.269532672,
-20.99999997
],
"center": [
-32.1474004,
32.147400402
],
"radius_mm": 70.563289621,
"clockwise": true
},
{
"type": "line",
"start": [
14.269532672,
-20.99999997
],
"end": [
-14.269532703,
-20.99999997
]
},
{
"type": "arc",
"start": [
-14.269532703,
-20.99999997
],
"end": [
-21.0,
-14.269532672
],
"center": [
32.147400372,
32.1474004
],
"radius_mm": 70.563289621,
"clockwise": true
},
{
"type": "line",
"start": [
-21.0,
-14.269532672
],
"end": [
-21.0,
14.269532703
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
19.25,
7.973611076
],
"end": [
7.973611076,
19.25
]
},
{
"type": "line",
"start": [
7.973611076,
19.25
],
"end": [
-7.973611076,
19.25
]
},
{
"type": "line",
"start": [
-7.973611076,
19.25
],
"end": [
-19.25,
7.973611076
]
},
{
"type": "line",
"start": [
-19.25,
7.973611076
],
"end": [
-19.25,
-7.973611076
]
},
{
"type": "line",
"start": [
-19.25,
-7.973611076
],
"end": [
-7.973611076,
-19.25
]
},
{
"type": "line",
"start": [
-7.973611076,
-19.25
],
"end": [
7.973611076,
-19.25
]
},
{
"type": "line",
"start": [
7.973611076,
-19.25
],
"end": [
19.25,
-7.973611076
]
},
{
"type": "line",
"start": [
19.25,
-7.973611076
],
"end": [
19.25,
7.973611076
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
15.5,
15.5
],
"radius_mm": 1.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-15.5,
15.5
],
"radius_mm": 1.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-15.5,
-15.5
],
"radius_mm": 1.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
15.5,
-15.5
],
"radius_mm": 1.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-18.915106397,
11.844038585
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-11.844038585,
18.915106397
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
11.844038585,
18.915106397
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
18.915106397,
11.844038585
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
18.915106397,
-11.844038585
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
11.844038585,
-18.915106397
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-11.844038585,
-18.915106397
],
"radius_mm": 0.75
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-18.915106397,
-11.844038585
],
"radius_mm": 0.75
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
-0.0
],
"radius_mm": 19.25
},
{
"type": "line",
"start": [
-17.147339444,
10.076271632
],
"end": [
-18.915106397,
11.844038585
]
},
{
"type": "line",
"start": [
-15.5,
-15.5
],
"end": [
15.5,
-15.5
]
},
{
"type": "line",
"start": [
-15.5,
-15.5
],
"end": [
-15.5,
15.5
]
},
{
"type": "line",
"start": [
-15.5,
15.5
],
"end": [
15.5,
15.5
]
},
{
"type": "line",
"start": [
15.5,
-15.5
],
"end": [
15.5,
15.5
]
},
{
"type": "line",
"start": [
-15.5,
-15.5
],
"end": [
15.5,
15.5
]
},
{
"type": "line",
"start": [
-15.5,
15.5
],
"end": [
15.5,
-15.5
]
},
{
"type": "line",
"start": [
-10.076271632,
17.147339444
],
"end": [
-11.844038585,
18.915106397
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plano frontal",
"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": "Plano superior",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "Plano direito",
"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_004",
"name": "Ressalto-extrusão1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 0.5,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "Ressalto-extrusão2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "Corte-extrusão1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.1,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "Filete1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0501_箱体壳体/050199_通用壳体/09 - Corpo.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0016591334239175481,
"volume": 2.100168891034871e-07,
"surface_area": 0.001006608831435427,
"center_of_mass": [
-3.458061259059573e-05,
3.3657214430483006e-06,
-6.039926128135344e-11
],
"principal_moments": [
3.987732590931274e-07,
3.9996535441237564e-07,
7.986684036997695e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.021000000000000005,
-0.00025,
-0.021000000000000005,
0.02099999996973028,
0.00035000000000000005,
0.02099999996973028
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Filete1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.021000000000000005,
-0.00025,
-0.021000000000000005,
0.02099999996973028,
0.00035,
0.02099999996973028
],
"face_count": 66,
"edge_count": 124,
"vertex_count": 56
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 86,
"surface_counts": {
"cylinder": 52,
"plane": 34
},
"axis_count": 52,
"repeat_spacings_mm": [
{
"spacing_mm": 31.5614,
"pair_count": 16
},
{
"spacing_mm": 31.5654,
"pair_count": 16
},
{
"spacing_mm": 43.5,
"pair_count": 8
},
{
"spacing_mm": 10.0,
"pair_count": 8
},
{
"spacing_mm": 37.8302,
"pair_count": 8
},
{
"spacing_mm": 44.6346,
"pair_count": 8
},
{
"spacing_mm": 23.6881,
"pair_count": 8
},
{
"spacing_mm": 0.5,
"pair_count": 8
},
{
"spacing_mm": 10.0125,
"pair_count": 8
},
{
"spacing_mm": 37.8335,
"pair_count": 8
},
{
"spacing_mm": 23.6934,
"pair_count": 8
},
{
"spacing_mm": 44.6374,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-21.0,
-0.25,
-21.0,
20.99999997,
0.35,
20.99999997
],
"volume_mm3": 210.016889103,
"surface_area_mm2": 1006.608831435,
"solid_count": 1,
"face_count": 86,
"edge_count": 204,
"vertex_count": 136
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-21.0,
-0.25,
-21.0,
20.99999997,
0.35,
20.99999997
],
"volume_mm3": 210.016889103,
"surface_area_mm2": 1006.608831435,
"solid_count": 1,
"face_count": 66,
"edge_count": 124,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 210.016889103,
"actual": 210.016889103,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1006.608831435,
"actual": 1006.608831435,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-21.0,
-0.25,
-21.0,
20.99999997,
0.35,
20.99999997
],
"actual": [
-21.0,
-0.25,
-21.0,
20.99999997,
0.35,
20.99999997
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 66,
"actual": 86,
"matches": false
},
"edge_count": {
"expected": 124,
"actual": 204,
"matches": false
},
"vertex_count": {
"expected": 56,
"actual": 136,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}