DATHeader 3.0.9.1


DATHeader 3.0.9.1
#1
I just release version 3.0.9.1 of DATHeader.
This is only a bugfix version that should have been uploaded much, much earlier.

Please leave all comments for this version as response to this topic.

Have fun.
Download from DATHeader Webside
cu
mikeheide
Reply
Re: DATHeader 3.0.9.1
#2
On initial start, the application shows an error:

"Error in modXML.ini.XMLRead
The path is not of a legal form."

with just an OK button.
Maybe, the tool tried to read an XML file of a previous version.
I think it should succeed in that, not fail, hoping that these XML files carry
a version number inside, so newer software gets able to read old ones.

After clicking OK, the "Preferences" dialog shows up unasked.
Funny: it shows a "License Type" dropdown box with 0 entries.
I anyway entered some preferences and then clicked "Save".
Another error shows up:
"Error in procedure cmdSave_Click of Formular frmOption
The process cannot access the file
C:\Users\xxx\Documents\datheaderini.xml
because it is being used by another process"

However, there's no other DATHeader instance running, just this one.

Each time I click "Save", this happens.
So my only resort to close this dialog is clicking "Cancel", but then DATHeader crashes:
Code:
Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: datheader.exe
  Problem Signature 02: 3.0.9.1
  Problem Signature 03: 4fae0dc0
  Problem Signature 04: mscorlib
  Problem Signature 05: 2.0.0.0
  Problem Signature 06: 4ef6c7cc
  Problem Signature 07: 3452
  Problem Signature 08: 21c
  Problem Signature 09: System.IO.IOException
  OS Version:  6.1.7601.2.1.0.256.1
  Locale ID:   1031
Reply
Re: DATHeader 3.0.9.1
#3
After this, DATHeader has created a datheaderini.xml file in my Windows User "My Documents" folder,
with all-empty settings.
This way, also my old DATHeader version (3.0.5) now no longer has valid settings :-(
I have now manually deleted that file.
This does not help:
Running DATHeader 3.0.5, my old version, shows error:
"Error in InitTranslationsObject reference not set to an instance of an object.".
However, after that, the main application window comes up and lets me re-enter my preferences.
DATHeader 3.0.9.1 still shows the behaviour described in my previous post.
Reply
Re: DATHeader 3.0.9.1
#4
I also do not understand why DATHeader brings its own copy of LDconfig.ldr.
It IMHO should use the one from the LDRAW root folder.
I don't want multiple copies of that file...
Reply
Re: DATHeader 3.0.9.1
#5
Why? One's bad enough? ;-)
Reply
Re: DATHeader 3.0.9.1
#6
Sorry for answering so late.

Information about your system would be great next time.

After checking the code, I assume that you had a datheaderini.xml in the same folder than DATHeader. I discovered a bug if this is present. I'll send the changed version by PM to you.
I tried here to get the same error, but without success. All is working fine here.

All new versions of DATHeader can read "old" datheaderini.xml and do update them for the new version (no version check for the xml file). I doubt that old versions can work with that changed version then (never tested).
Reply
Re: DATHeader 3.0.9.1
#7
Regarding the double LDConfig, please think about that many people that tweak that file for their personal benefit. DATHeader can not work with such customized files and needs its own version, that can be updated by Menucommand to download the latest version of LDConfig from official place.
Reply
Re: DATHeader 3.0.9.1
#8
I wondered too, but you have a very good point!
Reply
Re: DATHeader 3.0.9.1
#9
Now that the spec is online I like to tell you that a basic check for !TEXTMAP section is already build into DATHeader Smile

If it does not work like you suggest, please let me know.
Reply
Re: DATHeader 3.0.9.1
#10
...and the link: http://mikeheide2.kilu.de/index.php?page=datheader Wink
Reply
Re: DATHeader 3.0.9.1
#11
I thought that this is not necessary as this function is already build in for over a year, so nobody needs to download now if he already has the current version. Wink
Reply
Re: DATHeader 3.0.9.1
#12
I just had the idea of having the possibility in DATHeader to run the output (on save) through Rectifier as this functionality is still not build in.

I would have to add the following in the option dialog:
checkbox named: use Rectifier on save
textbox named: path to Rectifier.
So far I think no other options are needed.

What do other think about this idea?
Reply
Re: DATHeader 3.0.9.1
#13
Good idea, 5 minutes ago I pestered because I forgot to run rectifier before Datheader Wink This would also accelerate significantly Datheader on big triangle meshes as triangle to quad conversion can be performed by rectifier instead of Datheader.
One thing to maybe add in prefs would be equivalent to -a option, that prevents rectifier to create rect primitives when there is an adjacent condline. Default option should be -a active since this is the most conservative option (if you choose not to add another option for the sake of simplicity, then always activate -a).
Reply
Re: DATHeader 3.0.9.1
#14
Thank you very much for your quick reply.

I asked for:
DATHeader -> Rectifier -> finished

You suggested now:
Rectifier -> DATHeader -> finished

I am right?
Reply
Re: DATHeader 3.0.9.1
#15
Actually the order matters little. What I meant is to remove from Datheader the slow triangle to quad conversion, as this operation is performed by Rectifier.
Reply
Re: DATHeader 3.0.9.1
#16
I have at present problems to run Rectifier here (maybe wrong installed or whatelse).
So please can you just run the attached file through Rectifier and upload the result?


Attached Files
.dat   rec_test.dat (Size: 994 bytes / Downloads: 0)
Reply
Re: DATHeader 3.0.9.1
#17
Seems to work perfectly, here attached the result.

Otherwise - after more thoughts - it would be slightly better to run rectifier after datheader: Datheader may split warped quads into triangle, rectifier may be able to pair these triangles with other neighbours.


Attached Files
.dat   rec_testout.dat (Size: 745 bytes / Downloads: 0)
Reply
Re: DATHeader 3.0.9.1
#18
Yes, the output from Rectifier is perfect Smile

I remembered about a tool from you that left much empty space for not more needed lines. That was the intend of my question.

You are also right that DATHeader could be useful for to split warped quads before, but I do not think that those triangles will ever be planar enough that they are combined with other triangles. Smile

One last question:
Should DATHeader ask for doing that optimisation or only run if all is set in the Options dialog?

I would prefer an extra decision should be done by the user!
Reply
Re: DATHeader 3.0.9.1
#19
Michael Heidemann Wrote:I remembered about a tool from you that left much empty space for not more needed lines. That was the intend of my question.
AFAIK Rectifier is "clean" for that.

Quote:You are also right that DATHeader could be useful for to split warped quads before, but I do not think that those triangles will ever be planar enough that they are combined with other triangles. Smile
Chances are low indeed, but not null...

Quote:One last question:
Should DATHeader ask for doing that optimisation or only run if all is set in the Options dialog?
I would prefer an extra decision should be done by the user!
I think a check box in Options dialog to disable optimisation is enough. A good thing of Datheader is that it can create automatic backup!
Reply
Re: DATHeader 3.0.9.1
#20
Code:
A good thing of Datheader is that it can create automatic backup!

That is hopefully not the only benefit Smile

I just saw, that it is now more than a year after the last release.
As I do not get any feedback over the last month, I would very much like to know:
Are there also other people (except from Philo and me) that use DATHeader ?

I would very much appreciate if all user of DATHeader would just leave a short note here for motivation Smile
Reply
Re: DATHeader 3.0.9.1
#21
Hand up.

w.
LEGO ergo sum
Reply
Re: DATHeader 3.0.9.1
#22
Quote:
Code:
A good thing of Datheader is that it can create automatic backup!
That is hopefully not the only benefit Smile
Oh no !!! I meant that the automatic backup could recover from possible agressive optimisation.
Quote:I would very much appreciate if all user of DATHeader would just leave a short note here for motivation Smile
For an absent minded guy like me, Datheader is God sent Wink
- Sorry for your modesty, Mike Big Grin
Reply
Re: DATHeader 3.0.9.1
#23
I think it is crazy not to use Datheader. So hand up here too.
Reply
Re: DATHeader 3.0.9.1
#24
Hey Michael,

Almost every part that I've drawn, has been touched by your tool. And I plan to continue using it in the future! Great program!

Thanks Rolf
Reply
Re: DATHeader 3.0.9.1
#25
Hand up here too.
It's the best way to check your file before an upload.
Reply
Re: DATHeader 3.0.9.1
#26
I have to raise my hand too. Nearly every part, which is longer than 10 lines of code runs through DATHeader, when I check parts.
Reply
Re: DATHeader 3.0.9.1
#27
I also use it
Reply
Re: DATHeader 3.0.9.1
#28
Thanks to all guys that rises the hands here.

So let's go and improve DATHeader for better experience Wink
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 12 Guest(s)