Constructing a circle from a cone and sphere

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

  • Constructing a circle from a cone and sphere

    Since PCD cannot construct a circle from the intersection of a cone and sphere. How do you get the .12 dimension without measuring it with hand tools?

    conespheredraw.JPGspherecone.JPG

  • #2
    ****, that might need simultaneous equations and a pile of code. I could derive equations but I'd leave the code to some of the gurus in here

    Comment


    • #3
      Here at #4
      https://www.pcdmisforum.com/forum/pc...ht=cone+sphere
      or here at #11 (even if it's a cylinder)
      https://www.pcdmisforum.com/forum/pc...ct=#post266339

      Comment


      • #4
        Make lines instead of a 'cone' and pierce the sphere? Construct Ø from constructed points?

        Comment


        • #5
          Here's a long way to do it. So long that I didn't even complete it, but you'll get the idea... YOu have to do the last two pierce points with the Y axis lines, then you can create a circle and report it's Z. Or just do it once as it doesn't look that tight of a tolerance and report the Z value of one point. Fundamentally I create the plane/cone intersection, pierce that circle with an axis line, move the origin there then rotate about the cone half angle, create another axis line, then pierce that with the sphere.

          Code:
          SPH1 =FEAT/CONTACT/SPHERE/DEFAULT,CARTESIAN,IN,LEAST_SQR
          THEO/<0,0,0>,<0,0,-1>,0.4
          ACTL/<0,0,0>,<0,0,-1>,0.4
          TARG/<0,0,0>,<0,0,-1>
          START ANGLE 1=0,END ANG 1=360
          START ANGLE 2=20,END ANG 2=90
          ANGLE VEC=<1,0,0>
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          NUMHITS=6,NUMROWS=3
          AVOIDANCE MOVE=NO,DISTANCE=0.3937
          SHOW HITS=NO
          
          CONE_HITS =GROUP/SHOWALLPARAMS=NO
          ENDGROUP/ID=CONE_HITS
          
          CON1 =FEAT/CONE,CARTESIAN,IN,LENG,NO
          THEO/<0,0,-0.245>,<0,0,1>,0.04,0.37,0.45
          ACTL/<0,0,-0.245>,<0,0,1>,0.04,0.37,0.45
          CONSTR/CONE,BF,PNT1,PNT3,PNT5,PNT6,PNT4,PNT2,,
          
          PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
          THEO/<0,0,0>,<0,0,1>
          ACTL/<0,0,0>,<0,0,1>
          TARG/<0,0,0>,<0,0,1>
          ANGLE VEC=<1,0,0>,RADIAL
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          NUMHITS=3,NUMROWS=3
          SPACER=0
          AVOIDANCE MOVE=NO,DISTANCE=0.3937
          USE BOUNDARY OFFSET=YES,OFFSET=50.7999
          SHOW HITS=NO
          
          CIR1 =FEAT/CIRCLE,CARTESIAN,OUT,NO
          THEO/<0,0,0>,<0,0,1>,0.49
          ACTL/<0,0,0>,<0,0,1>,0.49
          CONSTR/CIRCLE,INTOF,CON1,PLN1
          
          ALIGN_LINE1=FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<-0.5,0,0>,<1,0,0>
          ACTL/<-0.5,0,0>,<1,0,0>
          CONSTR/LINE,ALIGN,1,XPLUS
          
          ALIGN_LINE2=FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<0.5,0,0>,<-1,0,0>
          ACTL/<0.5,0,0>,<-1,0,0>
          CONSTR/LINE,ALIGN,1,XMINUS
          
          ALIGN_LINE3=FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<0,-0.5,0>,<0,1,0>
          ACTL/<0,-0.5,0>,<0,1,0>
          CONSTR/LINE,ALIGN,1,YPLUS
          
          ALIGN_LINE4=FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<0,0.5,0>,<0,-1,0>
          ACTL/<0,0.5,0>,<0,-1,0>
          CONSTR/LINE,ALIGN,1,YMINUS
          
          PNT7 =FEAT/POINT,CARTESIAN,NO
          THEO/<-0.245,0,0>,<1,0,0>
          ACTL/<-0.245,0,0>,<1,0,0>
          CONSTR/POINT,PIERCE,ALIGN_LINE1,CIR1
          
          PNT8 =FEAT/POINT,CARTESIAN,NO
          THEO/<0.245,0,0>,<-1,0,0>
          ACTL/<0.245,0,0>,<-1,0,0>
          CONSTR/POINT,PIERCE,ALIGN_LINE2,CIR1
          
          PNT9 =FEAT/POINT,CARTESIAN,NO
          THEO/<0,-0.245,0>,<0,1,0>
          ACTL/<0,-0.245,0>,<0,1,0>
          CONSTR/POINT,PIERCE,ALIGN_LINE3,CIR1
          
          PNT10 =FEAT/POINT,CARTESIAN,NO
          THEO/<0,0.245,0>,<0,-1,0>
          ACTL/<0,0.245,0>,<0,-1,0>
          CONSTR/POINT,PIERCE,ALIGN_LINE4,CIR1
          
          ASSIGN/V1=CON1.A/2
          
          A5 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
          ALIGNMENT/TRANS,XAXIS,PNT7
          ALIGNMENT/TRANS,YAXIS,PNT7
          ALIGNMENT/TRANS,ZAXIS,PNT7
          ALIGNMENT/ROTATE_OFFSET,V1,ABOUT,YPLUS
          ALIGNMENT/END
          
          LIN1 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<-0.5,0,0>,<1,0,0>
          ACTL/<-0.5,0,0>,<1,0,0>
          CONSTR/LINE,ALIGN,1,XPLUS
          
          PNT11 =FEAT/POINT,CARTESIAN,NO
          THEO/<0.0733,0,0>,<1,0,0>
          ACTL/<0.0733,0,0>,<1,0,0>
          CONSTR/POINT,PIERCE,LIN1,SPH1
          
          A6 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
          ALIGNMENT/TRANS,XAXIS,PNT8
          ALIGNMENT/TRANS,YAXIS,PNT8
          ALIGNMENT/TRANS,ZAXIS,PNT8
          ALIGNMENT/ROTATE_OFFSET,-45,ABOUT,YPLUS
          ALIGNMENT/END
          
          LIN2 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
          THEO/<0.5,0,0>,<-1,0,0>
          ACTL/<0.5,0,0>,<-1,0,0>
          CONSTR/LINE,ALIGN,1,XMINUS
          
          PNT12 =FEAT/POINT,CARTESIAN,NO
          THEO/<-0.0733,0,0>,<-1,0,0>
          ACTL/<-0.0733,0,0>,<-1,0,0>
          CONSTR/POINT,PIERCE,LIN2,SPH1
          
          {repeat as wanted}

          Comment


          • #6
            Originally posted by R2ah1ze1l View Post
            Make lines instead of a 'cone' and pierce the sphere? Construct Ø from constructed points?
            probably the 2D approach is the best... this was the best answer in my opinion

            Comment


            • #7
              Do this:

              1) Probe the sphere as an autosphere
              2) Probe the cone as an autocone
              3) XY origin to the autocone
              4) While origin-ed to the cone, measure lines on the cone
              5) Pierce the lines into the sphere
              6) Recall base alignment
              7) Create a plane out of the pierce-points
              8) Tolerance the plane

              **VERY IMPORTANT**

              Workplanes & alignments are very important here. While doing above procedure...

              -MAKE SURE YOUR BASE ALIGNMENT HAS ALL 6 DOF CONSTRAINED.
              - Make sure you're in the appropriate workplane when you're constructing stuff

              Comment

              Related Topics

              Collapse

              Working...
              X