3d best fit, iterative or ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3d best fit, iterative or ?

    Hello.
    I am having some problem with the alignment of this part im gonna post a sketch and and my routine to see if I can get some help.
    test.jpg




  • #2
    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
    LOADPROBE/3MM_CARBON
    TIP/TIP1, SHANKIJK=0, 0, 1, ANGLE=0
    PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.0519,0.0003,2.8566>,<-0.001936,-0.9999981,0.0001214>
    ACTL/<27.8945,-17.0564,4.5375>,<-0.0023946,-0.0038791,0.9999896>
    TARG/<-0.0519,0.0003,2.8566>,<-0.0019212,-0.9999981,0.0001174>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-4.3961,0.0282,-0.8978>,<-0.0134343,-0.9999058,0.0028245>
    ACTL/<23.546,-20.8055,4.4926>,<-0.0138896,-0.0011622,0.9999029>
    TARG/<-4.3961,0.0282,-0.8978>,<-0.0129096,-0.9999128,0.0027872>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<4.3984,0.0333,-0.9345>,<0.0145628,-0.9998905,-0.0026438>
    ACTL/<32.3404,-20.8526,4.4914>,<0.0141011,-0.0066632,0.9998784>
    TARG/<4.3984,0.0333,-0.9345>,<0.0147008,-0.9998884,-0.0026581>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-3.1222,1.982,-2.8209>,<0,0.0740685,-0.9972532>
    ACTL/<24.8185,-22.7223,2.5317>,<-0.001134,-0.996948,-0.0780602>
    TARG/<-3.1222,1.982,-2.8209>,<0,0.0740685,-0.9972532>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<2.0443,3.1968,-2.7307>,<0,0.0740685,-0.9972532>
    ACTL/<29.9857,-22.6333,1.3196>,<-0.001134,-0.996948,-0.0780602>
    TARG/<2.0443,3.1968,-2.7307>,<0,0.0740685,-0.9972532>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-3.8934,2.2159,-1.3625>,<-0.9993908,0.0348995,-0.0000893>
    ACTL/<24.0492,-21.262,2.3033>,<-0.9993741,0.0012227,-0.0353533>
    TARG/<-3.8934,2.2159,-1.3625>,<-0.9993908,0.0348995,-0.0000893>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/BF3D,VECTOR_LST_SQR,CREATE WEIGHTS=NO,ROTANDTRANS,27.9431,-19.913,4.5264,-0.0672,-89.7707,16.3068
    ITERATEANDREPIERCECAD=YES,TOLERANCE=0.787,MAX ITERATIONS=100
    Deviation Threshold=0.005,Pause Execution=NO
    SHOWALLINPUTS=NO,SHOWALLPARAMS=NO
    ALIGNMENT/END
    PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,TRIANGLE,LEAST_SQR
    THEO/<-0.7,3.097,-2.7381>,<0,0.0740685,-0.9972532>
    ACTL/<-0.5341,2.8524,-2.752>,<-0.0021631,0.0721966,-0.9973881>
    TARG/<-0.7,3.097,-2.7381>,<0,0.0740685,-0.9972532>
    ANGLE VEC=<-1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    SHOW HITS=NO
    POINT AUTOTRIGGER/ON, OFF, 0.01
    PNT7 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.0387,0.0003,2.8265>,<-0.0018752,-0.9999982,0.0001132>
    ACTL/<-0.0742,-0.0006,2.8343>,<-0.0018752,-0.9999982,0.0001132>
    TARG/<-0.0387,0.0003,2.8265>,<-0.0018752,-0.9999982,0.0001132>
    SNAP=YES
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT8 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-4.3346,0.0258,-1.4731>,<-0.0128812,-0.9999132,0.0027865>
    ACTL/<-4.3588,0.018,-1.4766>,<-0.0128812,-0.9999132,0.0027865>
    TARG/<-4.3346,0.0258,-1.4731>,<-0.0128812,-0.9999132,0.0027865>
    SNAP=YES
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT9 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<4.4021,0.0337,-1.0717>,<0.0146599,-0.999889,-0.002646>
    ACTL/<4.3769,0.0315,-1.0522>,<0.0146599,-0.999889,-0.002646>
    TARG/<4.4021,0.0337,-1.0717>,<0.0146599,-0.999889,-0.002646>
    SNAP=YES
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT10 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-3.8613,3.1357,-0.3177>,<-0.9993908,0.0348995,-0.0000893>
    ACTL/<-3.8902,3.1368,-0.3177>,<-0.9993908,0.0348995,-0.0000893>
    TARG/<-3.8613,3.1357,-0.3177>,<-0.9993908,0.0348995,-0.0000893>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    PNT12 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<0.0099,3.1443,-2.7346>,<0,0.0740685,-0.9972532>
    ACTL/<0.0099,3.1401,-2.6785>,<0,0.0740685,-0.9972532>
    TARG/<0.0099,3.1443,-2.7346>,<0,0.0740685,-0.9972532>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SHOW HITS=NO
    A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
    ALIGNMENT/BF3D,VECTOR_LST_SQR,CREATE WEIGHTS=NO,ROTANDTRANS,-0.0281,-0.0037,0.008,0.0347,-0.0575,-0.1505
    ITERATEANDREPIERCECAD=NO
    Deviation Threshold=0.005,Pause Execution=NO
    SHOWALLINPUTS=NO,SHOWALLPARAMS=NO
    ALIGNMENT/END
    LOADPROBE/RS3-SCANNER
    TIP/TIP1, SHANKIJK=-0.0001, -1, 0.003, ANGLE=-0.0834
    COP1 =COP/DATA,TOTAL SIZE=24599105,REDUCED SIZE=24176080,
    REF=,
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL,MAXMIN,
    LOADPROBE/3MM_CARBON
    TIP/TIP1, SHANKIJK=-0.0001, -1, 0.003, ANGLE=-0.0834

    Comment


    • #3
      what I have done so far I have locate the part using a rough 6 vector point 3d best fit. then I used my datum target location per the sketch and took new hits and align to these new vector points and create a plane on datum b since there is no target point there and did another 3d best to 3 vector points for datum A, 1 vector point for datum c and a plane for datum b select all of these.. best fit method is vector least square... but problem is I don't know if this is correct.

      Comment


      • #4
        Datum A as plane with three hits, take the hits where the local datum targets are located.
        Datum B as a "regular" plane.
        Datum C as vector point, make sure to take the hit where the local datum target is located.

        Align with A as primary and zero in whatever axis you selected as primary.
        B as secondary and zero in the second axis.
        C as zero in the third axis.
        PC-DMIS CAD++ 2o19 R1 SP10

        Comment

        Related Topics

        Collapse

        Working...
        X