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

@ -19,14 +19,11 @@ DTC-scaled.stl
// 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 @@ DTC-scaled.stl
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}

View File

@ -14,24 +14,23 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// includedAngle:
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
vessel.stl
{
// 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 120;
}
includedAngle 120;
// Write options
// Write features to obj format for postprocessing
writeObj no;
// Write features to obj format for postprocessing
writeObj no;
}
gasInlet.stl
@ -39,36 +38,27 @@ gasInlet.stl
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
stirrer.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
outlet.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
/*
@ -76,36 +66,27 @@ baffles.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
rotating.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
sparger.stl
{
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
includedAngle 120;
}
includedAngle 120;
writeObj no;
writeObj no;
}
*/

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;
}

View File

@ -19,14 +19,11 @@ DTC-scaled.stl
// 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 @@ DTC-scaled.stl
// Write options
// Write features to obj format for postprocessing
writeObj yes;
// Write features to obj format for postprocessing
writeObj yes;
}

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;
}
// includedAngle:
// 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
{