News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

wireframe after a wind gust

Started by samdavo, December 11, 2013, 10:04:42 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

And at the other end of the scale from Phil's 3D model, lol - here's a 3D model I did the other day.  I call it "autumnal wire frame" - or "wireframe after a wind gust".   See the first jpeg, Spun Disc (disk?)

Basically you accept fairly dense facets, then you explode to a grid , then again to planes - then you delete the majority, but still leave enough to give the viewer a clue as to the shape.

I swept the shape in 3D obviously, the rotated the disc up by 35 degrees about the x axis, then change to 2D (2 cents).
I'm not really expecting any replies to this thread, lol - but maybe it is "an idea whose time has come" :)  (and gone lol) ?

PS The other thing I find is that "Leaves" is a handy material, (provided we are talking coloured render) because, fully rendered, it has a speckled pattern, and when the black specks coincide with a change of slope, eg a vertical edge, then you can get a black shaded stripe not unlike a shadow - certainly better than uniform shading across all surfaces :)  (2 cents)   I've played around with the "Patching" within Materials, - without really understanding what I'm doing - but haven't been able to improve on "Leaves" for this effect.

Blind man - galloping horse - let the learning curve continue to climb ever skyward !!! - on laughter silvered wings if you insist !!

PS Back to the wind-strewn-wire-frame, when I think about it  -...  After deleting some facets, I then made the remaining facets into a solid, and then saved a copy of the drawing as 2D with Hidden Line Removed.  ( 2 cents)

PS The green Leaves render might look ok on the screen, but is clearly just a black blob when printed to black-and white hard copy.   THAT's where the windswept wireframe comes in handy :) 

PS Mental note ... Experiment for another day - try changing the green of Material\Leaves to white, but leave the black speckle. 

samdavo

#1
Here's some more verbal chewing gum ...
Suppose you have a hill like surface, with what appear to be rectangular facets.   I personally much prefer the look of rectangular to triangular.

Pretend that surface is glass, and you shoot it with a bullet ( compare subtracting a thin pole-like solid from the solid of the surface. 

If you just subtract pole from hill, you are left with a hill of triangular facets.
BUT - if you first explode the hill, then deduct just one rectangular facet - Solid define again - and repeat the subtraction, you are left with a hill with rectangular facets. 

Now it is not uncommon to have some Layer Zero Aluminium elements after Booling around with such surfaces, and if you look carefully there's a single ALement there.  In fact sometimes the whole surface goes to Aluminium.

Incidentally, as an aside, (edit - a complete distraction sorry), I tried Q\Layers\Merge Layer Zero entities to the current layer, but I couldn't make it play ball.  I personally don;t have a problem with Alements , but they are easily changed to current layer manually in any case.

Anyway, I post the effect of wiping out some of these wireframe facets,
a) when you have what appear to be rectangular elements, and
b) when you have triangular ones - clearly, imo anyway, the latter is totally confusing to the eye of the average beer-holder.

samdavo

#2
PS Not sure why I introduced the topic of ALements - they are irrelevent to the windstrewn concept.
Probably just that you will find this happens from time to time, and if you don't want it to change to triangular elements, then try deleting one facet first.   

Anyway - you will see that rendered-moth-eaten-windswept-wireframe  can be quite easy for the eye to understand, even after several long nights.  (ignore the pole, bullethole, mention of Aluminium, Calamity Jane riding past etc etc)
cheers

samdavo

#3
Here are a couple of examples where I stumbled across Aluminium, and this "patchwork effect" - all as covered on threads long since closed. 
I personally like it. Because it is an easy form of 3D effect / shape-suggesting-render of sorts.   Sorta like a tight dress.
cheers :)

PS One of the reasons I particularly liked the saddle effect, was that it automtaically gave that symmetrical pattern, (which is what often happens with Aluminium btw).   

