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:

AC3

Verified Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by AC3

  1. 14 hours ago, Colin Gilchrist said:

    There has been the "ability" to tie a Post to Machine Simulation since about X7. You just had to pay someone who "knows how", and has an agreement with MW, so that they share the money. The customization that is available is pretty amazing. I remember seeing a 6 Axis Gantry that used a big saw cutter for some specialized application. It was fully simulated in the Machine Simulation from ModuleWorks, and the same Post that generated the NC Code from the NCI data, would also write the exact same data to the MWCL file. (move for move). Bottom line was it was successful, and worked for the customer.

    Many of the service providers that offer these services are either in Canada or Germany. I do believe that several Resellers from the USA have also been trained in how to tie a Post to the Simulation, but I'm not sure which ones...

    For additional axes, they use preprocessor.py written on the python and fille .mps scheme with the axes.

    You can write [email protected] and they will tell how it works your dealer, but not to you ....... Why are there no descriptions of these procedures in the documentation

    from math import *
    
    
    class Preprocessor(object):
     
        
        VERSION = 1
        TYPE = "move"
        AXIS = ["X" , "Y" , "Z" , "C" , "B" , "WREAL", "ZREAL" ]  
        
        def ProcessMove(self, environment, operation, move): 
            if move["axisValue"]["Z"] < 30:
                # Move entirely on the ZREAL axis
                move["axisValue"]["ZREAL"] = move["axisValue"]["Z"]
            else:
                # Move 40 in the ZREAL axis, and the remaining in the
                # WREAL axis
                move["axisValue"]["ZREAL"] = 30
                move["axisValue"]["WREAL"] = move["axisValue"]["Z"] - 30
    
    preprocessor = Preprocessor()

     

  2. Is it possible to bring the arc in line 2 , the first column displays the arc when using the linearization (G1)  , the second column displays the comment of the arc (G2, G3) ?

    linarc$ = 0

    G1 Z0. F10.
    G41 D280 X-.25
    G3 X.25 I.25 J0.
    X-.25 I-.25 J0.
    G1 G40 X-.2188

    linarc$ = 1

    G1 Z0. F10.
    G41 D280 X-.25
    X-.2481 Y-.0307
    X-.2424 Y-.061
    X-.2331 Y-.0903
    X-.2203 Y-.1183
    X-.204 Y-.1444
    X-.1848 Y-.1684
    X-.1627 Y-.1899
    X-.1381 Y-.2084
    X-.1114 Y-.2238
    X-.0831 Y-.2358
    X-.0535 Y-.2442
    X-.0231 Y-.2489
    X.0077 Y-.2499
    X.0383 Y-.247
    X.0684 Y-.2405
    X.0974 Y-.2302
    X.125 Y-.2165
    X.1507 Y-.1995
    X.174 Y-.1795
    X.1948 Y-.1567
    X.2126 Y-.1316
    X.2271 Y-.1045
    X.2382 Y-.0758
    X.2457 Y-.0459
    X.2495 Y-.0154
    Y.0154
    X.2457 Y.0459
    X.2382 Y.0758
    X.2271 Y.1045
    X.2126 Y.1316
    X.1948 Y.1567
    X.174 Y.1795
    X.1507 Y.1995
    X.125 Y.2165
    X.0974 Y.2302
    X.0684 Y.2405
    X.0383 Y.247
    X.0077 Y.2499
    X-.0231 Y.2489
    X-.0535 Y.2442
    X-.0831 Y.2358
    X-.1114 Y.2238
    X-.1381 Y.2084
    X-.1627 Y.1899
    X-.1848 Y.1684
    X-.204 Y.1444
    X-.2203 Y.1183
    X-.2331 Y.0903
    X-.2424 Y.061
    X-.2481 Y.0307
    X-.25 Y0.
    G40 X-.2188

    Like this, showing where the real arc begins

    G1 Z0. F10.
    G41 D280 X-.25
    X-.2481 Y-.0307(G3 X.25 I.25 J0.)
    X-.2424 Y-.061
    X-.2331 Y-.0903
    X-.2203 Y-.1183
    X-.204 Y-.1444
    X-.1848 Y-.1684
    X-.1627 Y-.1899
    X-.1381 Y-.2084
    X-.1114 Y-.2238
    X-.0831 Y-.2358
    X-.0535 Y-.2442
    X-.0231 Y-.2489
    X.0077 Y-.2499
    X.0383 Y-.247
    X.0684 Y-.2405
    X.0974 Y-.2302
    X.125 Y-.2165
    X.1507 Y-.1995
    X.174 Y-.1795
    X.1948 Y-.1567
    X.2126 Y-.1316
    X.2271 Y-.1045
    X.2382 Y-.0758
    X.2457 Y-.0459
    X.2495 Y-.0154
    Y.0154       (X-.25 I-.25 J0.)
    X.2457 Y.0459
    X.2382 Y.0758
    X.2271 Y.1045
    X.2126 Y.1316
    X.1948 Y.1567
    X.174 Y.1795
    X.1507 Y.1995
    X.125 Y.2165
    X.0974 Y.2302
    X.0684 Y.2405
    X.0383 Y.247
    X.0077 Y.2499
    X-.0231 Y.2489
    X-.0535 Y.2442
    X-.0831 Y.2358
    X-.1114 Y.2238
    X-.1381 Y.2084
    X-.1627 Y.1899
    X-.1848 Y.1684
    X-.204 Y.1444
    X-.2203 Y.1183
    X-.2331 Y.0903
    X-.2424 Y.061
    X-.2481 Y.0307
    X-.25 Y0.
    G40 X-.2188

    I tried to use redo_proc$, but it display only the first arc

  3. Input file with expansion .CL
    The file with the extension  .red is used to offset workpiece geometry and position
    When you run a machine simulation, you will see - use external post
    mcamTools folder used to store the machine tools for simulation with the extension .sim

    this example
    It supports only wcs - Top

    Supports in metric mode
    Does not support tool compensation - control

    Transformathion -  source operations - disadle posting in selected source operations

     

    1702091541090127.png

     

    1702091545030112.png

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...