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

Error starting Gcode plotter

Discussion in 'SketchUcam Bugs' started by 1dimon1, Dec 11, 2014.

  1. 1dimon1

    1dimon1 New Member

    Offline
    Messages:
    10
    Trophy Points:
    1
    Location:
    Russia
    Excuse me. At me still two problems.
    1. When starting the plotter error message : '5.000' is not valid floatinng point value (see picture "not avalid")
    When the plotter is loaded in its window there is only G-code, picture of tool movement is not. (see picture "plotter").
    2. I draw a hexagon, but the machine is cutting a circle!
    I was looking through the code in another program (CNC), and there is drawn a circle instead of hexagons.

    Help me.
     

    Attached Files:

  2. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    this is a Windows regional setting, it is using the , for decimals, like 5,8 but it must be set to use . as in 5.8.
    SketchUcam is NOT regional setting aware and nor is Gplot.exe

    delete the cut line
    select the hexagon
    right click it
    select 'explode curve'
    add cut line

    This is a Sketchup 'feature' it tags a polygon as a 'curve' in the same way it tags a circle.
     
  3. 1dimon1

    1dimon1 New Member

    Offline
    Messages:
    10
    Trophy Points:
    1
    Location:
    Russia
    Thank you. I checked - works.
     
  4. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    let me correct myself a bit. turns out there is a function to ask a curve if it is a polygon or not, but it wasn't being used when applying cut lines.
    so, in the file [1]Plugins/Phlatboyz/tools/CutTool.rb find line 138
    which looks like
    Code:
             if ((!e_last.nil?) && (!e_last.curve.nil?)  && (e_last.curve.kind_of? Sketchup::ArcCurve))
    and replace it with
    Code:
             if ((!e_last.nil?) && (!e_last.curve.nil?) && (!e_last.curve.is_polygon?) && (e_last.curve.kind_of? Sketchup::ArcCurve))
    [1] this folder will be in c:\programs files\google\sketchup8\ or similar, for Sketchup8
    it is in c:\users\username\appdata\roaming or similar, for later Sketchups 2013/14/15
     
  5. 1dimon1

    1dimon1 New Member

    Offline
    Messages:
    10
    Trophy Points:
    1
    Location:
    Russia
    Thank You . In the near future check.
     

Share This Page