🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Random Push Pull by Tig

    11
    0 Votes
    11 Posts
    15k Views
    TIGT
    Here's a new v2.0 that tidies it up a bit... http://forums.sketchucation.com/viewtopic.php?p=340452#p340452
  • Text tool default text

    3
    0 Votes
    3 Posts
    114 Views
    Dan RathbunD
    It's likely that "Enter Text" is a localized string, defined within the Sketchup executable's resources (ie, a string table.) It will change depending on which language edition the user is running. You could write a custom Text tool, and use either UI.inputbox() or a UI::Webdialog instead.. then you can control what the default text is.
  • Newbie to Sketchup / Ruby

    12
    0 Votes
    12 Posts
    2k Views
    J
    Bill, Serge, Everyone - I've moved the Hotkeys discussion to a new topic. Keep on trussing.
  • Mac $LOAD_PATH and Examples Scripts Extension

    8
    0 Votes
    8 Posts
    333 Views
    Dan RathbunD
    @unknownuser said: sort of off topic but.. when lion is released this month, the user library is hidden by default.. pretty much anything messing with the user library is going to become more complicated to describe to other users as there's going to be an extra instruction needed to explain how to unhide it or how to find it.. Well.. not really off topic... this has become a continuation of anothor thread (also started by Jim I think, titled something like, "Where to store user files" or similar.) In that thread I explained that Windows has hidden (maybe since Win95?) the user's %AppData% path. I can see it because I always go into the File Settings and set show all files types and file extensions. (What can I say... geeky as charged.) Weird that OSX gets more like Windows.. and Windows is now built upon a Linux core.
  • Observer question

    5
    0 Votes
    5 Posts
    354 Views
    P
    suberb, and this on a sunday!!! Thx tig and dan, much appreciated!
  • Copy _ group array(newbie)

    10
    0 Votes
    10 Posts
    324 Views
    jolranJ
    AAHH! Yes! Now it works. I spotted the . 25cm mistake. But did not think about the spaces. Thank you very much TIG and Jim!! I've learned a lot from this. Now I need to learn what has really happend in the code And acctually I only needed 1 edge in the group. I did not know one could add the entities in an empty group. This is a lot better.
  • Class struggle

    4
    0 Votes
    4 Posts
    136 Views
    S
    ThomThom thanks so much! Paul
  • Reloading plugins while SketchUp is running

    5
    0 Votes
    5 Posts
    2k Views
    J
    That fixed the 'issue', thanks
  • Solids Penetration Check plugin

    5
    0 Votes
    5 Posts
    228 Views
    voljankoV
    Here it is,my first public plugin In some cases the intersections between solids can be considered as mistakes. Just select some SOLIDS and click the Solids Penetration Check from the Tools menu. The intersections between solids will be highlighted (selected) and colored red. What do you think about it?
  • Does anyone use UML?

    10
    0 Votes
    10 Posts
    1k Views
    T
    Thank you for all your imformation! UML seems to be not so popular. But thank you for the link!!
  • OnCancelEvent - Differentiating Undo from Redo

    6
    0 Votes
    6 Posts
    421 Views
    thomthomT
    @unknownuser said: You are right again. I found that you have to remove the observer (in the deactivate). Otherwise, in new instances of the Tool class, you will get the observer notifications of the ones previously created! I've begun to make my observers into Singletons. So I can use a factory method to get the singleton instance at any time when I need to add / remove the observer.
  • How to make a component-placer tool?

    9
    0 Votes
    9 Posts
    299 Views
    D
    @unknownuser said: And you also need to listen to the ToolsObsever to check if the user activates another tool - instead of actually placing the component. That doesn't seem to be an issue. onComponentInstanceAdded gets fired when the component is placed, not when you activate the tool.
  • Reverse Face Script

    12
    0 Votes
    12 Posts
    2k Views
    TIGT
    If you have made [or imported] a model where the back faces are the wrong way round but have been textured as if they were the front face - visible when viewed in Monochrome mode - then my FixReversedFaceMaterials script tools can help... http://forums.sketchucation.com/viewtopic.php?p=264134#p264134
  • Some critique

    7
    0 Votes
    7 Posts
    454 Views
    D
    Saying that Ruby doesn't have variables is plain wrong though. Even if the variables just hold references to objects, they're still variables, and the term "instance variable" is found throughout most object oriented programming languages (and I think the fact that Matz himself calls them variables is proof enough that Ruby has variables :)) Of course it might be wrong to compare BASIC variables and Ruby variables, but then it's also wrong to compare apples and oranges.
  • Module class method defining confusion

    10
    0 Votes
    10 Posts
    582 Views
    Chris FullmerC
    That is great Dan, thanks so much. That is very helpful, and is finally all starting to soak in and make sense. I don't entirely understand where I would use some of this, but I'm sure at some point I'll come across good reasons for things like module methods and mix-ins. I'm just not there yet in my programming needs. But a big big thank you for taking the time to write this out. Its very helpful, Chris
  • Who changed extensions.rb?

    22
    0 Votes
    22 Posts
    2k Views
    fredo6F
    @chris fullmer said: Could we just re-write the sunposition plugin and send him an updated copy? It does not re-write that much. I started doing it yesterday, but in the end got in a little bit over my head. Anyone wanna give it a go? Chris Chris, I did it actually. See this post, which contains the modified version May be we should publish it in a place which is more accessible Fredo
  • Ruby autosplit edge?

    10
    0 Votes
    10 Posts
    2k Views
    G
    I found a very easy way to auto split crossing edges. Create all edges inside a group when all edges are added to the group, explode the group. Sketchup will automatic split all crossing edges.
  • Best way to recreate the model database?

    3
    0 Votes
    3 Posts
    483 Views
    M
    @jim said: How's the project coming along? Unfortunately, it's not coming along very much at all. just been too busy to code (which is my hobby, not my job). The initial goal was to make a server-base sketchup environment so that multiple people could work on a model at the same time. However, my eyes got bigger than my abilities and I started dreaming of a completely new way to collaborate, document, and communicate 3-dimensional information. I got a little overwhelmed when I starting looking into webGL and thought that it would be amazing if there would be a way to put sketchup modelings into a browser webGL viewer similar to google's body browser:http://bodybrowser.googlelabs.com/body.html#. Since then I am cooling the programming jets to write a white paper on the future of architectural documentation and what the technology required for an all-digital design/build environment might look like. Thanks for the advice on my previous post. I will be getting this project going again hopefully very soon. -Mike
  • Question on Ruby Problem

    3
    0 Votes
    3 Posts
    132 Views
    K
    Thanks TIG as usual you were right on the problem and I found the error earlier in the code and it resulted in dir_y did not exist and program did not actually reach the point I thought was the problem. Keith
  • Entering groups.Again...

    8
    0 Votes
    8 Posts
    311 Views
    jolranJ
    @unknownuser said: Of course you can use any API tools within ANY entities context. Thats even better. I learned a lot from this, thanks all! Have to analyze this info and make me understand it fully. Local and Global coordinate system can be a little daunting to dig into for a newbie, but you explained it very well.

Advertisement