16 b.use_custom_socket_order();
17 b.allow_any_socket_order();
21 b.add_output<
decl::Geometry>(
"Mesh"_ustr).propagate_all_geometry().align_with_previous();
25 .evaluated_geometry_field();
41 if (
mask.is_empty()) {
50 params.
set_output(
"Mesh"_ustr, std::move(geometry_set));
59 ntype.
ui_description =
"Duplicate mesh edges and break connections with the surrounding faces";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_SPLIT_EDGES
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_selection(Field< bool > selection)
IndexMask get_evaluated_selection_as_mask() const
NodeAttributeFilter get_attribute_filter(const UString output_identifier) const
T extract_input(const UString identifier)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
void foreach_real_geometry(bke::GeometrySet &geometry, FunctionRef< void(bke::GeometrySet &geometry_set)> fn)
void split_edges(Mesh &mesh, const IndexMask &selected_edges, const bke::AttributeFilter &attribute_filter={})
static void node_geo_exec(GeoNodeExecParams params)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
const Mesh * get_mesh() const
Mesh * get_mesh_for_write()
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare