bpy_jupyter.operators
bpy_jupyter.operators
All bpy.types.Operator
s that ship with this extension.
ATTRIBUTE | DESCRIPTION |
---|---|
BL_REGISTER |
All
|
bpy_jupyter.operators.copy_kern_info_to_clipboard
Implements CopyJupyURLToClip
.
ATTRIBUTE | DESCRIPTION |
---|---|
BL_REGISTER |
All the Blender classes, implemented by this module, that should be registered.
|
CopyKernelInfoToClipboard
Bases: Operator
Copy a value to the system clipboard.
ATTRIBUTE | DESCRIPTION |
---|---|
bl_idname |
Name of this operator type.
TYPE:
|
bl_label |
Human-oriented label for this operator.
TYPE:
|
value_to_copy |
Operator property containing the string to copy.
TYPE:
|
execute
execute(context: Context) -> set[OperatorReturnItems]
Copy the path to the running connection file, to the system clipboard.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/copy_kern_info_to_clipboard.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|
poll
classmethod
poll(context: Context) -> bool
Can run while a Jupyter kernel is running.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/copy_kern_info_to_clipboard.py
53 54 55 56 57 58 59 60 61 62 |
|
bpy_jupyter.operators.start_jupyter_kernel
Implements StartJupyterKernel
.
ATTRIBUTE | DESCRIPTION |
---|---|
BL_REGISTER |
All the Blender classes, implemented by this module, that should be registered.
|
StartJupyterKernel
Bases: Operator
Start a notebook kernel, and Jupyter Lab server, from within Blender.
ATTRIBUTE | DESCRIPTION |
---|---|
bl_idname |
Name of this operator type.
TYPE:
|
bl_label |
Human-oriented label for this operator.
TYPE:
|
execute
execute(context: Context) -> set[OperatorReturnItems]
Start an embedded jupyter kernel, as well as an asyncio
event loop to handle kernel clients.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/start_jupyter_kernel.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
poll
classmethod
poll(context: Context) -> bool
Can run while a Jupyter kernel is not running.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/start_jupyter_kernel.py
50 51 52 53 54 55 56 57 58 59 |
|
bpy_jupyter.operators.stop_jupyter_kernel
Implements StopJupyterKernel
.
ATTRIBUTE | DESCRIPTION |
---|---|
BL_REGISTER |
All the Blender classes, implemented by this module, that should be registered.
|
StopJupyterKernel
Bases: Operator
Stop a notebook kernel and Jupyter Lab server running within Blender.
ATTRIBUTE | DESCRIPTION |
---|---|
bl_idname |
Name of this operator type.
TYPE:
|
bl_label |
Human-oriented label for this operator.
TYPE:
|
execute
execute(context: Context) -> set[OperatorReturnItems]
Start the embedded jupyter kernel, as well as the asyncio
event loop managed by this extension.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/stop_jupyter_kernel.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
poll
classmethod
poll(context: Context) -> bool
Can run while a Jupyter kernel is running.
PARAMETER | DESCRIPTION |
---|---|
context
|
The current
TYPE:
|
Source code in bpy_jupyter/operators/stop_jupyter_kernel.py
49 50 51 52 53 54 55 56 57 58 |
|