Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit code = 81110008 #17

Open
prateekrajgautam opened this issue Sep 8, 2020 · 3 comments
Open

Exit code = 81110008 #17

prateekrajgautam opened this issue Sep 8, 2020 · 3 comments

Comments

@prateekrajgautam
Copy link

what is the meaning of this error code
how can we learn about this

@johnyf
Copy link
Owner

johnyf commented Sep 8, 2020

Please include the context in which this error code was observed. May be relevant to #16.

@prateekrajgautam
Copy link
Author

prateekrajgautam commented Sep 8, 2020

I am testing https://github.com/johnyf/fig2u3d
to convert Matlab figures to u3d.
I have set up it with its dependencies,

Then I tested its examples, it fails to convert figures with surfaces. it works fine if there are no surfaces in the Matlab figure.

It was originally written for Matlab 2012 and I am testing it on the 2020 version few minor problems is with functions isnan.

another problem with the dependency function mesh_normals it is not returning empty matrix instead of the proper direction of normals, that I have changed/corrected.

Now it is generating the IDTF file properly but while converting it to u3d with IDTFconverter it giver error.

In the process of debugging, I find that the program to write the IDTF file from fig is not detecting surfaces or patch, they are returning empty matrix.

after running the program the command window shows

test_fig2u3d_contour_surf
Warning: Axis aspect ratio unequal. Exported U3D will look different.
In fig2u3d (line 187)
In test_fig2u3d_contour_surf (line 32)
Preprocessing surface No.1
No patch objects found.
No lines found.
No quivergroups found.
No contourgroups found.
Warning: Unequal axes data aspect ratio, to be fixed by scaling the axes. To change this
behavior, edit "fix_daspect = 1;" in fig2u3d to "fix_daspect = 0;"

In fig2u3d (line 224)
In test_fig2u3d_contour_surf (line 32)
size(cdata, 1) = #points
Number of colors: 64
Number of lines written to IDTF file: 324354
"C:\Users\Prateek\Documents\MATLAB\fig2u3d-master\idtf2u3d\bin\w32\IDTFConverter.exe" -input "C:\Users\Prateek\Documents\MATLAB\fig2u3d-master\examples\test.idtf" -output "C:\Users\Prateek\Documents\MATLAB\fig2u3d-master\examples\test.u3d"

Input file name = C:\Users\Prateek\Documents\MATLAB\fig2u3d-master\examples\test.idtf
Output file name = C:\Users\Prateek\Documents\MATLAB\fig2u3d-master\examples\test.u3d
Profile = 0
Scaling factor = 1.000000
Debug level = 0
Position Quality = 300
Texture Coordinate Quality = 300
Normal Quality = 300
Diffuse Color Quality = 300
Specular Color Quality = 300
Geometry Default Quality = 300
Texture Quality = 75
Animation Quality = 1000
Zero Area Faces Removal = ENABLED
Zero Area Face Tolerance = 0.000012
Exclude Normals = FALSE
Export Option Flags = ffff
Texture size limit = 0

Exit code = 81110008

Error using idtf2u3d (line 111)
IDTFConverter executable returned with error.

Error in fig2u3d (line 238)
idtf2u3d(fname)

Error in test_fig2u3d_contour_surf (line 32)
fig2u3d(ax, 'test')




attaching the generated IDTF file as txt
[test.idtf.txt](https://github.com/johnyf/fig2u3d/files/5190457/test.idtf.txt)

@johnyf
Copy link
Owner

johnyf commented Sep 8, 2020

Thank you for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants