Top Level Namespace

Defined Under Namespace

Modules: Interpolation, Ruby3mf Classes: ContentTypes, Document, EdgeList, Log3mf, MeshAnalyzer, Model3mf, Relationships, SchemaFiles, Texture3mf, Thumbnail3mf, XmlVal

Instance Method Summary collapse

Instance Method Details

#find_child(node, child_name) ⇒ Object



1
2
3
4
5
6
7
8
9
# File 'lib/ruby3mf/mesh_analyzer.rb', line 1

def find_child(node, child_name)
  node.children.each do |child|
    if child.name == child_name
      return child
    end
  end

  nil
end