Sorry, I should have said - in the title - that it included render as well as wireframe.  But what I occasionally do at work, is just leave part of the wireframe (after the wind gust) - without the render.  (Refer the green "spun disc" in the first post - that's what started all these ... words and stuff).  cheers

samdavo

#4
Here's the final piece of the puzzle :)
I enclose the drawing as 3D - but you should change to 2D and even save to 2D with HLR to get the effect of the first "Spun Disc" jpeg in the first post.
cheers 

PS You may note that I have (yet again) rotated the disc up 35 degrees to get a pseudo-isometric view even when viewed in Front View.

I also post the drawings aftre saving as 2D with HLR.

Dr PR

DesignCAD user since 1987

samdavo

Phil I played around with your surfboard - and can announce that I've found another workaround lol.
At the outset, I suggest that you are the only person likely to read this - or give a shinbone lol - but you don't have to respond unless you want to.

ok - just to refresh your memory, I post the solution you suggested using various grids (which you coloured to identify them).

I get the same problem of triangular elements when I cut a hole in that surface.  (see jpeg).
However, I find a way to avoid it.  (And I suspect it is similar to something you posted once concerning getting rid of lines).

Given - a prismatic solid to be deducted from a solid surface.
Required - to do so without losing the rectangular elements
Method - Before you do the Ctrl-U  (solid subtract),
firstly solid-explode the surface,
explode it further to a grid,
select the planes that made up the grid and Ctrl-D to solid define,
i.e put Humpty Dumpty back together again...

THEN do the Ctrl-U solid subtract, and you avoid the triangles.

However the entire surface goes to Layer 0 - Aluminium - But easily brought back to original layer ( 2 cents).
   

samdavo

..
finally there is a way (very similar to your Grid 3) where you explode the surface to a grid, then again to planes - then collect JUST those around the hole ( your black grid) - and solid subtract with that one -   Same result, but ONLY the grid around the hole becomes Aluminium.

Sorry I finally remembered to post your "grid 3".

samdavo

#8
And at the end of the day, here are the options side by side - and you can see the extent of Alements in each case.

My preference is , explode + explode + soliddefine + solidsubtract + convert Aluminium back to orig layer and material.
This is the solid grey option on the right, (prior to the last step).
cheers

samdavo


PS On another matter, I find that the triangular grid still allows more holes to be drilled - well a second one anyway ( 2 cents).    But I still don't like the look of it in wiremesh when printed in b-and-white 2D.  And the Alements are randomly scattered making the triangles and rectangles also random.

minstrel

#10
Sam, I'm wondering why you are getting this 'Aluminium' - layer 0 'thingie' happening all the time.

I've have no such problem manipulating grids.  How, exactly are you creating the grids in the first place? [There should be, to my thinking, only one way ;)]

Just attached two files ... the wire frame view is just a 'hodgepodge' of re-constructed girds in hope of gaining control , plus there's another challenge for you [..and the rest of the crew, of course]...notice the light blue circle?  It's floating in 'transparent' 3Dspace.

edit - just an observation regarding forum uploaded images...use png's if possible.  I just replaced the jpg's due to poor quality.  Png's just give better results.

samdavo

#11
Minstrel
thanks for the post - Raises a heap of interesting questions - but firstly to answer yours.
How did I do the grids?
The first post was just three curved lines plus surface connect.

The saddle (you may recall - then again ,,, lol -  the hyperbolic paraboloid thread ) was done with surface patch because it was much more accurate than surface connect.

The Earth's gravity field was done with a curved line that was swept about the vertical axis to give a cone of sorts.  It was hammered as well (moon's field).  (Actually I just tried to recreate it without the hammer - just used the asteroid smashing through the grid -  and couldn't get Aluminium, which might be relevant (?)  - could symmetry be a factor?)

Anyway sticking with the hill in this thread, that was a set of 3  asymmetrical curves which were surface connected.  (and so was the strange Xmas tree with eyes in the post above - meant to be a quick sketch of a shallow boat or windsurfer board :) ).   If you have drawn a symmetrical hill in your png, then maybe that could be a factor. 

If you check out Phil's link back to 2011, you will find he had an asymmetrical windsurfer board or some such.  (see grid3 above) And he had the same problem.   

Note.  I believe that Alements only happen after a Boolean operation on the grid,  eg subtract a hole using solid subtract.   cheers.

PS I am using V22 for the moment (haven;t checked V23 yet).

PS My Windows Snipping Tool saves as PNG's by default I believe - so that's what I use too.

PS I just tried hammer, and ended up with three planes (only) of Alements. - much fewer than previous time, and none of the ones around the contours of the gravity field - maybe it depends on which way the wind is blowing :) - or solar flare activity?  PS I'm actually disappointed lol - I really liked the colour pattern I "achieved" (no-one was more amazed than me lol) last time - both with the saddle and with the gravity field.   A quick way to suggest the complex shape (2 cents)  - hence by the way, I still occasinoally use the wind-swept wireframe idea, which is not dissimilar. cheers

Dr PR

Sam,

Sam, there is a big problem with the way you collected all of the loose grid facets and recombined them with "Solid Define." They do not recombine into a grid. That means instead of having one relatively small (byte count) single grid object you have hundreds of individual objects. The resulting file is relatively large.

Open an empty file and draw a grid. Check the file size. Now explode the grid down to individual facets. Check the file size again. I did this with a grid stretched across three curves, with 36 facets per line and 8 intermediate breaks (I deleted the original curves so there was just a single grid in the file). Then I exploded the grid into 648 individual planes.

