Jump to content

Export the surface component in Zeiss inspect automatically


---
 Share

Recommended Posts

Greetings, 

We have an in-house script that automatically extracts major and minor strain data from Zeiss Inspect, generating time-dependent CSV files. Currently, we can only extract data when using the Standard computational method. I would like to develop a methodology that allows us to extract more points, as the surface quality is significantly better. 

If someone can help us it would be great. 

Best regards 

export_2019_BATCH_med_major_minor_minorSR_majorSR_220718.py

Link to comment
Share on other sites

Hello Tarek,

i have not scripted for zeiss inspect so far and i have not checked the whole code.

But just having a quick look i found the following:

image.png.57e1902e141d9f2a7fb86ea0736168ad.png

As this seems to be the only occurance of the word "standard" (full text search) it is highly likely that changing this to the desired setting will solve your problem.

 

Link to comment
Share on other sites

Yes, we have tried that, but unfortunately, it does not work; the script crashes with an unknown error.  

Link to comment
Share on other sites

Strange

Seems like it should work in theory and has worked for other people.

Does the error message state which line of code was carried out, when crashing?

 

Not sure if this info has any relevance, but anyway:

When i run your script with "more_points" i seem to get to the line "gom.script.sys.close_project()", because i get no error and my project is closed.

 

Link to comment
Share on other sites

Unfortunately, the line error is 38. What type of computation method is selected? Also, I couldn't find any other computation methods besides the 'standard' one. 
I will try with this "more_points" and see if it works  

Link to comment
Share on other sites

Sorry for pointing you in the wrong direction.

You can put random stuff in for computation instead of the standard or more_points or the delete the whole line it does not produce an error.

This is probably just asigning a value (text) to a keyword.

Link to comment
Share on other sites

To make sure the command is working, you can record the creation of the element with the intended parameters used in the dialog. 

For most functions you can print the .__doc__ but for this it needs to be recorded since there is no list of parameters in the .doc

print(gom.script.deformation.create_surface_component.__doc__)

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...