|
ACAD Newsletter Vol 05 No 04
|
jos vandoorn
|
Feb 14, 2005 02:03 PST
|
-------------------ACAD newsletter---------------------
Newsletter about AutoCAD and AutoLISP
-------------------------------------------------------
Vol 05, No 04 February 2005
-------------------------------------------------------
-------------------------------------------------------
For best viewing maximize the window to full size
-------------------------------------------------------
In this issue I have prepared for you....
1. Top Sponsor Section
2. Notes from the Publisher
3. 3D Animation 2
4. Privacy Policy, Legal Stuff and Advertising Info.
5. Contact Information
*******************************************************
Instantly OWN Master Resale Rights to the Hottest
Software on the Web! 50+ must-have programs in one
amazing package! NO HOSTING REQUIRED - DOWNLOAD SITE
PROVIDED. Profitable, tools! Comes with reseller site
and YOU keep 100% PROFIT
http://www.KKSMarketing.com
*******************************************************
The Spoken Bible is an album of either 16
audiocassettes or 17 CDs of the King James version of
the New Testament which permit those who are unable to
read to hear God's Word with proper phrasing ,thus
giving deeper meaning and understanding. Full details
at
http://www.thespokenbible.com
*******************************************************
-------------------------------------------------------
1. Top Sponsor Section
-------------------------------------------------------
Programs for AutoCAD
Dear AutoCAD users,
That's right. It's finally here. Now you can programs
for AutoCAD. The programs will change the way you're
working with AutoCAD.
Now you're creating AutoCAD drawings. That takes a lot
of time. You must wait for hours before your AutoCAD
drawing are finished.
No more if you're using programs for AutoCAD. If you're
using programs for AutoCAD, then you'll have your
AutoCAD drawings right away.
There's much more to programs for AutoCAD. But I don't
want to give too much away in this e-mail, Get in touch
if you want to know more.
Take action. Write an e-mail to:
mailto:acadprog-@hotmail.com
Write "Programs" in the subject line. Or give me a
call. In Malaysia. This is my number:
012-9312742.
*******************************************************
NEW! IN PRE-LAUNCH--GET PAYOUTS IN 24 HOURS--HOT! There
is a new deal in pre-launch & we are first. Some
members have been paid 52 times in 50 hours. This is
one HOT PROGRAM. Don't miss it. GO GET IN NOW!
http://www.adcashmoney.com/affiliates/t.php?rid=119
*******************************************************
John Reese made $38,450.27 PROFIT on eBay! And that was
only *ONE* of his auctions. John's amazing new "How To"
VIDEO will teach you how to make money with online
auctions from home.
http://www.auctioncc.net
*******************************************************
-------------------------------------------------------
2. Notes from the Publisher
-------------------------------------------------------
Free CAD Program
There are many CAD programs. Some of them are free. But
what you get is not what you're used to. Or it's hard
to work with.
Now I found a free CAD program that looks very good.
And very promising. It's no AutoCAD. But it comes close
to AutoCAD.
The free CAD program doesn't have all the commands of
AutoCAD. But the commands it has are the same as the
ones in AutoCAD.
Another very nice feature. You can create drawings in
the free CAD program. And save them. In the AutoCAD DWG
format.
Later you can open your drawings in AutoCAD. Or the
other way around. Create a drawing in AutoCAD and open
your drawing in the free CAD program.
Interested? If you want. You can get the program from
the following web site. The name of the free CAD
program is A9CAD.
http://www.a9tech.com
E-book
I wrote an e-book. The e-book is about paper space in
AutoCAD 2000 and higher. In the e-book is shown how it
is used.
The e-book starts with an example drawing. In model
space. The example drawing is placed into paper space
and there is worked on it.
Dimensions are added to the drawing. As it is in paper
space. You'll see that adding diomensions in paper
space is very easy.
Interested? Would you like to have the e-book? I would
be glad to send it to you. Just send me an e-mail. Send
your e-mail to:
mailto:acadb-@hotmail.com
Is that good?
You know how it is. You're working with AutoCAD.
Creating a drawing. It takes hours before the drawing
is finished. Sometimes days.
Now imagine this. You want to have a drawing. You start
up AutoCAD. When it is running you enter a command. And
the drawing is created.
Automatically. Within one minute. Dialog boxes showed
up. You filled them in. And after filling in the dialog
boxes the AuitoCAD drawing is created.
Is that good? Would you like that? Or do you prefer to
wait for hours and days. Before your AutoCAD drawing is
created?
If you want to know how you can get your AutoCAD
drawings right away. Let me know. Send me an e-mail.
And I'll tell you.
Paraguay
Years ago. I was having a holiday in South America. I
had been in Argentina. Now I was in Paraguay.
Wondering. How's life in Paraguay?
I was asking myself whether I could life in Paraguay.
How can you find out? Talk to people who live there.
That's what I did.
Holland doesn't have an embassy in Paraguay. But they
have a consul. I went to see the consul. I talked to
the consult about Paraguay.
The consul told me how he started in Paraguay. How the
Paraguayans are. How he dealt with them. And he gave me
an advice.
Twenty years earlier the consul came to Paraguay. He
was made director of a factory there. He had two
bodyguards. To protect him.
Two years later he knew how things are in Paraguay. He
no longer engaged bodyguards. He was alone. Doing his
job and coming home at night.
The people of Paraguay. All men walk around with
knives. They fight a lot. With knives. Killing many
people.
Another thing. The Paraguayans are very lazy. You make
an appointment with them for meeting them. They show up
hours later. If they show up.
The consul found out. He learned how they are. But he
was smarter than the Paraguayans. He learned how to
deal with them.
He could make an appointment with Paraguayans. And they
would be there in time. He didn't tell me how he did
it.
That's the advice he gave me. He told me to live in
Paraguay for one year. Stay in a hotel. If you like it
after one year, then stay.
I not only talked to the consul. I also talked to other
people. Living in Paraguay. That didn't take long. I
decided not to stay in Paraguay.
Denmark
We have a big problem here in Malaysia. Being an
Islamic country. Pornography. Not allowed. You cannot
get Playboy here.
But then. Anywhere you go. You go to shopping centre, a
festival, or any other place. You'll find there people
selling porn CD's. In the open.
I told people. I know how to stop the spread of
pornography. Give it free. Let everybody buy the
pornography they want.
And then I tell them about what happened in Denmark.
Years ago. In the sixties of the last century. Denmark
was very strict about pornography.
Denmark was even stricter then Malaysia is now. Because
in Denmakr police was doing everyuthing to stop the
sale and possesion of pornography.
Police was loosing. They couldn't stop it. Theynwould
arrest a person for selling pornography. And the next
day he was selling it again.
The Danish cabinet come together. To talk about it.
Thye knew police was loosing the battle. The decided.
Give pornography free.
In the evening the decision was on the news. "Tomorrow
pornography will be free". Now that was big news. The
whole of Denmark was happy.
Pornography became a big business. A lot of money was
made with pornography. You could buy it. You could sell
it. That lasted.
That lasted. For one week. When the week was over
nobody was buying pornography no more. And nobodoy was
selling it no more.
Pornography was a big problem in Denmark. There was no
solution. And the they gave pornography free. Within a
week the problem was solved.
Malaysia is not ready for such a resolution. I'm
afraid. We must wait a couple of more years. I think
500 years.
Make the Most of Twenty Minutes!
A home-business requires attention and time. Time you
can't always find. Here are three tips to increase the
never ending battle:
1. Keep a tote bag, notebook, or paperwork in the car.
Take advantage of wasted time during car pools,
doctor's office, traffic jams, etc.
2. If you've got kids. Find an activity they can do.
For example. Once a week I take my son and his
friend to an indoor roller balding park. In the same
building is a small cafe.
I take my paperwork with me. While the boys are
having a good time, I have several hours of nearly
uninterrupted work time.
3. In the evening sort through your notes. Next make a
to-do list for the following day or days. You're
prepared for the next day or days.
And there's no "Where do I start problem?".
IntelliCAD
I don't know about your country and so. But here in
Malasia we ahve IntelliCAD. You must have it too. It
comes from America.
Let's say it is a cheaper alternative for AutoCAD. A
much cheaper alternative. AutoCAD is sold for RM
16,000. IntelliCAD goes for RM 1,380.
RM. That stands for Malaysian ringgit. One US dollar is
3.8 Malaysian ringgit. Divede the number by four and
you ahve US dollar.
IntelliCAD is almost the saem as AutoCAD. It has the
same commands as AutoCAD. And the drawings are saved in
DWG format.
Even better. Open AutoCAD drawings in IntelliCAD. One
problem. External references. IntelliCAD cannot handle
them.
Problem? Not really. If you've got an AutoCAD drawing
with external references. Bind the external referecnes
before opening the drawing in IntelliCAD.
Many AutoCAD users have a problem with AutoCAD. They
cannot afford the program. I tell them about
IntelliCAD. They go for the program.
Animation
Here's some more animation. That's so nice about
animation. You can do it in AutoCAD. Or IntelliCAD.
Maybe you ahve switched already.
AutoCAD? IntelliCAD? I don't care. Have a good read.
Jos
*******************************************************
OVER 3000 ITEMS AVAILABLE Ceramics, figurines,
collectibles, patriotic, Mirrors, clocks, home décor,
housewares, Garden décor, glass creations, candles, oil
Burners, candle holders and much more. For a catalog
call 804-919-1969, Or visit
http://www.gifts-andmore.net
*******************************************************
NEW TWIST MAKES YOU BIG CASH: GO TO:
http://www.track4cash.com?166
Do you want lots of cash ??
*******************************************************
-------------------------------------------------------
3. 3D Animation 2
-------------------------------------------------------
Let's go back to the main program. In line 15 the
VPOINT command is invoked. Using that command we get a
3D view.
1. (defun c:anmtn ()
2. (setvar "cmdecho" 0)
3. (setvar "isolines" 24)
4. (setq om (getvar "osmode"))
5. (setvar "osmode" 0)
6. (command "erase" "all" "")
7. (setq e1 (drcyl))
8. (setq e2 (drcyl))
9. (command "move" e2
10. ""
11. (list 0 0 0)
12. (list 0 0 300)
13. )
14. (drshf)
15. (command "vpoint" (list -1 -1 1))
16. (command "zoom" "extents")
17. (command "zoom" "0.9x")
18. (anmtn e1 e2)
19. (setvar "osmode" om)
20. (setvar "cmdecho" 1)
21. (princ)
22. )
You can also click on View on the menu bar of AutoCAD.
A pull-down menu shows up. In it click on 3D
Viewpoints.
Now a shortcut menu shows up. In the shortcut menu
click on SW Isometric. That has got the same effect as
the command in the main program.
Before we go any further we want to see the whole
drawing. We want to see what has been created. The ZOOM
Extents command is invoked.
After invoking the ZOOM EXTENTS command we will zoom
out a little bit. Now a zoom factor of 0.9x is given in
the ZOOM command.
See line 16 and 17 and see how the ZOOM commands are
invoked. See how we do a ZOOM EXTENTS first and then
use a zoom factor or 0.9x.
Nice. It's time for the animation. We go to the
function for doing the animation. The name of the
function is ANMTN.
That function works with two arguments. The two
arguments are E! and E-@. In the variables are the
names of the first and the second cylinder.
We will not waste any time. Here's the function for
doing the animation. Have a good look at the function
and see how it works.
1. (defun anmtn (e1 e2)
2. (repeat 20
3. (command "move" e1
4. ""
5. (list 0 0 0)
6. (list 0 0 5)
7. )
8. (command "move" e2
9. ""
10. (list 0 0 0)
11. (list 0 0 -5)
12. )
13. (pause)
14. )
15. (repeat 100
16. (command "move" e1
17. ""
18. (list 0 0 0)
19. (list 0 0 -5)
20. )
21. (command "move" e2
22. ""
23. (list 0 0 0)
24. (list 0 0 5)
25. )
26. (pause)
27. )
28. )
In the function for the animation are two REPEAT loops.
The loops are used to move the first and the second
cylinder over the shaft.
The name of the first cylinder is stored in the
variable E1. The name of the second cylinder is stored
in the variable E2.
In every step of the REPEAT loop both cylinders are
moved over a distance of 5. The fist cylinder is moved
up. The second one moved down.
That's done in the first REPEAT loop. In the second
REPEAT loop both cylinders are moved in the opposite
direction.
That's what you can see as you copy the complete
AutoLISP routine to a text file and you save it on the
hard disk of your computer.
After loading the AutoLISP routine in AutoCAD and
running it you will see how the cylinders move over the
shaft.
At the start the cylinders are at the end of the shaft.
First they move inwards over the shaft and then they
move outwards over the shaft.
That's what you will see. When the cylinders move
outwards, they will move out of the screen. You do not
see them no more.
But there is something else in the REPEAT loops. You
will see there a cvall to the PAUSE function. That
function is used to make a pause.
We don't want the cylinders to move too quickly. So we
make a pause in every step of the REPEAT loop. This the
PAUSE function.
1. (defun pause (/ c1 c2)
2. (setq c1 0
3. c2 0
4. )
5. (while (< c1 30000)
6. (while (< c2 30000)
7. (setq c2 (1+ c2))
8. )
9. (setq c1 (1+ c1))
10. )
11. )
The PAUSE function works with two variables. It works
with the C1 variable and the C2 variable. At the start
these variables have a value of zero.
We go into two WHILE loops. In the WHILEW loops the
value of the C! and the C@ variables are increased by
one all the time.
Once a value of 30000 is reached for the C1 and the C2
variables, there is jumped out of the WHILE loops.
That's done two times.
This is a big number now. There will be counted till
30,000 times 30,000. How much is that? That's 900
million. There are days ....
In the last article in this series I'll give you the
complete AutoLISP routine of the animation. I'll tell
you what you can do with it.
*******************************************************
Writer of this article is Jos van Doorn.
Once you start with AutoLISP, you will be saving lots
of time and money with AutoCAD. Don't know AutoLISP?
Here are the books for learning.
http://autocadbooks.topcities.com
*******************************************************
*******************************************************
http://www.madisondynamics.com/index.php?11071 The
biggest Prelaunch of 2004 is taking place right
now....come be apart of this amazing opportunity...you
will be glad you did. Please contact KD Montelius at
mailto:buildin-@quickpros.biz
http://www.madisondynamics.com/index.php?11071
*******************************************************
Ever make a phone call? SAVE $$$$ and make money too!
http://www.1cellnet.com/?username=1cellnetuk
Help distribute a great Kid’s product and make 000s
$$$$
http://www.collegefundaccumulator.org/
Like a $16,000 Tax Free Gift?
http://www.tfgifting.com/
*******************************************************
-------------------------------------------------------
4. Privacy policy, Advertising Info, and Legal Stuff
-------------------------------------------------------
This newsletter is only sent on request. Our list of
subscribers is strictly confidential. That means that
your details have never been and never will be passed
on to any third party.
Your privacy is greatly respected. Should you ever wish
to unsubscribe, full instructions are always provided.
To subscribe:
mailto:acadnewslett-@topica.com
To unsubscribe:
mailto:acadnewslette-@topica.com
Previous issues of the newsletter can be seen at:
http://www.topica.com/lists/acadnewsletter/read
Advertising info:
If you wish to advertise in this newsletter, you
shouldn't wait a second longer. Ad rates now are the
lowest for the season.
The ad rates are:
Top sponsor message: $5 per issue
Ad in the sponsors section: $2 per issue
The ad guidelines are:
Ads have to be up to 5 lines including a URL and a
mail to tag. Each line can have up to 55 chars max.
Legal stuff:
ACAD newsletter publishes original content and tips
that are distributed by readers. ALL of our articles
are original and copyrighted by Jos van Doorn.
If you wish to publish any of the content here in your
newsletter please contact Jos van Doorn at
mailto:acad-@hotmail.com
He's the publisher of this newsletter. Write PUBLISH in
the subject line.
Reprinting or reproducing this newsletter can be done
only if you keep it all together. You may NOT reproduce
any part of this newsletter in a way without a written
permission from Jos van Doorn. The signatures are to
be kept intact.
More stuff:
In the archive you can find ll back issues of the ACAD
Newsletter. This is the web site address where you can
find the archive:
http://www.topica.com/lists/acadnewsletter/read
At the web site of the ACAD Newsletter a lot of
applications can be found. There you can also find back
issues bundled in PDF files. Here's the web site:
http://groups.yahoo.com/group/acadnewsletter/files
-------------------------------------------------------
Disclaimer:
ACAD newsletter accepts no responsibility whatsoever
for the content or legality of any customer's
advertisement shown in any e-mailing.
It is the advertisers' responsibility to check and
abide by the Local, State, Federal and International
laws pertaining to the products, services or business
opportunities they advertise, as well as all laws
pertaining to the products, services and/or business
opportunities promotions.
All offers in this publication, are void where
prohibited by law!
*******************************************************
Painless Treatment for Molluscum. Powerfully effective,
MD developed,drug free Safe on face & all body areas,
children & adult. Does not harm normal skin. Works
wonders Full refund if not satisfied. Visit
http://www.cbrmed.org
*******************************************************
We are so sure of our program... That we have a
guarantee! Triple your spends again and again! Get in
on top position before its to late.
http://www.click-vault.com
*******************************************************
-------------------------------------------------------
5. Contact Information
-------------------------------------------------------
Jos van Doorn - publisher ACAD newsletter
Jalan Watan 12
CA-4-24
68000 Bandar Baru Ampang
Malaysia
(03) 42706214
mailto:acad-@hotmail.com
*******************************************************
Blitz Spam at Source! I won't spoil the surprise...!
But ....CAN say I expect most users will see An
IMMEDIATE decrease in the Spam they download By up to
90%. You can check it out right here..
http://www.AdGizmo.com/track.php?7933
*******************************************************
This incredible website is packed to the brim with
valuable techniques and insights on how to MAKE MORE
MONEY with less effort. Find out how to harness the
power of internet marketing, and discover how to make
serious money right now! It’s an absolute MUST-SEE
SITE.
*******************************************************
_________________________________________________________________
Get your mobile ringtones, operator logos and picture messages from MSN
Mobile http://msn.smsfactory.no/
|
|
 |
|