Single grid = 54 Kbytes (20 Grid Surface entities, 741 points)
Exploded grid = 167 Kbytes (648 planes, 4536 points)

That's a 3.1X increase in file size - and the facets were all rectangles. If they were triangles it would be a 6X increase.

The reason I regenerated a few grids around the hole is that those grids increase file size MUCH less than the hundreds of individual grid facets from the exploded grid. After creating these grids I deleted all of the original facets except around the hole. I redrew (planar polygons) the facets around the hole to replace as many individual grid fragments as possible. Then I collected all the grids and bits and pieces around the hole and used "Solid Define."

The example I showed was the fluke of an anchor.

http://www.okieboat.com/Copyright%20images/anchor%201%201024%20C.jpg
http://www.okieboat.com/Copyright%20images/anchor%202%201024%20C.jpg

It is part of a much larger whole ship model, with total file sizes approaching a gigabyte. There are similar collections of grids around holes in the hull plating near the bow, and in fire strainers, etc. Because there are a lot of "fragmented" grids in the model, I take the time to repair each one using a small number of grids to replace tens of thousands of individual polygons. If I didn't eliminate as many fragmented grid facets as possible the total file size might be double.

****

Minstrel,

I get Aluminum facets almost every time I use "Solid Subtract." If the subtraction cuts a hole in a grid I get Aluminum elements, usually on layer 1. For this reason I NEVER place objects on layer 1. Anything that appears there will be part of a scattered grid.

Note: Objects like cubes and cylinders have simple planar polygons on the ends and grids wrapped around the other sides. I think (haven't proven it yet) that if you subtract through one of the planes you don't get aluminum elements scattered all over the drawing. If you fragment a grid there is a high probability that you will.

Also, the probability that you will get fragmented grids seems to increase with file size or the number of hours you have been working on the file (they go hand in hand). In large files I get Aluminum elements almost every time I use "Solid Subtract." However, there have been occasions when I got Aluminum elements in small files the first time I used "Solid Subtract." This problem has persisted since before V15, and I am VERY familiar with it. In fact, I just assume "Solid Subtract" will screw up every time, so I automatically select the resulting solid, open the Info Box, restore all grid/solid pieces to the oroginal layer, and reassign the desired material and color.

Phil
DesignCAD user since 1987

samdavo

#13
Phil
that all makes sense - thanks. 
So I assume that when you do your red cyan etc grids (your jpeg "grid3" - which i have copied above) - that you use Surface Connect - (sorry I should read your old thread again).

Just that I also thought I had a better way than you ( foolish man that I am lol) , when I made two solids of the grids - one wrapping up all the facets around the hole into a solid-define (your black grid) ;  and the second soliddefine of the "O-shaped" remainder i.e. with a hole in the middle.  But i was breaking Humpty Dumpty and putting him back together - and that ( as you say) is expensive on memory / file size>>>

BUT
Having said that, for my canoes (as against your battleships) that's not such a problem for me as you :))

Indeed, I can just explode+explode+soliddefine+solidsubtract, and still live with the file size.  (2 cents)

Next question (to anyone),  but I couldn't make Q\Layers\"Merge current layer zero entities to the current layer" play ball.   Could someone explain please - I find it makes no change, and whether selected or not,
I go to Q\Layers, tick the "Merge current layer zero entities to the current layer",   I find "Apply is greyed out ?  and the only action I can take is to click "ok" and that closes the window -  but nothing changes , layer 0 is still there as layer 0.    And of course it has to be canged to original material also ( instead of aluminium).

Indeed on this one, I recall Minstrel had a trick of making all planes ( exploded) to be "same as" one of the planes of the grid (ex-grid) that is undamaged.    As a complete aside/tangent - I suspect it even looks after "facet rotation" -  which is something only a few people have referred to, Minstrel and prl from memory ( and more about going to Sketchup as I recall) (?)  Apologies if I am misquoting or misrepresenting anyone.  cheers   

Final question for now , Phil, When you say you usually get Alements in Layer 1, don't you mean layer 0 ??  I have had plenty in Layer 0, but none in 1.  And why else would Q\Layers\assign layer 0 to current "  be layer 0 , why wouldn't it be layer 1 (?)

Dr PR

Sam,

My first thought when I saw that you just selected all the facets around the hole and made them a solid with "Solid Define" was - Wow! That's a much faster way to do it. And it is if file size isn't an issue. And then you can poke more holes in the grid if you want to. So it isn't a bad idea.

****

I think the "merge layer zero objects to current layer" has something to do with Symbols. It also affects copy/paste. Objects pasted to layer zero are moved to the currently active layer.

It has no effect on the layer 0 Aliminum grid fragments produced by "Solid Subtract."

Phil
DesignCAD user since 1987