Welcome to Our Community

Some features disabled for guests. Register Today.

Newbie question about Control simulation rendering

Discussion in 'Control Software' started by darrepac, Apr 20, 2020.

  1. darrepac

    darrepac New
    Builder

    Joined:
    Feb 28, 2017
    Messages:
    54
    Likes Received:
    9
    Hi

    I am trying the whole chain of making a first project.
    I have managed to make the design under Fusion 360 and generate the GCode from it with GRBL post processor (thanks to explanations here).
    I was a bit confused with feed rate settings in Fusion but I think I managed it and now I am simulating the cutting into CONTROL software and I have something weird in the some parts of the cutting: the curved ones.
    I don't know why (I mean I see no reason in terms of speed setting) but in the simulation it is making the curve very fast contrary to straight lines.
    I am wondering if it is just a side effect of CONTROL having more difficulty to calculate curve or if what I see is really what I will get on my machine.
    I upload the GCODE file and the first curve where CONTROL is going very fast is the line:
    G2 X143.524 Y203.009 Z-10 I57.063 J-18.541 (line 47)

    Side question: it is not easy to find which line is doing what in CONTROL (may-be the number at the bottom right of the window is the solution but I could not find the link between this number and the line number in GCODE). So I end up using other software which was able to go line by line in the GCODE and show the resulting movement.

    thanks
     

    Attached Files:

  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    Simulation is 'best effort' and will run fine on the machine itself.
     
  3. romamaker

    romamaker Well-Known
    Builder

    Joined:
    Nov 14, 2017
    Messages:
    69
    Likes Received:
    54
    Did you know that Fusion can run a simulation for you as well? And it can handle more complex cuts that can make the Control simulation puke.
     
  4. darrepac

    darrepac New
    Builder

    Joined:
    Feb 28, 2017
    Messages:
    54
    Likes Received:
    9
    Yes I saw the simulation in Fusion but then I generate GCode and saw the result in Control and I was surprise but the curves so I thought it could be a GCode issue
     
  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    (; ouch lol

    I'll see if I can add the "tweening" (the part the makes the sim "flow" from point to point, to the G2s it had trouble with
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    v1.0.234 or later (not released yet) has some improvements to the SIM now :)

    - Follows the arcs with the set feedrate
    - Doesnt decelerate/accelerate to/from 0mm/min between sections (machine would also continue smoothly)
    - Added the gcode line indicator to follow the cone (was in there a while back, had a bug and wasn't showing)

    GIF showing it in action (on your test Lamps file)
    new arc sim.gif
     
    Alex Chambers likes this.
  7. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,681
    Likes Received:
    1,321
  8. darrepac

    darrepac New
    Builder

    Joined:
    Feb 28, 2017
    Messages:
    54
    Likes Received:
    9
    Impressed by the reactivity...but take care, I am just starting ;)
     
    Peter Van Der Walt likes this.
  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    :) We try :) - refer changelog and commits :)
     
  10. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    Also, 1.0.234, fixes the Right-click menu in the Gcode editor (simulate from now start at the line you select - wasnt working for a while) and added a "Simulate ONLY line xxx" - useful for checking a single line of gcode
    console.png
     
  11. romamaker

    romamaker Well-Known
    Builder

    Joined:
    Nov 14, 2017
    Messages:
    69
    Likes Received:
    54
    Apologies! No offence intended! Control works find most of the time, but when I moved to Fusion 360 for CAM to do some 3D cuts, I ended up with some much larger, complex g-code that the simulation in Control just couldn't quite handle.
     
  12. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    :) none taken :) I even quoted your post selectively out of context to make the Ouch joke with :)
    And... it got me off my behind, and on to fixing the tweening at last :)
     
  13. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,681
    Likes Received:
    1,321
    You stand up when coding @Peter Van Der Walt? :ROFL::ROFL:
     
  14. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    13,753
    Likes Received:
    4,070
    Giarc and Alex Chambers like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice