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.

Drawing an Open Top Barrel

Started by Akimbot, May 22, 2014, 03:02:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

Quote from: John R on May 26, 2014, 11:41:06 AM
Your barrel looked like a good subject to fiddle with in that other IMSI/Design program. The 3D PDF came out pretty good and was better after tweaking in Acrobat 11. You need to twist Dave Taylor's arm to have DesignCAD added to their U3D and PDF 3D Plug-in.
https://www.dropbox.com/s/t3iscw5qymcz72p/Wine%20Barrel.pdf
John
3D pdf's sound brilliant.
And something I would love to master.
PS for some reason, I couldn't get that dropbox to show anything but a white square (?)

John R

re: ...white square

I see the same thing. My guess would be that the browser PDF plugin doesn't work with 3D PDF's. If you download the file (6631KB), it should open in Acrobat Reader. On the left you can expand the Model Tree and turn off individual parts of the model with the checkmarks. The hoops were made as one piece, so they all turn off at once. The "Views" I made in Acrobat 11.

On my 'puter:
Left mouse button = Orbit
Right mouse button = Zoom (push/pull up or down)
Both mouse buttons = Pan

Hope this helps.
John R.

samdavo

#32
Ahhh Brilliant John - thanks  (i.e. "Open with Acrobat Reader" works)
I wish I could make 3D pdf's like that.  (Apart from the fact that I like the black lines between staves etc).
At the moment I would probably have to do a walkthrough, wherein the object was rotated through plan and elevations, and even sections and pushapart etc.

If you have time, maybe throw a few more crumbs this way about the 3D pdf program ...  i.e. I take it it cannot be done with DCAD (?)

prl

Quote from: samdavo on May 27, 2014, 01:14:01 AM
If you have time, maybe throw a few more crumbs this way about the 3D pdf program ...  i.e. I take it it cannot be done with DCAD (?)

Sam, did you notice the buttons for different renderings too in the pdf file (shaded, wireframe, etc.)   Pretty neat, all except for the large file size and the typical Adobe performance.

Akimbot

Thanks Phil! 
1) Color:  The "A" alluded me and honestly, I bet I would have looked at that "A" for a long time and would have continued to be certain that this was used to select the TEXT color.  Thanks for saving me the frustration.
2) Gouraud?  Since pointing this out, I learned a lot about Henri Gouraud. 
Hear again, I may not have discovered this for a long time and I am working (painfully) through the manual. I try to stay clear of things I don't understand because recently I accidentally placed my camera view into the barrel and lost everything in the twilight zone for longer than I care to admit.
Again, thanks very much for the help.
Larry
The attached is the real color of the barrel but - I will change it....

magic

Hi Sam,

Actually, you can make something similar using VRML, and this will actually let you rotate animations as well.

You can save a drawing as a vrml and you can also save an animation as a vrml, and so far the best product I've found to show it is called Actaga Player, and you can get that here: http://octagavs.com/softwarem/octaga-player

You can find an vrml animation that I did once here: http://www.magicsystems.com/Valve%20animation%209.wrl
It's a kind of magic!




samdavo

#36
Quote from: prl on May 27, 2014, 01:41:40 AM
Sam, did you notice the buttons for different renderings too in the pdf file (shaded, wireframe, etc.)   Pretty neat, all except for the large file size and the typical Adobe performance.
prl
wow great stuff - trouble is all these features are just a tease if it can't be done :)

ok - question becomes, "what is the closest DCAD can do?"

I notice that you can get transparent effect with 3D pdf's.
I change the material of two staves ( in front) to Glass, and for one of them I delete the texture mapping.   I trust it is obvious which is which ( 2 cents).  Of course I could have made a new material ( eg Glass_1) which has more transparency still.  (which someone showed me a couple of months ago :)  ) 
cheers.

(edit) Thanks magic, I'll check out the vrml option. 

prl

Quote from: samdavo on May 27, 2014, 02:46:22 AM
ok - question becomes, "what is the closest DCAD can do?"

The technology gap is pretty large, not one that I think IMSI/Design will ever fill.   Being able to do live section views (non-destructively) would require catching up DesignCAD to now run-of-the mill viewport technology and that isn't in the works.

The sad truth is the best DesignCAD can do is build the basic model and have TurboCAD or some other program read the file and do the rest.

John R

I started to wonder if the "Solids" in DC could be used, but I don't think they're that much different from the TC Surface objects used in their TC Deluxe product, so it might be 'doable'.

