sketchucation logo sketchucation
    • Login
    1. Home
    2. inio
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    I
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 24
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Leopard hang fix

      @edson said:

      does it work for the latest build (10035)? is it restricted to Intel GMA950 graphics? it seems that the same problem afflicts other macs running 10.5.6 as well.

      There should't be anything build-specific about the patch. It just causes a certain OpenGL call (glClear) to make an extra call (CGLFlushDrawable) when it's called after drawing to the front buffer. As long as SketchUp follows the same call pattern, it should continue working.

      It's possible that this bug exists in other drivers. I'll test on a current-gen MacBook tonight if I remember. Other than that I don't have any other Intel macs available.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      @broomstick said:

      Hello all,
      I am about to buy a month old imac 24 2.8, but I am concerned with this slowness. I had the opportunity to try the pc, and install SKP (version 6) on it to feel how it went. It was all ok, apart from a certain slowness in orbiting. Well it wasn't really slow... the orbit movement wasn't exactly fluid, it came in steps, not in a unique animation.

      I don't know what version of Leopard was on that machine (i forgot to ask, but I assume it is the latest), and I am wondering if this package will solve my problems or not.

      Thank you for any answer on this!

      As I said in the last post - this patch won't help general slowness. Just specific, unreasonable hangs AFTER particular actions (not during). In your case, it sounds like it was maybe using the software renderer instead of OpenGL.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      @julianotxr said:

      Ater installing the patch provided, my sketchup 6 or 7 are still slow when dealing with models containing just a few a few extra layers and objects.

      This patch only improves the performance of certain interactive operations, like box-selecting. If these operations are not dramatically slow (making SketchUp hang or freeze for half a second or more) while others (like orbiting) are fast, this patch won't help you.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      @redinhawaii said:

      SketchUp Pro 7 still crashing,
      I am on a MacBook Pro, 2GHz, latest sketchup, OS 10.5.6
      tried the ThawUp and still crashing.
      I can create a crash by going into layers and hit add layer....
      sometimes just SU crashes, some times the spinning beach ball of death..
      any thoughts or insights.
      next stop the Genius Bar....

      ThawUp doesn't resolve any crashes - just the hang after box-selecting or other interactive operations.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      Since this seems to be a recurring problem, I've put up a mirror on my own webspace and added a link below the download box.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      @sylvan.being said:

      Thanks for the fix Inio! This makes using SketchUp WAY less frustrating now. Is it recommended to leave hardware acceleration and fast feedback on with this patch and the Intel GMA X3100 integrated card?

      I wasn't aware that this bug even affected the X3100.

      As for leaving those things on - that's up to you. The Google position appears to be to turn them both off, but if it's usable I don't see why you couldn't leave them on.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Google Sketchup Pro 7 is out

      I'm a bit surprised that the Leopard hang is still present. Good thing ThawUp didn't assume SU7 would fix it.

      posted in SketchUp Discussions
      I
      inio
    • RE: Leopard hang fix

      Much to my surprise, SketchUp 7 DOES NOT FIX THIS. This patch is still useful with SketchUp 7.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      @doon said:

      The fix sounds class! Is there anywhere i can still get it?

      The attachment on the first post of this thread still works...

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      Yeah, I'm a little surprised this issue hasn't been fixed yet. Three OS updates (four if you count the "Graphics Update") and one SketchUp update later :/.

      (BTW, confirmed to be needed with 10.5.3)

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      You may need to restart, or at lest log out, after installing it for it to take effect.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: UV Mapper?

      After talking so some friends, I got pointed at Blender as something that might be better for this. Do the modeling in sketchup, then texture it in blender. If that doesn't work out, or turns out to be way too much work, I'll definitely be writing this.

      posted in Developers' Forum
      I
      inio
    • RE: UV Mapper?

      I'm modeling levels for a game with fairly freeform geometry. I need to be able to:
      [] manipulate the texture coordinates of vertices,
      [
      ] select multiple faces and "slide" the texture across all of them uniformly,
      [] display the model "flattened" onto the texture,
      [
      ] maybe even drag the flattened vertices around and have the texture on the 3d view update in realtime.

      If I were doing it myself I probably wouldn't do the last bit, but the others sound pretty easy to do.

      posted in Developers' Forum
      I
      inio
    • UV Mapper?

      Hello. Before I go off and write my own, I was wondering if anyone had created a UV-map editor for SketchUp?

      posted in Developers' Forum
      I
      inio
    • [ruby doc] Pages.selected_page=

      Add the following currently undocumented method to the Pages class

      @unknownuser said:

      selected_page=

      The selected_page= method is used to change which page is selected

      Syntax

      selectedpage = pages.selected_page = page

      Arguments

      page - the page to select

      Return Value

      selectedpage - the newly selected page

      Example

      model = Sketchup.active_model
      pages = model.pages
      page1 = pages.add "Page 1"
      page2 = pages.add "Page 2"
      // default behavior - page 2 will be selected, select page 1 instead
      pages.selected_page = page1

      Bugs

      Selecting a page succeeds regardless of the appropriateness of the Page to the Pages object. The Page will be selected in it's model even if selected_page= is called on the Pages of another model.

      posted in Developers' Forum
      I
      inio
    • RE: Change active Scene/Page

      Aha, that would by why I couldn't find it. Thanks!

      posted in Developers' Forum
      I
      inio
    • Change active Scene/Page

      Is there any way to go to a specific scene/Page through Ruby? (to clarify: the GUI calls them scenes, Ruby calls them pages)

      posted in Developers' Forum
      I
      inio
    • RE: Leopard hang fix

      @markodd said:

      Hi .... I have recently bought a macbook with leopard (osx 10.5). I want to buy sketchup pro but thought that I would download a trial version to check it out. There are many hang problems which (compared to Sketchup 5 on my old pc) drive me nuts... Its seems that this is a problem experienced by other users and it also seems that there may be a solution... Can you help ? markodd

      Are the hangs related to trying to rectangle select? If so, download the patch in the first post of this thread.

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      Looks like I was right. The attached "input manager" seem to resolve the freezes as far as I can tell. It causes visual artifacts in a few cases when dragging rectangles, but that hopefully isn't too big of an issue.

      (bare Input Manager obsoleted by dedicated installer package above).

      Here's the source code, if you're interested. If you want the full project, let me know and I'll post it.:

      
      @interface ThawUp ; NSObject 
      {
      }
      @end
      
      #import "APELite.h"
      #import "OpenGL/gl.h"
      #import "OpenGL/OpenGL.h"
      
      static void (*orig_glClear) (GLbitfield mask) = nil;
      static void new_glClear(GLbitfield mask);
      
      static void (*orig_glDrawBuffer) (GLenum mode) = nil;
      static void new_glDrawBuffer(GLenum mode);
      
      static BOOL wasFront;
      
      @implementation ThawUp
      + (void) load
      {
          if(![[[NSBundle mainBundle] bundleIdentifier] hasPrefix;@"com.google.sketchup"]){ return; }
          NSLog(@"ThawUp loaded as input manager");
      	
      	wasFront = FALSE;
      	
      	orig_glClear = APEPatchCreate(glClear, new_glClear);
      	orig_glDrawBuffer = APEPatchCreate(glDrawBuffer, new_glDrawBuffer);
      }
      
      static void new_glClear(GLbitfield mask) {
          if (wasFront) {
      		wasFront = FALSE;
      		NSLog(@"ThawUp causing CGLFlushDrawable");
      		CGLFlushDrawable(CGLGetCurrentContext());
      	}
      	orig_glClear(mask);
      }
      
      static void new_glDrawBuffer(GLenum mode) {
      	if (mode == GL_FRONT) wasFront = TRUE;
      	orig_glDrawBuffer(mode);
      }
      @end
      
      

      ThawUp.zip

      posted in SketchUp Bug Reporting
      I
      inio
    • RE: Leopard hang fix

      BTW, if anyone's wondering 10.5.2 and it's Graphics Update do NOT fix the driver bug that causes this.

      posted in SketchUp Bug Reporting
      I
      inio
    • 1 / 1