21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

extrude<br />

Face specifies if cross-sectional faces are removed: 'all' removes them, 'none' keeps<br />

them.<br />

Compatibility<br />

The numbering of faces, edges and vertices is different from the numbering in<br />

objects created in 2.3.<br />

Examples Creation of a cylinder of height 1.3.<br />

g3 = extrude(circ2,'distance',1.3);<br />

Extrusion of rectangle from a zx-plane.<br />

p_wrkpln = geomgetwrkpln('quick',{'zx',10});<br />

g3 = extrude(rect2(1,2),'distance',1.3,'displ',[0.4;0],...<br />

'scale',[2;2],'wrkpln',p_wrkpln);<br />

geomplot(g3);<br />

Cubic extrusion of a circle.<br />

g3 = extrude(circ2,'distance',[1 3 4;0.3 0.3 0.3;0.3 0.3 0.3],...<br />

'scale',[1 1.5 2;1 1 2],'twist',[0 pi/6 pi/6],...<br />

'displ',[0 0 0;0 1 1]);<br />

See Also<br />

geom0, geom1, geom2, geom3, geomcsg, geomgetwrkpln<br />

116 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!