Can I convert points of a plane into individual points 0 O W) H; @8 _1 ^& X+ D0 P4 V
7 s$ W% w6 z4 I( B( `
我能从多点组成的面中分离出单独的点吗?
7 l: e1 a1 C5 s; O7 H3 x, u! r+ |: }+ ^4 U
I'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 1 r* R! M$ |9 O# ~
( T& U3 B F/ x8 }$ G$ A
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
( ^* L6 ]! I, I, x5 J
8 s4 N8 Q' p, O. Dplane 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
% d3 C7 F& i8 N( s0 ]1 C' F) ?
3 P( M, u( m" J( ]! [1 F# Dto 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.
# y( P5 A& x0 ^6 H ?& @8 N( S( |
" b7 I: M4 s" ]5 Y U! R对不起,我不是为了好玩而是真的工作需要,我有一个圆盘工件,上面分布20个轮廓,每个轮廓有3个凸行。 我需要检查两个面之间的z轴距离.在工件坐标系中需要整理每一个面,
- l! K$ x E. M# E9 N; t: V" |- @这将很容易将 1, 5 点分离出,同时调出一个单独的点坐标就可以得到我的z轴距离.我不能得到一个循环是因为每一个点和面都需要一个独立的名字.为了cmm更容易的输出科学的计/ x% z$ W5 P, U( I( O W
! A- H8 y$ l: I+ A. A# y
算值.在每个孔的地步我取了25个点以描述每个圆轮廓4 N7 n: d/ K+ D: j8 k( ~8 E
3 j/ i3 e9 Z x5 e. c; O0 T! n--------------------------------------------------------------------------------4 j5 E' r% A4 g; {! C! n
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 . \) ^: n; n1 r
: U9 U* G$ O! w8 ]; o" Q5 Fwith
2 ?8 Z$ H# o& I2 M( e+ W" f4 n, F% e3 J8 r8 u. k" b, @9 S
为什么你不测量点要素,然后你可以将点云组合成平面,同时你依然拥有点要素做进一步的分析. u: f) _+ L* O7 F" v: |
' D( @1 `4 ?2 H$ W$ z/ W" ?--------------------------------------------------------------------------------
) [8 p# a# @! [; R! |9 G' X2 K1 @Thanks 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., g1 v( }& t' _1 j
' S, w: K7 g7 t+ O: ^; m: b' D
谢谢回复,我已经那样做了, 但是我想能不能从平面上抓一点,而不是想手动的测量平面点.9 x: g2 x( H, c+ g! s
' N4 Y' A& G6 B/ B* `
--------------------------------------------------------------------------------. v9 S6 [6 D/ R" A0 I: i( D% h5 P- v3 O
If you have measured the plane(s) as auto planes, then you can get hold of the individual measured points using the formula calculation tokens4 b5 M) y5 y3 M& `! l
- 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
4 s% F& k0 Y$ Y. M& R' V" [$ y
# A/ A% V" P9 N+ sof each plane to grab hold of the X,Y & Z vals of each point and transfer them into individual element points.
9 @, S& F0 E0 a# x" {% |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
" \! O1 E, R: l) O" p0 _! K6 wClick here for plane points._PI
) e$ H! V1 I( Y" [' \2 l5 @9 `7 _9 K: g, Y [3 ~: \. Q
如果你已经测量平面为自动平面,那么你能得到一个单独的点通过变量计算( E$ R0 s# _' o! v! r
- 举例来说 'PL[1].MP[1].X'将会返回平面第一个点的x轴坐标值. 因此你仅仅需要做一个简单的循环从每一个面的测量结果中分离出它每一个点的xyz坐标值.然后把他们组合成$ J* D) w/ m3 ?4 h r
9 ^+ x$ j0 F, ?$ Y9 R# X- P" g: @
一个个单独的点要素
# a5 O; G. F# F0 f; {$ }2 x l+ C8 c& r$ `/ d k l3 f
9 E+ c& @: _& a* u
注意,这些点是没有探针补偿。 我已经尝试附上一个程序例子(.CAB and ._PI files),你可以从程序入口导入
* C5 [7 G0 U( _) w6 d& y点击这里为了平面点。_PI , k% J M$ W3 y" H) l, u$ P
& g# z& h: {9 F* B--------------------------------------------------------------------------------+ {* B7 l/ p9 d: i4 F
flyfish - send me your email and I will send the program to you
9 X) K. G1 g7 c6 C# mflyfish -把你的电子邮件发给我和我把程序发给你3 D4 V/ K! D2 P3 `8 A9 C- O
# U) m: B8 ^: {) [+ Z; Y; q+ ?
--------------------------------------------------------------------------------* r' O) L0 G( M1 p# @2 X/ O
When you grab the points in formula calculation, you should be able to
0 p9 {+ i2 U& D8 r/ U3 ?also deduct the probe radius result to equate to a compensaed point.
4 v+ v7 G1 Z; k, Y3 }# b1 A+ i/ h5 @/ f, m% Y
Obviously only if you probed perpendicular to the surface. . . I think .
. m0 c7 G) y* ~, d$ H/ G5 r3 d P, Y' \
: q1 Q1 N% S# N+ u7 Z3 L' N当你抓取测量点的时候,你同样能够到也减去探针半径值得到一个无补偿点。
* C1 i# x5 `. g, x J- `5 S3 i: M* |, H
当然如果你的探针运动轨迹垂直与工件表面... 我个人看法。 |