Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ship in a bottle, with "Action Waves" (Animator not required!!)

5 views
Skip to first unread message

Mike J. Wilson

unread,
Mar 10, 2002, 10:55:18 PM3/10/02
to
Just sit right back and you'll hear a tale...

Remember that "IIF" tip from Stephan? Well I incorporated it into a
part file (yes that's right, a part file)...
http://www.mikejwilson.com/solidworks/solidworks_files.htm

All you have to do is open the part and do as many manual rebuilds
as you like. Every time you rebuild, the waves undulate. If you want
it automated, I included a macro called "Ship in a Bottle.swp". Simply
enter the number of rebuilds and watch it go! You can have boat
races with your buddy in the next cubicle. It will even display your time
when finished (may even be useful as a quick benchmark?).

My computer can do 50 rebuilds in 67sec. How about yours?
ATHLON 1.4Ghz-266
512MB PC-133 RAM
GeForce2 32mb
Windows2000 SP2
SolidWorks 2001Plus SP0

One surprise I didn't expect was that the waves actually push the ship along
the bottle as they swell (Gnarly!).

BTW, I tried to keep the model as simple as possible to enhance rebuild
times, so don't expect too much eye candy.

Have Fun,
Mike Wilson

PS: I think there is a bug somewhere because the equations stop
working after so many calculations. You have to shut down SolidWorks
and start it up again to clear the memory "leak" or whatever.

Dale Dunn

unread,
Mar 11, 2002, 12:10:14 AM3/11/02
to
Cute! I like it!

For 50 rebuilds I scored 65 sec.

Athlon 1400 (o/c 1501)
512MB PC266 DDR SDRAM
Elsa GLoria II (Quadro)
Win2ksp2
Sw2001+sp1.1

So I would get 69.7 sec. if mine was clocked at 1400 (Assuming
performance scales linearly, which it seems to on the Solid Solutions
benchamrk using Athlon around these speeds). I'm guessing that his means
SP1.1 rebuilds a bit slower? I don't think the video is significant
here... An I didn't see that much improvement in the solid solutions
benchamrk using DDR SDRAM.

Does Anybody out there have a P4 w/Rambus they'd like to try out?


Mike J. Wilson wrote:


--
Dale Dunn
Design Engineer
www.jamestool.com
513-942-6077

Evadem

unread,
Mar 11, 2002, 10:42:45 AM3/11/02
to
Interesting macro, I got to learn more about VB and writing macros. Anyone
got any suggestions for learning for a complete newbie to this? I know
nothing bout VB, and looking at the SW API help files and examples is like
trying to read Greek to me. Here is what I got running the macro.

51.2 secs for 50 rebuilds

AthlonXP 1800+ (o/c 1662)
512MB DDR Ram
VisionTek GF3 Ti500
WinXP home
SW2001+ SP2

Dave


Dale Dunn

unread,
Mar 11, 2002, 11:11:53 AM3/11/02
to
I would suggest learning VB before trying to get much done in the SW
API. If your local community college has a class in VB for Applications,
that would be the way to go, as it would teach how to hook into other
applications too. But I'm not an expert yet, so...

Evadem wrote:

Leo Hursh

unread,
Mar 12, 2002, 11:22:07 AM3/12/02
to
As always, interesting work Mike!

56.8 secs for 50 rebuilds

Athlon XP 1800+
512MB DDR RAM
3DLABS OXYGEN VX1
WIN2000 PROFESSIONAL
SW2001+ SP0.0

Leo


"Evadem" <san.rr.com@dmerrifield> wrote in message
news:Vf4j8.18721$Gu6.8...@typhoon.san.rr.com...

Evadem

unread,
Mar 11, 2002, 12:31:04 PM3/11/02
to

"Dale Dunn" <dale...@jamestool.com> wrote in message
news:3C8CD64F...@jamestool.com...

> I would suggest learning VB before trying to get much done in the SW
> API. If your local community college has a class in VB for Applications,
> that would be the way to go, as it would teach how to hook into other
> applications too. But I'm not an expert yet, so...

Good suggestion, I didn't think about going to a VB class. I will look into
it. Thanx

Dave


Per O. Hoel

unread,
Mar 11, 2002, 12:59:04 PM3/11/02
to
Mike's rebuild "animation" is quite interesting; however, there are
certainly many variables.

I ran the test on a Dell Precision 330 P4 1.5 system with 512Mb ECC
Rambus memory and was not impressed.

With the GeForce2 GTS graphics set @ 1,024 x 768 True Color, the macro
run of 50 rebuilds took 148 seconds the first time, 76 seconds for a
repeat and just over 4 seconds when the file was run minimized.

It seems that running a few manual CRTL-Q rebuilds, prior to launching
the macro, will improve the automated results and apparently the
screen resolution, color depth and window size are all modifiers...

Have fun, but remember your mileage will most likely vary greatly.

Per O. Hoel
___________________________________________________
Dale Dunn <dale...@jamestool.com> wrote in message news:<3C8C3B3A...@jamestool.com>...

Dale Dunn

unread,
Mar 11, 2002, 1:17:49 PM3/11/02
to
Yow! Something's not right there. Especially if display resolution is a
factor. I run at 2048 X 1536. 4X the pixels your machine generates, with
a GPU a generation older than yours. I don't think the P4 is supposed to
be THAT much slower than the Althon. How does that system compare on the
Solid Solutions benchmark?

Per O. Hoel wrote:

Paul Salvador

unread,
Mar 11, 2002, 1:29:51 PM3/11/02
to
Per,

There is something wrong here. As far as I know increasing your
resolution to 1280 x 1024 true color will actually increase the
performance and I believe it has to do with the way nvidia wrote the
opengl drivers or they did not optimize them at 1024 x768?

(I know this is true when I used/owned LightWave, which is opengl
intensive.)

..

Mike J. Wilson

unread,
Mar 11, 2002, 2:40:20 PM3/11/02
to
> Per O. Hoel wrote ...

> there are certainly many variables.

I want to add that there is an equation bug somewhere in that if
you run the test a few times, the equations stop working and makes
the test end prematurely. Also, I didn't "anchor" the ship, so it might
accidentally sail out of the bottle and cause errors. If you do a few
Qrl-Q's before the test, the equation bug will show up earlier.
You must exit SolidWorks completely to reset everything.

If you want the ship to stay in the bottle, you can...

*) Edit the Boat Sketch
*) Add a dimension between the Right Plane and the centerline

