hexagon logo

Using all Scanned points to create a Plane

Ok usually I make alot of single points to make a plane from a bottom side, to create a plane, but I need to be a lot more precise in this situation. So I have created 2 Plane Adaptive Scans and I want to combine the 2 for flatness. Now since it's a scan, one is 140 points, the other 151 points, is there an easy way to extract them to create a plane? I know how to extract all the points, or at least when I hover over it, it shows all the point results. But When I plug this into a Generic Plane not so good. Maybe I'm going down the wrong path. , or , or or

ASSIGN/V1=PLN_A1.HIT[1..140].Z
ASSIGN/V2=PLN_A2.HIT[1..151].Z
  • Gentlemen thanks for stepping up and helping, very much appreciated.
  • If you only enter [code][/code] tags and nothing else, it will convert the code to all lowercase. Find an I ("eye") in the code, change it to i, it won't happen. Or any letter really, as long as it isn't all caps.
  • - I do this all the time with BF, not BFRE. When you start typing BF it goes right to BFRE, just hit F8 and it'll change to BF.

    DATUM_C    =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<-0.3849,-0.415,-3.2661>,<0,-1,0>
                ACTL/<-0.3849,-0.422,-3.2661>,<0.0008192,-0.999999,0.001143>
                CONSTR/PLANE,BF,C1_SC.HIT[1..C1_SC.NUMHITS],C2_SC.HIT[1..C2_SC.NUMHITS],,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
  • Thanks I'd give you a Like but you posted in the Comments
  • actually it did work but had to do it the long way like Barry explained, Thanks again Jeffery
  • I do it this way, without going through a set first.
  • - you're welcome.

    I use both methods, depending on how I'm feeling that day...
  • Hey what if I have 12 planes and I want to do this, it won't allow me to repeat all of this for that many planes.
  • hey what if i have 12 planes and i want to do this, it won't allow me to repeat all of this for that many planes.



    
    pln1 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln2 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln3 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln4 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln5 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln6 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln7 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln8 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln9 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln10 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln11 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    pln12 =feat/contact/plane/default,cartesian,none,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    targ/<3.1496,2.3622,0>,<0,0,1>
    angle vec=<1,0,0>,radial
    show feature parameters=no
    show contact parameters=no
    scn1 =feat/set,cartesian
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    constr/set,basic,pln1.hit[1..pln1.numhits],pln2.hit[1..pln2.numhits],pln3.hit[1..pln3.numhits],pln4.hit[1..pln4.numhits],pln5.hit[1..pln5.numhits],pln6.hit[1..pln6.numhits],pln7.hit[1..pln7.numhits],,
    scn2 =feat/set,cartesian
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    constr/set,basic,pln8.hit[1..pln8.numhits],pln9.hit[1..pln9.numhits],pln10.hit[1..pln10.numhits],pln11.hit[1..pln11.numhits],pln12.hit[1..pln12.numhits],,
    scn3 =feat/set,cartesian
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    constr/set,basic,scn1.hit[1..scn1.numhits],scn2.hit[1..scn2.numhits],,
    pln_all_12_combined=feat/plane,cartesian,triangle,no,least_sqr
    theo/<3.1496,2.3622,0>,<0,0,1>
    actl/<3.1496,2.3622,0>,<0,0,1>
    constr/plane,bf,scn3,,
    outlier_removal/off,3
    filter/off,wavelength=0