CompositeEdges
Form composite edges.
Syntax
model.component(
<ctag>
).geom(
<tag>
).create(
<ftag>
,"CompositeEdges");
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).selection(
property
);
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).set(
property
,
<value>
);
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).get
Type
(
property
);
Description
Use
model.component(
<ctag>
).geom(
<tag>
).create(
<ftag>
,"CompositeEdges")
to form composite edges.
Use
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).selection("input")
to select the edges to concatenate. The default selection is empty.
The feature forms a composite edge for each connected edge component (of manifold type) of the selected edges by ignoring the vertices between the edges. The output object is a virtual geometry.
The following properties are available:
Table 3-39:
Valid Properties
Name
Value
Default
Description
input
Selection
Edges to composite.
keepformesh
on
|
off
off
Keep input edges for mesh control.
Use
keepformesh
to keep the input edges while meshing, to help you in constructing the mesh.
Note that the operation never forms composite edges that are closed loops or periodic, that is, every resulting edge has distinct start and end vertices.
Example
Compose edges 2 and 4 of a circle into one edge.
Code for Use with Java
Model model = ModelUtil.create("Model");
model.component().create("comp1");
GeomSequence g = model.component("comp1").geom().create("geom1", 2);
g.create("c1", "Circle");
g.run("fin");
g.create("cme1", "CompositeEdges");
g.feature("cme1").selection("input").set("fin", 2, 4);
g.run();
Code for Use with MATLAB
model = ModelUtil.create('Model');
model.component.create('comp1');
g = model.component('comp1').geom.create('geom1', 2);
g.create('c1', 'Circle');
g.run('fin');
g.create('cme1', 'CompositeEdges');
g.feature('cme1').selection('input').set('fin', 2, 4);
g.run;
See Also
CompositeDomains
,
CompositeFaces
,
IgnoreVertices