Fillet
Create circular rounded corners (fillets) in 2D geometry objects. The Design Module supports 3D fillets.
Syntax
model.component(<ctag>).geom(<tag>).create(<ftag>,"Fillet");
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>).getType(property);
model.component(<ctag>).geom(<tag>).feature(<ftag>).setAttribute(attribute,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getAttribute(attribute);
Description
Use model.component(<ctag>).geom(<tag>).create(<ftag>,"Fillet") to round corners in 2D.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("point") to select which corners to round. The default selection is empty.
none | custom | integer between 1 and the number of colors in the current theme
The color to use. Active when color is set to custom.
on | off
on | off
all | obj | dom | bnd | pnt | off
Show selections, if selresult is on, in physics, materials, and so on; in part instances; or in 3D from a plane geometry. obj is not available in a component’s geometry. dom, bnd, and edg are not available in all features.
For information about the selresult and contributeto properties, see Selections of Geometric Entities.
The point property always contains the vertices to fillet in the usual geometry visualization. If the Fillet feature was created in the sketch visualization, the property selectinsketch is on, and the selection pointinsketch contains the vertices to fillet in the sketch visualization.
Additional properties are available with the Design Module, see Fillet.
The following attributes are available:
Table 3-81: Valid attributes
on | off | inherit
Designate the resulting objects as construction geometry. Use inherit to set the construction geometry attribute only if all input objects are construction geometry.
Example
Fillet a rectangle object:
Code for Use with Java
Model model = ModelUtil.create("Model1");
model.component().create("comp1");
GeomSequence g = model.component("comp1").geom().create("geom1",2);
g.create("r1","Rectangle");
g.create("fil1","Fillet");
g.feature("fil1").selection("point").set("r1(1)",new int[]{1,2,3,4});
g.feature("fil1").set("radius",0.1);
g.run();
Code for Use with MATLAB
model = ModelUtil.create('Model1');
model.component.create('comp1');
g = model.component('comp1').geom.create('geom1',2);
g.create('r1','Rectangle');
g.create('fil1','Fillet');
g.feature('fil1').selection('point').set('r1(1)',1:4);
g.feature('fil1').set('radius',0.1);
g.run;
Diagnostics
If Fillet does not succeed in creating a rounded corner according to the specified radius, the vertex is skipped. When a fillet intersects another edge, the function generates an error message.
See Also
Chamfer