If you do this, you can run the test for longer periods and pinpoint
the exact time when the equations stop working.

Regards,
Mike Wilson

PS: I did another test at..

800x600 = 70sec
1280x1024 = 70sec

Shawn

unread,
Mar 11, 2002, 1:50:11 PM3/11/02
to
126.9 secs for 50 rebuilds

P3 700 mobile
512MB sdram
ati mobility 32MB
win 2000 pro
swx 2001+ sp0.0

Claude Simard

unread,
Mar 11, 2002, 3:37:18 PM3/11/02
to
As women say, size does matter!

Athlon XP 1800+
1GB DDR RAM
nVIDIA QUADRO2 PRO
WINDOWS XP PROFESSIONAL
SW2001+ SP1.1

With 50 rebuild, I had:

1600x1200 : 147 sec
800x600 : 58 sec
640x480 : 50 sec
minimized : 47 sec

Claude Simard
Mechanical Engineering
Wulftec International
www.wulftec.com


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

Dale Dunn

unread,
Mar 11, 2002, 3:51:16 PM3/11/02
to
Do you have software OpenGL turned on?

Claude Simard wrote:

> As women say, size does matter!
>
> Athlon XP 1800+
> 1GB DDR RAM
> nVIDIA QUADRO2 PRO
> WINDOWS XP PROFESSIONAL
> SW2001+ SP1.1
>
> With 50 rebuild, I had:
>
> 1600x1200 : 147 sec
> 800x600 : 58 sec
> 640x480 : 50 sec
> minimized : 47 sec
>
> Claude Simard
> Mechanical Engineering
> Wulftec International
> www.wulftec.com
>
>
>


--

Mike J. Wilson

unread,
Mar 11, 2002, 5:15:13 PM3/11/02
to
"Claude Simard" wrote...

> As women say, size does matter!

You mean it's not the motion of the ocean that matters?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
Check out our new Unlimited Server. No Download or Time Limits!
-----== Over 80,000 Newsgroups - 19 Different Servers! ==-----

Mike J. Wilson

unread,
Mar 11, 2002, 5:29:34 PM3/11/02
to
In case you want to expedite the bug witnessing process, do this...

*) Exit SolidWorks and Start it up again
*) Open "Ship in a Bottle"
*) Suppress every feature except "Wave"
*) Set the macro to 580 rebuilds and run it
*) Observe how this would make a cool flag animation
*) After the macro ends, try doing a few manual rebuilds until
the equations stop working

On my computer, they fail after around 583 rebuilds, at which point
I have to exit SolidWorks and start it up again

