News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

mesh or surface to solid

Started by murray dickinson, June 18, 2009, 06:38:58 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

murray dickinson

It's occasionally useful to turn an imported mesh or surface into a manifold solid that can have the normal range of boolean operations performed.  It can be done in a number of ways in TC, most of them are long-winded.  Here's one way that's relatively quick, doesn't require mechanical or architectural, and is applicable to back to at least V10.5.
Make sure your file is full precision.  Use two copies of the surface.  Put one copy aside and explode the other down to line segments, watching the results of each explode in the selection info palette.  Looking orthographically at the top of the line segments, select and delete all of the segments except for the outside perimeter ones.  Then select all of the perimeter segments and join them into a 3D polyline.  Establish a WP that intersects with one of the vertices of the 3D pline, and draw a line from that vertex normal to a base plane, as per the picture.
Use the 3D pline as a rail or path to sweep or rigid extrude (what it's called depends on which TC version), resulting in a skirt for the perimeter of the surface.  Grab your unmolested surface or mesh, align it top or bottom of the skirt, explode it to a TC surface, then in properties, change it to a solid.  Copy or rubber stamp it to cap the other end of the skirt, then add solidified meshes and skirt together.  Selecting the assembly, you should be able to format|solid|from surface.  The precision is important, because sometimes TC isn't as exact as it ought to be, and the line segments overlap rather than meeting precisely.  In that instance, when you attempt to format as solid, you might get "Is this an open shell?".  Select and format|SAT healing.  It'll  take some time, but it'll actually stitch the edges together, but ACIS has an absolute tolerance value (I think I've seen it mentioned that it's .0001 units, tell me if you know and I'm wrong?), so any mismatches have to be below that to give a solid result.
Once it's formatted, you can trim the object to give a flat base and sides if you want, or perform any other boolean operations.       

[attachment deleted by admin]

Winston Mitchell

Hardware: 2.67GHz Core I7-920, 18GB 1333 DDR3, Nvidia Gforce GT 220
OS: 64 Bit Windows 10 Home
Software: TC 2020_19.6_x64
Setup: UI: Classic, Editing History: Off, Use Choice: Off, Native Draw: GDI

Henry Hubich

#2
That's great, Murray. Had a bit of trouble with the "skirt" in a test I just ran because Genie posted the attached error message when I tried to Sweep the closed boundary 3D Polyline. Worked around the problem by opening the Pline just a tad before sweeping, then converting the result to a TC Surface, closing it with the Edit tool, and converting back to a Solid. (The "Is this an open shell?" error appears if I don't close the skirt.) SATS healing wasn't necessary in my test, which used a fairly simple mesh.

*EDIT:* In a second test, I made the skirt simply by lofting between two copies of the closed boundary 3D Pline. Genie created it as a sheet object, so all I had to do was Boolean-add it to the two copies of the Mesh and then Format|Create Solid|From Surface.

Henry H

[attachment deleted by admin]

murray dickinson

I haven't had any hiccups at all in V15 ("yet", he qualified and waited resignedly for the kiss of death), but with V10.5, it seems more consistent if I join the perimeter segments into two polylines rather than one.  As they say in advertisements "results may vary from those shown".....

murray dickinson

Quote from: Henry Hubich on June 19, 2009, 08:16:57 PM


*EDIT:* In a second test, I made the skirt simply by lofting between two copies of the closed boundary 3D Pline. Genie created it as a sheet object, so all I had to do was Boolean-add it to the two copies of the Mesh and then Format|Create Solid|From Surface.

Henry H

Is lofting between 3D polylines a new thing in V16, Henry?  I can't do it in earlier versions.

Henry Hubich

Is lofting between 3D polylines a new thing in V16?

Turn on "Use Compound Profile," Murray.

Henry H

murray dickinson

#6
Well, d'uh, ain't I a goose?  I couldn't figure what caused your error message, and got the same one when I did.  What I meant to describe is sweeping the single line along the 3D polyline, which gives a solid sheet skirt unconditionally, rather than jockeying the pline to sweep the single line.  Whatever works! 

Henry Hubich

Quote from: murray dickinson on June 20, 2009, 12:50:30 AM
What I meant to describe is sweeping the single line along the 3D polyline, which gives a solid sheet skirt unconditionally

Didn't think of that. Works nicely.

Henry H