Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Peter - Avivi CNC Solutions

Verified Members
  • Posts

    292
  • Joined

  • Last visited

Posts posted by Peter - Avivi CNC Solutions

  1. On 2017. 12. 01. at 8:53 PM, cherokeechief79 said:

    yes peter,if that is   Abigail   exactly as ive spelled it.

    Well, according to Google search it's written as -אֲבִיגַיִל- OR by Google translate: -אֲבִיגַיִיִל-

    I selected the second option, based on google translate, you can delete the additional "יִ".

    MCAM 2018 file: Abigail_Hebrew.mcam

    • Like 2
  2. Thank you guys! These words are inspires me! :)

    Based on Jay's idea, I added a switch to combine/append field name to the field, with or without white space between them.

    Also I corrected a bug in autocomplete area, so I strongly suggest to download again using the same link above.

    If you installed previous version before, please completely delete the following folder: "C:\Users\Public\Documents\shared Mcam2017\Notes2Post\"

     

     

    30274698413_23d885a386_o.png

  3. THANK YOU PETER!

     

    That is amazing work my friend, and so much easier to use than adding a Manual Entry toolpath, and editing the Comment output.

     

    Many thanks.

    Thank you for your kind words Colin!

     

     

    This looks good. but do you think the info outputted to the code be in parentheses ?

     

    Also when you create these fields like Programmer why does not out put that instead of say output-1.

     

    Don't get me wrong this is a nice tool and I could not make something like this. I see me wanting to use it but, the issues I stated is what stopping me.

     

    Keep up the good work.

    Jay, I really thank you! You give me a great idea, maybe I develop it tomorrow :) Yes, I can output the field name and the field itself together, so make sense for me, will be a switch only in settings.

    From the other side, Colin answered all the questions, right here I just made a tool to store some customizable stuff in MCAM files and IF someone want, they'll get 7 string variables in post and

    they can customise them for their needs. ;)

  4. Hi All,

    I just wanna to share my NET-Hook what I developed for our community. I always missed this possibility from MCAM, to store custom notes, comments, data, etc THEN post them to NC code.

    Or simply just store some info in a MCAM part file. This NET-Hook will store then suggest your last 20 inputs, separately in each field.

    You can use it for store your custom data, info, programmer, customer, drawing, whatever you want... Not necessary but you can also output them to any NC code.

    Copy all the 3 files from ZIP to Mastercam CHOOK folder, then you good to go. Also I attached a sample post processor, look for "pNote2Post" postblock and calling of this postblock in "pheader$"

    section. This postblock will set "sN2Pfield_1...sN2Pfield_7" string variables based on your note fields in MCAM file.

    At first run please look for settings to set your custom fields. Any comment, suggestion, idea or bug report are welcomed!

     

     

    https://app.box.com/s/u8cdt63klci04aoogvqoyuafbnitl765

     

     

    Main window:

    30595146680_9ab15c62b1_o.png

     

     

    Settings:

     

    30860238736_4429a7623c_o.png

     

     

    YouTube:

     

     

    https://youtu.be/SBOgD3HoV60

    • Like 8
  5. Hello All!
    So, I just a created this NET-Hook to give some help to all who use the same level (names) structure.

    You can export a structure from an MCX to CSV and then import any time or change or whatever you want  :)

    You can also add extra levels to the list during running this NET-Hook. All levels/names saved to an CSV file, using user shared folder.
    FT file attached, so you can drop it onto your toolbar too.

    Any comment or improvement are welcome!

    If you download it and if find it's helpful, push a like on this post  ;)

    THX!

     

    I forgot to mention, after second start, it reads the CSV file at startup, so after it loads your level set, you just need to hit "Set levels to MCX" and then exit and done... ;)
     
    Download link: https://db.tt/guimWAir
     

    16174554115_51eb845e7c_b.jpg

    • Like 2
  6. aha....

    Put this postblock somewhere between "prapidm" and "plinm" postblocks, do not insert to the end of post.

    AND use tabs for the rest lines of postblock PLS (like in all other postblocks). See if it helps.

    pApproach # Sharnoa non-tangent approach
             if cc_poss$ > 0 & cstart$ = 2, "G-1"
    
  7. Okay, since our local Mr.Dr.Prof.PhD. 97% had no chance and probably time to visit this topic to share some cool ideas with us, I feel then it's my job to tell the rest 3%..........

     

    1, Look for "opcode$ = 2 & tool_op$ = 18" in "ptlchg$" and "ptlchg0$" postblocks

    2, Output G12/G13 line based on operation depth, diameter, refpoint, stock etc parameters

    3, In prapidout postblock look for G0 - (next)G1 lines to grab arc center at next-next G2/G3 line

    4, Output arc center as position.

    5, Switch "subout$" from zero to different output to release circles output to the air :)

    6, Back to zero with "subout$" for the next hole

    7, Order a beer for me, cus I just simply deserve :D

     

    This should be the process, but roughly, during the workaround, some issues may turn out as always...

    ;)

    • Like 2
  8. Since is a Sharnoa speciality, I would do this:

     

    Define this postblock

    pApproach	# Sharnoa non-tangent approach
    		if cc_pos$ > zero & cstart$ = two, "G-1"
    

    Modify this postblocks:

    plinm   # Linear line movement - at feedrate                    
    	pcan
            pcan1, n, sccomp, sgcode, pApproach, x, y, z, pfr, strcantext, e
            pcan2
    
    pcirm   # Circular interpolation                                
    	pcan
            pcan1, n,  sgplane, sccomp, sgcode, pApproach, x, y, z, parctyp, pfr, strcantext, e
    	pcan2
    
    ;)
  9. This type of naming makes it easier to recognize what the variable is being used for. Especially when you are making more edits a year from now. I actually have some very long variable names in my post... like sErrorMessageWarningToolDcompDoesNotMatchHcomp (this is easy to recognize what it is for)

     

    +1! ;)

     

    We should make a championship here! "See who's have the longest!!!"

    :laughing::smoke::lol:

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...