The closest thing I can tell you (for what you need) is look at the Cadalyst C2006 Benchmark . It might be able to point you in a direction. Maybe give them a quick email for advice.Originally Posted by mike.brooks
The closest thing I can tell you (for what you need) is look at the Cadalyst C2006 Benchmark . It might be able to point you in a direction. Maybe give them a quick email for advice.Originally Posted by mike.brooks
One other way to do an animation, is to use layer technique with a scriptfile.
I.e. show a building grows up from the bottom to the top, it can be done repeatedly in a loop like a screen saver and "each frame" time dependent. It can be really nice if you have a 3D-modell in perspective and shade mode on.
: ) Happy Computing !
kennet
Last edited by kennet.sjoberg; 2007-02-17 at 11:16 AM.
Originally Posted by kennet.sjoberg
Would you have any examples of this it is what would work great for us.
Thanks
. . . hmm this one is especially for youOriginally Posted by mike.brooks
Save KitCar.dwg and KitCar.scr.txt to the same location
Rename KitCar.scr.txt to KitCar.scr
open KitCar.dwg in at least AutoCAD 2006
: ) Happy Scripting !
kennet
BTW the car in the demo is a real car that I wooden made together whith my son. Look at KitCar.jpg
kennet
I love it and the office loves it and thinks for the information it the script file you are a great help. One more question about this though can you run a script file out side of autocad. If so what other progreams can run it.
Thanks
I am glad you and your office like it.Originally Posted by mike.brooks
No you can not run a scriptfile without AutoCAD,Originally Posted by mike.brooks
a scriptfile is just AutoCAD commands one after an other.
Sorry, I think it is better if you ask in the program forum. . .Originally Posted by mike.brooks
: ) Happy Computing !
kennet
Hint, to create scriptfile you can track down your commands to a logfile
Command: logfileon . . . do some things, create, zoom, whatever . . . Command: logfileoff
open the newly created logfile with (startapp "NotePad" (getvar "LOGFILENAME" )), edit and save as MyCurrentDrawing.scr.
thanks again
Hi kennet,
it's good animation,I like that.
btw...it's a simple procedure I think,you only played layer system,alls the layer off and then switch on one by one.
if you zoom at the spring,it look rather roughish,I guess you got trouble to create spring,I have a sample to create spring,look at attach file,sorry I'm not teach you,but that as share for help to others member.
Good luck.
Last edited by Adesu; 2007-02-22 at 08:16 AM.
I extruded a circle along a 3D-poly that I created with a lisp program.Originally Posted by Adesu
If I generate a lot of vertex the spring will be very exact, but in this case I felt no matter and assign only 12 vertex / cycle.
But I think my spring has a more exactly formula than yours ½ circle construction.
: ) Happy Computing !
kennet
Dear Readers,
I found something.
In the past, I made Metal sheet folding, Piston crank mechanism and Railway barrier.
See the attachment HofCAD.zip
Also nice is: http://www.black-cad.homepage.t-online.de/starten.htm
But, what is the best substitute for de command REPLAY in AutoCAD 2007+
to display images by a script file?
RegardsCode:setvar cmdecho 0 (setq acadver (atoi (substr (getvar "ACADVER") 1 2))) (setq renlist '("render" "render" "render" "render" "render" "acrender" "acrender" "acrender")) (if (not (member (strcat (nth (- acadver 10) renlist) ".arx") (arx)))(arxload (nth (- acadver 10) renlist))) (c:replay "C:\\SHOWTIME\\Image0" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image1" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image2" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image3" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image4" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image5" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image6" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image7" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image8" "TGA") delay 4000 (c:replay "C:\\SHOWTIME\\Image9" "TGA") delay 4000 rscript
Last edited by hofcad; 2011-09-14 at 04:15 PM.