Files
cdsl-cad/json_to_cdsl/output/_welding-neck-flange.cdsl.json
T
2026-08-24 14:52:08 +08:00

1103 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_welding-neck-flange",
"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": "Hub Diameter",
"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": 29.337
}
},
{
"id": "sk_003",
"name": "Flange Diameter",
"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": 58.674
}
},
{
"id": "sk_004",
"name": "hub dia at beginning of chamfer",
"role": "profile",
"workplane": {
"origin_mm": [
-14.224,
-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": 29.337
}
},
{
"id": "sk_005",
"name": "Diameter of hub",
"role": "profile",
"workplane": {
"origin_mm": [
-41.825333333,
-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": 21.082
}
},
{
"id": "sk_006",
"name": "hub diameter at chamfer start",
"role": "profile",
"workplane": {
"origin_mm": [
-41.825333333,
-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": 21.082
}
},
{
"id": "sk_007",
"name": "Bore Diameter",
"role": "profile",
"workplane": {
"origin_mm": [
-55.626,
-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": 17.526
}
},
{
"id": "sk_008",
"name": "Bolt Hole Diameter",
"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": [
31.430896424,
31.430896424
],
"radius_mm": 7.874
}
},
{
"id": "sk_009",
"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": []
}
}
]
},
"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": "Flange Start Plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-1.380066667,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 1.380066667,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_005",
"name": "Flange End Plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-14.224,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 14.224,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_006",
"name": "Hub",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 1.5875,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "Axis of pattern",
"atomic_id": "reference_axis",
"depends_on": [
"f_001"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "feature",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_010",
"name": "Chamfer Start Plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-55.626,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 55.626,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_003",
"name": "side",
"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_007",
"name": "Flange",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_005",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "feature",
"stable_id": "2f8ad9693d38b7d7629b02a5f502b7c30ac4527604a5179ddf56fcdf8c8d0d6e",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "Loft Start Plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"origin_mm": [
-41.825333333,
-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
]
},
"offset_mm": 27.601333333,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "2f8ad9693d38b7d7629b02a5f502b7c30ac4527604a5179ddf56fcdf8c8d0d6e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
}
],
"derived_from_sketch_id": "sk_005"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "2f8ad9693d38b7d7629b02a5f502b7c30ac4527604a5179ddf56fcdf8c8d0d6e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
}
]
},
{
"id": "f_011",
"name": "Hub at chamfer",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_010",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "feature",
"stable_id": "ecd91907d843540554783068c778fba7e3d2c5b69d6963ad2279de0f764fcd06",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_016",
"name": "Vertical",
"atomic_id": "reference_axis",
"depends_on": [
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_009",
"selectors": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_012",
"name": "Chamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_011"
],
"params": {
"distance_mm": 3.556,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "Bore",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_011",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_014",
"name": "Bolt Hole",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_015",
"name": "Axis of Rotation",
"atomic_id": "reference_axis",
"depends_on": [
"f_013"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
1.5885
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "e5747095b35ee3c68b6e0ababaa0ac25d263fb50ec9a538b461792e70fc5b312",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.0015884999999999996,
0.0,
0.0,
-1.0,
0.017525999999999996
]
},
"box": [
-0.017525999999999996,
-0.017525999999999996,
-0.055625999999999995,
0.017525999999999996,
0.017525999999999996,
0.0015875
],
"area": 0.006300299453602465
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "e5747095b35ee3c68b6e0ababaa0ac25d263fb50ec9a538b461792e70fc5b312",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.0015884999999999996,
0.0,
0.0,
-1.0,
0.017525999999999996
]
},
"box": [
-0.017525999999999996,
-0.017525999999999996,
-0.055625999999999995,
0.017525999999999996,
0.017525999999999996,
0.0015875
],
"area": 0.006300299453602465
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_welding neck 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.16489820825470794,
"volume": 0.00016489820825470793,
"surface_area": 0.03754806970918914,
"center_of_mass": [
-8.427401630359502e-18,
6.420877432654859e-19,
-0.011295748930908638
],
"principal_moments": [
0.0001475236528870518,
0.0001475236528870518,
0.0002577081910327993
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.058674,
-0.058674,
-0.065626,
0.058674,
0.058674,
0.0015974999999999995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Bolt Holes pattern",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
-0.058674,
-0.058674,
-0.055625999999999995,
0.058674,
0.058674,
0.0015875
],
"face_count": 13,
"edge_count": 17,
"vertex_count": 0
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 23,
"surface_counts": {
"bspline": 2,
"cone": 2,
"cylinder": 16,
"plane": 3
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 62.8618,
"pair_count": 4
},
{
"spacing_mm": 72.4521,
"pair_count": 4
},
{
"spacing_mm": 44.592,
"pair_count": 4
},
{
"spacing_mm": 74.3734,
"pair_count": 4
},
{
"spacing_mm": 132.2471,
"pair_count": 4
},
{
"spacing_mm": 72.4513,
"pair_count": 4
},
{
"spacing_mm": 88.9,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-58.674,
-58.674,
-55.626,
58.674,
58.674,
1.5875
],
"volume_mm3": 164898.158644697,
"surface_area_mm2": 37548.070477077,
"solid_count": 1,
"face_count": 23,
"edge_count": 56,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-58.674,
-58.674,
-65.626,
58.674,
58.674,
1.5975
],
"volume_mm3": 164898.208254708,
"surface_area_mm2": 37548.069709189,
"solid_count": 1,
"face_count": 13,
"edge_count": 17,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 164898.208254708,
"actual": 164898.158644697,
"absolute_delta": 0.0496100110176485,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 37548.069709189,
"actual": 37548.070477077,
"absolute_delta": 0.0007678879992454313,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-58.674,
-58.674,
-65.626,
58.674,
58.674,
1.5975
],
"actual": [
-58.674,
-58.674,
-55.626,
58.674,
58.674,
1.5875
],
"max_absolute_delta": 10.000000000000007,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 23,
"matches": false
},
"edge_count": {
"expected": 17,
"actual": 56,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}