Chamfer3D
Chamfer edges in 3D geometry objects.
Syntax
model.component(<ctag>).geom(<tag>).feature().
    create(<ftag>,"Chamfer3D");
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
model.component(<ctag>).geom(<tag>).feature().
      create(<ftag>,"Chamfer3D")
creates a Chamfer3D feature.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).
selection("edge")
to select the edge to chamfer. The default selection is empty.
on | off
Angular tolerance used when groupcontang is on.
on | off
on | off
on | off
on | off
all | obj | dom | bnd | edg | pnt | off
Show selections of resulting objects in physics, materials, and so on, or in part instances. obj is not available in a component’s geometry. dom, bnd, and edg are not available in all features.
For information about the selresult, selresultshow and contributeto properties, search the online help in COMSOL Multiphysics to locate and search all the documentation.
The following attributes are available:
Table 3-8: 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
Chamfer a subset of edges on a block:
Model model = ModelUtil.create("Model1");
model.component().create("comp1");
model.component("comp1").geom().create("geom1",3);
model.component("comp1").geom("geom1").geomRep("cadps");
model.component("comp1").geom("geom1").create("blk1", "Block");
model.component("comp1").geom("geom1").
      create("cha1", "Chamfer3D");
model.component("comp1").geom("geom1").feature("cha1").
      selection("edge").set("blk1", new int[]{2, 4, 6, 8});
model.component("comp1").geom("geom1").feature("cha1").
      set("radius", "0.1");
model.component("comp1").geom("geom1").run();
See Also
Fillet3D