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.

loco chimneys in 3d

Started by paul craig, September 09, 2013, 06:50:08 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minstrel

Quote from: paul craig on September 27, 2013, 02:52:30 PM
Final thought minstrel, have you tried to see whether the drawing is "watertight " for an STL file by chance?

As a matter of fact, I just did that for you ;)

Bear in mind, the results you see are from the actual 'ScreenCast' .dcd.  Which was done very quickly and was not intended to 'waltz' down 3D printers lane.  That being said it seemed to hold up...you need to judge for yourself. 

It seems like it's always necessary to 'clean' them up a bit when checking for H2o tightness.  I attached the stl file for you to check yourself. [Note: it's in a 'zip' file]

STL and this 3D printing 'thing' is all new to me, so once again, thanks Paul for pushing me into it.

*********
Sam - looking at your "two parts to patch.JPG"...naughty boy, you converted the 'profiles' to vectors.  May not be a big deal but could cause problems?

samdavo

#46
Minstrel
yep m8, I cannot tell a lie - it was the boy next door who chopped down the cherry tree :)

So  (GENUINE QUESTION), what's the problem with a vector when you use surface patch (other than it's a bit lumpy?) - I assume you are talking about the surface patch preparations (?)

Incidentally the problem with the Layer 0 / Aluminium was more to do with the sweep.  (??). 

Phil said I should find some layer 0 there (and I fully expected to find that because I've found this layer 0 many times) - but I found it was layer 1 (?) - maybe I screwed up of course.
[edit - certainly it was Aluminium, and I guess the most likely explanation is that I accidentally changed it from 0 to 1.]   

In the end, I simply re-drew the conical bit of the smokestack, and re-swept it .   Nowhere near as neat as many of the other presentations posted here.   But I still persevere, irrespective, and maybe my mistakes make others feel much more professional - compared to me anyways.  cheers :)

minstrel

Quote from: samdavo on September 28, 2013, 01:44:42 AM
... what's the problem with a vector when you use surface patch (other than it's a bit lumpy?)

Absolutely nothing...except for the fact that you just 'snatched' some of the 'bang' out of the follow up 'ScreenCast'! :)

This [profile = convert to vector] is one of the 'clean up' solutions I speak of.  There are more.  So dig a little deeper and I won't need to do the follow up tut...just kiddin'.

Dr PR

Sam,

In your images I can see the seams between the sections of the skirt. In most cases if you select all of the sections of the skirt and use "Solid Define" to make a single solid of all the parts the program will render them without the seams.

I say "in most cases" because it sometimes doesn't work. If the angle between the facets of two parts is more than about five degrees the program treats the junction of the grids as a "knuckle" with a sharp edge.

If the angle is too large and you do get a sharp crease you will have to rework the grids to make the angle smaller. That's where the "necklace" idea comes in. Use the four quarter sections as templates and draw new template curve necklaces by gravity snapping to the grid intersections - just follow the "horizontal" lines in the grid. By alternating between vertical template curves and (more or less) horizontal template necklace curves you will eventually eliminate the sharp angles and any other imperfections in the grid surface.

I don't want to deprecate minstrel's work - it is a good job illustrating the basics - but he is just drawing random curves and getting some random result. You can't do that if you are trying to represent something in the real world. The template curves must represent the real surface, and it can be difficult doing that.

For complex irregular curved surfaces, especially those that cannot be expressed as simple mathematical equations (like parabolas or hyperbolas), it may be necessary to make several iterations, each closer to the ideal than the last. Use each grid surface as a template for drawing the lines of the next surface. It is sort of a successive approximation process and you continue until the imperfections are too small to worry about.

Shading the surface (Gouraud with graphics acceleration enabled) and rotating the view will reveal any imperfections.

****

It doesn't matter if you use curves (C) or lines (V) for the template curves if you use the "Smooth" Connection Type option. The grid points will be created on curved grid lines that may not lay on the original line/curve. DesignCAD curves have points just like lines and the program will ignore them if you don't select "Use original points." It will generate new sets of points that are detemined by the number of "Planes per line" you define along each template line/curve.

However, there are some cases where "Use Original Points" and/or "Retain Original Point Order" may be necessary to force the program to do exactly what you want. Again, lines or curves will work, but I find it helpful to use lines just so the relationship between segment end points in neighboring template lines are easy to visualize.

If you select "Curved" or "Normal" Connection Type the program will try to place grid points on the original template lines/curves, and in these cases you may get different results with lines and curves.

Phil
DesignCAD user since 1987

samdavo

