Results 1 to 3 of 3

Thread: Some Smartcam macros

  1. #1
    Registered
    Join Date
    Feb 2006
    Location
    United States
    Posts
    293
    Downloads
    0
    Uploads
    0

    Post Some Smartcam macros

    Anyone out there have any useful macros they have developed over the years? Here are 3 we have that are stand alone to get things started. For me seeing other peoples examples of how they do things can help spark new ideas, I hope I can do the same for some others.

    0_ChainProf.mcl was made for importing wireframe models and chaining everything by Z layer (basec on current workplane)

    1_Startup.mcl Is for creating basic workplanes for our horozontal with a tombstone B0 B90 B180 and B270 as well as the views and iso views for it.

    10 thou Z finish pass.mcl Is an example of a quick macro to take an existing profile and make a copy 0.01" above (and before) it.

    There are some comments in them that should get you up and using them.
    I'd also love it if anyone had some feedback as well.


    Dale
    Attached Files Attached Files


  2. #2
    Registered
    Join Date
    Oct 2006
    Location
    USA
    Posts
    18
    Downloads
    0
    Uploads
    0
    I got a toolbox that asks "Which vertical milling machine?" "How many vises?" which in turn picks the correct post processor and generates a main program with (G54, G55, G56...) sub-programs that call out to each other in order to have a 1-click generated program without having to edit and add offsets manually.

    I also fine-tuned the various post processors for our different model machines that allow me to "generate code" and send to the machine with 99% edit-free.


  3. #3
    Registered
    Join Date
    Feb 2006
    Location
    United States
    Posts
    293
    Downloads
    0
    Uploads
    0
    A bit of macro code I run on some files. It posts the code to #FileOut with predefines SMF and TMP files, then runs a VBScript on the file.

    I did this because there were always a few little things with the output that I could not get fixed with the post, so I scripted it in VBScript. It just turned out to be a bit easier to get those last few items fixed via RegEx replace statments in VBScript.

    Code:
    CODE[FN=#FileOut, MS1="Z:\\Smartcam\\Amsmf\\MachineFile.SMF", 
          MT1="Z:\\Smartcam\\Amsmf\\MachinePost.TMP", 
          SH=0, DC=0, ST=0, DT=0, SP=5]
    SHELL[CMD_LN=STRTMP("WScript.exe \"Z:\\Scripts\\Clean_Code.wsf\" \"%#FileOut\" -Quiet"), WA=0, DP=0]


Similar Threads

  1. Anyone still using SmartCAM
    By ltmquik in forum SmartCAM
    Replies: 24
    Last Post: 03-10-2013, 12:30 PM
  2. SmartCam to Striker
    By denisxyz in forum SmartCAM
    Replies: 2
    Last Post: 06-07-2007, 02:39 PM
  3. Smartcam Review?
    By Lighthouse Ron in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 2
    Last Post: 02-26-2006, 09:06 PM
  4. Looking for SmartCam software
    By Rofin in forum General CAM Discussion
    Replies: 1
    Last Post: 01-25-2004, 10:27 PM
  5. smartcam post
    By chris zuko in forum Post Processor Files
    Replies: 1
    Last Post: 10-07-2003, 08:14 PM

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.