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

Pdf file created is in 2D plot and not 3D plot #19

Open
Rewa616 opened this issue Dec 9, 2021 · 1 comment
Open

Pdf file created is in 2D plot and not 3D plot #19

Rewa616 opened this issue Dec 9, 2021 · 1 comment

Comments

@Rewa616
Copy link

Rewa616 commented Dec 9, 2021

Hi ,

I manage to run everything smoothly . However, the pdf created show the surf plot in 2D and not 3D (I couldn't rotate it)

Below is the response I got:

`Warning: Axis aspect ratio unequal. Exported U3D will look different.

In fig2u3d (line 187)
In MATLABStandaloneApplication1>BeginApplication (line 215)
In MATLABStandaloneApplication1 (line 19)
Preprocessing surface No.1
No patch objects found.
No lines found.
No quivergroups found.
No contourgroups found.
size(cdata, 1) = #points
Number of colors: 256
Number of lines written to IDTF file: 5797761
"C:\Users\er\Documents\Zemax\ZOS-API Projects\MATLABStandaloneApplication1\bin\w32\IDTFConverter.exe" -input "C:\Users\er\Documents\Zemax\ZOS-API Projects\MATLABStandaloneApplication1\Valuess.idtf" -output "C:\Users\er\Documents\Zemax\ZOS-API Projects\MATLABStandaloneApplication1\Valuess.u3d"

Input file name = C:\Users\er\Documents\Zemax\ZOS-API Projects\MATLABStandaloneApplication1\Valuess.idtf
Output file name = C:\Users\er\Documents\Zemax\ZOS-API Projects\MATLABStandaloneApplication1\Valuess.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

Converting
Material Resources (1) | Done
Shader Resources (1) | Done
Model Resources (1) | Done
Nodes (1) | Done
Modifiers (1) | Done
Exit code = 0

The system cannot find the path specified.

ans =

 1

Warning: Orthographic projection: Camera distance to target is different from figure. Computed based on the scene bounding sphere.

In view2vws (line 86)
In fig2u3d (line 242)
In MATLABStandaloneApplication1>BeginApplication (line 215)
In MATLABStandaloneApplication1 (line 19)
Exported axes view in .vws file for LaTeX media9 package is:
% File type: VWS
% Version: 2012-05-11
% Created by: fig2u3d, MATLAB figure export tool by Ioannis Filippidis
% Help: See LaTeX package media9 documentation by Alexander Grahn
% Description: View settings file for u3d file to be included in pdf

VIEW=MATLABfig
COO=75.5 60.5 0.0151644
C2C=-680.2909 -708.0679 0.1313278
ROO=93.3193
ROLL=0
ORTHO=0.0053579

PART=Mesh1
    RENDERMODE=Solid
END

END

ans =

 []

`

I couldn't determine what is the issue. Any helpful method will be very much appreciated.

Thank you

@Rewa616
Copy link
Author

Rewa616 commented Dec 14, 2021

@johnyf
Hi , do you have any idea on this ?

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

1 participant