News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

surface to solid pt. 2 - NURB, igs - if it won't shell, offset

Started by murray dickinson, June 23, 2009, 10:06:16 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

murray dickinson

Sometimes there's a particular surface shape you're planning on using for a part that isn't compatible with some tools, like shelling.  You'll get a message referring to "bad curvature" for the thickness you want to use.  Some other CAD apps get around this by offering an "offset surface" and tools to build watertight covers between the surfaces, or will replace a cap on a solid with the surface definition you've got (The old TC Solid Modeler could do that), or you can use the tools within TC to build a close facsimile.
You can build a solid with surfaces offset or cap a solid with the tools within TC, however.  Here's how:
The ACIS kernel will often baulk at shelling surfaces, but in most cases it's not telling you it won't shell at all, just not to the thickness you've specified.  Try shelling at .0001 units, and in most cases you'll find that it isn't a problem.
So, copy the very thin shelled surface to the offset you want.  Then on a plane orthogonal to your offset, trace the borders of the shape of the solid you want capped.  The qualification here is that your surfaces must lie within the borders of the solid.  The reason?  IGES, for example, restricts surface definitions to fourth order.  If your surface has been trimmed the definition of the trimming curve surface perimeter is orders higher than TC can deal with.  Of those programs that allow you to define a skirt from perimeter to perimeter, very, very few work with the strict definition, and only if they've got access to the creation history.  Most use piecewise segment approximations.  Anyway, we're dumbing down or "redefining" the trim curves for TC, so they won't be 100% as drawn, but they won't cry "degenerated" either.  In the pic, I've used closed curves to extrude the trimming shapes, shown orthographically and isometrically.  Extrude the trimming shapes to overlap the surfaces and then add the whole shooting match together.  Then format|surface from solid.
Next, use the facet editor to delete all of the external facets, leaving only those facets that define the capped solid.  Bear in mind that you've got two surfaces close together at each end, make sure you delete the non-contiguous ones.  After you've deleted most of the sheets you want, you might start to see facet indicator nodes at the edges.  You might not have placed your trims entirely within the borders of the surfaces, so don't delete them unless they're detached from the main body.  When finished, select the whole and format|create solid|from surface, which TC will now do happily, because as far as it's concerned, it's all watertight.
Face to face lofting can make offsetting easier through being able to loft from faces of many surfaces to an arbitrary base, but it can't handle surfaces that're extensively convoluted.

[attachment deleted by admin]

Henry Hubich

Most interesting and ingenious, Murray. Quick question: In lieu of  a very thin shell, would the rest of your procedure work with an entity made by Format|Create Surface|From Face(s)?

Henry H

murray dickinson

Not when I tried it, Henry.  I'm not given that option with an imported IGES surface, exploding doesn't change that.  If I attempt it with zero thickness surfaces, I get messages saying that either "gap can't be filled" or "non-manifold edge detected", depending on how I try to work around it.

murray dickinson

Oh!  Henry, I just realised what you meant (nuance is tricky in postmodern correspondence, isn't it?) and went back and tried it, and yes, you're right.  It's not necessary to shell the surfaces, nor to format|surface and delete the extraneous faces.  Just add the surfaces to the trim definitions and with the facet editor, pick the faces that'll define the end product from them, then format|solid|from faces.  Excellent, thanks.  You've raised the bar again.  TC's "replace face" tool, hidden under a bushel....