Results 1 to 6 of 6

Thread: Pc calculator to print multiple position

  1. #1
    Registered
    Join Date
    Nov 2005
    Location
    usa
    Posts
    233
    Downloads
    0
    Uploads
    0

    Pc calculator to print multiple position

    Is there a pc calculator that could print out the resultant of say 360/10 bolt circle or sometimes X and Y coordinates
    in a format like

    10
    20
    30
    etc

    so I could cut and paste the information in a subprogram and or subroutine.

    and also if you had another pattern sort them in the a sequence for the shortest distance between them?


  2. #2
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Not sure about a PC calculator that can do this. There are a few ways I would look at doing this. One of the most obvious is if you have macro programming on your control you could write a sub to calculate all of the X,Y positions for your bolt circle. I do a ton of bolt circle holes and have written hundreds of macros for this.

    Your other options are to write the code in excel to calculate this or I have used what is called KwikTrigII. Plug in your X,Y zero positions, BC diameter, and number of holes and it spits out all of the data for you. I will try and attach it.

    Stevo
    Attached Files Attached Files


  3. #3
    skm
    skm is offline
    Registered
    Join Date
    Dec 2010
    Location
    us
    Posts
    11
    Downloads
    0
    Uploads
    0
    Yes,
    An Hp48 or HP50 will put out a list of coordinates to the stack and you can scroll through them. I have put over 100 x/y coords on the stack and not run out of memory. I have about 75 programs that I use in the shop that I have written for my trusty HP's.

    So, any of the HP48 or HP50 emulators for Windows or Linux will do the same if you want to do it on a computer--there are several emulators to choose from.
    You will need to write a program to do it, probably 10-12 lines and save it on the var menu, then just push a button, and away you go. Since you probably don't know the programming language of the HP48/50, I would recommend post on the news-group for hp calculators for help. They love helping out with small challenges and write little things all the time!


  4. #4
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by camtd View Post
    Is there a pc calculator that could print out the resultant of say 360/10 bolt circle or sometimes X and Y coordinates
    in a format like

    10
    20
    30
    etc

    so I could cut and paste the information in a subprogram and or subroutine.

    and also if you had another pattern sort them in the a sequence for the shortest distance between them?
    Yes. There are apps for this. Most important is for you to learn to do the trig yourself first BEFORE taking short cuts.
    http://www.kirkcon.com/


  • #5
    Registered
    Join Date
    May 2008
    Location
    Canada
    Posts
    436
    Downloads
    0
    Uploads
    0
    Bolt Hole Pattern Calculator

    Skulte Performance Designs Bolt Circle Calculator

    Download Machinist Calculator 6.2.11 Free Trial - Solves common machine shop math problems - Softpedia

    "http://www.amazon.com/Calculated-Industries-4087-Machinist-Machining/dp/B00454S23O/ref=sr_1_1?ie=UTF8&qid=1336464827&sr=8-1"]Amazon.com: Calculated Industries 4087 Machinist Calc Advanced Machining Math and Reference Tool: Home Improvement


    Jeff


  • #6
    skm
    skm is offline
    Registered
    Join Date
    Dec 2010
    Location
    us
    Posts
    11
    Downloads
    0
    Uploads
    0

    sorting by closest points...not sure why.

    The other part of your question:

    "also if you had another pattern sort them in the a sequence for the shortest distance between them?"

    I am wondering why you want this. In general, any set of equally spaced points on a circle--the very next hole around the circle will indeed be the closest point to the last one.

    You haven't said what you are trying to use this for, but I'm guessing either getting points to put a feature at each location, or points for milling between them to create a circle shape.

    For the second, milling, you would have to do the points in order that they come around the circle to make the shape. For the first, putting holes at each location, the closest point will be the next hole around the circle so sorting would be pointless.

    Also, if you are putting a feature at each point, you are probably traveling between the points in rapid (G0), so for speed, it makes very little difference if the holes are in order--unless you are making 100,000 parts or something. example: if you are drilling at 3 inches/minute, and your rapid speed is 200 inches/minute, it would take a lot of rapid moves to add even seconds to a bolt hole circle pattern program.

    The simple answer, without knowing more about what you are wanting to do, is yes, an HP48 or HP50 can calculate the relative distances between points and sort a list by the next closest hole to the previous one.

    There are no "apps" for the HP calculators, as they don't use that term, but there are thousands of programs written for them, almost all of them in the public domain--just search the internet, there is probably one similar to what you want to do.


  • Similar Threads

    1. losing position, lots of position
      By cyclestart in forum LinuxCNC (formerly EMC2)
      Replies: 8
      Last Post: 01-24-2010, 02:50 AM
    2. How to print ion a 3d surface
      By whiteriver in forum Printing, Scanners, Vinyl cutting and Plotters
      Replies: 3
      Last Post: 01-20-2010, 04:39 PM
    3. cant print?
      By erase42 in forum BobCad-Cam
      Replies: 13
      Last Post: 11-30-2009, 09:05 AM
    4. Replies: 4
      Last Post: 10-28-2009, 01:39 AM
    5. Need Help!- Is there a way to have BC print out a Blue Print of a drawling?
      By Stampede in forum BobCad-Cam
      Replies: 3
      Last Post: 01-05-2009, 08:36 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.