All Questions
Tagged with bezier-curves scripting
75
questions
1
vote
0
answers
23
views
How to make separate curves to have the same tangent on their points
I have individual Bezier curves that are needed to create the road. There are meshes of different lengths - these are sections of the road that can have different curvature of turns and elevation ...
0
votes
0
answers
24
views
Why is blender crashing with this code line: bpy.ops.gpencil.convert(type='CURVE', use_timing_data=context.scene.transfer_gp_timing_data_toggle)
I selected a grease pencil scribble that wasn't too complex, and the convert tab grease pencil to mesh works very fast on my computer. Blender crashes when executing this line:
curve_obj = bpy.ops....
0
votes
0
answers
15
views
Blender script for turning on curve profile with crown molding preset
I am making a simple script that either turns off bevel geometry for a curve or turns it on with a Crown molding preset. My problem is that it seems to not be possible to set the preset, at least not ...
1
vote
0
answers
34
views
Created Bezier Curve doesn't link to scene
I would like to start by expressing my gratitude to this community for providing solutions to programming problems related to BPY.
I usually find answers here without submitting my question, but this ...
0
votes
0
answers
40
views
How to cut a curve object with python sctipt
In blender i want to cut a curve with a specific distance (for example as much as a cylinder's radius). I can do it by hand but can't do with python scripts. I tried converting it into a mesh object ...
0
votes
1
answer
433
views
Script to import coordinates and create a bezier curve
I would like to create a script to import coordinates from a CSV and create a bezier curve along these coordinates. I have developed a script that imports the coordinates, but it creates a curve along ...
4
votes
2
answers
256
views
GN: How to distribute points percentage wise or by arc length on a curve between a start and an endpoint?
In common CAD programs there is a function with which you can distribute any number of points on a curve as a percentage / arc length between the start point (0%) and the end point of a curve (100%).
...
2
votes
1
answer
726
views
Geometry Nodes: How to connect two sets of points with the same Index using Bezier-curve?
I try to connect two sets of vertical aligned points with a Bezier-curve like shown in the picture below.
I’m at the very beginning of learning Blender and geometry nodes. I have a lot of experience ...
1
vote
0
answers
28
views
Why is one end of bezier curve at the origin? [duplicate]
I am trying to create a coon's patch in blender using scripting. So far, I have made the 4 bezier curves I need to make by reading the coordinates from a text file. Each curve has a start point, end ...
1
vote
1
answer
376
views
Coon's Patch: Bezier Curve
I have a text file that has four sets of points. In each set, the first and last points are the start and end points of a curve, and the middle two are the coordinates for two handle points. I have to ...
2
votes
1
answer
375
views
What is the equation of an F Curve?
My goal is to graph an F curve on an external program.
I've read that an F curve is a bezier curve, but when I plug in values using a start and end keyframe and their handles into a cubic bezier curve,...
1
vote
1
answer
177
views
Enter in curve draw option with a script
I need via script to enters into Edit Mode (of a bezier curve) and then immediately into Draw mode.
1
vote
1
answer
163
views
Parenting to a Curve with Python leads to unexplained results
I'm trying to set a Curve as a parent to objects using Python. My Curve's position is 0,0,0 at the World Origin. When I run the script below, the cubes get parented to the Curve and jump to a ...
0
votes
1
answer
118
views
Weird Glitch When Adding Bevel Geometry to 2D Curves
I have a script where I create curves from a 3D Printing file (GCode File). The curve created looks like this:
The curve is 2D. When I give it a bevel of 0.1m this happens:
The problem disappears if ...
3
votes
1
answer
72
views
Create a Disjointed Curve Using a Python Script
I'm trying to create a curve with a python script but I want some of the edges to not be connected. This is what I have so far
...