1. Hey guyz. Welcome to the All New Phlatforum!



    Sign Up and take a look around. There are so many awesome new features.

    The Phlatforum is a place we can all hang out and

    have fun sharing our RC adventures!

  2. Dismiss Notice

Reversing the cut direction of a center-line cut.

Discussion in 'SketchUcam Help' started by ToxicToast, Dec 12, 2010.

  1. ToxicToast

    ToxicToast Down in the weeds. Staff Member

    Offline
    Messages:
    483
    Trophy Points:
    18
    Location:
    Roseville, CA
    I have a problem that is vexing me. I have a center line cut that I need to reverse the cut direction on. No matter what I've tried I keep getting the path going the wrong way.

    A neighbor and flying buddy has this fun design he's been producing for a while. Its a great plane and we drafted up the code the other day for fun. The cut I am trying to do is indicated in the file.

    I've tried the plugins that Kwok recommended to John in his thread. I managed to reverse the normals and verify that the edges +Z is going the intended cut direction. But the phlatscript does not seem to care. I've also tried converting them to polylines and curves with the same results. I'm on Sketchup 7 and have tried 8 to see if I could address the problem from there with no results.

    I'm open to suggestions. This isn't a show stopper at this point, but it would be nice to gain control over the cut direction. Thanks for any and all advice.




    Attached files [​IMG] [​IMG] pecker_3.skp (1013.4 KB)Â
     
  2. kyyu

    kyyu Active Member

    Offline
    Messages:
    1,183
    Trophy Points:
    36
    Location:
    Maryland
    I mess with it a little bit, but I haven't found a way to do what you want.
     
  3. ToxicToast

    ToxicToast Down in the weeds. Staff Member

    Offline
    Messages:
    483
    Trophy Points:
    18
    Location:
    Roseville, CA
    Thanks for checking it out Kwok. Looking forward to one day controlling center line/fold cut directions. That and being able to designate a plunge start on a path are in my top three phlatscript pheatures wish list!

    Oh, the third would be per-path feed override settings.

    Thanks for looking at it. Not sure what the solutions are. I even tried flipping the Z to see if it would fix the problem. No such luck!
     
  4. navionflyer

    navionflyer New Member

    Offline
    Messages:
    220
    Trophy Points:
    0
    Location:
    Richland, MI
    OK so it's not really a long term solution, but if you select the center lines and create a group and name it in the entity info, you can go find the group in the .cnc file using notepad and then reverse the order. It would be a little time consuming, but it would accomplish what you want.

    Tim

    Here are the center lines code backwards. You would need to double check the x,y,z values at the beginning and end.

    Y22.0000 Z-0.2144 F150
    G1 Z-0.2144 F50
    Y21.5260 Z0.1250
    G0 Z0.1250
    Y21.4278 Z-0.2144 F150
    G1 Z-0.2144 F50
    Y17.0460 Z0.1250
    G0 Z0.1250
    Y16.9478 Z-0.2144 F150
    G1 Z-0.2144 F50
    Y12.3403 Z0.1250
    G0 Z0.1250
    Y12.2422 Z-0.2144
    X36.2766 Y10.5705 Z-0.2144
    X36.2754 Y10.5443 Z-0.2144
    X36.2720 Y10.5184 Z-0.2144
    X36.2663 Y10.4928 Z-0.2144
    X36.2585 Y10.4679 Z-0.2144
    X36.2484 Y10.4437 Z-0.2144
    X36.2364 Y10.4205 Z-0.2144
    X36.2223 Y10.3984 Z-0.2144
    X36.2064 Y10.3776 Z-0.2144
    X36.1887 Y10.3584 Z-0.2144
    X36.1694 Y10.3407 Z-0.2144
    X36.1486 Y10.3247 Z-0.2144
    X36.1266 Y10.3107 Z-0.2144
    X36.1033 Y10.2986 Z-0.2144
    X36.0792 Y10.2886 Z-0.2144
    X36.0542 Y10.2807 Z-0.2144
    X36.0286 Y10.2750 Z-0.2144
    X36.0027 Y10.2716 Z-0.2144
    X35.9766 Y10.2705 Z-0.2144
    X35.2769 Y10.2705 Z-0.2144
    X34.7016 Y10.2705 Z-0.2144
    X34.6754 Y10.2693 Z-0.2144
    X34.6495 Y10.2659 Z-0.2144
    X34.6239 Y10.2603 Z-0.2144
    X34.5989 Y10.2524 Z-0.2144
    X34.5748 Y10.2424 Z-0.2144
    X34.5516 Y10.2303 Z-0.2144
    X34.5295 Y10.2162 Z-0.2144
    X34.5087 Y10.2003 Z-0.2144
    X34.4894 Y10.1826 Z-0.2144
    X34.4717 Y10.1633 Z-0.2144
    X34.4558 Y10.1426 Z-0.2144
    X34.4417 Y10.1205 Z-0.2144
    X34.4297 Y10.0973 Z-0.2144
    X34.4196 Y10.0731 Z-0.2144
    X34.4118 Y10.0481 Z-0.2144
    X34.4061 Y10.0226 Z-0.2144
    X34.4027 Y9.9966 Z-0.2144
    Y9.9705 Z-0.2144 F150
    G1 Z-0.2144 F50
    Y7.7475 Z0.1250
    G0 Z0.1250
    Y7.6494 Z-0.2144 F150
    G1 Z-0.2144 F50
    Y0.4634 Z0.1250
    G0 Z0.1250
    Y0.3653 Z-0.2144 F150
    G1 Z-0.2144 F50
    X34.4016 Y0.0000 Z0.1250
    G0 Z0.1250
     
  5. 7up

    7up Moderator Staff Member

    Offline
    Messages:
    1,090
    Trophy Points:
    38
    Location:
    Kentucky
    Try redrawing the line in the direction you want the cut to travel, ie. right to left or left to right.

    -Buk
     
  6. ToxicToast

    ToxicToast Down in the weeds. Staff Member

    Offline
    Messages:
    483
    Trophy Points:
    18
    Location:
    Roseville, CA
    @navion: Thanks for the help. I was aware you that it could be manually redrawn by rearranging the code. My question is more like, "how do I not do this the hard way for future projects"-if that makes sense?

    @Buk, I can do that and it works fine, until I introduce manual tabs in it. Then it reverts back to the wrong cut direction. I'll play with it some more and see if I can come up with a solution. Thank you!
     

Share This Page