Skip to main content

All Questions

Tagged with
0 votes
0 answers
15 views

Writing python script to generate a L shaped hollow pipe [duplicate]

I am kind of new to blender. I am trying to create a L shaped pipe with python script. what I want is: My gpt generated code is this: ...
nelson's user avatar
  • 1
2 votes
1 answer
55 views

How can I get info report to show up before subprocess call?

How can I ensure an info message is displayed before a subprocess call in Blender? When executing a script from the 3D Viewport using F3 and running the operator, ...
Harry McKenzie's user avatar
1 vote
1 answer
43 views

Add text information directly to the viewport for 5 sec

I am trying to add text information directly to the viewport so that it would be displayed for 5 seconds after the button is pressed and then disappear. I have not been able to realize this using ...
Andrew's user avatar
  • 75
0 votes
0 answers
73 views

Force Viewport Visibility to Respect Render Visibility

I use the viewport render to do all my look dev, and lighting, so I make things enabled or disabled based on what I need for that render layer/scene. But of course when I go to actually render the ...
timdan's user avatar
  • 23
0 votes
1 answer
132 views

How to override context area using script when running Blender using Command Line

I use this command for running (open) Blender blender --factory-startup --python path_to_script script.py In script.py i tried ...
CheatPekalongan's user avatar
0 votes
1 answer
106 views

How can I center view to selected item via python?

I attempt to center the view on the currently selected object using Python. Normally, you would select the object and then press Numpad . in the viewport. According to the keymap, the command behind ...
Black's user avatar
  • 1,002
0 votes
1 answer
59 views

Isolating a collection in an offscreen buffer without altering the viewport?

The goal of the script is to live-capture the scene from a camera POV but only have certain collections be visible in the texture. Some things I have tried - hiding objects before drawing and ...
Nyubug's user avatar
  • 1
1 vote
1 answer
21 views

Change back ground colour when animation is playing - Part 2

Following up from Part 1 I'm looking to see about making this persistent when (re)loading up blender 3.6.7, Much thanks to Chris for writing something that works when inside the text editor. ...
Marc Volkers's user avatar
1 vote
1 answer
44 views

Change back ground colour when animation is playing

Blender 3.6.7LTS When I trigger play animation I would like a script to change the background to a reddish colour To indicate that the animation is playing and when I stop the animation player it ...
Marc Volkers's user avatar
0 votes
1 answer
113 views

How to enable the move gizmo via script?

I created a new startup file+script for low-poly 3D modeling for my game project. Basically a default cube with origin on the "floor" and a custom material. The script sets up my preferred ...
gulagkulak's user avatar
1 vote
1 answer
154 views

Can the blender api be used to create alternate viewport control modes

I am trying to build a workflow for painting equirectangular images. (I would pirate photoshop as I know it can do this but I am averse to running proprietary software) As seen in the image below I ...
NotImportant's user avatar
1 vote
1 answer
467 views

Why does bpy.ops.view3d.view_axis not work in View 3d context?

I'm on Blender 3.6 where the old way to override context is deprecated. I know that some bpy.ops commands need to be run in a certain context. I'm fairly certain ...
Harry McKenzie's user avatar
0 votes
0 answers
41 views

How to lock an updating object to the screen using scripts (Blender 3.5)

I wanted to create an object that automatically updates with scripts and displays on the screen in a fixed position in Blender viewport. Kind of like how 'Objectives' in the top right of the image ...
tranade's user avatar
0 votes
2 answers
608 views

Set Orthographic-Top view with python?

I have tried to write a script to set the 3d view to the top view and also turn it in into an orthogonal projection The closest I have got to the objective is based on this code found in this thread ...
George's user avatar
  • 43
3 votes
1 answer
490 views

How can I set the active category in the "N" panel?

I have created a custom panel and when N is pressed on the keyboard in 3d view we get the Sidebar with the Item tab opened by default, but I don't want that. I have also added an operator that does ...
Muzammil's user avatar
  • 840

15 30 50 per page
1
2 3 4 5
7