News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

Manually converting an uneven Surface to a Solid?

Started by Jeff_in_90620, November 20, 2015, 01:34:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeff_in_90620

I would like advice on how to create a Solid object using a Surface as a guide.  The attached image is a screencap from an STL object in MeshLab (just gave an easier view for demonstration).  The actual file is over 18 MB, so I am not going to load it here.

Tried converting to Solid; it was taking too much time, so I cancelled it.

I tried creating 15 Sections at a fixed pitch, but I couldn't Loft (after Exploding, of course) more than 3 of them together, and usually only 2.  I also tried using the Offset command to create a lower surface (also by Lofting) that could then be converted to Solid with the upper originals, but I couldn't get them to offset in the proper direction (maybe I'm just tired).

What procedure would you recommend for this object?


Thanks in advance,

Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Andy H

Unusual looking object, if the view is correct then it looks like each corner of the 'bowl' has a different depth, if that is correct then personally I'd be looking to create it in 3 pieces, extrude spline for the top, two or three 3D splines (fit point) for the bowl, and another two 3D splines (fit point) for the lower 'dent', adding and then hoping the blend tool will work.

Difficult to be sure from the view in MeshLab. 

Henry Hubich

I suspect that the exploded Sections were much too complex for TCad to handle; i.e., they had too many nodes. I'd try tracing the sections with simpler 2D entities and lofting them. Remember to strive to have the same number of nodes in each of your new profiles, and to move in the same direction (e.g., clockwise) when drawing each of them. Better yet, draw just one new profile -- the most complex one -- and edit copies of it to serve as the other profiles.

Henry H


Jeff_in_90620

I'm trying to convert to Solid again.  Approved the default lowest Faceter resolution, but it's been over an hour and TurboCAD is still trying to convert (and only using 8% of the processor power to do it, so that's something to address in a future version) with the message "Making Faces...".

If I had the time, I would write a program to create a summary report of each triangle in the STL database, along with the ability to identify 'flat' regions (within a variable tolerance) by looking at the vectors and locations.  Seems to me that it would then be fairly trivial to replace rough-but-essentially-flat areas with totally-flat areas using far fewer triangles.  The real problem would be using TurboCAD's poorly-documented SDK to highlight the triangles currently accepted by the specified values and tolerances (I really don't want to write a graphical user interface to duplicate what is already available).

Identifying curved surfaces would be more difficult (especially Fillets), but still do-able.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

John R

For files that are too large to attach, you could try Dropbox and post a link to the file. I believe it's still free.

The Dimple option in the Imprint tool came to mind; as it was used to make the kitchen sink near the end of the article.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

murray dickinson

You can't convert a mesh to a NURB surface in TC expecting the coordinate data of the mesh to be explicit interpolated points on the surface.   It can be done by exploding the mesh down to triangle polylines, matching the triangles' normals, giving them thickness, converting them to individual solid prisms and then multi-adding those, but take it from someone who's used that blunt instrumentation, it's MESSY and long-winded.  The other options are to interpret the surface as a collection of what are called "analytical" surfaces, that's cylindrical and conic sections, and planar surfaces, or NURB surfaces.  I've thrown together a file that approximates the bodies of your mesh, with editable profiles so the proportions could be adjusted to fit the surfaces over yours.  Think of the mesh as an armature, like the wire ones that modellers use to hold clay. 
The other options are software that does what I've done: I know of three prominent suites that do that.  One is Geomagic Rainbow, now owned by 3DSystems.  High end, up to $50K, it's like anything exotic, look and admire and wonder how the other half lives.  Another is T-Splines, originally a Rhino and Solidworks plug-in, now owned by Autodesk and incorporated to some extent in their Fusion thingy, it converts every facet into a patch that has continuity with all of the neighbouring patches, it's like TC's pressure loading with edge connectivity for every face.  The third is Evolution software's PowerPack plugin for PunchCAD ViaCAD Pro and Shark FX.  It takes a mesh, converts it to be quad-dominated, and then makes the body a network of NURB patches or analytic surfaces, if it's going to be parametric.  I evaluated Rhino with T-Splines and the Evolution PowerPack and bought the latter.  Nothing's perfect, but it's pretty good.

murray dickinson

There's also another simpler way, if you don't care about the mesh's faceting: explode down to polylines, without dropping selection format/modify|surfaces from profiles, then multi-add them together while they're still selected.

Jeff_in_90620

Well, I'll have to figure out something.  I left my computer to run for 3 hours and 40 minutes and it still hadn't finished converting to Solid by the time I got back.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Jeff, can you post a few more views of the object?

Henry H

Jeff_in_90620

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Jeff_in_90620

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich


Jeff_in_90620

I'm already working out the programmatic flow of an application that would analyze the STL file and provide semi-automated smoothing.

I wonder if I'll have the time.   ::)


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

#13
Have you tried TC's surface simplification?
I don't think it's that difficult a shape to rebuild.

Jeff_in_90620

The original came from a scan.  I'm assuming the many, many tiny triangles in some areas mean that it was a textured surface.

I'd like the result to be pretty accurate as the revised object is supposed to fit in a Suburu's Cargo Pocket.

Still thinking that a program that analyzes the STL file is the way to go compared to eyeballing it.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

The resolution of optical/laser/photogrammetry scans is most often dependent on the resolution of the cameras used.  For laser/optical, it's as likely that higher local resolution is due to curvature and light scattering from localized polishing or reflective materials as it is to be from texturing.

There are really only six fundamental surfaces in that object: the "flange" surrounding the tub, four surfaces defining the walls of the tub, the flat floor of the tub, and the protuberance from the floor.   There are blends between them.  You've got the scanned surface object to import into TC and fit the surfaces and blends through the scanned mesh.  They can be set up to be easily adjusted for best fit.  I eyeballed the pictures because you posted them, it's not how I'd do it with the scan mesh.

Henry Hubich

If you're still wondering about this, Jeff, can you post some orthographic views of the object?

Henry H

Jeff_in_90620

Henry,

The views I posted were not in Perspective mode.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Jeff_in_90620

Actually, I'm thinking of trying out Autodesk Memento (it's free while in Beta).  You can sweep out sections of an STL file and increase or decrease the number of polygons, or just reduce the file size with a slider.

There is a demonstration video that shows how a series of pictures is transformed into a 3D object here: https://www.youtube.com/watch?v=eoZ9I7AvVEU.  I can't imagine that it will remain free as the software requires online servers to perform the 3D-ification of a series of pictures into an object (this is pretty amazing and seems very accurate).  The process can take minutes to hours, depending on the server load.

The website where you can learn more and download the software is here: https://memento.autodesk.com/about

One drawback for some of us is that it requires a 64-bit system (12 GB of RAM cannot be accessed with 32-bits).  Upon reflection, however, I think a 32-bit system could handle smaller objects (editing the pictures to eliminate the background may be required).

    Operating system: Microsoft® Windows® 7 (SP1), Windows® 8 or later
    CPU: 64-bit Intel® or AMD® multi-core processor
    Graphics Hardware: NVIDIA or AMD graphics card with a minimum of 2GB VRAM. Graphics card should support OpenGL 3.2 or newer and DirectX10 or newer.
    Memory: 12GB system RAM
    Storage: SSD recommended
    Pointing Device: Three-button with scroll wheel mouse


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Quote from: Jeffin90620 on November 30, 2015, 11:31:29 PM
Henry,

The views I posted were not in Perspective mode.


Jeff

I meant "Plan," "Front," "Left Side," "Right Side," and "Bottom" views, Jeff.

Henry H