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.

Hammer and cycle wheel

Started by samdavo, May 03, 2013, 04:32:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

so, I wanted to try to draw a gravity field with a hammer blow to give a dent.

And I started with a torus (for practice - and because I was trying to draw the Large Hadron Collider at the same time). 
and gave it a blow,  (using a vertical vector normal to the horizontal plane of the "wheel") - and all I got was a bent wheel lol.

the depth of the hammer-blow was more than the diameter of the ring btw.

(Incidentally, at this stage there are no layer 0 elements in the surface, as evidenced because there are no "bug-aluminium-aluminum" colours).




samdavo

#1
then I intersected the surface with a solid cylinder (pink) - and subtracted it - and (you guessed it) ended up with those BUG elements in the surface - no biggie as Phil says , just means they are in Layer 0, easily brought back to Layer n (whatever).

I am gonna nickname them "ALements" - short for Aluminium-coloured-elements.
(sorry irrelevant to thread - just reinforcing Phil's hypothesis - but I don't recall Solid Define being involved - maybe it was - not important - moving on) ... next post will be about hammers lol

samdavo

#2
Then when I looked closer, I saw that there was a little bit of red paint - ahh - so I must have hit the ring with the HANDLE of the hammer lol.

(Sorry, this is obviously just a pisstake - for fun as they say).

Actually, what I'd like to do is make one of those "warped gravity fields" like the attached jpeg.  (I'll continue plodding in the background, but any tips would be appreciated). 

After that I would like to draw the contours in x, y and z directions, - which I assume (?) would require intersections with a stack of parallel planes,...

something like a multi-square-cheese cutter maybe (?)
PS any commands I'm not aware of?
or macros maybe? any assist appreciated.

PS such a set of "contour-lines" would in general be different to those "mesh-lines" in the mesh - but they would be real handy for illustrating the shape of say a saddle shape. (2 cents)

cavelamb

I would approach that a bit differently.
First, draw the gradient in 2D.
Switch to 3D and draw circular sweep.
Surface connect if desired...

samdavo

#4
thanks CL, 
Plenty of food for thought there.
I've been told there are some chores to be attended to  :)  ... "back later"

PS - ok, next challenge - a small dent where the moon is ;)

Dr PR

Sam,

Best of luck with the "Hammer" tool. It takes a lot of getting used to. I used it to beat the "bloomers" into shape on the model of the 6"/47 turret shown on the following pages. Bloomers were the canvas/rubber bags around the gun barrels to keep water out of the turret.

http://www.okieboat.com/Copyright%20images/Turret%201%201024%20C.jpg
http://www.okieboat.com/CAD%20weapons.html

All three bloomers are the same in the current model. Some day I will go back and put wrinkles in the bags on each gun so each bloomer will be unique. But by the time I got the first one to work I was tired of fooling with it and just replicated it three times. Actually, each bloomer is made of two mirror-imaged halves.

Phil
DesignCAD user since 1987

samdavo

Phil
thanks, I enclose copy of your bloomers.
lol - appropriately named.
I have also had total success with hammer - starting from cavelamb's big leg-up with the swept grid.

I exploded both the earth and the cone into a grid, changed the density of lines till I was happy with it, made the earth a solid again;

found pictures of the earth and the half-moon on the internet
use texture mapping / box mapping to paste these onto the relevant spheres
added the sun, and a yellow light source,
and ... I'm pretty happy with the result.
(I just need the grid to show up even when shaded - any tips?)

(PS anyone who wants to see it in DCAD including mapping, you'll need the jpegs on the same directory.  Interesting that only the circular centre of the square photos are used :) - all good)

samdavo

and herewith a screensnip of the result:-
(and another view of what I was aiming at)
as I say I wish the mesh was visible (rats)- the rest I'm happy with.

Can't see myself bothering with the galaxy one lol.
Next challenge awaits.

samdavo

Phil,
I couldn't explode that blue mesh for some reason.
so I used that trick of forcing a Solid subtraction, and ending up with ALements (aluminium layer 0 elements).
(i.e. I subtracted a thin cylinder "asteroid trail" that broke through that gravity mesh)

The result is enclosed .
Still can't seem to show the mesh for some reason (though I'm sure I've been able to before ? Just that lately, whenever I select shading , I can't then select a grid ( to highlight it) without turning off the shading.   

samdavo

#9
Sketchup gives me the mesh - but I lose the Box-Wrapping ( rats)

Anyway, the hammer worked fine - and others are welcome to add more moons to try to prove me a liar lol.  But is was easy.
There's a setting for the affected radius, and I realise now that's what I did wrong with the first post - too big a radius.

So for this case, needing a shape indent, I chose a small radius, (about the same as the depth of the dent from memory) and achieved the result I was after - cheers.

PS If you look closely at that jpeg, you'll see the small hole that the asteroid drilled in the mesh :)  i.e. in order to get grey ALements in the DCAD rendered shading.

MarkX

My problem with the hammer was that the "head" could only be square -- not rectangular to match the shape I wanted to create.

Mark

samdavo

#11
Mark - I just hit one point.  As forseveral hits, lol - I know Phil said he drew those bloopers with several hits - but I found it extremely tricky with multiple hits (2 cents.

Anyway I finally found a way to show the grid as well as the shading.  (Just dragging the selection rubber band box around part of the mesh).  But you can't include the Earth, or the mesh takes visible priority and the box mapping is lost.  (in the same way, incidentally as the mesh is already making the moon less visible - if you look carefully - but being smaller, I reckon I can get away with that).

Obviously I have chosen layers to O and 1, where O = Aluminium, and 1 = the mesh layer. 

samdavo

#12
And another Tijtt = trick I just twigged to, 
If you drill that hole in the mesh (or other Boolena operation), then you effectively break the pane of glass.  And then when you explode it, you get elements and ALements.  And these in turn can be pushed apart using Dempsey's pushapart.d3m macro.

I also enclose a zoomed up version where I just played around with the layer 1 bits of mesh around the moon ( ok and a handful of layer 0 as well).

PS Couple of quick observations.
1. Dempsey , if you get to read this, how do you pushapart just a little bit, (which I figured would have been enough to make the mesh visible without that much distortion) - I get the feeling that pushapart.d3m wants to use a min of 200% of some such.  For instance that effect was produced with 101% expansion? (or at least that's what I asked for) ... yet it is more like 200%??  And in a quick look at your macro I can't see why (?)

2. The box mapping used to wrap the photo on the earth is clearly not going to show the other hemisphere to the one pasted onto the sphere - so, lol you get two Western hemispheres folks.   Next time it will be Eastern , maybe with "down under" blown up a bit  -  or that old trick of Aussies of drawing the Earth with north and south poles reversed so that we are "up over" for a change :))

3. I found I was able to select the yellow arrow without causing the shading to change back to the wireframe (default) - note the small blue dot on the yellow arrow ( if'n you're obsessed like ... some others round here lol)

Dempsey

Sam,

A small change in pushapart is 1 (%) or 0.5 (%).

The end results depend very much on you reference point, e.g. your drawing 0,0,0 (origin), center of the selected objects, or a point you set. For the last I recommend that create a point that you can use during pushapart with a gravity snap.

A 1 % change from your reference point to the center of an object is of course dependent on the distance, and hence varies for all objects.

Instead of pushapart I would say that you better use the scale function and scale all axes with  a factor 1.01 (1 %).
Dempsey