TUT: adjust surfaceFeatureExtractDict to remove optional sub-dictionary

- as of v1706
  extractFromSurfaceCoeffs { ... } is an optional subdictionary
This commit is contained in:
Mark Olesen
2017-07-07 15:41:18 +02:00
parent acb5d54e41
commit e7da4f0d07
22 changed files with 153 additions and 285 deletions

View File

@ -1,14 +1,12 @@
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
trimFeatures
{

View File

@ -18,16 +18,13 @@ boundaryAndFaceZones.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
baffles (porosityFaces);
// Write options
writeObj no; //yes;
writeObj no; //yes;
}

View File

@ -19,14 +19,11 @@ motorBike.obj
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
subsetFeatures
{
@ -40,8 +37,8 @@ motorBike.obj
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}