intyp
The intyp command chooses the interpolation James uses where a script has not asked for one.
Syntax
intyp <option>
option is 1 for linear interpolation or 2 for transfinite interpolation. The default is 1.
What it does
Where no lin or tf command reaches a face or a block, James fills in its interior by the default. Option 1 uses linear interpolation, the kind lin asks for. Option 2 uses transfinite interpolation, the kind tf asks for, for faces and blocks. Edges are linear under either option.
When James applies it
When the part is meshed. James records the value in force when the part ends, and the setting stays for later parts until you change it. It is legal in any phase: Control, Part or Merge.
Rules James adds
- Under
intyp 2atfon a single region does nothing, because transfinite interpolation is already the default there. A single-regionlindoes change the result, because it forces the linear family onto a region that would otherwise be transfinite. - A missing value is E0220 reported at the
intypkeyword.
Diagnostics
- E0220: the option is not 1 or 2, or is missing.
Example
The script tests/corpus/112-mxp-intyp-syntax/input.tg, which make test runs:
mxp 2
intyp 2
block 1 2;1 2;1 2;0 1;0 1;0 1;
endpart
The IR holds intyp 2 on the part. An intyp 2 set inside the second of three parts gives that part and the third intyp 2 and leaves the first at intyp 1.
See also
- mxp: the other per-part setting of the meshing passes.
- Shaping a part: interpolation and the default James applies.