NX Automations · NX Open Python journals + Menu > Drawing to Model

Drawing to Model

Download 1.0.1

Builds 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

Expected values worked by hand before the run, results read back from NX, and deliberate failures that must be caught. Run by the session that built it, on the repo commit below with a clean tree; imported here unchanged.

NX
v2606.0.0.5001
Version
1.0.1 · chrisdamonmartini/nx-drawing-to-model @ 027865d
Run
2026-10-05T00:19:55Z
Checks
25 of 25 hold
Overall
All checks hold
ResultCheck
Holdsone solid body on layer 11 body(ies) on layer 1
Holdsoverall length 58.71 (LBL 31.25 at WL 0.74 to RBL 27.47 at WL 1.14)LBL 31.2430, RBL 27.4653, length 58.7083
Holdsbottom flange length 55.93 (front view)measured 55.9299 at WL 0.04, FS 0.5
Holdscrown height 15.52 left of the notch, 15.98 right (front view, measured 0.04 from the notch walls)left 15.5179, right 15.9835
Holdsnotch 2.26 wide, floor WL 14.48 (1.50 below 15.98, 1.04 below 15.52)width 2.2572, floor 14.4833
Holdsweb thickness .160 (section A-A; front view '.160' notes)6 pockets: 0.1600, 0.1600, 0.1600, 0.1600, 0.1600, 0.1600
Holdsrib thickness .060 at all 10 ribs (section A-A 0.06), measured at FS 0.9 clear of the fillets0.0600, 0.0600, 0.0600, 0.0600, 0.0600, 0.0600, 0.0600, 0.0600, 0.0600, 0.0600
Holdseach rib's two faces are front-view lines on the drawing (spec read against the drawing)10 of 10 ribs have both face lines
HoldsCONTROL: rib lines at a place with no rib are not foundBL 0.30 +/- 0.03
Holdsbottom flange .080 (front view 0.08)0.0800, 0.0800, 0.0800, 0.0800
Holdsevery crowned-flange point of Point Table 25 lies on the model OML within 0.005 in49 points, worst 0.0007 in, none outside
Holdsflange .080 normal to the OML at those points (front view 0.08)min 0.0800, max 0.0800 over 49 stations
Holdsthe 4 end-flange points of Point Table 25 lie on the planar end flange within 0.005 in-0.0004, 0.0001, 0.0001, -0.0001
HoldsCONTROL: the same OML test with every point moved up 0.020 must fail0 of 49 shifted points wrongly accepted
Holdsevery point-table row is an open hole of the table's diameter (D.25 / D.250)89 rows; open at r-0.006: 89; material at r+0.012: 89
Holdslightening holes D2.50, D4.00, D2.00, D1.25 at the drawing's positions (front view)D2.50 ok, D4.00 ok, D2.00 ok, D1.25 ok
Holdsrib-to-web fillet R.125: material at (0.02, 0.02) from the corner, air at (0.06, 0.06)material True, air True
Holdspocket corner radius R.125 in plan (front view corner arcs)material at (0.02,0.02): True, air at (0.06,0.06): True
Holdsevery pocket floor meets its walls through Blend Pocket fillets, both sides of the web+FS: 25 floors, 0 with a sharp wall; -FS: 25 floors, 0 with a sharp wall
Holdssection A-A: upper web-to-flange fillets R0.13 on both sides of the web (FS +/-0.205)FS +: flange inner WL 15.1905, material 0.03 into the corner and air 0.08 out: True; FS -: flange inner WL 15.1912, material 0.03 into the corner and air 0.08 out: True
Holdsjoggle depth 0.10 at the step wall growing to 0.18 at FS 1.2, on all three stepsworst 0.0005 in over 9 stations; e.g. STEP1 FS0.6 0.1118/0.1119; STEP2 FS0.6 0.1118/0.1119; STEP3 FS0.6 0.1116/0.1119
Holdsflange continuous through the steps: .080 normal to the surface (.080-.100 measured in the plan normal, which the FS slope lengthens)min 0.0821 max 0.0936
Holdsone body, volume read back164.709 in^3 (16.6 lb at 0.101 lb/in^3)
HoldsCONTROL: building onto an existing part is refused (FileExistsError), nothing overwrittenrefused
HoldsCONTROL: the same floor check on the 1.0.0 part (TSTDrawing1234_3D_v100.prt) must find its sharp floors+FS 1, -FS 2 floors with a sharp wall

In the NX window

The built part in NX: crowned flange with its fastener holes, the rib grid, lightening holes and the joggled step beside the notch
The source drawing in NX: front, top, bottom, section and isometric views with both point tables (template title block removed)
Menu > Drawing to Model inside NX
Build: the crown fit read from the drawing, the Blend Pocket floors, holes and the model history
Verify: 22 checks against the drawing, read back from the saved part
Close-up at the notch: R.50 flange-end corners, D.25 holes drilled normal to the crowned flange, the joggled step and the R.125 Blend Pocket fillets