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

After install SketchUcam

Discussion in 'SketchUcam Help' started by jtji, May 3, 2016.

  1. jtji

    jtji New Member

    Offline
    Messages:
    4
    Trophy Points:
    1
    Location:
    south korea
    Thanks for SketchUcam, it's very nice application.
    But I have some trouble to open skp file after install SketchUcam.
    It takes about 30 seconds to open skp file.
    Before install, there's no delay..
    Is this normal?

    My PC is i7 CPU, 8GB RAM, Windows 7 64bit, Sketchup 2015 pro...
    I tested on another PC, same result.

    Please help me...
    (Sorry for bad English)
     
    Last edited: May 3, 2016
  2. TigerPilot

    TigerPilot Well-Known Member

    Offline
    Messages:
    1,578
    Trophy Points:
    48
    Some files take longer to open than others. It depends on the size of the file. If it is a drawing with a lot of details, it will take longer to open. If you used SketchUcam on the drawing, it will make it more detailed and therefore will take longer to open.
     
  3. jtji

    jtji New Member

    Offline
    Messages:
    4
    Trophy Points:
    1
    Location:
    south korea
    Thank you very much for your reply.
    It has been very helpful.

    I attach my CNC sketch file and picture for your reference.
    Thanks again.
     

    Attached Files:

    • CNCl.skp
      File size:
      11.4 MB
      Views:
      192
    • cnc.jpg
      cnc.jpg
      File size:
      645.9 KB
      Views:
      207
  4. TigerPilot

    TigerPilot Well-Known Member

    Offline
    Messages:
    1,578
    Trophy Points:
    48
    11.4MB is a very big file and that is the reason for the long time to load it. Most of my drawings are at about ~1MB or less and therefore load much faster. When I have a drawing hat is ~5MB it too takes a while to load.

    To sum it up, nothing is wrong with your computer or SketchUp or SketchUcam. :good:
     
    swarfer likes this.
  5. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    I think you can disable SketchUcam for normal work on large files, this should speed it up. Then you can create a simplified copy of the file and turn on SketchUcam so you can create Gcode from it.

    To disable it (without uninstall)
    Window
    Preferences
    Extensions
    and untick SketchUcam in the list
    restart Sketchup
     
  6. jtji

    jtji New Member

    Offline
    Messages:
    4
    Trophy Points:
    1
    Location:
    south korea
    Thanks to all.
    Maybe it's the best way that we can.
     
  7. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    Hi
    I have been doing some experiments and it looks like the time is being taken up by the 'upgrader'.
    The upgrader looks at all line segments in the drawing and changes their properties IF they are currently in a SketchUcam version prior to 0.919.
    since you are obviously using the latest SketchUcam, and you are unlikely to open very old files that are coded in SketchUcam V0.918 you can disable the upgrader with a little editing.

    Open the file
    (Sketchup 8)
    C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\Phlatboyz\Observers.rb
    (Sketchup 2013 to 2016)
    C:\Users\yourusername\AppData\Roaming\Sketchup\SketchUp 2016\SketchUp\Plugins\Phlatboyz\Observers.rb

    and comment out the updater by changing this bit (use Notepad or similar plain text editor)
    Code:
      def onOpenModel(model)
      PSUpgrader.upgrade
      PhlatScript.setModelOptions(model)
      model.add_observer(PhlatScript.modelChangeObserver)
      end
    
    to look like this
    Code:
      def onOpenModel(model)
    #  PSUpgrader.upgrade
      PhlatScript.setModelOptions(model)
      model.add_observer(PhlatScript.modelChangeObserver)
      end
    
    save the file, and if Sketchup was open. close it, then open Sketchup.
    Now loading large complicated files should be very fast.

    BEWARE! I have not done extensive testing of this change, but it seems to work ok.
    IF you do this you WILL have trouble if you load a very old file such as one might download from this forum.
     
  8. jtji

    jtji New Member

    Offline
    Messages:
    4
    Trophy Points:
    1
    Location:
    south korea
    Hi.
    Thank you very much.
    As your comment, all of my troubles are gone.

    My version of SketchUcam is "SketchUcam-1_4-22ee-CNC-tool.rbz"

    Anyway, thanks again.
     

Share This Page