DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Fillets - cylindrical edges and spherical corners

Started by samdavo, November 04, 2013, 05:14:31 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

Just playing around with paper boats ...
But I find that the smoothest filleted edges are achieved with the "Rounded Box" that is available in solids.
The silver "box" top left is the result of filleting all three edges that meet at a point - and there is a point in the centre of the corner.

The paper boat (or toolbox or whatever) is achieved by starting with a Rounded Box (eg the cyan one), slicing it, playing around with the grid to change the angle from 90 degrees, and mirroring it. 

There is a youtube out there which has similar "smooth filleting" of a (from memory) hexagonal prism.  But the method is pretty complex, and I suspect it would be easier (for me anyway) to start with a Rounded Box.

(I'll add some more detail of changing the angle "later"), cheers.

samdavo

#1
ok - a question - is it possible to do a smooth spherical ( or elliptical/ellipsoidal maybe) fillet at the point of a random acute angled triangular pyramid?

- I imagine it is possible to do cylindrical fillets on the edges (although in 3 or 4 minutes I haven;t succeeded - probably a blonde moment there). Possibly something to do with scale of said fillet.

I post a dcd for you to try if'n you're intrested.
PS I notice fillets ( on rectangular boxes anyway) can taper (2 cents)

minstrel

...trying to follow you on this one, Sam. :-\

I applied all sort of fillets to this pyramid and have gone and made myself hungry...blame it on the season but, this one reminds me of 'candy corn'...

Dr PR

Sam,

As I suppose you have discovered, DesignCAD will fillet the intersection of two sides only. This is one of the program's greatest 3D shortcomings.

If you want filleted edges with spherical section corners you can use the Rounded Box function as you mentioned in your first post.

When I need something like a pyramid with cylindrical section edges and spherical section corners I draw spheres or hemispheres at the corners and extrude curves to generate the rounded edges tangent to the spheres. Then I find the intersections of the edges with the spheres and manually trim the edge extrusions to fit. After that I explode the spheres and eliminate unwanted facets. Then I manually fill in the missing surfaces, select it all and define it to be a solid.

It is a lot of work.

Phil
DesignCAD user since 1987

minstrel

Here's another take on it...
...the base was composed by "extruding a 'profile' along a curve".  It's pretty quick and easy and should meet your needs most of the time...otherwise, Dr PR's route must be travelled.

aside - Here's one case where SketchUp blows DCAD out of the H20!  :-[ .  See attached 'proof of puddin'.  Used base DCAD model and added top fillet then spruced it up a bit - total time w/paint & render = under 3mins.   Fillets are a sinch in SketchUp using 'fredos - round corner' ruby script.

samdavo

#5
The object is a triangular pyramid , like the randomly splayed random length legs of a tripod. 
The objective - radius 4 on eah of the vertical edges, plus a spherical cherry on top.

Here's an early attempt - more to follow when I get my head around it fully.
Note: The hemispheres are a quick way to get a circular plane normal to each leg.

The "nett triangles" left on each face ( two tangent lines and a base) after you run D(c)ad's fillet command on these lines,  look a good chance to extrude a quadrant ( or a semicirclur bead if you prefer) around the edge of each of those ...

The cherry on top is pretty simple (7.8 or 7.9mm diam) - is a good place to start with a sphere 8diam. 

Anyway the final jpeg ( for now) is the view from inside ( as Ramses III had to look at for a few 100 years.)
cheers

Dean

Groovy Sam!
Have you tried "sweeping" then solid Booleans> Dcad is the king sweeper...
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

samdavo

Hi Dean
Sorry I don't understand your sketch, but the sweep idea is interesting.

Here's a quick sweep.
And it shows promise as long as we are talking regular solids/pyramids etc. 

Here's another idea - start with a rounded cylinder, and peel up the faces. (2 cents)

samdavo

#8
Well I got there in the end.  It involved a stack of triangular planes to "bridge the gap" between the cylinders and the sphere cherry at the top (as Phil suggested).   Yep - not easy :)

PS The cylindrical edges  were formed by extruding that hooked semicircle along each edge.
The good news is that DCAD appears to accurately set the "nett triangles" on each face, i.e. base and two tangent lines.  See second jpeg, lower left . (2 cents)

A quick comment that might be obvious if you look at the first or last jpeg, but the intersection of each cylindrical edge with the sphere appears to be a part-of-a-circle which is normal to the axis of the cylinder in question. (because the cylindrical wall is everywhere tangential to the sphere - doh)

PS The final jpeg has a couple of missing triangles - which I leave as an error to illustrate.   

I'll finish with a question ...  I guess if this was to become a 3D printing exercise, one would have to be more careful on that score (where a small  triangular facial element is missing ? Cheers


samdavo

#9
ok Here's another way.
This takes up Dean's suggestion of a sweep.  I use a swept hockey stick, and I use a full 360 degrees (with 36 sticks at 10 degrees).

Hopefully with the enlosed jpegs it is obvious what I have done.
Having swept the hockey sticks as planes, I get 3 cylindrical solids.   I then solid-add each to the others, then to the original pyramid.

My question is this
1. and Phil's opinion would be most welcomed of all, since as I say, he has forgotten more than I'll ever know)
2. or anyone else who specialises in 3D printing....

But clearly there is duplication of almost all of the dome in terms of facets ( and triplication of much of it).    I suspect Minstrel would call this "a variation of z-fighting". 

Would this be a better solution for 3D printing that the previous one, which at least had clear and obvious facets.?

Or is it just a case of this being hungry on memory (due to many small facets, having been solid added), but achieving the goal nonetheless?

samdavo

#10
...  starting to look like a fly's eye.
(PS it was much quicker , but I couldn't guarantee that there are no "leakage" gaps in there, i.e. that it was waterproof - assuming that is a requirement for 3D printing?)

Dr PR

Sam,

That's not a bad idea. Yes, every time you sweep you get duplicate facets, but the Solid Add should fix that and result in only one faceted surface.

You could also use cylinders with rounded ends and not have to mess with Sweep. Just set the radius of the end curve to equal the radius of the cylinder and you will get hemispherical ends.

Sometimes the solid Boolean operations leave extra facets or break planar polygons into more than one facet. Here is a simple trick for fixing that:

1. Draw a small solid (cube, cylinder, etc.) off to the side of a solid you want to "repair." Be sure the two solids do not overlap!

2. Start the Solid Subtract function. Select the new small solid first (the solid to be subtracted) and then the solid to be repaired.

The new small solid will disappear. DesignCAD will reconstruct the repaired solid and elimnate any unnecessary facets or interior surfaces in the process.

An easy way to test this trick and see how it works is to draw a Tube (hollow cylinder) with "Solids/Tube." Notice how the end surfaces have a bunch of facets even though the ends are planar. Now use the trick and notice how the ends are cleaned up into just two polygons.

Phil
DesignCAD user since 1987

samdavo


samdavo

#13
capture12 shows some manual removal of mini-facets (2 cents)  (and manipulation of others)

samdavo

Here's another view of those mini-facets, after exploding and running "pushapart.d3m"