|
This should get you going in the right direction.
// Try this it should search through the data base and find the 399. radiuses that you are looking // for and then turn them into layer 98 and turn off all other layers. It will also explode layer 98 // into line segments and then return it to layer 99. You can change the 99 to what ever layer // you would like it to be.
#NUMELS = TOTEL() #ELNUM = 1 // THIS SECTION FINDS THE ARCS WE NEED TO WORK WITH WHILE(#ELNUM <= #NUMELS) IF(( TYP(#ELNUM)=3), AND( RAD(#ELNUM)=399.)) ELMT_GRP[AR=0, EL=#ELNUM] PCHG_LY[LY=98, PN=2] ENDIF #ELNUM=#ELNUM+1 ENDW NEW_GRP[] MASK[LY="*", SH=0] MASK[LY=98, SH=1]
NEW_GRP[] LAYER_GRP[AR=0, LY="98"] EXPLODE[EX=0, TO=0.001]
NEW_GRP[] LAYER_GRP[AR=0, LY="98"] PCHG_LY[LY=99, PN=2] NEW_GRP[
REDRAW[]
// Could anyone out there be of assistance here. // The maximum radius that my Fadal will allow is 399.999". // If an arc segment is larger than that, the tool path goes wherever it wants. // Is it possible for me to have a macro search for any radius's larger than 399" // and put them on a special layer? I could then manually replace them with line segments.
// Thanks to all,
// Sean
-----Original Message-----
Is there a way to search for an arc size larger than xx? We have 2 machines that have 2 different arc size limitations. Once in a while we get files with arcs to large for the machine. It would be great to have a macro to search for arcs {greater than}.
Steve ATM |
- [mfg-smartcam] arc size variable search Steve Buck
- RE: [mfg-smartcam] arc size variable search FLauzus
- RE: [mfg-smartcam] arc size variable search Michael Senack
- RE: [mfg-smartcam] arc size variable search Chris . Kocourek
