/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1812 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object surfaceFeatureExtractDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // includedAngle: // Mark edges whose adjacent surface normals are at an angle less // than includedAngle as features // - 0 : selects no edges // - 180: selects all edges opencfd_text.stl { extractionMethod extractFromSurface; includedAngle 120; subsetFeatures { // Use a plane to select feature edges // (normal)(point) // Keep only edges that intersect the plane will be included plane (0 0 1)(0 0 0); // Keep nonManifold edges (edges with >2 connected faces where // the faces form more than two different normal planes) nonManifoldEdges no; // Keep open edges (edges with 1 connected face) openEdges no; } // Write options // Write features to obj format for postprocessing writeObj no; } opencfd_box.stl { extractionMethod extractFromSurface; includedAngle 120; subsetFeatures { // Use a plane to select feature edges // (normal)(point) // Keep only edges that intersect the plane will be included plane (0 0 1)(0 0 0); // Keep nonManifold edges (edges with >2 connected faces where // the faces form more than two different normal planes) nonManifoldEdges no; // Keep open edges (edges with 1 connected face) openEdges no; } // Write options // Write features to obj format for postprocessing writeObj no; } // ************************************************************************* //