#49
Phil thanks - gems all.   
If I wanted to draw it as accurately as possible, I would go back to the necklace approach in the first instance.  Then maybe amend that grillage.
And if I wanted to "seal" it 100% watertight, (with my current level of knowledge and expertise) I would think about zooming in on any problems at "poorly-zipped seams" and move points of facets as necessary - always assuming the meshes were similar in terms of their FCFs (fine/coarse factors).  (PS Hopefully that would work, lol - untried by me at this point in time).
   
I am sure if I really thought about all of your (and Minstrel's) pointers I would eventually end up with a much neater sealed and "perfect" funnel.  Probably something like Lar's or John R's.  :)

Just incidentally, with the mirrored-quadrant-approach, when I did that, there is a small kink at the seams (as per the "no more aluminium" jpeg, reply #44 - attached again for ease of reference).  I could have improved that I am sure - eg with a finer FCF near the sides.
 
I tried selecting the entire 360degree funnel and solid-defining it (Ctrl+D) - but no change

Quote from: John R on September 26, 2013, 12:19:44 PM
My 2-bits of of the original plans picture, done in TC and saved as a 3D PDF. It took a few days to figure out the chimney base, but I think it'll do.
John, sorry meant to say that I opened your 3D pdf with Adobe as you suggested.   

Could you (or anyone lol) please expand on how you did that - I am not aware of drawing 3D pdf's - and am all ears.
Best value software etc? 
cheers sam

PS back to those seams at the joins , jpeg refers - if that was something made with 3D printing, a few seconds with a file would sort it out , - you would think :)

Dr PR

Sam,

You can move points of grids in Point Select mode.

DON'T!

I used to do this all the time to patch holes between grids. Then I started having all kinds of problems with the resulting solids. The strangest were false shadows that appeared all over the place when rendered with shadows - they were projected from the facet toward the light source and often appeared on the surface of an object closest to the light source. Solid Boolean operations produced stranger than normal results with these "corrected" grids.

Each facet of a grid is supposed to be a plane. If you move a corner point to a point on another grid you will likely generate a non-planar facet. If you do this all bets are off what will happen next.

****

The best way I know to get adjacent grids to line up is to use the same template line for the grid edges, and use the same number of planes per line in both grids. Unfortunately, this doesn't always produce coincident points along the edges of both grids.

The best way to fill a gap between adjacent grids is to draw triangular polygons by gravity snapping to points on the grids. Triangles are always planar.

Phil
DesignCAD user since 1987

samdavo

#51
Thanks Phil
clearly I will have to try it before I can comment -  and THERE you have me at a disadvantage lol   (i.e. all my experience is in my head - which includes the night I spent with Julia Roberts - or was it Sharon Stone , sorry I think I was drunk at the time) :)


Lar

Quote from: samdavo on September 27, 2013, 05:52:10 PM
Actually I've got a question - how the heck did I get that white grid pattern in the final jpeg? lol.
That white grid pattern in the shaded views are the line entities. You have to put them on an off layer or in the shade dialog turn off lines.

Quote from: samdavo on September 28, 2013, 05:13:01 PM
Just incidentally, with the mirrored-quadrant-approach, when I did that, there is a small kink at the seams ...
This same thing happened to me so I had to bite the bullet and click on a full circle of lines to generate the skirt grid, rather than doing quarters and mirroring. What I did was create a quarter of the lines and mirror them.

Lar

minstrel

Now, lots of good feedback on this thread!

Here's the latest ScreenCast - "Premium_002 - Choo-Choo Charlie - part 2" ... as we continue our never-ending quest for 'simplicity' ;)

http://www.crossresolution.nl/3Dspace/premium.php

Dr PR

Here is more about the "kink" in the quarter grid patterns. This applies to situations where you will create a part of a surface and then replicate it in a circular array to produce the entire surface.

When the surface grid is generated the program has only the template lines to provide information for generating the grid. Since there is nothing beyond the template lines at the edge of the grid the program cannot guess which way the surface would curve beyond the edge (if any). So the surface is a bit "flat" near the edges and when it is replicated in a circular array these "flat" edges come together as a sharp edge at the seam. You can minimize this effect by increasing the number of template lines near the edges and the number of intermediate breaks, but it will always exist to some degree.

Your template lines do not have to be evenly spaced all across the grid. If you place closely spaced lines near the edges to control the curvature better, you can have more distantly spaced lines near the center to reduce the file size of the grid.

An easy way to produce more closely spaced lines is to generate a grid with a lot of intermediate breaks. Then use gravity snap to draw new template lines close to the edge. Then delete the grid and regenerate the surface using the new set of template lines.

