Blender V5.3
node_geo_mesh_bevel.cc File Reference
#include "DNA_curves_types.h"
#include "DNA_mesh_types.h"
#include "BKE_curves.hh"
#include "BKE_geometry_set.hh"
#include "NOD_rna_define.hh"
#include "GEO_foreach_geometry.hh"
#include "GEO_mesh_bevel.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::nodes
namespace  blender::nodes::node_geo_bevel_cc

Functions

static void blender::nodes::node_geo_bevel_cc::node_declare (NodeDeclarationBuilder &b)
static void blender::nodes::node_geo_bevel_cc::node_geo_exec (GeoNodeExecParams params)
static void blender::nodes::node_geo_bevel_cc::node_register ()
Profile Curve Sampling

Samples the first spline of a #bke::CurvesGeometry into a flat array of (x, y) pairs for use as BevelParameters::custom_profile_samples.

The input curve is expected to start near (0, 1, z) and end near (1, 0, z) in its local XY plane (Z is ignored). The evaluated positions are used directly, so Bezier, poly, Catmull-Rom, and NURBS curves all work without any special-casing.

static Array< float2 > blender::nodes::node_geo_bevel_cc::sample_profile_curve (const bke::CurvesGeometry &curves)

Variables

static const EnumPropertyItem blender::nodes::node_geo_bevel_cc::affect_items []