The basic 3D PDF that TC generates only comes with a basic Isometric SE view as the "Default". The Render Mode is "Solid" and the Lighting is "Lights From File". It can be pretty drab looking when first opened. I use Adobe Acrobat XI Pro to tweak the file; change the default view and add some other views. The "Cross Section" view was made in the Adobe program, not TC.

When you select an object, you can right-click and use the "Part Options" tools to make temporary changes to that part. Unfortunately, it appears you can't select multiple parts, then apply a change. As far as I can tell, none of the changes can be saved in the "Reader".

The black lines come from using the "Shaded Illustration" setting and becomes more pronounced because the edges of the staves are filleted. The fillets create extra lines for the start & end of the curve section. The normal "Solid" Render Mode doesn't show these lines.
John R.

samdavo

#39
John
Herewith an animated gif made using the tricks discussed on "yet another 3D viewer" (bdeck's macro).
http://forum.designcad.com/index.php?topic=5522.30
Reply #43 in particular.

Just playing around with barrels.
(PS and all done with DCAD;   plus irfanview and unfreez , both freeware
and PPS,  a stack of help from prl)
cheers
sam

prl

Quote from: samdavo on May 28, 2014, 05:31:10 AM
Just playing around with barrels.

Sam, that is awesome! I see a big smile on several people's faces when they see this.  You've incorporated the best ideas from the forum.  So all our irrelevancy wasn't really so irrelevant!!

John R

That looks like it was a lot of fun & a lot of work. I think the last time I exploded an object was long ago and it wasn't animated: Tool Vise - exploded.
John R.

magic

Hi John,

In DesignCAD the term explode is used for something else.

Dempsey did a macro some time ago that does this, and he named it push-apart.

You can find the macro here: http://forum.designcad.com/index.php?topic=1582.0
It's a kind of magic!




prl


samdavo

#44
Quick comment or two before I tackle the day ahead.
prl, Thanks for the compliment, but that gif is all your skills, just my fingers doing the typing, and clumsily compared to you.

John, You're right, it's a lot of fun.   As for duration, about 3 hours.   But I was writing macros and learning as I went (what's new). PS nice vice (as the Bishop said to the actress)

magic, yep - Dempsey's pushapart macro is a ripper.   I use two expansions of +100% and +100% - followed by two implosions of -100% and -100% - and end up back where I started ( as dempsey intended it should work).

bdeck's macro (as referred to above) is real handy for taking screenshots when things are being rotated, zoomed etc.   I have twigged his macro slightly, so that it captures screen shots with a press of the spacebar (note - the usual "command line" use of spacebar is interrupted whilst his macro is running).  It is great for screenshots that involve rotations, zooming, even changing of lighting conditions.

He has another neat trick whereby pics are saved with a filename based on @now, or rather sys$(7) and sys$( 8 ). 

But exploded pushapart views, and moving parts can only be done with the macro turned off.
Hence,  I have also "written" this dead simple macro call "snap" which is adapted from that macro and also one of prl's.  It takes a screenshot of the active window and saves it in a directory "C:\stuff" with a filename based on the date and time.
PS  The title of my macro should be "Plagiarism101.d3m"  -
PS Macros don;t come any simpler.   btw, d$=sys$(8) is  d$=sys$[8] with rounded brackets. 

Quote'snap.d3m takes a screenshot of the active window and saves it in a file on directory c:\stuff with a filename based on date and time
 
t$=sys$(7)
   t1$=left$(t$,2)
   t3$=right$(t$,2)
   t4$=right$(t$,5)
   t2$=left$(t4$,2)
   tm$=t1$+t2$+t3$
   d$=sys$(8)
   d1$=left$(d$,2)
   d3$=right$(d$,2)
   d4$=right$(d$,5)
   d2$=left$(d4$,2)
   dt$=d3$+d1$+d2$
   
pic$="c:\stuff\pic"+dt$+"_"+tm$+".png" 'a directory of your choosing


    >SaveBmp
    {
    <ShowLine 0
    <Filename [pic$]
    }

PS Once you get all the screenshots in that directory, you can reorder them so that they sort the way you want.  For instance I tried to throw the top band into the air - doing somersaults - and make it land on the top of the barrel again -  but I screwed up, and it was gonna belly-flop.   So I ran that particular sequence backwards so that the takeoff became the landing.    This sort of thing happens in Hollywood all the time I'm told :)
cheers

PS I might check out if there is any merit in having the option of saving a backup with a filename that included date and time.