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.

Playground Equipment design- an unusual challenge ?

Started by preventec47, July 21, 2016, 05:56:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

preventec47

Think about a merry-go-round,   Childs sliding board,   Monkey Bars,  Geometric Dome monkey bars etc
One common element is that all these structures are made largely with tubing.

Would that create particular hardships in designing these kinds of structures ?

Lar

The trick with tubing is to draw a center line for the tube direction then using a circle of the necessary diameter: select the circle, place a handle at the circle's center, start the 'extrude along a curve' command (draw menu, 3d mode only) and click on the center line.

However, there are lot of considerations depending on how you want the finished product to be.

Things to consider:
1] If you just need a hollow tube you can just use a circle entity. The resulting tube will be a grid entity with the beginning and end open. The circle, however, will generate lots of side segments (120, I think). This may be necessary if you want a very smooth rendering but if not, it is way too many sides. You can create the circle as a line entity and specify how many sides (experiment). For me it's between 8 and 32, depending on how close the tube will be view when rendered.

2] If the tube is to be closed up solid then use a Plane entity for the circle. Specify 'plane' when creating the circle.

3] If the tube is to have an inner thickness then you could create a plane entity with a hole in it and extrude that. The result will be a hollowed-out solid

4] In all cases when not using a true circle entity you will not have a center point to snap to but if 'sticky handles' are enabled dcad will automatically place a handle at the center when creating circles as lines or planes.

(advanced stuff):
5] Non-straight tubes usually have curved corners. To achieve this you should draw the line with sharp corners, then use the fillet command to round the corners. Then you would have to 'combine' (B) all the resulting line and arc segments into a single line entity. The drawback to this is the curved corners will have tons of points. This may not be an issue for you but it is for me, and what I do is, when accuracy is not a concern, use the 'smooth line by point reduction' tool (edit menu/ selection edit) on the combined line. If accuracy is a concern: before combining I select all the arcs and using their center points, redraw each one as a line with just how many points I want in each one, then delete the selected arc entities. Then I combine the straight line segments and arc-line segments.

This is a good example where parametrics would be useful because if you want to change the tube's outer diameter, or its inner diameter, or the radius of a curved corner you just change the values. With tubes it is easy to get satisfactory results but with other types of parametrics I find myself fiddling around looking for satisfaction (in programs other than dcad), whereby without parametrics I have the final say.

Lar

Dr PR

As Lar says it is very easy to create extruded objects with a circular cross section. However, there are a few "gotchas" you should be aware of.

1. You can extrude a "line" object. Lines have no thickness, and if they are closed into a loop they have no center substance to them. When they are extruded you get a "grid" that is a zero thickness surface with a hollow interior and open ends.

Grids are not true solids!

You cannot use the solid Boolean functions like "Solid Add," Solid Subtract," etc. with grids.

2. For working in 3D you should always use planes instead of lines when you want to create true solids, especially if you want to merge multiple solids into one - as you might when forming junctions between tubes in playground equipment.

To illustrate these points look at the attached images. In the first you are viewing in wireframe mode - normally the easiest view mode to work in because you can see all of the lines/edges and points. Notice the 18 segment grid and solid objects - they look exactly alike.

Then look at the shaded image (OpenGL Gouraud shading). Now you see that the grids are hollow zero thickness objects like nothing that exists in the real world. But the solid has substance, with closed ends, that represents a cylindrical solid bar in the real world.

****

Also compare the two grids. Both were made by extruding  segmented lines created with the "Circle" function, using the "line" option (instead of the true circle or plane options). DesignCAD defaults to 120 segments, as shown on the left. This produces a finely shaded surface with no noticeable jaggies as you can see in the shaded image. The shaded 18 segment grid does have slightly jagged outlines at the ends even though it shades in the middle the same as the 120 segment grid.

So why not use 120 segments or even more? File size and editing speed are greatly affected by the number of segments. For example, I once created a simple hand rail for a ladder (steps) on a ship - see the third image. It consisted of one extruded curved pipe and a single vertical support pipe. It used the 120 segment default, and the file size for the single handrail was 13 megabytes!

I redrew the handrail using 18 segment planes and the file size was a few kilobytes - about 1/4000 the the file size using the default number of segments!

Also, rather that extrude a single 18 segment plane along the entire length of the handrail I built it up in pieces. See the third image. The first part was a simple 18 segment red cylinder created with the "Cylinder" tool. Then I created the blue curved section by sweeping an 18 segment plane though 90 degrees. The green and magenta cylinders were created with the "Cylinder" tool. Then I used "Solid Add" to combine the four parts into one solid and colored it orange. The orange object is a single solid.

This should show how easy it is to create complex pipe structures in DesignCAD.

Phil
DesignCAD user since 1987

Dr PR

Now to elaborate a bit more. Look at the attached image.

The top left pipe was created by extruding a 12 sided circular plane along the black line. It is a pretty simple process as Lar described. The result is a single solid, but notice how the program created a huge number of intermediate segments in the curved part.

