Menu

starting point

2017-09-04
2017-09-04
  • Stone Rocker

    Stone Rocker - 2017-09-04

    I wonder if it would be possible to adjust the starting point of a process. Sometimes it is better to begin at a specific point.
    The subject has be discussed already in this forum some years ago.
    https://sourceforge.net/p/pycam/discussion/860183/thread/ca47cd5c/?limit=25#ba30

     
  • Lars

    Lars - 2017-09-04

    This is mainly an issue with the user interface, since it complicates the interface even further.

    Anyway: contributions are always welcome!

     
  • Stone Rocker

    Stone Rocker - 2017-09-04

    I see. I had a first look at the code, but I am still trying to understand how it works. Unfortunately, my programming skills are still basic. Any hints where to start?

     
  • Lars

    Lars - 2017-09-05

    You can take a look at the function "get_fixed_grid" in pycam/Toolpath/MotionGrid.py. Here you could change "start_position=StartPosition.Z" to "start_position=(StartPosition.X | StartPosition.Y | StartPosition.Z)" - this should move the starting point from (0, 0, maxz) to (maxx, maxy, maxz).

    Of course, this is just a manual (hard-coded) modification. Probably the difficulty part starts when you try to turn this into a configurable option being available in the user interface :)

    Have fun!

     

Log in to post a comment.