Files
cdsl-cad/json_to_cdsl/output/7-Pipe-Nipple.cdsl.json
T
2026-08-24 14:52:08 +08:00

712 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "7-Pipe-Nipple",
"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,
-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": 9.5
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
12.5,
0.0
],
"end": [
6.25,
10.825317547
]
},
{
"type": "line",
"start": [
6.25,
10.825317547
],
"end": [
-6.25,
10.825317547
]
},
{
"type": "line",
"start": [
-6.25,
10.825317547
],
"end": [
-12.5,
-0.0
]
},
{
"type": "line",
"start": [
-12.5,
-0.0
],
"end": [
-6.25,
-10.825317547
]
},
{
"type": "line",
"start": [
-6.25,
-10.825317547
],
"end": [
6.25,
-10.825317547
]
},
{
"type": "line",
"start": [
6.25,
-10.825317547
],
"end": [
12.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 10.825317547
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
12.5,
-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": 8.0
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
-12.5,
-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": 9.5
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
4.355785157,
9.5
],
"end": [
2.821131181,
9.5
]
},
{
"type": "line",
"start": [
2.821131181,
9.5
],
"end": [
3.588458169,
8.5
]
},
{
"type": "line",
"start": [
3.588458169,
8.5
],
"end": [
4.355785157,
9.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
3.588458169,
9.5
],
"end": [
3.588458169,
8.5
]
}
]
}
}
]
},
"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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_009",
"name": "Mirror1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_001"
],
"params": {
"source_feature_ids": [],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured"
]
},
{
"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_005",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "through_next",
"solidworks_code": 9
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030299_通用管接头/(7) Pipe Nipple.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0023007696735583504,
"volume": 2.30076967355835e-06,
"surface_area": 0.003602031201243413,
"center_of_mass": [
-7.745398768834751e-05,
-2.0465230030189417e-05,
1.7467757498059073e-07
],
"principal_moments": [
1.7773801185033382e-07,
1.782152181545686e-07,
1.9602520521645761e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0125,
-0.010825317547305487,
-0.01332152861724595,
0.0125,
0.010825317547305483,
0.01332152861724595
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Mirror1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.0125,
-0.010825317547305487,
-0.01332152861724595,
0.0125,
0.010825317547305483,
0.01332152861724595
],
"face_count": 25,
"edge_count": 54,
"vertex_count": 32
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"bspline": 6,
"cone": 6,
"cylinder": 22,
"plane": 12,
"torus": 4
},
"axis_count": 28,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-12.5,
-10.825317547,
-12.5000001,
12.5,
10.825317547,
12.5000001
],
"volume_mm3": 2300.731271482,
"surface_area_mm2": 3602.021640016,
"solid_count": 1,
"face_count": 50,
"edge_count": 130,
"vertex_count": 84
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.5,
-10.825317547,
-13.321528617,
12.5,
10.825317547,
13.321528617
],
"volume_mm3": 2300.769673558,
"surface_area_mm2": 3602.031201243,
"solid_count": 1,
"face_count": 25,
"edge_count": 54,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 2300.769673558,
"actual": 2300.731271482,
"absolute_delta": 0.03840207599978385,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3602.031201243,
"actual": 3602.021640016,
"absolute_delta": 0.009561226999721839,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.5,
-10.825317547,
-13.321528617,
12.5,
10.825317547,
13.321528617
],
"actual": [
-12.5,
-10.825317547,
-12.5000001,
12.5,
10.825317547,
12.5000001
],
"max_absolute_delta": 0.8215285170000008,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 130,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 84,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}