找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: yuanguoan

[基础] 5轴编程刀轴控制方法讲解

 火... [复制链接]

2

主题

121

回帖

66

积分

注册会员

积分
66
发表于 2015-9-3 23:37:48 | 显示全部楼层
钱钱钱,,,木有钱
回复

使用道具 举报

15

主题

284

回帖

353

积分

中级会员

积分
353
发表于 2015-9-5 07:58:04 | 显示全部楼层
学习一下,谢谢分享
回复

使用道具 举报

2

主题

121

回帖

66

积分

注册会员

积分
66
发表于 2016-3-15 14:37:08 | 显示全部楼层
看看是不是真的
回复

使用道具 举报

4

主题

25

回帖

15

积分

新手上路

积分
15
发表于 2016-3-15 19:28:17 | 显示全部楼层
就不懂我看看呐NAME' X& n1 w1 }, G) z
after - Execute a command after a time delay
' K+ \, b( N9 f9 s% O$ qSYNOPSIS7 m4 u7 Z7 q# n6 {5 e: F
after ms
" ?. A8 }' Q- T6 C( Q" vafter ms ?script script script ...?
: Z( a8 G" y: x+ [  Jafter cancel id
, U9 ^9 w! E& ?+ k: L; \* lafter cancel script script script ...
0 w. p. ?1 V. V' yafter idle ?script script script ...?
2 o* ^2 f0 B! dafter info ?id?/ Z2 M# G* \$ F" b4 {: r. ~# c
DESCRIPTION
6 `, ?: O6 I; j  v  E# X# rafter ms
$ m4 P+ x4 ]4 _0 `after ms ?script script script ...?. |- i& B7 f. Y! |; p. k
after cancel id
; I8 G- C9 Z7 X& G/ Kafter cancel script script ...
+ K% [7 z8 {. Aafter idle script ?script script ...?0 f; Q! I- v* x
after info ?id?- Z6 ]& P' x7 b% q: f
SEE ALSO
; S% X0 T- o7 D) n! d- b5 ~5 f- A# {/ fKEYWORDS
! V5 \: N( ~- y0 l: ~  qNAME
& I9 V3 ~2 n3 t, H& Q' Y
; j( t8 B" r$ L+ Q  s8 g" |after - Execute a command after a time delay; F* G( O7 g6 g( m2 {8 M
SYNOPSIS
: }5 R1 K) s" z
# q$ y3 O6 y5 R  v9 P% q, j9 x( U/ |after ms! ^; }& u* M2 E% I5 E5 G
after ms ?script script script ...?
2 \5 Y7 O8 e7 |# _* r6 Rafter cancel id
7 s/ O3 v- v, S5 ^6 P3 _  k, I& d! Pafter cancel script script script ...* b6 p) L0 ~: I+ x" }
after idle ?script script script ...?
" Z2 t- o- e  Z9 ]  Q8 Q" Fafter info ?id?9 s/ y2 a  K, o. l$ b
DESCRIPTION9 i; v5 v" l% t' p0 \- [

9 t9 E( X7 Z6 y; f9 SThis command is used to delay execution of the program or to execute a command in background sometime in the future. It has several forms, depending on the first argument to the command:
' a+ q) {' p* `, T, fafter ms
$ p6 {7 W: m+ }% N: oMs must be an integer giving a time in milliseconds. The command sleeps for ms milliseconds and then returns. While the command is sleeping the application does not respond to events.6 V3 D4 A7 O9 y6 S
after ms ?script script script ...?
. g+ F" }. l0 x2 oIn this form the command returns immediately, but it arranges for a Tcl command to be executed ms milliseconds later as an event handler. The command will be executed exactly once, at the given time. The delayed command is formed by concatenating all the script arguments in the same fashion as the concat command. The command will be executed at global level (outside the context of any Tcl procedure). If an error occurs while executing the delayed command then the bgerror mechanism is used to report the error. The after command returns an identifier that can be used to cancel the delayed command using after cancel.
8 T) ~2 r. j$ m/ r' Zafter cancel id
: z# ]+ n5 m0 c0 W; x2 ]Cancels the execution of a delayed command that was previously scheduled. Id indicates which command should be canceled; it must have been the return value from a previous after command. If the command given by id has already been executed then the after cancel command has no effect.# C0 F& g$ T8 D; l+ `) j
after cancel script script ...7 V% v. s! V/ \4 l# K4 L1 W/ A7 I7 s
This command also cancels the execution of a delayed command. The script arguments are concatenated together with space separators (just as in the concat command). If there is a pending command that matches the string, it is cancelled and will never be executed; if no such command is currently pending then the after cancel command has no effect., d( E) C$ v' Y2 R2 |7 G
after idle script ?script script ...?) Q! {' W2 B  `" c& z
Concatenates the script arguments together with space separators (just as in the concat command), and arranges for the resulting script to be evaluated later as an idle callback. The script will be run exactly once, the next time the event loop is entered and there are no events to process. The command returns an identifier that can be used to cancel the delayed command using after cancel. If an error occurs while executing the script then the bgerror mechanism is used to report the error.
1 I9 x8 N* b- Kafter info ?id?8 q" {; @% z! P! o# e) h
This command returns information about existing event handlers. If no id argument is supplied, the command returns a list of the identifiers for all existing event handlers created by the after command for this interpreter. If id is supplied, it specifies an existing handler; id must have been the return value from some previous call to after and it must not have triggered yet or been cancelled. In this case the command returns a list with two elements. The first element of the list is the script associated with id, and the second element is either idle or timer to indicate what kind of event handler it is.
9 z6 @+ O; i, \; W) @' \The after ms and after idle forms of the command assume that the application is event driven: the delayed commands will not be executed unless the application enters the event loop. In applications that are not normally event-driven, such as tclsh, the event loop can be entered with the vwait and update commands.1 V% p& h6 ~8 b' o
4 Q  v# C8 g% @  k
SEE ALSO0 c' ]& k8 ]/ f. F& U8 ?( G6 S

# {* {' \0 v. O( [bgerror% N3 }& O8 Z7 _6 m+ x4 o& m2 q1 c
KEYWORDS" T9 V  s2 X1 B1 d
* X8 J, ~& _, @& l  Q- I6 ?
cancel, delay, idle callback, sleep, time$ ~2 c# t; C7 y, |
Copyright © 1990-1994 The Regents of the University of California.
4 Q: b) C* k# [+ N1 T/ OCopyright © 1994-1996 Sun Microsystems, Inc.
8 y, {: W! e. rCopyright © 1995-1997 Roger E. Critchlow Jr.
回复

使用道具 举报

0

主题

3

回帖

5

积分

新手上路

积分
5
发表于 2016-3-18 07:54:44 | 显示全部楼层
谢谢楼主辛苦了
回复

使用道具 举报

0

主题

219

回帖

257

积分

注册会员

积分
257
发表于 2016-5-20 16:07:21 | 显示全部楼层
謝謝大大提供
回复

使用道具 举报

0

主题

320

回帖

246

积分

注册会员

积分
246
发表于 2016-9-2 09:58:01 | 显示全部楼层
正需要呢。。。。。
回复

使用道具 举报

0

主题

19

回帖

25

积分

注册会员

积分
25
发表于 2016-10-3 16:34:35 | 显示全部楼层
很好的资料  好人一生平安
回复

使用道具 举报

0

主题

49

回帖

30

积分

注册会员

积分
30
发表于 2017-12-28 20:55:13 | 显示全部楼层
学习学习了
回复

使用道具 举报

0

主题

464

回帖

1263

积分

实习版主

积分
1263
发表于 2017-12-28 21:52:34 | 显示全部楼层
學習學習.謝謝分享,好資料
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /2 下一条

QQ|Archiver|手机版|小黑屋|若枫后处理论坛 ( 苏ICP备11015087号-1|苏公网安备32059002001368号 )

GMT+8, 2024-4-17 05:20 , Processed in 0.280801 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表