All Questions
169
questions
0
votes
2
answers
398
views
Adding a Hook to a Nurbs Path with Python
Python scripting
I would like to add a hook to an Nurbs Path while scripting
In Layout :
delete 'Cube'
Add Curve -> Path
change to Edit Mode
select a Vertex ctrl+h
all set and done
Scripting:
...
1
vote
0
answers
187
views
Joining Two Cubes and Get Total Face Area
I have two identical cubes (1 and 2). Both of them have a face area of 216 units. If I "Join" them with Ctrl+J button and create a single object then
...
0
votes
0
answers
40
views
Hollow Object BoolTool Union Issue
I have objects A and B. Both of them are part of a large 3D rectangular object. As they were extracted from the original object, they have some open portion as shown in the image
When I try to use ...
1
vote
0
answers
53
views
How do I create a CacheFile object for a Mesh Sequence Cache modifier? [duplicate]
I’m very new to the blender API (so forgive the noob-ness) but have experience with python and the maya API.
I’m trying to write a simple batch script to attach alembic animation caches to a series of ...
2
votes
1
answer
552
views
Union of two objects with Python
I have two objects (A and B) and I need to get the union of them. A has a face area of 200 units and B has 10 units. In addition, B falls completely inside A. If I use join (Ctrl+J) then the face area ...
4
votes
2
answers
5k
views
Driver with random output between a range of values ( -1 to 1)
I'm looking to make a driver that outputs a random value between a specific range (in this case -1 to 1) as a way to randomly change the factor value of the Simple Deform modifier. So that I can ...
0
votes
0
answers
79
views
Scripting a propeller or gear ; the info window python code fails to match success of GUI duplicate and rotate applied to master gear or blade
Given the master propeller blade or gear already drawn at the desired radius from the rotation axis, the Blender GUI approach to duplicate the original and x-rotate the copy 15-deg is to type shift+D ...
2
votes
2
answers
496
views
Scripting: Displacement modifier visual update required
started using blender recently (>2.8), and in particular I'm trying to do a lot of work via scripting and the use of modifiers.
In particular, I'm generating a circle via modifiers, with a ...
3
votes
1
answer
532
views
How to create a hook modifier on every point of a curve using python
I made a script to add a hook modifier on every point of a curve using a for loop but I get an error in 2nd iteration.
Below is the code:
...
0
votes
0
answers
112
views
Python script to find a path around volume, given a slope?
I'm wondering if there's a script to draw a path around a volume given a slope (for instance 5.8% (= 3.3°)).
Manually, I can draw such a path, but I need to adapt reference point from time to time, ...
2
votes
1
answer
645
views
Query if modifier exists on listed objects [duplicate]
I'm new to Blender and the way it works with Python, so I still don't understand quite well the way the different commands work.
But I wanna create a small tool where i can assign a modifier to a ...
5
votes
1
answer
1k
views
How to move modifiers of multiple objects up or down?
I would like to move a modifier (which I have already identified) to the bottom of the list of existing modifiers. Unfortunately it does not work and I don't get why...? However, if the object is ...
0
votes
1
answer
1k
views
What is the fastest way to create an array of objects through a script?
What is the fastest way to create an array of objects through a script? I want to create a cube made from 10x10 rows of smaller cubes. So far my methods have been too long.
1
vote
0
answers
70
views
Procedural stairs driven by a curve
The idea is to create procedural stairs that are driven by a 2 point curve (or just 2 empties if possible). The curve/distance between empties controls the amount/length of stairs and the angle. I ...
0
votes
1
answer
154
views
The volume of an object resulted from a boolean operation is "sometimes" a negative number. Why is this happening?
The volume of an object resulted from a boolean operation is "sometimes" a negative number. Why is this happening? If I export this object as an STL file and import it back, the volume of the imported ...