image_postscript_cull#

file.image_postscript_cull(p0: str) int#

For postscript format move-draw images turns on/off the removal of hidden geometry.

Culling hidden geometry can vastly improve printer performance and reduce file size. However, processing time is significantly higher.
When OFF the geometry will be drawn from back to front.
The default is ON.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.file.image_format("postscript")
ensight.file.image_postscript_type("move_draw")
ensight.file.image_postscript_cull("OFF")
ensight.file.image_file("/tmp/test_image")
ensight.file.save_image()
Returns:

zero on success, non-zero on error