Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Hot answers tagged

23 votes

Importing python modules and text files

A more detailed example of the technique zeffi outlined is illustrated by the following example from http://web.purplefrog.com/~thoth/blender/python-cookbook/import-python.html ...
user avatar
  • 8,904
17 votes

What are the practical differences between beziers, nurbs and paths?

I must say that I make quite extensive use of Bezier Curve objects in Blender, I use them a lot more than I actually use mesh objects. I work mainly in architecture mostly doing archviz, design and ...
user avatar
13 votes
Accepted

Fill along the front of a path of an SVG

Don't needlessly convert your bezier to a mesh unless strictly necessary, it is a destructive process and will ruin your model and the benefits of using curve objects. For an animated outline and ...
user avatar
13 votes
Accepted

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

Maybe something like this? See also: Create NURBS surface with Python ...
user avatar
  • 396
12 votes
Accepted

How do I make a curve in the shape of a simple wave form (sine)?

Animation Node can be used here, a simple sine wave spline can be generated as follows: Animating an object along the wave can be done by evaluating it at some point as follows: Where the divide ...
user avatar
  • 22.1k
11 votes

How to automatically get a Add-on folder's path regardless of OS?

Ah, got it. Paste this to the Python Console to get your add-ons path: bpy.utils.user_resource('SCRIPTS', "addons") Also see the wiki.
user avatar
11 votes
Accepted

Importing python modules and text files

When you execute a python script inside Blender, the current working directory is not the base directory of your .blend file. You can easily confirm this by importing ...
user avatar
  • 37.9k
11 votes
Accepted

How to make curve closed?

Try ⎇ AltC instead of C:
user avatar
  • 152k
11 votes
Accepted

How can I switch the direction of a Curve on Blender 2.8?

In edit mode: select all (A) right click > Switch Direction (or right click > D) There isn't a more direct shortcut, but these are pretty quick! However, if you need to use this option so ...
user avatar
  • 12.3k
10 votes

How to change camera movement speed on Path during animation

Make Sure you create Keyframes for the Offset value in the Follow Path Constraint. Insert Keyframes on the [Follow Path Constraint]. Use [Fixed Position] TRUE. The image belows shows two keyframes ...
user avatar
9 votes

How to change camera movement speed on Path during animation

What you can do is selecting the path and in the curve option insert your key frames on frames value
user avatar
  • 22.1k
9 votes

Adding festoon lights

You can put planes on a path, and have them emit the bulbs. Create your wire-curve Create a plane, assign it Array and Curve modifiers to duplicate it down the curve Create a bulb, or Collection of ...
user avatar
  • 54.8k
8 votes
Accepted

Where is the default text object font (Bfont)?

The font is bfont.pfb This is a built-in font which means it is compiled into blender. The font file is available from the blender source tree in ...
user avatar
  • 844
8 votes
Accepted

Get path to Blender executable

You can get it using bpy.app.binary_path Blender's API docs say: bpy.app.binary_path: The location of blenders executable, ...
user avatar
  • 2,477
8 votes

How to automatically get a Add-on folder's path regardless of OS?

If you want to know the directory of the currently-executing addon, try this: ...
user avatar
  • 827
8 votes
Accepted

How to get user preferences path from blender

Using: bpy.utils.resource_path('USER') eg: ...
user avatar
  • 44.4k
8 votes

How do I make a curve in the shape of a simple wave form (sine)?

Here's my take on this... Open a Text Editor window and paste the following code : ...
user avatar
  • 42.2k
7 votes
Accepted

Problem enabling siding generator addon

I have had this exact problem with other addons, namely the add mesh rocks, and cg cookies' poly strips. The problem comes from the name of the directory you created in the addon folder. For your ...
user avatar
  • 47.7k
7 votes
Accepted

Is it safe to delete the cache?

Yes, cycles caches BVH (Bounding Volume Hierarchy) files in there when Cache BVH is enabled in Render settings > Performance: Deleting them shouldn't do anything bad. Cycles will just regenerate ...
user avatar
  • 152k
7 votes
Accepted

how to make camera moves slower when moving along a curve

With the curve selected; Select the Object Data tab in the Properties window, In the Path Animation panel change the Frames value, higher values result in a slower follow speed. Edit: This value can ...
user avatar
  • 729
7 votes
Accepted

python script that reads text file containing coordinates and creates a path/curve for object to follow

You can run this code straight from Blender's Text Editor. You'll see a lot is the same for creating a simple vertex-edge based mesh, but this snippet: imports x,y,z as a list of coordinates creates ...
user avatar
  • 37.9k
7 votes

How do I create a squeeze tube packaging?

In this case I would not go with Curves as they aren't best choice in terms of modeling in Blender. My method is based upon simple plane which gives us very simple base geometry and allows to have ...
user avatar
  • 17.1k

Only top scored, non community-wiki answers of a minimum length are eligible