hexagon logo

4x common zone planes as datum

hi guys
i just need to double check on u guys how u would measure this plane and level to it.
so its 4x planes with CZ (they are on same level to no need to do any offsets)
i measure the 4x planes as autoplanes
select the 4 planes in construct planes dialog and construct a bestfit plane
construct another plane using the BF plane, now i construct a "primary" plane with bfre and minmax option
and align to primary plane.

is this correct?
how would u guys do it
Parents
  • Create your 4 planes as normal autoplanes. Create a set and select all 4 planes. In the edit mode go to the line in the set that starts with "CONSTR/SET," and change the name of the plane i.e. pln1 to "pln1.hit[1..pln1.numhits]". This is an array of points extracted from that feature. i.e. in the case of my example I had 4 points per plane, so "pln1.numhits" = 4, so the array is "pln1.hit[1..4]", which tells PCDMIS to use pln1.hit[1], pln1.hit[2], pln1.hit[3] and pln1.hit[4]. Continue renaming the planes in the set to match. Then make a constructed plane using that set feature as the input.


    PLN1       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<-2,2,0>,<0,0,1>
                ACTL/<-2,2,0>,<0,0,1>
                TARG/<-2,2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN2       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<2,2,0>,<0,0,1>
                ACTL/<2,2,0>,<0,0,1>
                TARG/<2,2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN3       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<2,-2,0>,<0,0,1>
                ACTL/<2,-2,0>,<0,0,1>
                TARG/<2,-2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN4       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<-2,-2,0>,<0,0,1>
                ACTL/<-2,-2,0>,<0,0,1>
                TARG/<-2,-2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    SCN1       =FEAT/SET,CARTESIAN
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,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],,
    DATUM_PLN  =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,BF,SCN1,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
Reply
  • Create your 4 planes as normal autoplanes. Create a set and select all 4 planes. In the edit mode go to the line in the set that starts with "CONSTR/SET," and change the name of the plane i.e. pln1 to "pln1.hit[1..pln1.numhits]". This is an array of points extracted from that feature. i.e. in the case of my example I had 4 points per plane, so "pln1.numhits" = 4, so the array is "pln1.hit[1..4]", which tells PCDMIS to use pln1.hit[1], pln1.hit[2], pln1.hit[3] and pln1.hit[4]. Continue renaming the planes in the set to match. Then make a constructed plane using that set feature as the input.


    PLN1       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<-2,2,0>,<0,0,1>
                ACTL/<-2,2,0>,<0,0,1>
                TARG/<-2,2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN2       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<2,2,0>,<0,0,1>
                ACTL/<2,2,0>,<0,0,1>
                TARG/<2,2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN3       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<2,-2,0>,<0,0,1>
                ACTL/<2,-2,0>,<0,0,1>
                TARG/<2,-2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN4       =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
                THEO/<-2,-2,0>,<0,0,1>
                ACTL/<-2,-2,0>,<0,0,1>
                TARG/<-2,-2,0>,<0,0,1>
                ANGLE VEC=<0,1,0>,SQUARE
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    SCN1       =FEAT/SET,CARTESIAN
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,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],,
    DATUM_PLN  =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,BF,SCN1,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
Children
  • ...or just reference the PLN1.HIT[1..PLN1.NUMHITS] etc. in the constructed plane, no need to create a group first (unless you want to).

    DATUM_PLN  =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,BF,PLN1.HIT[1..PLN1.NUMHITS],PLN2.HIT[1..PLN2.NUMHITS],PLN3.HIT[1..PLN3.NUMHITS],PLN4.HIT[1..PLN4.NUMHITS],,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    
  • So long as the center of at least 3 of the planes aren't coincident that will work. I posted the answer with a constructed set knowing it would work in all cases. If someone searching for an answer tomorrow only has 2 planes and needs a solution, the above will work.