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.

Thin Skinned Crocodile Dundee Briefcase

Started by samdavo, April 27, 2013, 08:58:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

Best way to draw a thin-walled briefcase?  including open 30 degrees (like Crocodile Dundee's briefcase

Here's one way .

a.Draw a rounded box. (on Menu \ Solid) - only available as a solid I believe
b.Slice it in two, leaving just the bottom
c.Mirror about the "back transverse hinge"
d.Rotate the top up.

ok at this stage you have two solids.
Just removing the centre from the bottom ( I won't duplicate for top :-)
select the bottom half,

e.do a diamond to get top dead centre of top face,
f.whilst the base is still selected, make this TDC the single handle
g. copy it and paste it to the same spot - (that will select the new pasted version - I have "select object when created" unticked btw, but this gets around it)
h. change layer/colour of new selection to 2/red -
I. scale it about this same TDC handle, I have used 0.95 for X,  0.9 for Z, and 0.85 for Y - that way, the wall thickness of the briefcase walls are approx the same ( I'm guessing there are more accurate ways - maybe using parallel?  or double lines /planes?)
j. then raise it 1mm to see the red face ( just for the jpeg ok) -  otherwise it is flush with the green , and for some reason the green takes precedence - pulling seniority over the new solid  maybe? maybe I could have given the red "move to top" visibility?
k. then subtract the smaller red solid from the larger green one.   (I personally use a diamond for each one, to make it real easy to avoid selecting the wrong solid in each case).
presto.
(compare with the top - which is still a solid green "brick")

Any other ways to do this?
cheers
sam

(PS I'll include the finished dcd - the original dcd file with solid top and bottom ( if anyone wants to play around with this) can be found on the paperspace for seniors thread.   But easier might be to just remove the material from the top half.

PS AFTER THIS, I'm hoping to learn (hopefully again with the help of others - the powerbase of knowledge here - thanks for the help so far btw ) how to then section this - and /or show transparency.  ( 2cents).  So far I'm not getting very far very fast in those directions     


samdavo

#1
The same thing using a bit more care with those scaling factors.
The dimensions of the major axes of the bounding box ( as measured as the axes of the diamond) were 500 x 350 x 84 high.
Therefore copying and pasting it "on itself", using the Top Dead Centre as the handle,
- the factors I therefore used were
scale factor x = 498/500,  which shows at 1.00 in the scaling factor window
Y = 348/350 (shows as 0.99)
z = 83/84 (ditto)

CIRCULAR SECTIONAL CUT
Then , as for the section - I decided to just use a cylinder (where you can control the height so that it doesn't section the top as well) - and subtract solids.

Again, sorry if this is "common knowledge" - just that I'd appreciate any clues on other or easier ways etc
cheers   

samdavo

Just messin around with texture/box mapping; and lighting. (2 cents)

minstrel

#3
Quote from: samdavo on April 27, 2013, 08:58:18 PM
Any other ways to do this?
     

Nice presentation, Sam, and I'm impressed how your approach gets you from point A to point B.  I have yet to put your 'diamond' macro to the test....soon, very soon.

Anyhow, here's a crude description of how I would go about this...which way is better?....once again, a matter of choice. 8)

Minstrels way...

1. Draw a 'rectangle' to box/briefcase size on x-z axis only (this will be later used to halve the box/briefcase).
2. Rounded box - gravity snap to lower left of rectangle.  Use 'point relative' to set actual size.
3. Duplicate Rounded box (N) and snap on top of original (use rectangle as snap location). While still selected     change color if desired.
4. While it's still selected 'Scale' (S) it as necessary (inner box only).
5. Now do a 'solid subtract' on the two rounded boxes.
5. Gravity snap to rectangle [step 1].  Hit [M]move, use point relative to set 'y' value to move to up to desired slice location.
6. With it still selected, goto the 'info box' and increase the width/depth to a greater value.
7. Finally, use 'sliced by curved surfaces' [yes, that's correct; not SLICE!] and perform the slice...the box/briefcase in nicely walled,halved and ready for more enhancements. 

Keep at it!
Minstrel

edit - added attachment.  Hope you get more 'approaches' on this...it's a perfect way for everyone to learn something!

samdavo

Thanks minstrel.  I'll make time tonight to fully check out your method.  Looks good.
Sorry to go formal, As I say in my letters at work ,,, "The following points are relevant .."
1. Why this shape ? I started using It in the Paperspace thread...
2. thanks for getting me onto paperspace btw
3, anyways I started it there as an easy example of front, top and side - after all, the orientation of a half-open briefcase is a "given" in that regard, especially if the hamburgers aren't falling out.
4. PS  the problem with both yours and my method will be if that skin has to follow undulating countryside shape, and still be 1mm thick.  - next assignment I guess.

PS no sooner had I drawn those hamburgers (paperspace thread) and I realised I could have pasted a picture of a hamburger on that shape using tools\texture mapping\box mapping;
I enclose the croc added to the surface using this procedure ...


then I realised I need to learn how to use transparency - (my next challenge - if anyone wants to get ahead of me and show me how, I'd appreciate it  eg looking down on that briefcase and making the top transparent so that you can see what's inside - compare James Bond wearing Xray glasses...   

PS I've posted the latest versions of diamond4 and diabox4 on the diamond thread. cheers
sam

(edit without the one with the jpeg - doh -obviously with any of these wrapping exercises - posted to forum - you have to include the wrapped jpeg in the same directory. - maybe later)

minstrel

Quote from: samdavo on April 28, 2013, 05:13:34 PM
...the problem with both yours and my method will be if that skin has to follow undulating countryside shape, and still be 1mm thick.  - next assignment I guess.

Sam, if I understand you correctly, this is quite easy to accomplish [using my approach, of course 8)].  That's the beauty of using "SBCS" (slice-by-curved-surface).  The slicing 'grid' can undulate in any manner while the target itself can be any shape.

Minstrel

ps - today I look into your 'diamond' collection!

samdavo

#6
Thanks minstrel,
(sorry I brushed a bush with my eyeball, and will not be doing much drawing tonight.
- and apologies if I've missed the point of your SBCS - see how I go understanding it, whilst squinting at the screen lol)

Can I assume the top of your blue teeth are horizontal, and were achieved with a horizontal cut into a vertical 1mm thick walls?  (edit) doh - you would have horizontal teeth even if you subtracted solids scaled about top dead centre of each - sorry for that bit of confusion.

What I meant by undulating countryside - or otherwise a hypobolic parerberl , a hiperbollic,   , was a saddle shape.   Also called a Pringles potato chip (according to Wikipedia).  Apparently they give you negative gas ... and you become hyper paranoid ...

Quote from: Wikipedia "saddle shape"
" A saddle surface is a smooth surface containing one or more saddle points. The term derives from the peculiar shape of historical horse saddles, which curve both up and down.

Classical examples of two-dimensional saddle surfaces in the Euclidean space are second order surfaces, the hyperbolic paraboloid z=x^2-y^2 (which is often referred to as the saddle surface or "the standard saddle surface") and the hyperboloid of one sheet.

Saddle surfaces have negative Gaussian curvature which distinguish them from convex/elliptical surfaces which have positive Gaussian curvature. A classical third-order saddle surface is the monkey saddle. The Pringles potato chip or crisp is an everyday example of a hyperbolic paraboloid shape."

So how to draw a Pringles potato chip with a thickness of 1mm (I'm gassing it's not all that difficult with the parallel line option , and that feature which makes warped surfaces ( which I have never used incidentally).

questions become:-
What's the best way to draw a Pringles hyperbolic paraboloid? (or something similar/approx. - or worst of all, something randomly curved.)
What's the best way to draw one 1mm thick?

(anyway that's what I meant by undulating countryside - bit like the standard desktop picture in XP.)
cheers
sam

Bob P

You cannot extrude a curved (or other) surface to maintain a constant thickness, only extrude it in a single direction.  That's one of my strongest requests for a new DC ability, the other being the corresponding "shell" of a solid to create a wall of constant thickness.  Until DC can do those two things, we're really limited to "faking" real-world objects.

minstrel

#8
Sam, you posted about 'Pringles' while I was busy with another 'CASE' study...sort of lot's of pringles into one.

Much of the same approach only difference was a 2D twist using 'parallel line' to best shape the skin then when re-scaling after extrudes adjust only the 'y' axis [inner shape]...the rest as suggested to finalize the project.


Quote from: Bob P on April 29, 2013, 03:21:07 AM
... we're really limited to "faking" real-world objects.

Ain't the truth Bob, but you got to admit...it's lots of fun trying!  And I am looking forward to a constant thinkness 'shell' command - I am sure we are not alone.

Minstrel

samdavo

#9
Thanks for that gents - and Bob, for what I need, faking it would suffice.

eg as Minstrel says, just stretching / extruding  it 1.5mm vertically (Y axis) - or the axis of symmetry in general -  would give a thickness varying say 0.7 to 1.5mm ;   and blind man on a galloping horse wouldn't know that it wasn't 1mm as claimed (and would it matter? - for most cases).

So Here's my next contribution to texture mapping. 

HAMBURGER
I loaded a rounded cylinder (big radius on top).  Found a photo of a burger on the internet.  Then Texture Map/ Box Map did the rest.

CROC.
Here I exploded the top (still had a planar surface at the split-plane).  Selected the sloping face as well as the back face ( all the orange faces which are also in layer 3 btw),  and did the same Box Map with the jpeg of the croc.

Off to the next challenge...
Cheers
sam

PS The third and fourth attachments are just photos, which have to be in the same directory as the DCD for you to get the visual effect(s).


samdavo

#10
And here's a screendump of a VIEW intended to best show the images.   (Looking slightly up into the lid of the top).

Now here's where I had a problem with something basic. (concerning defining views).
I tried to define SAVE this view as "up into lid"

Then I went to paperspace expecting to find that view as one of the options when I Infoboxed a Viewframe -  but no it wasn't there.

HOWEVER, when I clicked "Perspective"  in the paperspace viewframe infobox it gave me the view I was after  (well close to it, if you compare top left of the first jpeg attached in the last post -  with the jpeg attached here - and incidentally this second one is the view I had on the "main" screen (back in model space).

On further checking, I could not duplicate the experiment, i.e. I changed the view in "Modelspace/Main View",  But couldn't get that view to show up in paperspace (?) - more research required obviously. 

PS Any tips on the following would be appreciated.
a. defining views, (believe I can do that in model space, and can call up the view again and again as required) or
b. calling up said view in Paperspace ( this I can't do);  and
c. what does Perspective View mean. (?)  Does it vary to match whatever in on main?
d. what about user defined views (as found in the help files)?   ( I personally used "Save Current View")

Cheers

samdavo

#11
Here's another trick of sorts. (speaking of faking it I guess)
In summary, I have achieved the same effect with the inside if the lid, by turning it into a set of planes (grouped).
Method:- 
1. select the lid
2. go to infoBox, check a single "Solid" is selected,
3. explode Solid (you now have a set of planes).
4. carefully select just the bottom face, and delete it.
you have the same effect.
cheers

samdavo

Quote from: minstrel on April 29, 2013, 03:44:23 AM
Sam, you posted about 'Pringles',,, blue sketches attached

OK minstrel, I give up.
I have to admit I'm not sure how you did those blue sketches,  (including waving wall of constant thickness)  lol
Are they vertical extrusions of a couple of parallel lines in plan?

minstrel

#13
Don't give up, you are almost there.

The key, as mentioned, is a parallel line of the original shape.  Change it's color for sanity's sake...and extrude both the inner and outer planes to desired height.  From there, before you solid subtract, select the center[smaller] shape and (S) Scale only the 'Y' axis to slightly reduce the height by center [adds skin thickness top/bottom]...from there, you know the rest of the story!

Listen, I'm dancing with your 'Diamond' macros at the moment...they keep screaming 'cause I keep stepping on their toes... they will increase in valuable the more I work [dance] with them...Thanks for sharing!

Minstrel

samdavo

Minstrel - thanks - all makes perfect sense.
Thanks for forcing me to learn a few more skills.   
I'll respond further on the new thread about "Surface Connect and Surface Patch" cheers