The lower right pipe was created as described in my earlier post, using three separate solids. This gives me better control over the number of segments, and therefore file size, editing time and rendering time. For a simple drawing of a single pipe it doesn't matter much. But if you are creating a huge jungle gym like in Golden Gate Park in San Francisco (at least 1/4 of a city block in area) the resulting file size would be humongous and it could take the better part of an hour to render, even on a very fast machine.

****

There is one important shortcoming with the "Extrude Along A Curve" function. If you extrude along a curve that lies entirely in a single plane things will go pretty much as you think they will. But if your curve wanders erratically through 3D space the results will be unpredictable. The extruded plane will rotate around the curve as the extrusion progresses along the curve.

If you are extruding simple circular planes this may not be a problem. See the "Extruded circle' image. It is an irregular twisted tube and that is what was intended.

But now look at the "Extruded square" image. First, notice that the extrusion is rotated a bit relative to the initial square plane that was extruded. Also follow the yellow line and note that what was the side surface at the beginning of the extrusion ended up on top at the end of the extrusion. For this type of complex curved object it is best to build it up in sections in order to get the best control over the results.

****

Finally, the "Extrude Along A Curve" function can use varying extrusion scales along the curve - see the "Varying extrusion scales" image. However, be warned! This beast is very hard to tame! I have been using this function for years and I often have to experiment a bit to get it to come out right. It isn't difficult to tell the program to try to do the impossible.

One last thing - the "Extrude Along A Curve" function will extrude along a true curve made by the "Curve" function, or along a segmented line made with the "Line" function. Sometimes it is easier to control the extrusion by extruding along a segmented line.

****

I hope this has answered your questions about playing with pipes in DesignCAD.

If you want to see a really complex 3D model created with DesignCAD look at these links:

http://www.okieboat.com/CAD%20model.html
http://www.shipmodels.info/mws_forum/viewtopic.php?f=27&t=70810

There really isn't much you cannot do with the program.

Phil
DesignCAD user since 1987

Adrian 2.0

All of what Lar & Phil have said is the best info you can get & I agree that building tube structures is the simplest thing to do if you set it up using centrelines.
As they pointed out, files can get to be huge very quickly if your tubes have too many points but I do have a couple of things to add.

Lar, if I'm doing a radius corner on a pipe as you described I would NOT combine the lines and radius and then perform the 'smooth line by point reduction' because you will most likely remove the point at the end of the straight piece of pipe, causing the straight part to move slightly. (if the pipe was vertical, it won't be after you reduce the points) you can correct this by putting a construction line at the point you need to keep fixed and then checking & moving the point at the end of the straight pipe back into it's correct location but that's fiddly work.
What I do is to convert the radius arc to a line before I combine it, perform a point reduction on that - making sure the result is NOT saved as a curve - and then combining with the straight line afterwards. If you save the reduced point line as a curve the result when you combine will be a 100fold increase in points. (you can change the curve to a line afterward if necessary)

Phil's summary of extruding along a curve - that it's 'a hard beast to tame' - is very accurate, but well worth the messing around to get it working.
One issue I almost always have when I'm extruding along a line that is NOT a straight line (I don't know why the command is called 'extrude along a curve' because it works equally well extruding along any line) is that the result will often come out on the wrong side of the line, or as a mirror image of what you expect. This is not so much an issue if you are working with the centreline of the extruding object but it is if you are working with (say) the corner of a box following the line. If the result does 'flip' onto the opposite side of the line you can correct it by reversing the order of the points in either the line you are extruding along or the object that you are extruding, or both. I NEVER know which to reverse so it's a matter of trial & error.
To reverse the order of the points open the info box for the object (double click select it) and the tool is at the top. (blue & red opposing arrows)

Adrian

Lar

Quote from: adriank on July 21, 2016, 05:39:16 PM
Lar, if I'm doing a radius corner on a pipe as you described I would NOT combine the lines and radius and then perform the 'smooth line by point reduction' because you will most likely remove the point at the end of the straight piece of pipe, causing the straight part to move slightly.
Adrian, I quite agree with you on this. My post was already getting bloated with side issues and I didn't want to frighten Pre'47 away with too much technical stuff too soon. In fact I debated even mentioning 'smooth line' and only added it as a quicker option, before going in all that complicated arc-as-line stuff. Then, since the intent of my arc method was accuracy, I didn't want to suggest 'smooth line' because the resulting points don't get equally distributed (the point-before-last is always nearer the end than the 2nd-point is to the beginning). With save-as-line, the points are always equally distributed.

I always wished (but never mentioned on this forum) that the fillet command had the 'save as line' option. That would speed this kind of operation up tremendously.

Lar

Adrian 2.0

Hi Lar, you make good points about the complexity of arcs-to-line, reducing points etc.
DCad always has other ways to skin a cat of course, and I tend to use tickmarks on the arc and then trace the points to make sure of the equal spacing. That way I get to decide how many points the line will have.
An annoying thing about vectorizing a gentle curve is that can sometimes convert it into a single straight line, then I'm forced to tickmark it instead. It all goes to show how versatile DCad is!