To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7911
7910  |  7912
Subject: 
Re: LD4DModeler 1.0 Beta 1 now available
Newsgroups: 
lugnet.cad, lugnet.cad.dev
Date: 
Fri, 10 May 2002 21:46:15 GMT
Viewed: 
700 times
  
"rmelkert" <rmelkert@_remove_chello.nl> skrev i meddelandet
news:3CDBCEE2.6080207@_remove_chello.nl...
You can display the current frame without clicking play using F8 or the
13th speedbutton.

Thanks!

I use 1.3 myself, and Lars C. Hassing promised me to include a new
option in L3P soon for controling the sky vector so an even newer
version will be needed soon :)

OK, I downloaded the latest L3P, and export works as expected, except for...

the '.' / ',' story is odd, I already force US format
(DecimalSeparator:='.';ThousandSeparator:=',';)

I can still reproduce the error by changing to comma _after_ LD4DModeler is
started. In fact, there are a lot of things you can do in Windows, which
will broadcast a message that makes Delphi read the National Settings again.

You need to tell the Delphi runtime not to change settings during program
run:

  Application.UpdateFormatSettings := False;
  DecimalSeparator := '.';

(I have a faint memory of yet another thing to watch out for, but can't find
it in any of my programs here at home. Will check at work on monday)

You can see the whole parameter set passed to l3p when enabling progress
logging and opening the log, F12, before frame export.

Export with Windows set to decimal point:

0000076156 - PROGRESS - Running external program "C:\anders\echo.bat"
"c:\temp\Steering cabine2\Steering
cabine2.dat" -o -cla0,0,0 -cc-149.999980466143,-212.132042521969,-149.999980
466143
0000088797 - PROGRESS - Done running external program "C:\anders\echo.bat"
"c:\temp\Steering cabine2\Steering
cabine2.dat" -o -cla0,0,0 -cc-149.999980466143,-212.132042521969,-149.999980
466143

Change to decimal comma without stopping the program, and then export again:

0000166437 - PROGRESS - Running external program "C:\anders\echo.bat"
"c:\temp\Steering cabine3\Steering
cabine3.dat" -o -cla0,0,0 -cc-149,999980466143,-212,132042521969,-149,999980
466143
0000202531 - PROGRESS - Done running external program "C:\anders\echo.bat"
"c:\temp\Steering cabine3\Steering
cabine3.dat" -o -cla0,0,0 -cc-149,999980466143,-212,132042521969,-149,999980
466143

As you can see, the commas are all there, and L3P gets confused.

Not repeatable, but sometimes during testing this, LD4DModeler hanged
completely (it seems l3p was never exiting), and needed to be stopped from
Task Manager.

Perhaps you should not WaitForSingleObject indefinitely, but periodically
check for other messages (that will also keep the program windows updated).

As for usability, I have started to make animations of my own (on your
minifig), and have collected some comments, but I'd like to do some more
testing before I show my misunderstanding of the system :-)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery/index.htm



Message has 2 Replies:
  Re: LD4DModeler 1.0 Beta 1 now available
 
Application.UpdateFo...tSettings, that's a new one for me. Thanks I will use this for beta 2. I indeed wait for ever for l3p and other external applications to exit, I was already thinking about using a controllable time-out or a thread for the l3p (...) (23 years ago, 12-May-02, to lugnet.cad, lugnet.cad.dev)
  Re: LD4DModeler 1.0 Beta 1 now available
 
(...) L3P always expects decimal point "." and the above arguments will make L3P print its options and then an error message. However, there are so many options that I have inserted a pause, where you are expected to "Press any key to continue". I (...) (23 years ago, 23-May-02, to lugnet.cad, lugnet.cad.dev)

Message is in Reply To:
  Re: LD4DModeler 1.0 Beta 1 now available
 
You can display the current frame without clicking play using F8 or the 13th speedbutton. I use 1.3 myself, and Lars C. Hassing promised me to include a new option in L3P soon for controling the sky vector so an even newer version will be needed (...) (23 years ago, 10-May-02, to lugnet.cad, lugnet.cad.dev)

18 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR