Blender Git Loki

Git Commits -> Revision 60fa80d

Revision 60fa80d by Hans Goudey (master)
September 16, 2020, 15:20 (GMT)
Curves: Add custom profile bevel support

This adds support for the same custom bevel profile widget used in
the bevel tool and modifier to the geometry generation for curves.

This is expecially useful for text and 2D curves with extrusion, as
it works much better than a weld & bevel modifier combination.
It can also be useful for adding quick detail to pipe-like objects.

The curve holds the CurveProfile struct and a new "Bevel Mode"
property decides which type of bevel to build, round, object, or
custom profile.

Although curves can already use another curve to make the bevel
geometry, this is a quicker way, and it also defines the profile of
just one corner of the bevel, so it isn't redundant. It's also nice
to have the same custom profile functionality wherever there is bevel.

Differential Revision: https://developer.blender.org/D8402

Commit Details:

Full Hash: 60fa80de0b2c7138fc86b8b688f22a9d2623e8ed
Parent Commit: 365271a
Lines Changed: +224, -70

8 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_curve.py (+16, -14) (Diff)
/source/blender/blenkernel/intern/curve.c (+15, -0) (Diff)
/source/blender/blenkernel/intern/curveprofile.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/curve_bevel.c (+102, -54) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_curve_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+12, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+64, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021