Do the Undoable in Mastercam with Excel and Scripts

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 26

  • @haroldjoubert1986
    @haroldjoubert1986 3 роки тому +3

    This is excellent never new this is possible. 👍 Please do a more in depth video on this and maybe refer more to the net script way. Thank you caminstructor as always sharing important information for Mastercam users 👍

    • @CamInstructor
      @CamInstructor  3 роки тому +1

      Will be looking into net scripting very soon

    • @chazz.zaragoza.9561
      @chazz.zaragoza.9561 3 роки тому

      @@CamInstructor Will you be covering making custom C hooks at any point??

    • @CamInstructor
      @CamInstructor  3 роки тому

      At some point, yes.

  • @johnny1b099
    @johnny1b099 3 роки тому +1

    Great information! But I think you missed the easiest and quickest way to accomplish your example task - use transform to create 100 copies of the point, then scale with the scale origin at the first point using a scale factor of (.5 + .156)/.5. Boom - done!

    • @CamInstructor
      @CamInstructor  3 роки тому +2

      You are on to something here but as described this does not work. The points will keep an even spacing during the scale move, unless I'm overlooking something. Doing a Copy during the Scale kind of works, I can get an increasing offset but not at the positions we're after here. If you want to provide some additional info, I'm all ears.

    • @johnny1b099
      @johnny1b099 3 роки тому +1

      @@CamInstructor OOPS. I didn't think about this thoroughly - your example is not a linear scaling problem. Sorry!

  • @caseywaite599
    @caseywaite599 2 роки тому

    An easy way to do this for something like drilled holes or other canned cycles would be to program them in G91. Then you just copy paste X/Y.5156 for the number of instances - 1 for the first hole.
    This, however, is great for something outside of a canned cycle. Though, arguably could be done with subroutines as well. Anyway… a million ways to skin a cat.

    • @CamInstructor
      @CamInstructor  2 роки тому +1

      That wouldn't quite work as the spacing is different for each hole, its moving 0.0156 more than the last move, not a consistent 0.0156 each time. You would have to change your incremental amount each time,. No real gain over absolute position as you cannot refer to the move you just made. The only solution on the control would be a macro program.

  • @chazz.zaragoza.9561
    @chazz.zaragoza.9561 3 роки тому +1

    That's a neat trick

  • @brockfrancis4398
    @brockfrancis4398 3 роки тому +1

    Great content!
    Can you create a line from a csv import?

    • @CamInstructor
      @CamInstructor  3 роки тому

      No. CSV for geometry will only create a point. There are ways you could use a csv file to create lines but this would involve either a script or a nethook.

  • @manojvishwakarma-instructo4612
    @manojvishwakarma-instructo4612 3 роки тому +1

    Informative 👍

  • @loanpanda0763
    @loanpanda0763 3 роки тому +1

    Superb sir

  • @theking-dn3sv
    @theking-dn3sv 3 роки тому

    Awesome man thanks!

  • @BonaRasmey
    @BonaRasmey 9 місяців тому

    Is Macros software part of cam software 🤔

  • @Ал1-в2ю
    @Ал1-в2ю 3 роки тому +1

    супер

  • @avarillas75
    @avarillas75 Рік тому

    this is way too much work! why not use G91 instead? create a short subroutine and move incrementally, Done!

    • @CamInstructor
      @CamInstructor  Рік тому +1

      The spacing is changing between each hole. G91 will provide no advantage over G90.

  • @Zekeneral
    @Zekeneral 3 роки тому

    ffs move to metric already :)

    • @CamInstructor
      @CamInstructor  3 роки тому

      Or...just pretend these are really small metric parts :)
      I'll keep metric in mind for a future video 👍

    • @ipadize
      @ipadize 11 місяців тому

      americans already move to metric, inch by inch