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.

Solid from one shape to another

Started by OldNick, January 24, 2012, 03:22:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OldNick

I knew it as "Developing" IIRC. So. Have a solid that starts as a square in Cross Section, then turns gradually into a circle at the other end.

I am looking for a direct or indirect way to approach that.

Thanks for any help
Nick

Bob P

There is a direct method: Draw | Surface connect.

Create a square in 3D space and a circular plane at a different depth.  You may want to create a construction line from the square to the center of the circle. *Hint: When you set the circle's second point (to define the radius), set it in the Y direction of the midpoint of one of the sides of the square.

You also may want to create intermediate squares with filleted corners.  See the entities on layer 1.

Once your planes are constructed, start the command.

When you set the points on the planes, keep them inline as much as possible. i.e. snap to the midpoint(s) of the square and the corresponding point on the circle.  If you don't keep them inline, the surface will be twisted and sometimes completely bizarre.

Dr PR

Nick,

There is a post here about how to create "ducts" transitioning from square to round:

http://forum.designcad.com/index.php?topic=3865.0

Phil
DesignCAD user since 1987

OldNick

hmmmmm...ooookaaay...need to ponder _this_ bit
Nick

Dr PR

Nick,

Bob P's method using "Surface Connect" is the most direct way to create a surface that transitions from square on one end to round on the other. But this produces a hollow surface grid - a shell of the solid you want.

After you create the surface grid you can put a square plane on one end and a circular plane on the other, select everything and use "Solid Define" to turn all three parts into a single solid.

****

Now the bad news - it really isn't as simple as it sounds. See the two attached images.

On the left are the square and circle I used as template lines for the Surface Connect. In the center is the right way to execute the function. On the right is a badly distorted result.

1. Start with a square line at one end and a circle at the other. Be sure to use a true circle and not a segmented line.

Here is the catch - you MUST control the starting points of the circle precisely. When you draw the circle (O) set the center point and then set the second point (radius) directly above it.

2. When you execute the "Surface Connect" function you MUST snap to the midpoint of the top of the square and to the radius point of the circle.

In the example shown I used 36 planes per line and 8 intermediate breaks. The results look pretty good when shaded (Gouraud). You can experiment with the number of planes and breaks.

The right hand example is what I got when I snapped to the corner of the square and to the top of the circle.

This is a special case with the "Surface Connect" function because one or more of the template lines is closed - it connects back upon itself. So where will the program start drawing the surface?

With simple open template lines it starts at one end of the lines and works to the other ends. But circles and squares have no ends and it has to start somewhere. So it starts at the point you snap to on the closed template lines.

In the middle example I snapped to the top center of both lines so the function first connected these two points and then connected successive pairs of points all the way around the lines until it came back to the start. All of the interconnecting lines are the shortest possible connections between corresponding points.

In the right hand example I snapped to the near upper corner of the square and to the top center of the circle. These two points are rotated 45 degrees from each other. The program did exactly what I told it to do when I snapped to the points - it conencted the first point on the square (the corner) to the first point on the circle (top center) and worked its way around the lines, creating a surface that is twisted 45 degrees from one end to the other. Of course if you are trying to model the works of Antoni Gaudi being able to distort surfaces like this is a plus.

The moral of the story is "be careful what you ask for, for surely you will get it."

****

One last note. The circular plane you put on the round end should actually be a polygon with the same number of sides as the number of facets around the grid.

Phil
DesignCAD user since 1987

cavelamb

It took me a LONG time to learn to do that correctly.
Oh boy, I produced some strange creatures in the process.
(If we could only fold space-time that easily!)

But eventually the idea that the connect points mattered sunk in.
(Maybe not the best expression when drawing boat hulls?)

At some point I started looking at it in terms of reflections.
Where is a symmetrical axis? 
How can the object be drawn to take advantage of that?

Because splitting that circle (or any closed shape) gives it endpoints.
And that almost always works. 


OldNick

Well I saw those descriptions and tried a couple of times and started reading that this was an exercise ion problem solving, not CAD work. Deal-breaker I am afraid.

Sorry, but  I am gone. My thanks for all the help.

Nick

Dr PR

Cavelamb,

Sometimes it is necessary to draw an arc or curve that is almost a complete circle, and then move the end points together in Point Select mode. This way you can set the first end point in a known position, and later move the second end point to that position. This pretty much forces the position of the first point and defines the direction around the closed figure.

This can be useful if you ever have to use the "Original Points" option in "Surface Connect" to gain absolute control of the grid.

Phil
DesignCAD user since 1987

Dr PR

Nick,

Sorry to see you give up. All CAD drawing is an exercise in problem solving, and will be until you find a program that can read your mind. For me, solving the problems is the most fun part of it.

Phil
DesignCAD user since 1987

Dean

"solving the problems is the most fun part of it."
exactly!

Unless I am missing something here, I find the surface connect tool works quite well for design purposes. My method of performing this type of operation is (assuming working plane of 2d mode is X, Y) while in 2d mode I draw then position 2d profiles in the desired "X, Y" axis. Then in 3d mode I position the 2d profiles where I want them to be in the "Z" axis. After that I use the surface connect tool to connect the 2d profiles together and yes, the placement of the guide points on the selected entities definitely govern the results of the surface connect tool. As you can see in the pictures below Designcad creates a very good (accurate) polygon mesh.  The picture below displays the mesh and the 2d profiles I used in the surface connect command. Let's be realistic, Designcad is a surface (polygon) modeler and a darn good one.
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

cavelamb

Quote from: OldNick on January 26, 2012, 01:31:15 PM
Well I saw those descriptions and tried a couple of times and started reading that this was an exercise ion problem solving, not CAD work. Deal-breaker I am afraid.

Sorry, but  I am gone. My thanks for all the help.




Don't give up so quick, Nick.
ALL cad programs have their quirks.
For instance, try drawing airfoils with Acad!



Bob P

I agree with Dean. I think we overwhelmed Nick with the things you can do wrong, rather than simply explain to him how to do things right.  The program does exactly what you tell it to do, so you must be aware of all the options and how they effect the results.  I would have liked to see the "bad" results that Nick was getting so we could explain to him what was going wrong.  Short of a bug in his system, everything happens quite logically.
Too bad...