Linked Questions

1 vote
0 answers

Add > Path with custom geometry using Python [duplicate]

I am writing a Python script and in part of it I want to do an Add > Curve > Path operation, but instead of the default 5-vert straight path, I want one at the object origin (which I have pre-...
Mentalist's user avatar
  • 19.1k
13 votes
1 answer

Poly / Bezier curve from a list of coordinates

I'm trying to create curves from a list of points, I have the xyz coordinates in text files. I could make it manually via the python console for a single curve, but I have to do it many times and I ...
Matteo Caffini's user avatar
7 votes
2 answers

How to make a curve path from scratch given a list of (x, y, z) points?

I want to move a soft body object in my scene on a path (curve path). For the path, I want to make it myself from scratch. I basically have a Python List containing (x, y, z) points and want to create ...
Amir's user avatar
  • 3,074
2 votes
1 answer

How to specify Nurbs path vertices in python?

I'm trying to write a script which creates a Nurbs path curve, bevels it, and then stores the location of each vertex/point in that curve. I've been writing it based on the code displayed in the info ...
flipsies's user avatar
4 votes
2 answers

Interpreting a formula for Blender Python

I'm pretty poor at maths but managed to get someone who is decent at it to come up with a linear algebraic formula for the control over the distribution of points along a straight line. The formula is:...
James Field's user avatar
1 vote
2 answers

How can I use Python to select one (spline control) point of a NURBS curve?

How can I use Python to select one (spline control) point of a NURBS curve? I want to select and then move each point to a desired location. If this is not possible, I am happy to start with the ...
Paul St George's user avatar
3 votes
1 answer

Is there a Blender api to fill a color to a certain vertex_colors?

Taking a cue from this question, I'm testing to make a one-color fill to a vertex_colors. Works fine, but is very slow on meshes with many polygons. ...
Noob Cat's user avatar
  • 1,222
1 vote
1 answer

Bake an fcurve with visual transforms

I want to duplicate an existing animation and bake it with visual transforms applied, something like what the default nla baker does. For simplicity's sake say I need to do this for a single bone. ...
user avatar
1 vote
1 answer

What is the 4th coordinate of spline points?

When trying to set the .co property of a curve's SplinePoints I noticed that it has 4 coordinates, x, y, z and an unknown ...
Robin De Schepper's user avatar
0 votes
0 answers

Delete a single vertex from a spline

I want to create a curve with 4 points in python. So i figured that I could subdivide a primitive curve twice and delete one of the points. The code below kinda works by selecting a single point and ...
DrDress's user avatar
  • 563
0 votes
0 answers

NURBS Path not extending all the way to tips

I have two Path objects that I've joined into a single object here for comparison. The one above was generated with a Python script. The one below was added the typical way from the menu Add > ...
Mentalist's user avatar
  • 19.1k
1 vote
0 answers

subdivide curve with python

Is there an accurate way to subdivide a Curve without using a lot of math? I would like to subdivide the spline and then make it noisy. ...
Andi 's user avatar
  • 741
0 votes
0 answers

Animate Mesh Vertices via coordinate values from calculation

Mesh vertex animation My prerequisites: Little to no experience with blender, advanced experience in python Starting Point: Mesh M with n vertices and m faces as .obj file. Next step : Change ...
BennyS's user avatar
  • 1
1 vote
0 answers

Removing connection line between origin of curve and last point of curve

I'm new to Blender 2.8. I want to display a curve based on x, y, z data I got stored in a file. To load the curve I am using the following script, which I found in this forum. With TS_0084.dat being ...
blendernoob's user avatar