velocity foreach A ~ Z

本文介绍了一个使用模板语言生成包含所有英文字母的导航栏的方法。通过简单的循环结构,可以便捷地创建一个美观且实用的字母索引导航。适用于需要快速实现字母导航功能的网站。
#set($leteers=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"])
					#foreach ($leter in $leteers)
    					<a class="firstLetter">$leter</a>
					#end

 

<td class="size36 brightgreen13 letterspacing10">
										    					<a class="firstLetter">A</a>
					    					<a class="firstLetter">B</a>
					    					<a class="firstLetter">C</a>
					    					<a class="firstLetter">D</a>
					    					<a class="firstLetter">E</a>
					    					<a class="firstLetter">F</a>
					    					<a class="firstLetter">G</a>
					    					<a class="firstLetter">H</a>
					    					<a class="firstLetter">I</a>
					    					<a class="firstLetter">J</a>
					    					<a class="firstLetter">K</a>
					    					<a class="firstLetter">L</a>
					    					<a class="firstLetter">M</a>
					    					<a class="firstLetter">N</a>
					    					<a class="firstLetter">O</a>
					    					<a class="firstLetter">P</a>
					    					<a class="firstLetter">Q</a>
					    					<a class="firstLetter">R</a>
					    					<a class="firstLetter">S</a>
					    					<a class="firstLetter">T</a>
					    					<a class="firstLetter">U</a>
					    					<a class="firstLetter">V</a>
					    					<a class="firstLetter">W</a>
					    					<a class="firstLetter">X</a>
					    					<a class="firstLetter">Y</a>
					    					<a class="firstLetter">Z</a>
									</td>

 

wall attribute command Syntax wall attribute <facet> <vertex> keyword ... <range> Primary keywords: centrotation | conveyor | cutoffang | displacement | euler | fragment | position | spin | velocity | xcentrotation | xconveyor | xdisplacement | xeuler | xposition | xspin | xvelocity | ycentrotation | yconveyor | ydisplacement | yeuler | yposition | yspin | yvelocity | zcentrotation | zconveyor | zdisplacement | zeuler | zposition | zspin | zvelocity Set the value of wall attributes. This command is a synonym for the wall initialize command. Individual attributes can be listed with the wall list command and all attributes can be visualized. The optional vertex kewyord can be used to with the velocity, xvelocity, yvelocity, or zvelocity keywords to set the vertex velocities for vertices in the specified range. The optional facet keyword can be used with the conveyor, xconveyor, yconveyor, or zconveyor keywords to set the facet conveyor velocities for facets in the specified range. centrotation vcen Set the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin. conveyor vconcvel Set the facet conveyor velocity vector. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets. cutoffang fang Set the cutoff angle (an angle in degrees) for walls. By default, the cutoff angle is 0. This angle controls contact state information propagation. displacement vdisp Accumulated wall displacement vector as a result of cycling. euler veuler (3D ONLY) Current orientation of Euler angles following the X,Y,Z convention (e.g., rotation about the x-axis followed by rotation about the y'-axis followed by rotation about the z''-axis) in degrees. The orientation is updated only when orientation tracking has been enabled (see set orientation command). When active, the current clump orientation can be visualized. fragment i Fragment ID (see "Fragment"). position vpos Wall location vector. This corresponds to the average position of all vertices. The center of rotation is not modified. spin fspin fspiny fspinz (y- and z- components are 3D ONLY) The wall angular velocity in radians per second. Walls rotate around their center of rotation. velocity vel Wall translational velocity vector. If given with the vertex keyword, then this corresponds to the vertex velocity and the range applies to vertices. xcentrotation fcenx Set the x-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin. xconveyor fconcvelx Set the x-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets. xdisplacement fdispx The x-component of the accumulated wall displacement as a result of cycling. xeuler feulerx (3D ONLY) The x-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details. xposition fposx The x-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified. xspin fspinx (3D ONLY) The x-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation. xvelocity fvelx The x-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the x-component of the vertex velocity and the range applies to vertices. ycentrotation fceny Set the y-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin. yconveyor fconcvely Set the y-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets. ydisplacement fdispy The y-component of the accumulated wall displacement as a result of cycling. yeuler feulery (3D ONLY) The y-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details. yposition fposy The y-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified. yspin fspiny (3D ONLY) The y-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation. yvelocity fvely The y-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the y-component of the vertex velocity and the range applies to vertices. zcentrotation fcenz (3D ONLY) Set the z-component of the center of rotation for walls in the range. This is the position about which rotations occur when an angular velocity is supplied to a wall. The center of rotation translates with the wall if a translational velocity is supplied. The default center of rotation is the origin. zconveyor fconcvelz (3D ONLY) Set the z-component of the facet conveyor velocity. If given with the facet keyword, then the range applies to facets. Otherwise the conveyor velocity is set for all facets in each wall in the specified range. The conveyor velocity is a fictitious velocity that is added to the wall velocity when calculating the relative velocity between a facet and another piece. A conveyor velocity cannot be active when vertex velocities are active. Setting a nonzero conveyor velocity allows one to simulate conveyance of balls or clumps along facets without moving the facets. zdisplacement fdispz (3D ONLY) The z-component of the accumulated wall displacement as a result of cycling. zeuler feulerz (3D ONLY) The z-euler angle (in degrees) of the current wall orientation. See the euler keyword for further details. zposition fposz (3D ONLY) The z-component of the wall location. This corresponds to the average position of all vertices. The center of rotation is not modified. zspin fspinz (3D ONLY) The z-component of the wall angular velocity in radians per second. Walls rotate around their center of rotation. zvelocity fvelz (3D ONLY) The z-component of the wall translational velocity. If given with the vertex keyword, then this corresponds to the z-component of the vertex velocity and the range applies to vertices. Usage Example Be aware of the distinction between attributes and properties! The tutorial example "Attributes and Properties" discusses this issue in detail. © Copyright 2015, Itasca Consulting Group Inc. Last updated on Jun 24, 2016. 学习这些资料研磨球形wall坐标为[grind_x = 0.2e-5][grind_y = 0.2e-5][grind_z = 12e-7],写出球形wall绕着z轴以一角速度旋转的PFC命令流,
最新发布
07-08
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值