GithubHelp home page GithubHelp logo

Motion Modifiers about tp_plus HOT 1 CLOSED

kobbled avatar kobbled commented on August 18, 2024
Motion Modifiers

from tp_plus.

Comments (1)

kobbled avatar kobbled commented on August 18, 2024

Yes, not all the modifier have been added yet. See commit 9621e71 for updated modifiers. Usage can be seen in the tests added in test_interpreter.rb. I discovered if any variables have the same name as the modifier tokens the interpreter will error out. For that reason I would prefer to be verbose in their naming, and for it to be less cryptic than what FANUC designates it as. However for now, both 'mrot', and 'minimal_rotation' will work. This isn't a big issue, but the error message TP-Plus gives is a bit unclear, so handling that error should be added in.

Right now the only examples are in the test_interpreter.rb it uses for unit testing. I'll open up an issue to add an examples folder with .tpp examples to make it more visible, and with better examples. For now if you are unsure of what functionality it has search through test_interpreter.rb, or see the token list in token.rb, and then search for the token in test_interpreter.rb.

If you have other TP code snippets that are not interpreted by TP-Plus, or .tpp code gives you an error, please post the code snippet in a new issue, and I'll try and implement it as soon as I am able to. I'll get around to adding in the rest of the modifiers at a later time.

from tp_plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.