I need some help from people smarter than myself, i have linear open scan that is created on both sides of the wall of the part, and i need to export the location of each of 30 points in the scan, in order to see how the wall of the part is wearing under use. how do i write the code so it pulls the xy location of these points inside the scans? then what do ii need to be able to report them?
exporting x,y,z values from points inside an analog scan
Collapse
X
-
I would do something like this (pseudocode as I'm typing it from scratch, not near a pdcmis seat)
assign/count=1
assign/endcount=SCN1.numhits +1
do/
--(construct generic point PNT1)
---in PNT1, define all XYZ and IJK Theo and Measured values with the following:
SCN1.hit[count].TX,SCN1.hit[count].TY,SCN1.hit[count].TZ,
SCN1.hit[count].X,SCN1.hit[count].Y,SCN1.hit[count].Z,
SCN1.hit[count].TI,SCN1.hit[count].TJ,SCN1.hit[count].TK,
SCN1.hit[count].I,SCN1.hit[count].J,SCN1.hit[count].K,
Dim output location of PNT1
output x
output y
output z
assign\count=count+1
until/ count==endcount
your dim output should have labels that serialize the points with the hit number in brackets PNT1[1], PNT1[2], PNT1[3] etc...Last edited by louisd; 05-10-2019, 05:40 PM.
-
Originally posted by charliejoe View PostI need some help from people smarter than myself, i have linear open scan that is created on both sides of the wall of the part, and i need to export the location of each of 30 points in the scan, in order to see how the wall of the part is wearing under use. how do i write the code so it pulls the xy location of these points inside the scans? then what do ii need to be able to report them?
Originally posted by charliejoe View Postneed to export the location of each of 30 points in the scan
Originally posted by charliejoe View Postneed to be able to report them
Originally posted by charliejoe View Postin order to see how the wall of the part is wearing under use
The end-goal is reporting wall wear under use.
Right away, PC-DMIS sucks as it only generates a report for each program run: it cannot collect and compare historical data.
PC-DMIS can only use CAD surface or simple geometry (flat plane or circle/cylinder) for nominal, not imported text XYZIJK, when reporting deviation. This means each iteration of the wear test measurement can only show the current state of deviation from CAD nominal, so you would have to collect the individual reports in order to try and demonstrate the wear trend (good luck with an audience who can't read CMM reports...).
You can also export the measured data straight to an IGES file, import it into CAD system, and do comparisons there. Maybe the CAD software you (or your coworkers) are using is brilliant at making snazzy colorful screen-dumps showing the wear trend, maybe it sucks, but it's a valid method.
However, if you export the XYZ data into text as shown above ( props to louisd and JEFMAN ) then you can dive into the fun world of graphing in Excel where you can burn super amounts of time up creating beautiful color graphs flawlessly communicating the wear trend to all audiences.
- Likes 2
Comment
-
Originally posted by Ego Murphy View PostAlways focus on the end-goal and make decisions based on that, don't get lost in the technical twists and turns of methods that may not get you there with a win.PcDmis 2015.1 SP10 CAD++
Global 7-10-7 DC800S
Comment
-
Ego Murphy : if you create the first scan as "master", isn't it a way to compare directly ? (not sure, I'd never tried, but Ithought it was made for it...)
Comment
-
Originally posted by JEFMAN View PostEgo Murphy : if you create the first scan as "master", isn't it a way to compare directly ? (not sure, I'd never tried, but Ithought it was made for it...)
Comment
Related Topics
Collapse
-
by Steve RHi everyone, how do u convert a scan into polnts
-
Channel: PC-DMIS for CMMs
05-23-2017, 08:51 PM -
-
by Steve RHi all, if i convert my scan into points , can I convert the points back to a can (using TP, prode)
-
Channel: PC-DMIS for CMMs
07-04-2017, 11:44 AM -
-
by jasonpkleeHello everyone. I just completed my pc-dmis training and have just started doing some jobs using CMM. In all intents and purposes, I'm a newb so hope...
-
Channel: PC-DMIS for CMMs
02-17-2009, 07:21 PM -
-
by cappy6124I ran into an error where ttp and scan points were coming up .010 different so, i converted to points using the "to points command"
...-
Channel: PC-DMIS for CMMs
08-13-2012, 01:31 PM -
-
by DeWain HodgeI have a "D" boss I'm scanning the outside of using a closed linear scan (SP25) and then picking the radii (create circle "segment of scan")...
-
Channel: PC-DMIS for CMMs
12-22-2008, 08:23 AM -
Comment