NX7.5: XForm Rocks My Socks

02 Feb, 2011 by adam in Tutorials, UGNX
Tags: , , , , ,

Correction: I’ve been referring to the “WCS” as the “World Coordinate System,” and Mark Lawry was kind enough to point out my mistake: “WCS” stands for “Working Coordinate System.” As the WCS is dynamic, it shouldn’t be used to define parametric features. In other words, it’s probably find for rapid freeform modeling, but should be avoided when creating complex associative models.

Okay, today I want to show you one of the sickest things to hit solid modeling in a long, long time, and it?s only in NX 7.5. It?s called XForm, and it?s the best freeform-face deformation tool I?ve seen to date. Here?s why.

I?m going to hit [X] on the keyboard to activate the Extrude tool, and then click the XY plane to start a sketch there. I?ll then hit the [R] key to activate the Rectangle tool, and select the Center Rectangle from the dialog rail. Click to define three points, then Right-Click > Finish Sketch. The Extrude will fire off, we set a Distance, and hit the Middle-Mouse to drop the tool.

Not impressed yet? Oh, you just wait! And make sure you?re sitting down, lest you should faint and drop your grape juice on the carpet: Lets go to Menubar > Start menu > Shape Studio.

In shape studio, the [X] key has a different function: it stand for X-Form, which can also be accessed in the Toolbars > Shape Studio toolbar, or under menubar > Edit > Surface > XForm.

I?m going to just hit [X], and then select the top face of my rectangle. In the Parameterization tab, set the U and V degree values to 3, and make sure that the ?Deselect Poles Automatically? box is checked, and the ?Move? method is set to World Working Coordinate System. Select the Z-axis, and then head out to the viewport and drag any point. You can also drag edges to move entire rows of points all at once. [ctrl]+click multiple points to multi-select, and [shift]+click points to deselect. You can also box-select multiple points, just be aware that with multi-selections, you have to explicitly deselect the points with the [shift] key before trying to move anything else.

When we?re happy with the basic shape, we can middle-click to drop the tool. Okay, that?s kinda cool, right? Other tools let you modify faces, but not with a real control cage! Anyone who?s ever used SolidWorks? completely unusable ?Freeform? face deformation knows exactly what I?m talking about: this is fantastic.

But the goodness doesn?t stop there! Hit [X] again, and this time select the front face. Set the U degree to 2, and click the little blue X axis arrow in the viewport to define the Move direction, click the front edge, and drag it out a bit. Middle-click to finish, and hit [X] yet again. Select one side of the object, and set the V degree to five, and set the Move axis to Y. Select the line at the end of the face, and drag it all the way across, this time eating straight through the back face. That?s right: we can even completely eliminate unwanted faces with XForm. Really great. Pull a couple of the other edges closer along the X axis to adjust the curve. Set the U degree to 2, and drag a few of the bottom points in along the Y, and middle-click to drop the tool. Beautiful.

Hit [X] one more time and select the remaining face. Move the front and back edges in along the Y, and the top edge out a bit. Middle-click to drop the tool.

Now we?ve got a basic shape, but changing it is really easy. Right-click any face and select ?Edit Parameters.? Now you can simply edit the deformation right in place, without dealing with rollback. This even applies if we add an edge blend. I?ll hit the [alt] key to bring up my toolbar, select Edge Blend, and apply it to a minor edge. I can then right-click the front face, Edit Parameters, change the V degree to 2, and drag the bottom edge in along the X. Viola.

I can also add a simple conic Face Blend by hitting [alt], dropping down the Edge Blend icon and selecting ?Face Blend.? I don?t really want to get the entire ?chain? of tangent faces here, so I?ll right click the front face, and change the selection intent manager from ?Tangent Faces? to ?Single Face.? Select the front face, middle-click, the side face, middle-click, set the Shape to Conic, and the rest of the values however I see fit. Middle-click, and we?re done.

But what if I want a really baby-butt smooth curvature-continuous controlled blend? Fear not, babies, NX has you covered there too. First, hit [alt] and select the Line tool. Mouse-over the origin and wait a second, then click and select the origin. Now mouse over the Z axis, wait a second, and click. Choose the Z-Axis. Now drag the yellow arrow and ball icons to extend the line out in both directions.

Hit [alt], mouse over the Curve from Curves tools, and choose ?Project Curve.? Choose the line, middle-click, choose the side face, middle-click, choose the Y axis vector, and middle-click, then do it all over again, this time on the X axis. Keep in mind that you may have to ?Reverse? the direction.

Now hit the [alt] key and run a command called ?soft blend?. This is one of NX?s older tools, so its UI is a little different from the others, but it?s still easy enough to use. The beauty of the Soft Blend is that it takes advantage of NX?s powerful and stable Sweep code, making Soft Blend features incredibly robust. Right click and make sure that the selection intent is set to ?Single Face,? then select the first face, middle-mouse, check the selection intent again, then select the second face, middle-mouse, the first project curve, middle mouse, the second project curve, middle-mouse, click ?Define Spine String? and select the center sketch, middle-mouse, select Smoothness > Match Curvature, set the Rho value to .5, and middle-mouse to confirm.

