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

1155 lines
29 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "11---Flange",
"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": [
10.969182874,
7.504560719
],
"end": [
11.082224189,
8.019670724
],
"center": [
10.731910976,
7.82658874
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
11.082224189,
8.019670724
],
"end": [
11.341808671,
8.207519484
]
},
{
"type": "arc",
"start": [
11.341808671,
8.207519484
],
"end": [
13.823462506,
-2.216277139
],
"center": [
0.0,
0.0
],
"radius_mm": 14.0,
"clockwise": false
},
{
"type": "line",
"start": [
13.823462506,
-2.216277139
],
"end": [
13.507778422,
-2.165664391
]
},
{
"type": "arc",
"start": [
13.507778422,
-2.165664391
],
"end": [
13.174835153,
-1.750749321
],
"center": [
13.108303411,
-2.145177423
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
13.174835153,
-1.750749321
],
"end": [
12.919194973,
-1.707628189
]
},
{
"type": "arc",
"start": [
12.919194973,
-1.707628189
],
"end": [
13.000451936,
-0.899912346
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
13.000451936,
-0.899912346
],
"end": [
13.259558649,
-0.908575229
]
},
{
"type": "arc",
"start": [
13.259558649,
-0.908575229
],
"end": [
13.67263107,
-0.524120778
],
"center": [
13.272924639,
-0.508798603
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "arc",
"start": [
13.67263107,
-0.524120778
],
"end": [
13.677105833,
-0.390280687
],
"center": [
0.0,
0.0
],
"radius_mm": 13.682673093,
"clockwise": false
},
{
"type": "arc",
"start": [
13.677105833,
-0.390280687
],
"end": [
13.290634577,
0.020905426
],
"center": [
13.277268586,
-0.3788712
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
13.290634577,
0.020905426
],
"end": [
13.031527865,
0.029568308
]
},
{
"type": "arc",
"start": [
13.031527865,
0.029568308
],
"end": [
13.004401826,
0.840907789
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
13.004401826,
0.840907789
],
"end": [
13.262351305,
0.866857746
]
},
{
"type": "arc",
"start": [
13.262351305,
0.866857746
],
"end": [
13.62049532,
1.302939063
],
"center": [
13.222313029,
1.264848872
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "arc",
"start": [
13.62049532,
1.302939063
],
"end": [
13.607091018,
1.436181392
],
"center": [
0.0,
0.0
],
"radius_mm": 13.682673093,
"clockwise": false
},
{
"type": "arc",
"start": [
13.607091018,
1.436181392
],
"end": [
13.169262312,
1.792187114
],
"center": [
13.209300589,
1.394195988
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
13.169262312,
1.792187114
],
"end": [
12.911312833,
1.766237157
]
},
{
"type": "arc",
"start": [
12.911312833,
1.766237157
],
"end": [
12.776287858,
2.566721906
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
12.776287858,
2.566721906
],
"end": [
13.028476989,
2.626821624
]
},
{
"type": "arc",
"start": [
13.028476989,
2.626821624
],
"end": [
13.325301509,
3.106747926
],
"center": [
12.935748929,
3.01592509
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "arc",
"start": [
13.325301509,
3.106747926
],
"end": [
13.294257343,
3.23701478
],
"center": [
0.0,
0.0
],
"radius_mm": 13.682673093,
"clockwise": false
},
{
"type": "arc",
"start": [
13.294257343,
3.23701478
],
"end": [
12.812884249,
3.531487182
],
"center": [
12.905612309,
3.142383716
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
12.812884249,
3.531487182
],
"end": [
12.560695118,
3.471387463
]
},
{
"type": "arc",
"start": [
12.560695118,
3.471387463
],
"end": [
12.32018073,
4.246732809
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
12.32018073,
4.246732809
],
"end": [
12.562109192,
4.339909808
]
},
{
"type": "arc",
"start": [
12.562109192,
4.339909808
],
"end": [
12.792317376,
4.855116798
],
"center": [
12.418346083,
4.713182053
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "arc",
"start": [
12.792317376,
4.855116798
],
"end": [
12.744187329,
4.980083563
],
"center": [
0.0,
0.0
],
"radius_mm": 13.682673093,
"clockwise": false
},
{
"type": "arc",
"start": [
12.744187329,
4.980083563
],
"end": [
12.227859963,
5.207767777
],
"center": [
12.371623073,
4.834495532
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
12.227859963,
5.207767777
],
"end": [
11.985931502,
5.114590777
]
},
{
"type": "arc",
"start": [
11.985931502,
5.114590777
],
"end": [
11.644219685,
5.850960664
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
11.644219685,
5.850960664
],
"end": [
11.871570259,
5.975552199
]
},
{
"type": "arc",
"start": [
11.871570259,
5.975552199
],
"end": [
12.031054037,
6.516845996
],
"center": [
11.679337557,
6.32633217
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "arc",
"start": [
12.031054037,
6.516845996
],
"end": [
11.966696991,
6.634282636
],
"center": [
0.0,
0.0
],
"radius_mm": 13.682673093,
"clockwise": false
},
{
"type": "arc",
"start": [
11.966696991,
6.634282636
],
"end": [
11.424629227,
6.791115632
],
"center": [
11.616861929,
6.440335661
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
11.424629227,
6.791115632
],
"end": [
11.197278653,
6.666524097
]
},
{
"type": "arc",
"start": [
11.197278653,
6.666524097
],
"end": [
10.760467264,
7.350777988
],
"center": [
0.0,
0.0
],
"radius_mm": 13.03156141,
"clockwise": false
},
{
"type": "line",
"start": [
10.760467264,
7.350777988
],
"end": [
10.969182874,
7.504560719
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Esboço2",
"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": [
11.554630395,
7.905094334
],
"end": [
11.341808671,
8.207519484
],
"center": [
0.0,
0.0
],
"radius_mm": 14.0,
"clockwise": false
},
{
"type": "line",
"start": [
11.341808671,
8.207519484
],
"end": [
11.082224189,
8.019670724
]
},
{
"type": "arc",
"start": [
11.082224189,
8.019670724
],
"end": [
10.969182874,
7.504560719
],
"center": [
10.731910976,
7.82658874
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
10.969182874,
7.504560719
],
"end": [
11.554630395,
7.905094334
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
13.507778422,
-2.165664391
],
"end": [
13.174835153,
-1.750749321
],
"center": [
13.108303411,
-2.145177423
],
"radius_mm": 0.4,
"clockwise": false
},
{
"type": "line",
"start": [
13.174835153,
-1.750749321
],
"end": [
13.874709853,
-1.868803493
]
},
{
"type": "arc",
"start": [
13.874709853,
-1.868803493
],
"end": [
13.823462506,
-2.216277139
],
"center": [
0.0,
0.0
],
"radius_mm": 14.0,
"clockwise": false
},
{
"type": "line",
"start": [
13.823462506,
-2.216277139
],
"end": [
13.507778422,
-2.165664391
]
}
]
}
]
}
}
]
},
"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": 22.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "Corte-extrusão1",
"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": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/11 - Flange.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.001240709964264987,
"volume": 1.5508874553312338e-07,
"surface_area": 0.0006124967205811346,
"center_of_mass": [
0.012913406015045335,
0.011249999999999998,
-0.003070939337591685
],
"principal_moments": [
1.0905763769422892e-08,
5.2547945269089464e-08,
6.304272173519126e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.010760467264483974,
0.0,
-0.00790509433434214,
0.013999999999999993,
0.0225,
0.0018688034928767013
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Corte-extrusão1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
0.010760467264483974,
0.0,
-0.00790509433434214,
0.013999999999999993,
0.0225,
0.0018688034928767009
],
"face_count": 37,
"edge_count": 105,
"vertex_count": 70
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 41,
"surface_counts": {
"cylinder": 26,
"plane": 15
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 13.2827,
"pair_count": 10
},
{
"spacing_mm": 1.7744,
"pair_count": 8
},
{
"spacing_mm": 3.5408,
"pair_count": 6
},
{
"spacing_mm": 0.13,
"pair_count": 5
},
{
"spacing_mm": 5.2914,
"pair_count": 4
},
{
"spacing_mm": 1.6446,
"pair_count": 4
},
{
"spacing_mm": 1.9041,
"pair_count": 4
},
{
"spacing_mm": 3.4119,
"pair_count": 3
},
{
"spacing_mm": 3.6696,
"pair_count": 3
},
{
"spacing_mm": 5.164,
"pair_count": 2
},
{
"spacing_mm": 5.4188,
"pair_count": 2
},
{
"spacing_mm": 7.0184,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
10.760467264,
0.0,
-7.905094334,
14.0,
22.5,
1.868803493
],
"volume_mm3": 155.088745533,
"surface_area_mm2": 612.496720581,
"solid_count": 1,
"face_count": 41,
"edge_count": 117,
"vertex_count": 78
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
10.760467264,
0.0,
-7.905094334,
14.0,
22.5,
1.868803493
],
"volume_mm3": 155.088745533,
"surface_area_mm2": 612.496720581,
"solid_count": 1,
"face_count": 37,
"edge_count": 105,
"vertex_count": 70
},
"comparisons": {
"volume_mm3": {
"expected": 155.088745533,
"actual": 155.088745533,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 612.496720581,
"actual": 612.496720581,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
10.760467264,
0.0,
-7.905094334,
14.0,
22.5,
1.868803493
],
"actual": [
10.760467264,
0.0,
-7.905094334,
14.0,
22.5,
1.868803493
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 37,
"actual": 41,
"matches": false
},
"edge_count": {
"expected": 105,
"actual": 117,
"matches": false
},
"vertex_count": {
"expected": 70,
"actual": 78,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}