fabex.operators.log_ops#

Fabex ‘log_ops.py’ © 2012 Vilem Novak

Blender Operator definitions are in this file. They mostly call the functions from ‘utils.py’

Attributes#

Classes#

CamOpenLogFolder

Open the CAM Log Folder

CamPurgeLogs

Delete CAM Logs

Module Contents#

log_folder = ''[source]#
class CamOpenLogFolder[source]#

Bases: bpy.types.Operator

Open the CAM Log Folder

bl_idname = 'scene.cam_open_log_folder'[source]#
bl_label = 'Open Log Folder'[source]#
bl_options[source]#
classmethod poll(context)[source]#
execute(context)[source]#

Opens the folder where CAM logs are stored.

Parameters:

context – The context in which the operation is executed.

Returns:

A dictionary indicating the operation’s completion status,

specifically returning {‘FINISHED’} upon successful execution.

Return type:

dict

class CamPurgeLogs[source]#

Bases: bpy.types.Operator

Delete CAM Logs

bl_idname = 'scene.cam_purge_logs'[source]#
bl_label = 'Purge CAM Logs'[source]#
bl_options[source]#
classmethod poll(context)[source]#
execute(context)[source]#

Execute the CAM log removal process.

This function removes the files from the CAM logs folder

Parameters:

context – The context in which the function is executed.

Returns:

A dictionary indicating the status of the operation,

specifically {‘FINISHED’} upon successful execution.

Return type:

dict