Hot answers tagged

11

Try ⎇ AltC instead of C:


11

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 fill effect you will need to independent copies of your original SVG imported curve object. Animated Outline For the animated outline make sure a new copy of ...


10

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 in the timeline and the dopesheet. By using keyframes to directly and easily change position, you will change the speed, usefully and indirectly. The object ...


10

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 import bpy import sys import os dir = os.path.dirname(bpy.data.filepath) if not dir in sys.path: sys.path.append(dir ) #print(sys.path) import cityFunctions # this next ...


9

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 controls the speed of the motion. To align the rotation of the object, you can compute the angle that the tangent to the curve makes with the x axis, the tangent ...


8

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.


8

Python has a built-in __file__ global to access the path a script is running at. You can use it in your script by using this code snippet: import os script_directory = os.path.dirname(os.path.abspath(__file__))


8

Using: bpy.utils.resource_path('USER') eg: import os import bpy user_path = bpy.utils.resource_path('USER') config_path = os.path.join(user_path, "config") Or on Linux:/home/user_name/.config/blender/2.74 On ms-windows will return:C:\Users\user_name\AppData\Roaming\Blender Foundation\Blender\2.74 See: bpy.utils.resource_path api docs


7

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 be modified in python using the following line; bpy.data.curves["NurbsPath"].path_duration = X where NurbsPath is the name of your curve, and X is the value ...


7

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 release/datafiles You can access and download the file, e.g., from the GIT repository at blender.org: http://git.blender.org/gitweb/gitweb.cgi/blender.git/tree/HEAD:/release/datafiles In the directory listing, ...


7

You can get it using bpy.app.binary_path Blender's API docs say: bpy.app.binary_path: The location of blenders executable, useful for utilities that spawn new instances`


7

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 case the folder needs to be named exactly add_mesh_siding_utils. If you rename the folder the addon will work. This is why, blender is trying to import everything ...


7

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 these files (though it won't cache them if you disable Cache BVH), which might cause an increase in render times, depending on the complexity of your scene.


7

Add a single key frame to the camera the go to the f-curve editor. Selcet the curve for the desired coordinate. Go to the proverties panel of the f-curve editor (if you don't have it press N to get it) Add a Built-In Function modifier You're looking for a "sin" type for each of your coeficients. For example I'll do the X location formula you provided: ...


7

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 os and printing os.getcwd(), and that will explain why blender isn't finding these modules you're trying to import. you'll get the current .blend filepath using bpy.data.filepath, from which ...


7

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 nice top part of model. Starting with circle will give massive headache to close and straighten up this part of a mesh. This is method I've used to model it: Add ...


7

The best way is to completely avoid drivers inside node groups. They do not update correctly and are only trouble. You should make your own custom Rotate node with the angle value accessible. You can make almost any spacial transformation using the correct math put together with Math nodes. Rotating a 3d vector around Z axis θ degrees looks like this: x' = ...


6

You can make AI drivers follow a path very easily. First, add an always sensor. Enable Positive triggering (pulse mode). connect that to an And controller. Then add a Steering actuator. (connect that to the And controller) change the Steering actuator's Behavior from Seek to Path Following. Then add a a plane, extrude it to whatever shape you want, then ...


6

Select one end of the curve, then the second end (holding SHIFT) and press F button. It'll connect two ends. Now choose the merged end, select the handle and press S. Hold SHIFT to precisely match two ends of the mesh. This may although change a shape of a curve a bit. You may use the other method, which leaves the curve's shape as it is. First select the ...


6

You entered a link on your desktop. Change the image editor to the executable C:\Program Files\Krita (x64)\bin\krita.exe (or where you have installed Krita)


6

What you can do is selecting the path and in the curve option insert your key frames on frames value


6

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 a curve object and prepares it to accept the vertex coordinates transforms the list of coordinates to flat list this means [x1,y1,z1], [x2,y2,z2], [x3,y3,z3] ...


6

Easy and fast : ( if you have a graphics tablet ) Use the Grease pencil to draw convert it to a curve slower method : Create a dummy object Switch to Edit mode and delete everything switch to the appropriate view in Orthographic mode Keep Holding Ctrl and LeftClick where you want to add the next linked vertex ( the new vertex will be connected to the ...


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