From d29b113a8805ba71dee8b57a338e14da9c129e1b Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:59:58 +0100 Subject: [PATCH] [NMR_ImplicitNodeTypes] Adding VectorFromScalar and UnsignedMesh --- Source/Model/Classes/NMR_ImplicitNodeTypes.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Source/Model/Classes/NMR_ImplicitNodeTypes.cpp b/Source/Model/Classes/NMR_ImplicitNodeTypes.cpp index c3293d513..c56b1e61c 100644 --- a/Source/Model/Classes/NMR_ImplicitNodeTypes.cpp +++ b/Source/Model/Classes/NMR_ImplicitNodeTypes.cpp @@ -329,6 +329,14 @@ namespace NMR In{{"A", eImplicitPortType::Vector}}, Out{{"result", eImplicitPortType::Scalar}}}, }}}, + {eImplicitNodeType::VectorFromScalar, + {"vectorfromscalar", + { + InputOutputRule{ + Lib3MF::eImplicitNodeConfiguration::Default, + In{{"A", eImplicitPortType::Scalar}}, + Out{{"result", eImplicitPortType::Vector}}}, + }}}, {eImplicitNodeType::Resource, {"resource", { @@ -345,6 +353,15 @@ namespace NMR {"mesh", eImplicitPortType::ResourceID}}, Out{{"distance", eImplicitPortType::Scalar}}}, }}}, + {eImplicitNodeType::UnsignedMesh, + {"mesh", + { + InputOutputRule{ + Lib3MF::eImplicitNodeConfiguration::Default, + In{{"pos", eImplicitPortType::Vector}, + {"mesh", eImplicitPortType::ResourceID}}, + Out{{"distance", eImplicitPortType::Scalar}}}, + }}}, {eImplicitNodeType::FunctionCall, {"functioncall", {InputOutputRule{