3d dwf import crashes in 2.1.1
3d dwf import crashes in 2.1.1
hello,
i just converted to the static libraries 2.1.1 for ms v6 .
when importing a 3d dwf, the app crashes when processing an ellipse. i would appreciate a workaround for this.
the crash occurs in dwf7importimpl.cpp at the line
ell->set(center,(major.crossproduct(minor)).normal() , major, minor.length()/major.length());
the stack is as follows:
kernel32! 7c812a5b()
msvcrtd! _cxxthrowexception@8 + 57 bytes
oddbellipse::set(const odgepoint3d & {...}, const odgevector3d & {...}, const odgevector3d & {...}, double 1.0023273698816624, double 0.00000000000000000, double 6.2831853071795862) line 346
dd_tk_ellipse::execute(bstreamfiletoolkit & {...}) line 711
bstreamfiletoolkit:

arsebuffer(const char * 0x00129130, int 16384, tk_status tk_normal) line 1486 + 29 bytes
dwfimporter::loadw3d(dwftoolkit:wfemodelsection * 0x05e746a0) line 959 + 24 bytes
dwfimporter::loadpackage(const unsigned short * 0x04619800, const unsigned short * 0x04619160) line 1080
dwfimporter::import() line 212 + 61 bytes
thanks in advance.
last edited by
robertpantangco@hotmail.com; 1st december 2006 at 11:29 pmfff">.
this is a known issue. there are ellipses in hsf, that have minor radius greater than major radius.
but this is not the only bug in hsf import. i hope to finish with it before 2.2 release.
vladimir
thanks vladimir. looking forward to the update.