Select all the curves and hide them using [ctrl]+[B] (for ?Blank?), and in the ?Analyze Shape? toolbar, select ?Face Analysis ? Reflection.? Set the line thickness to ?Normal,? the Display Surface Resolution to ?Super Fine,? select the blend and its adjacent faces, then click ?Apply.? The Zebra stripes will be beautifully smooth across the surface transitions. Click ?OK? to drop the tool, and then hold the Right-mouse in the viewport and drag it UP to go back to normal shaded mode.

Don?t forget we can always right-click any of our XFormed faces and select ?Edit Parameters? to nudge it around any way we like. The blends will update perfectly, and life with NX is good.

about adam:
Adam O'Hern is an industrial design consultant specializing in visual brand languages, and has designed products ranging from laptops to power tools, classroom toys to bathroom fixtures, and robots to lint rollers. He has published with 3DWorld Magazine, CGTuts+, and Luxology, and works with Josh Mings of SolidSmack.com on EngineerVsDesigner.com.

24 Responses

  1. Reese Shearer says:

    Ok, now that I’m not playing with a small android screen and headset. I’ve logged in at home, just to watch this video and SHAZAM!!! I’m excited about working in my field again! Thank you Adam for taughting my with your video’s on YouTube and I’m spreading your link to other users in the auto biz.

    Reese

  2. KQuigley says:

    Giddy with excitement after seeing this and after speaking to a supplier I am working with (that uses NX) I decided to see what it would cost to buy NX7.5 with XForm…..wish I hadn’t now, as it has sent me to the depths of despair. I have gone from the enthusiastic “young” dad to the miserable grumpy old fart who realises there is no way to justify the – wait for it – £17,500 (all in inc 1 st year subs) cost for 1 seat….sob.

  3. Raymond says:

    Wow… is there an emoticon for jaw-dropping? I dream of using NX for 3D modeling some day, but until then I’ll make due with Rhino and SolidWorks. I don’t even know what happened in the 2nd half of the video, I think I blacked out.

  4. kanishk says:

    Hi Adam,
    Where is G4 continuity check in NX?

  5. kanishk says:

    Hi Adam,
    I figured it out.It happens when Backface culling checkbox is toggled on.
    Can’t wait for some serious stuff now.

  6. kanishk says:

    Hi Adam,
    I have a problem with display of sheets.When I extrude a rectangle as sheet,it
    doesn’t display all four faces.Instead two are shaded and other two are invisible,when I turn around the model,those invisible become visible but others are gone.

  7. kanishk says:

    Thanks bro,I got it.

  8. kanishk says:

    Hi Adam,
    How do I create a curve driven pattern in NX?

  9. kanishk says:

    I am such a fan of NX,and your tutorials are a great help.Looking forward for some more advanced lessons.

    • adam says:

      Glad to hear it, Kanishk! There’s definitely more on the way, it just may be a while before it makes it to the front of the production pipeline. We’re pretty backed up these days!

      Adam

  10. Joe Manganelli says:

    Adam,

    Thanks for the very good tutorials. I just was granted a copy of NX 7.5 and I do not have much (if any) time to learn it. Your tutorials are immensely helpful.

    • adam says:

      Glad to hear it, Joe. Take a look around the site and see if you find anything else that’s helpful to you, and be sure to chime in about what you’d like to see more of as cadjunkie grows and evolves!

      Adam

  11. adam says:

    I understand the need for the control polygon, and I too really wish GSD had a CV spline. As for the other items, I’m pretty sure they DO exist. You CAN update a curvature comb in real time on a spline, and you CAN dynamically move its points (if the points are “isolated,” and you use the compass to move them).

    But back to your original question: I don’t know a way of constraining a Freestyle spline to a plane. I wish I did!

    Good luck.

    Adam

  12. SurfaceJunkie says:

    the reason why i prefer 3d curve in freestyle workbench is that when working with sketch spline or GSD spline, i can’t see curvature combs in realtime, i can’t also interactively move spline pints using GSD splines, and there is no control polygon either.

  13. adam says:

    I’d recommend creating a plane (use your two input points plus the mid-plane) and then either a) use a Sketch, or b) use a GSD Spline “on support.”

  14. SurfaceJunkie says:

    Thanks for your reply Adam.
    Here’s a picture of what i meant:
    http://oi53.tinypic.com/iwqi6g.jpg
    I can use sketch splines but 3d curve tool is more powerful and gives me alot more control.
    as you see in that image, i can draw the curve in WV plane of the compass, but as soon as i constrain start and endpoint of the curve, it falls out of the plane, and needs manual tweaking. i want it to stay in that plane.

  15. SurfaceJunkie says:

    forgot to tell that i’m working with FreeStyle workbench.
    Thanks!

    • adam says:

      Hmm, I would have to see the specific 3D line tool you’re trying to use. I tend to work in GSD. The line tool there can be constrained to be “on support,” which allows you to put said line on any arbitrary plane or surface. Does that help?

      Adam

      Edit: I’m assuming that what you’re asking is how to constrain a line to a particular plane, which is a subtly different thing from “keeping it planar.” Have you considered using a Sketch?

  16. SurfaceJunkie says:

    Hi Adam,
    i have a problem with 3dcurve in CATIA. i know how to draw a planar 3d curve, but when i want to constrain it’s start and endpoint to edges of nighboring surfaces, the curve turns into a 3d curve and those points are free to move along edges they snap to. any hints to keep 3d curves planar?

Leave a Reply

You must be logged in to post a comment.