To get the proper curvature near the edge you will need to fiddle with the new lines that are close to the edge - use Point Select mode to move points on these lines slightly farther out to increse the curvature of the grid. If the cross section of the grid should be circular, as it is in the case of the chimney skirt, you can generate cross section arcs or circles and then  reposition points on your intermediate template lines to be on these circles, ensuring a circular profile.

****

Another way to generate the grid is to start with a bunch of circles (ovals, whatever) representing horizontal slices through the skirt. Generate a vertical plane along the chimney axis, extending out past the largest radius of the skirt. Rotate this plane around the chimney axis in steps, say 10 degrees, and find the intersection of the horizontal circles with the plane. Connect the intersect points at each position of the plane to produce vertical template lines that all lay on a surface with circular cross sections. You can use this technique for creating the template lines for surfaces with oval or irregular shaped cross sections.

Near the edges of the grids rotate the plane in smaller increments, to create template lines at 2.5 degrees and 5 degrees rotation of the plane. This will produce the closer spaced template lines near the edges that are necessary to eliminate the "flat" parts of the surface when it is replicated in a circular array.

Phil
DesignCAD user since 1987

paul craig

is it me, or is this a bigger bug than we thought?

Going to vector and aluminium without really trying.

I am working on a smallish 2d drawing and set layer 1 at red255. then layer 2 as layouts green 73.255.13
click on an item I have just drawn, trying to move to layer 2 and it came up as a vector and ally. even though it shows green on the drawing and is on layer 2 in the info box, below in the line which has colour reverse entities etc the colour box shows ally and vector. layer 0 is not showing that there is anything on it. so what is happening. and more importantly how can i stop this happening? or get rid of the vector sign?

V22 with update

paul

Dr PR

Paul,

You are using layer assigned properties - color, line style, etc. These determine how an object will be displayed and not what the object really is.

If you move a red object to a layer with an assigned green color, the object will display green. However, if you look at it with the Info Box it will still have a native color of red. Move it to a layer with an assigned color of blue and it will display blue, even though it retains the native color red. Now move it to a layer without any assigned colors and it will display red.

This isn't a bug - an object has to have some color/material/line style so it will display on layers that do not have assigned color or line style.

As far as the "vector" property, was it created with the "V" command to draw lines? If so it is a vector. Moving it from layer to layer will not change this.

I have no idea how you got the "Aluminum" material unless you had this material chosen when you drew the object. Aluminum displays as black (very, very dark gray) on a white background in Wireframe mode, or very light gray on a black background.

The default material in V19 through V23 (and probably V18) is "Default" unless you select something else. In V17 and earlier the default material was "General." If you import an older drawing with the "General" material into a newer version of the program the object should have the "Default" material with the same base color as in the older program. However, I think I have seen a few cases where the material did change to something other than "Default." I can't prove this right now, and it may have occurred in V18 or V19 (very buggy). In any case, when opening older drawings with newer versions you shouldn't take it for granted that all materials and colors remain the same.

The Aluminum/Layer 0 bug seems to occur only in 3D mode with grids (solid surfaces), typically after using the solid Boolean operations or mirroring along the Z axis.

Phil
DesignCAD user since 1987

paul craig

phil,
attached is a screen shot.
as you can see I have highlighted something that was drawn in green on the second layer,
however when you highlight it it shows as aluminium on the info box, also a vector.

paul

Dr PR

#58
Paul,

Where do you get the idea it is the Aluminum material? All I see is that it is a vector that was drawn with a gray color selected, and it is on a layer that has the green color assigned.

I started a new drawing, made layer 2 current, and assigned the green color to the layer. Then I changed the current color to light gray and drew a line (V). The Info Box shows exactly what yours does - it is a gray vector in a layer that has the green color assigned.

You have the "Color by Layer" option selected so it should display green when it is not selected. This is the way the program should work. If you move the object to a layer that does not have a color assigned, or you deselect the "Color by Layer" option, it will display gray.

Phil
DesignCAD user since 1987

paul craig

ok, phil you have missed the point. I have not set any of the colours on my drawing to gray. I am happy to accept it is not ally.

I only ever use Black, Red, Green or Blue. So for instance all the drawings on layer 2 were originally drawn on layer 1 in red, and then using the info box moved to layer 2 which was assigned green as the colour. So my question is the following, when I created the intersection, I used F2 to set the distance down from the major curve, whilst the vertical line is also set by F2 and originally drawn in red, then moved to layer 2, so the question is when did it become a vector, and why does it show as grey in my screen shot? What occurs to turn a shortened line into a vector and change its colour?

Paul