Skip to content

Commit

Permalink
[NMR_ImplicitNodeTypes] Adding VectorFromScalar and UnsignedMesh
Browse files Browse the repository at this point in the history
  • Loading branch information
3dJan committed Feb 12, 2024
1 parent ae2390f commit d29b113
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Source/Model/Classes/NMR_ImplicitNodeTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
{
Expand All @@ -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{
Expand Down

0 comments on commit d29b113

Please sign in to comment.