Skip to main content

All Questions

2 votes
1 answer
578 views

How to hook a vertex of a curve to a certain object?

I'm trying to hook a curve vertex to an object and this method works perfectly: bpy.ops.object.hook_add_selob(use_bone=False) The problem is when I try to do this ...
DrDress's user avatar
  • 563
0 votes
1 answer
1k views

Boolean with bevel bezier curve

I have loaded an stl file and want to do some boolean stuff on it using python API (see code below). First I create the bevel spline and move the end points where I want them. Then I create a boolean ...
DrDress's user avatar
  • 563
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: ...
Oye LKY's user avatar
  • 51
1 vote
0 answers
151 views

How can I write a Python script to turn all normals on a curve to face outward…!

I’ve completed a few professional projects in C#/Unity, have worked through 90% of Microsoft’s Beginners Guide to Python, just started Python the Hard Way and have done a bunch of beginner Blender ...
Reverend Speed's user avatar
1 vote
2 answers
965 views

Set active control point in script

How do set the control point of a bezier curve to "active" in script in 2.8? Like so: I want to hook it to a new object like so: ...
blender_guest's user avatar
0 votes
0 answers
146 views

Control mesh with curve modifier using vertices instead of curve knots?

I have a manually created rope mesh that has a Bezier curve modifier. Currently, I can control it by selecting the Bezier knots in Edit mode and dragging them. However, I want to be able to ...
blender_guest's user avatar
4 votes
1 answer
707 views

Boolean with curves

I am trying to cut out a section from a "spherical shell of yarn", without much success. Using a python script, I created a series of coordinates on a spherical surface: ...
leonardo2887's user avatar
2 votes
1 answer
740 views

How do I use python to hook control points of a bezier curve to bones of an armature without inexplicably deforming the bezier curve?

I have the following code to construct a bezier curve, an armature, and then hook them together, unfortunately it does not accomplish my mission ...
Mutant Bob's user avatar
  • 9,263
4 votes
1 answer
2k views

particle system with particles that conform to surface

I would like to create a particle system or hair in which the particles conform to the surface. For instance, a particle system of a special object such as a long cylinder, which can be conformed to ...
chase's user avatar
  • 638