EdgeMap
Specify an edge map for a face copy or a domain copy operation.
Syntax
model.component(<ctag>).mesh(<tag>).create(<ftag1>,"EdgeMap");
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).selection(property);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).
    set(property,<value>);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).getType(property);
Description
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,"EdgeMap") to define an edge mapping for CopyFace or CopyDomain feature <ftag>.
The following properties are available:
auto | same | opposite
The direction of dstedge relative srcedge.
Use the EdgeMap feature if you need to control how the source and destination faces/domains are matched in a copy face or a copy domain mesh operation. When this feature is present, the source mesh is transformed so that srcedge is mapped onto dstedge. The relative orientation of the edges is specified by the direction property.
Example
Create a block and then mesh Face 1 with a fine mesh on Edge 1. Copy this mesh to face 6 and ensure that the fine mesh of Edge 1 ends up on Edge 12.
Code for Use with Java
Model model = ModelUtil.create("Model");
model.component().create("comp1");
GeomSequence g = model.component("comp1").geom().create("geom1", 3);
MeshSequence m= model.component("comp1").mesh().create("mesh1", "geom1");
 
g.create("blk1", "Block");
g.run();
 
m.create("ftri1", "FreeTri");
m.feature("ftri1").selection().set(new int[]{1});
m.feature("ftri1").create("size1", "Size");
m.feature("ftri1").feature("size1").selection().geom("geom1", 1).set(new int[]{1});
m.feature("ftri1").feature("size1").set("hmax", "0.01");
 
m.create("cpf1", "CopyFace");
m.feature("cpf1").selection("source").set(new int[]{1});
m.feature("cpf1").selection("destination").set(new int[]{6});
m.feature("cpf1").create("em1", "EdgeMap");
m.feature("cpf1").feature("em1").selection("dstedge").set(new int[]{1});
m.feature("cpf1").feature("em1").selection("dstedge").set(new int[]{12});
 
m.run();
Code for Use with MATLAB
model = ModelUtil.create('Model');
model.component.create('comp1');
g = model.component('comp1').geom.create('geom1', 3);
m = model.component('comp1').mesh.create('mesh1', 'geom1');
 
g.create('blk1', 'Block');
g.run;
 
m.create('ftri1', 'FreeTri');
m.feature('ftri1').selection().set(1);
m.feature('ftri1').create('size1', 'Size');
m.feature('ftri1').feature('size1').selection().geom('geom1', 1).set(1);
m.feature('ftri1').feature('size1').set('hmax', '0.01');
 
m.create('cpf1', 'CopyFace');
m.feature('cpf1').selection('source').set(1);
m.feature('cpf1').selection('destination').set(6);
m.feature('cpf1').create('em1', 'EdgeMap');
m.feature('cpf1').feature('em1').selection('dstedge').set(1);
m.feature('cpf1').feature('em1').selection('dstedge').set(12);
 
m.run;
See Also
CopyFace, CopyDomain, OnePointMap, TwoPointMap