{"id":61936,"library":"netgen","title":"NETGEN","description":"NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement.","status":"active","version":"6.2.2401","language":"cpp","source_language":null,"source_url":null,"tags":["mesh-generation","tetrahedral","finite-elements","cad"],"install":[{"cmd":"vcpkg install netgen","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(netgen CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE netgen::netgen)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"netgen/mesh.hpp","correct":"#include <netgen/mesh.hpp>"}],"quickstart":{"code":"#include <netgen/mesh.hpp>\n#include <iostream>\n\nint main() {\n    netgen::Mesh mesh;\n    // Load geometry from STL file\n    mesh.LoadSTL(\"input.stl\");\n    mesh.Generate();\n    std::cout << \"Mesh generated with \" << mesh.GetNE() << \" elements\" << std::endl;\n    return 0;\n}","lang":"cpp","description":"Generate a tetrahedral mesh from an STL file"},"warnings":[{"fix":"Ensure the geometry kernel dependency is installed and linked.","message":"Requires OpenCASCADE or other geometry kernel for IGES/STEP support.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'3d':6 'accept':11 'allow':32 'automat':5 'boundari':19 'brep':21 'cad':57 'connect':27 'construct':14 'contain':41 'csg':17 'element':56 'file':24,39 'finit':55 'finite-el':54 'format':25 'generat':9,52 'geometri':16,30 'handl':34 'hierarch':47 'ige':36 'input':12 'kernel':31 'mesh':8,44,48,51 'mesh-gener':50 'modul':42 'netgen':1,2,40 'optim':45 'refin':49 'represent':20 'solid':15 'step':38 'stl':23 'tetrahedr':7,53","created_at":"2026-06-17T05:11:13.253939+00:00","updated_at":"2026-06-17T05:11:13.253939+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}