Mike Wilson

PS: If you're really feeling frisky, you can do this...

Warning: This may crash your SolidWorks session!
*) Open "Ship in a Bottle"
*) Erase the feature "Wave Trim"
*) Select the "Trim Surface" command
*) Pick any two surfaces and hit "O.K."

Did it crash?

Here is my workaround:
*) Do everything in previous excersize, EXCEPT suppress all of the
equations before erasing the "Wave Trim" feature

Did it work this time?

Claude Simard

unread,
Mar 11, 2002, 4:32:24 PM3/11/02
to
Yes, I do!

Claude Simard
Mechanical Engineering
Wulftec International
www.wulftec.com

"Dale Dunn" <dale...@jamestool.com> wrote in message

news:3C8D17CA...@jamestool.com...

> Do you have software OpenGL turned on?

Dale Dunn

unread,
Mar 11, 2002, 6:27:11 PM3/11/02
to
No, It's just a Phillips 201P, which is a 21" monitor. I've always had a
high tolerance for relatively low refresh rates. This monitor has a high
enough dot pitch, that only the tiniest fonts give me any trouble. Line
display is excellent. I think it must take a lot of power to make the
poor video card go to this resolution, though. With the RAMDAC wound out
to 350 MHz, the image on screen will sometimes vibrate during heavy
calculations or intense hard drive scanning.

Five years ago, I discovered that my Diamond Viper V550 (TNT) would go
to 1600 x 1200 x 16bpp if I could tolerate a refresh rate of 60 Hz. I
thought, "Hey, I'll just see how long I can stand it." I had always set
things for 75 or 80 Hz, because that's easiest on the eyes. Well, I
discovered I could stand it for about 55 hours a week without any
trouble. I was using Acad or (was it MDT?) back then with a black
background, so flicker wasn't a problem. White backgounds in windows
were. I tried a couple times to make a black backgound in Windows, but
you just can't configure enough things. So I set my system backgound
color to light gray, which helped immensely. So I got accustomed to 1600
x 1200. I called this "super squint-O-vision" because people had to
squint to read over my shoulder. (1280 x 1024 on my old FileGL 100 Pro
8Mb card (permedia2) was just "squint-O-vision".)

When I got the Quadro card I'm using now, I noticed that the resolution
slider went all the way to 2048 x 1536. I thought I'd see if the old
Gateway monitor I was using at the time could take it (Mitsubishi built,
Trinitron tube). Well, it could. This became Ultra Squint-O-Vision,
because you couldn't read it over my shoulder at all, which suits me
just fine.

I've always been fanatical about maximizing my display area. That's just
one of the things I don't like about toolbars, and that idiotic titlebar
taking up all that room, just being blue. 1600 x 1200 looks annoyingly
blocky to me, 1280 x 1024 is an inconvenient shape, and anything less is
just claustrophobic, because there's no room to do anything.

flipper wrote:

> wow!
> you got a 24 inches screen to stand that rez?

Paul Salvador

unread,
Mar 11, 2002, 7:10:32 PM3/11/02
to
Kewl!

50 rebuilds in 95sec
intel 933
512MB (PC-133 RAM)
GeForce2GTS 64mb (driver 12.90; 1280x1024 true color)
NT4 SP6a
SW2001Plus SP0

Jerry Steiger

unread,
Mar 11, 2002, 7:30:23 PM3/11/02
to
Claude,

Why? Your Quadro2 Pro should be able to run SW just fine with hardware
OpenGL turned on (meaning software OpenGL turned off). That should speed
display generation up considerably.

Jerry Steiger
At Work Computers

"Claude Simard" <cla...@wulftec.com> wrote in message
news:8a0fa32e2c13885eedb...@mygate.mailgate.org...

Dale Dunn

unread,
Mar 11, 2002, 8:02:54 PM3/11/02
to
No wonder you think SW is slow! (Just kidding...)

Paul Salvador wrote:

Terrence

unread,
Mar 11, 2002, 8:47:43 PM3/11/02
to

