Can I convert points of a plane into individual points ) L F- W: t8 p$ X
+ v/ |# ~) R, q5 l我能从多点组成的面中分离出单独的点吗?3 [! t" i, T& o& C" G W$ Z
* {+ V* J0 f, ?4 |0 dI'm sorry, I have not played around to find out for myself due to work load but, I have a disc with 20 pockets, each pocket has 3 recesses. I need to check
; d9 `1 y) X! S6 o; `4 ]/ ~) I- Y2 D3 a5 ^
the "Z" distance between 2 planes and since I need to referance / align each plane later in the PPG, it would be much easier to pull 1, 5 points out from the 1 l: k3 ~/ G8 J0 O+ i
Y; D+ g& b5 j
plane and call it an individual point to get my "Z" distance. I can not due a loop due to each point and plane needs a seperate name and for the scientists
) M1 k y, f3 w) V' f/ \
: r8 E# s' v6 K4 h% t3 b4 ~" _9 bto be able to figure out the CMM output easily and at the bottom of each pocket I take 25 pt's so tghey can determin contour of each pocket.* z5 z* b6 S8 p5 |
' \# E; I4 w2 k5 ]0 U- J6 ?对不起,我不是为了好玩而是真的工作需要,我有一个圆盘工件,上面分布20个轮廓,每个轮廓有3个凸行。 我需要检查两个面之间的z轴距离.在工件坐标系中需要整理每一个面,
+ d; k: v! w6 `$ D; h8 }这将很容易将 1, 5 点分离出,同时调出一个单独的点坐标就可以得到我的z轴距离.我不能得到一个循环是因为每一个点和面都需要一个独立的名字.为了cmm更容易的输出科学的计
! d+ ?4 g7 e7 L& h; m& Q# Z" ~$ x0 T( e( ], t# Z: u3 Y; B
算值.在每个孔的地步我取了25个点以描述每个圆轮廓
' E& J$ N. W4 ?, P
0 M f$ q- K u# S& s--------------------------------------------------------------------------------8 ?3 p) Z: {5 B \# i
why don't you measure as points, then you can connect the sets of points together as planes, but you will still have the points to do any further analysis : t3 R: y4 |$ a7 W1 G7 x. m- k% Z) N1 V
# r0 s8 N8 f* B" P: E+ p
with
: q$ e1 ^. a" n$ t6 m& ]/ j% Y. Y( a) x
为什么你不测量点要素,然后你可以将点云组合成平面,同时你依然拥有点要素做进一步的分析
) }; D. S, ?9 |8 h
8 ^# V, g' ~6 f# t7 D: H--------------------------------------------------------------------------------
$ v6 }1 P8 `2 i) V/ lThanks for the input, I've done that before but just thought I could grab a point of a plane rather than having to manually take my plane points./ s' q' O9 O( P7 q+ [
( `% |* n1 l" J2 t7 n$ [; i6 V( T谢谢回复,我已经那样做了, 但是我想能不能从平面上抓一点,而不是想手动的测量平面点.4 q. z- R5 {6 o9 \; y
# o X$ G0 C7 Y1 Y--------------------------------------------------------------------------------
7 e. n( K2 G3 \; U$ }If you have measured the plane(s) as auto planes, then you can get hold of the individual measured points using the formula calculation tokens
, Z2 C$ m7 D$ |0 `) v- for example 'PL[1].MP[1].X' would return the value in X of the first point in plane memory 1. So you could just process a simple loop after the measurement & |3 I5 s# A. D% x5 L
( G5 @; k! Q( J5 S
of each plane to grab hold of the X,Y & Z vals of each point and transfer them into individual element points.% x0 `& F F1 v& T# r
Be aware that the points are uncompensated. I have attempted to attach the example prog (.CAB and ._PI files) which you can import from the part manager
! p$ N, Q1 O7 q: m0 E4 yClick here for plane points._PI Q; r% J a4 E
. Z9 w. `4 }: C, _4 b; B! [
如果你已经测量平面为自动平面,那么你能得到一个单独的点通过变量计算, ]7 {- J& Z/ C! n/ ]+ `" |% u
- 举例来说 'PL[1].MP[1].X'将会返回平面第一个点的x轴坐标值. 因此你仅仅需要做一个简单的循环从每一个面的测量结果中分离出它每一个点的xyz坐标值.然后把他们组合成
$ _. _* }, F- M6 ~- ]1 B! A$ ^$ |! g$ T. A: b9 C# v
一个个单独的点要素
& o* t6 K B8 S: x) @; o. `2 w: V' J) h6 } T9 X
* a+ A( z# p$ W* z. O
注意,这些点是没有探针补偿。 我已经尝试附上一个程序例子(.CAB and ._PI files),你可以从程序入口导入
$ Y/ z+ E! S7 A; L点击这里为了平面点。_PI
! A" v2 v& V2 p $ S/ t4 j- v2 U: H
--------------------------------------------------------------------------------
7 c2 d! d( Z# C, c% C1 Qflyfish - send me your email and I will send the program to you
( W6 e5 J. ?- k% b' {flyfish -把你的电子邮件发给我和我把程序发给你
9 E6 k0 z+ ^! v2 |1 N4 J) s# w' v) u. d / ?* H, y' k3 x3 r
--------------------------------------------------------------------------------
* O, k, Y/ A2 h) O, u) }; oWhen you grab the points in formula calculation, you should be able to
& w u/ c% R' @, r1 \) d: V, `also deduct the probe radius result to equate to a compensaed point.: }2 X; `* Y* I1 E
$ ^1 I+ h9 ~6 {. GObviously only if you probed perpendicular to the surface. . . I think . - q, |9 Z* s4 c1 Y
8 `" o$ k" M5 r$ d E5 l' W当你抓取测量点的时候,你同样能够到也减去探针半径值得到一个无补偿点。
- S/ G4 x! R+ ?% _. }# ~7 i! u' o8 H1 {
当然如果你的探针运动轨迹垂直与工件表面... 我个人看法。 |