Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions concerning scripting in Blender using the Python programming language. Also use this tag for questions about scripting in OSL (Open Shading Language).
0
votes
1
answer
48
views
What Blender type should be used for custom list of objects?
Lets say I have defined a new class
class MyNewObject(bpy.types.PropertyGroup):
name: bpy.props.StringProperty(name = "name", default = "")
minimum: bpy.props.FloatProperty(name = "min", defau …
0
votes
0
answers
24
views
Raycast - Why are the ray intersections not at the right location?
I have an ellipsoid and a conical frustum.
The ellipsoid is centred at cellipsoid, and the small-radius frustum base at cfrustum.
The frustum is such that its main axis is directed in the line-of-sigh …
1
vote
1
answer
56
views
How to get the Intersection Surface and Vertices between Ellipsoid and Frustum and colour them?
I want to get the intersection between an ellipsoid and a conical frustum. The frustum axis always lies along the line-of-sight between its small-radius basis and the ellipsoid centre.
To do so I have …
0
votes
Accepted
How to get the Intersection Surface and Vertices between Ellipsoid and Frustum and colour them?
As suggested in the comments, a possible solution is to use Boolean modifiers, and the delete the right parts.
To avoid any issue, first make a copy of each object
fru_copy = fru.copy()
fru_copy.data …
0
votes
0
answers
46
views
Addon - Trouble using external packages
I am developing a python code that uses Blender for geometric manipulation and scene visualisation.
To do so, I am trying to create an add-on, named V01, that has the following structure
V01
* __ini …
1
vote
1
answer
90
views
Create particle system via Python API scripting
I am having trouble creating an emitter via python scripting (using Blender 3.2.1).
My problem is the following:
suppose I have a cylinder and a plane (which will play the emitter role). …
0
votes
1
answer
39
views
Python script to assign particle properties in function
I am trying to simulate a projectile leaving a barrel.
To do so, I have a cylinder (representing the barrel), an icosphere (representing the projectile), and a plane (which will serve as emitter).
A p …
0
votes
Python script to assign particle properties in function
I managed to create such a function in the end.
It reads something like this (other parameters can, of course, be passed for more flexibility)
def create_particle_system(emitter, substitute_projectile …
1
vote
1
answer
50
views
Dynamically adding/deleting foldable panels
I created a panel called "Platforms", which displays some information. In that panel, I have an "Add" operator, which creates expandable rows (which can all be individually deleted by pressing a "Dele …
0
votes
0
answers
14
views
Boolean Modifier - Why is the computation not working properly in the animation?
In this answer, it was explained how to get the surface intersection between a conical frustum and an ellipsoid.
In a static configuration, it works perfectly, as shown here
Now, I want to make the e …