NX Automations · NX Open Python journals + Menu > Drawing to Model
Drawing to Model
Download 1.0.1Builds the 3D machined part from its 2D NX drawing, using the drawing's own geometry, point tables and section, then checks the model against the drawing by reading both back.
Verification passing on NX v2606.0.0.5001 · 2026-10-05 · repo 027865d
The drawing already holds the geometry. NX stores each drawing view as view-dependent curves at 1:1 in the view's own coordinates (millimetres here; the dimensions display inches). The front view gives the outline and the rib grid, the top view the step outlines, the section the wall thicknesses and the joggle profile, and the two point tables are real tabular notes that can be read cell by cell. Curves are found by their end points, which a small per-drawing spec names, because NX tags change every session.
What the drawing does not draw is fitted. The outer flange is not a prism: across its 2.60 in depth it drops below the outline. The near face's edge sits a constant 0.157 in (left) and 0.258 in (right) below the silhouette, and the table points give the drop at FS +/-0.66 and +/-0.8. A power-law cross-section fitted to those predicts the far edge at 0.144 in below the crown; section A-A shows 0.144 in. The steps drop the outer surface 0.10 in at the wall, 0.19 in at the edge, and the inner surface drops with them.
The build (all NX features, so the history is editable):
| Step | NX feature |
|---|---|
| Planform | Extrude of the drawing outline |
| Crowned OML | Through Curves sheets, Thicken, Subtract |
| Pockets, web .160, ribs .060, flange .080 | Extrude envelopes minus flange/rib exclusions, Subtract |
| Joggled steps | Through Curves, Thicken, Intersect, Unite then Subtract (order matters: the step is deeper than the flange) |
| Flange-end corners R.50 | Edge Blend |
| Pocket fillets and corners R.125 | Aerospace Design > Blend Pocket, end mill D.25 R.125, one feature per side; then one per floor it skipped, with the walls named (the three pockets beside the joggles) |
| Holes | Extrude/Subtract: 4 lightening holes, 53 table holes normal to the OML, 36 bottom-flange holes |
Verification re-opens the saved part from disk and measures it by point containment along lines: overall 58.71, bottom flange 55.93, notch 2.26 wide, crown heights 15.52 / 15.98, web, rib and flange thickness at 20 places, every table point on the OML, every table hole open, lightening holes, fillet and corner radii, and the step depths. Since 1.0.1 it also checks that no pocket floor meets a wall at a sharp edge on either side, and that section A-A's upper R0.13 fillets exist on both sides of the web. Controls: the same point check with every point raised 0.020 in must fail, the floor check run on a 1.0.0 part must find its 3 unblended floors, rib lines where there is no rib must not be found, and building onto an existing file must be refused.
1.0.1 fixes what Drawing to MBD found at section A-A: in 1.0.0, Blend Pocket on 25 floors at once had silently skipped the floors of the three pockets beside the joggles (their flange wall is the step's thickened sheet, which its wall inference cannot use), so those pockets had no fillets at all. Naming their walls blends them.