>My computer can do 50 rebuilds in 67sec. How about yours?
>ATHLON 1.4Ghz-266
>512MB PC-133 RAM
>GeForce2 32mb
>Windows2000 SP2
>SolidWorks 2001Plus SP0
>
>
50 in 99seconds
Intel 1000P3
384 Meg ( I could'a swore that I had 512)
Elsa Gloria II Pro (64meg?)
Win 2000
SW+ SP0
1024 X 768 True Color 32 bit

Terrence

Paul Salvador

unread,
Mar 11, 2002, 9:50:07 PM3/11/02
to
Yeah, well, since I don't use SW full-time, and since the other tool is
easily 2x faster and is more stable..

But I agree, or should I say, what choice do I have, well I do but
regardless of the relative speed factor I do need to get my butt in gear
and order a Athlon XP 2000 or better!

..

Dale Dunn

unread,
Mar 12, 2002, 12:01:24 AM3/12/02
to

flipper wrote:

> so you're ready for a dual screen setup ;)
>
> this is magic!
>
> Dom
>
>


Yup. It looks like That may become feasible for me if I get to upgrade
to a Quadro4 card. Unfortunately, The only spare monitor on hand is a
flaky old 15" (better than nothin'!)

Flipper

unread,
Mar 12, 2002, 7:58:35 AM3/12/02
to
I wish you a LCD or new OLED monitor....

Otherwise, if you get stuck with 2 CRT in your face you get
about 190W ^ of energy.

We'll, energy, maybe that's good?! :))

Dale Dunn

unread,
Mar 12, 2002, 8:16:28 AM3/12/02
to

Flipper wrote:

> I wish you a LCD or new OLED monitor....
>
> Otherwise, if you get stuck with 2 CRT in your face you get
> about 190W ^ of energy.
>
> We'll, energy, maybe that's good?! :))
>


Especially in the morning!

I would consider buying an LCD monitor, but there's not enough
resolution for the money. It's sorta weird how Dell has laptops at 1600
x 1200, But that resolution is hard to find on a desktop 18" LCD. Nobody
sells what I want to buy. Especially not at a price I want to pay!

Material things will not make me happy...Material things will not make
me happy...Material things will not make me happy...Material things will
not make me happy...Material things will not make me happy...Material
things will not make me happy...Material things will not make me happy...

lazaro

unread,
Mar 12, 2002, 9:20:37 AM3/12/02
to
1280x1024 32bits, got 60.5 sec @ 50
AMD 1.6 MP, 512M DDR266,
Oxygen GVX420, Windows XP

"flipper" <dsoucyS...@sympatico.ca> wrote in message
news:3C8E85CC...@sympatico.ca...
> pretty nice model for benchmarking!
>
> got 58.4 sec, and the rebuild bug after 2 runs :)
> Dual AMD 1.8+MP, 786M DDR266, Elsa Gloria3 64 meg, Win2000
> Nivia Beta driver 27.70, 1280x1024 @32bit
> SW2001-1.2
>
> hopefully you kept it simple :)
>
> (this might be a repost, my previous one was made with date set to 2001,
> after a New Bios flashing operation...)

Jacob

unread,
Mar 13, 2002, 12:55:39 AM3/13/02
to
224.8438 seconds with my ol'

P2 450 mhz
384 ram
1280 x 1024 65k colors @ 75 Hertz (3Dlabs permedia2 8MB)
WinNT 4.0 SP6
SW+ SP0.0

Beat That!

"Mike J. Wilson" <mwi...@sigmathree.com> wrote in message
news:3c8c1...@spamkiller.newsgroups.com...

Jacob

unread,
Mar 13, 2002, 12:56:47 AM3/13/02
to
Oh yea 50 rebuilds
out of breath...

"Jacob" <jacobs...@cybertime.net> wrote in message
news:a6mo3i$h73$1...@madmax.keyway.net...

Mike J. Wilson

unread,
Mar 13, 2002, 2:09:14 AM3/13/02
to
Looks like the equation bug was fixed sometime after SP0 (which is what
I was using).

box...@yahoo.com

unread,
Mar 13, 2002, 12:56:30 PM3/13/02
to
I see there are at least 8 different video cards being used. Which
one would be rated as the BEST? Quality & speed vs. $$$

box...@yahoo.com

unread,
Mar 13, 2002, 1:04:57 PM3/13/02
to
I see there are at least 8 different video cards being used. Which
one would be rated as the BEST? Quality & speed vs. $$$

box...@yahoo.com

unread,
Mar 13, 2002, 12:58:21 PM3/13/02
to

Mr Atari

unread,
Mar 14, 2002, 5:09:09 AM3/14/02
to
Quality = Any 3DLabs
Speed = GeForce Quadro card or WildCat
$ = Any GeForce
Q-S-$ = Mid level Elsa-card or Oxygen GVX1 Pro

/ Mr Atari

<box...@yahoo.com> skrev i meddelandet
news:3c8f91a0...@netnews.att.net...

0 new messages