ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Guy charging U$100 for package containing free rubies!!

    53
    0 Votes
    53 Posts
    6k Views
    H
    @unknownuser said: One of the great strengths of the SCF is its open nature. .... I'm sure that the rising ruby stars of the future look at code written by the developers that regularly contribute to this forum and learn a great deal. This has to be encouraged as this will help both SketchUp and SCF in the longer term. ............. Any lockdown / closing off of the rubies is a bad idea as it closes off this pool of collective knowledge. .............. Charging $100 and Receiving $100 are 2 different things. I would bet that most Portugese speakers who are using SketchUp have at least a rough smattering of English / are smart enough and will be able to figure out how to use most scripts eventually - so why would they pay $100 ??? ......... Just my thoughts Howard L' Yes ! it 's right , I know sketchup and learning in SU ruby well in here ,from local web portal in my country ,which sketchup is just introduce in my country. Do believe that I search here on first line of my-local google search ?, and even my enlish is still not good enough , but I believe that I am smart enough to find this warmed place here
  • Input_point: which component?

    8
    0 Votes
    8 Posts
    534 Views
    daikuD
    This is exactly the info I needed. Thanks guys! CB.
  • Styles and the Ruby API

    4
    0 Votes
    4 Posts
    325 Views
    thomthomT
    I find this thread of interest as well. I was very puzzled when I wanted to access some style information.
  • Ask for a "flashing" feature.

    11
    0 Votes
    11 Posts
    802 Views
    MALAISEM
    Hi All Just a small trial using Morisdov's proper animation plugin and Jim's flasher plugin. I notice the flashing face only supports flicker when entire ( no separate items painted with the same color) MALAISE flashbox.swf
  • Line on surface removal plugin (Request)

    8
    0 Votes
    8 Posts
    1k Views
    Chris FullmerC
    There is an option when you import dwg files to "delete coplanar edges" or something like that. Just use that. It works good, Chris
  • To RickW: NightSky trouble

    4
    0 Votes
    4 Posts
    420 Views
    R
    I can tell you that turning off NightSky will turn off the sky in SketchUp, rather than restore the setting prior to using NightSky. I will look into changing that. As for the dialog box problem, all I can think of is that there must be a security issue with your browser settings, because the html is about as basic as it gets.
  • Overwrite Eventhandler ?

    3
    0 Votes
    3 Posts
    294 Views
    A
    Implementing a tool is as simple as creating a class an implementing the methods. Look at the linetool.rb in examples class LineTool def initialize ... end def activate ... end etc... def onLButtonDown(flags, x, y, view) ... end ... end As for why the observer method is returning odd values... no idea, I'll have to try it. EDIT: I implemented a test observer and it works fine. class MyTestObserver < Sketchup;;ToolsObserver def onActiveToolChanged(tools, name, toolid) puts tools.to_s + " " + name.to_s + " " + toolid.to_s end def onToolStateChanged(tools, name, toolid, xxx) puts tools.to_s + " " + name.to_s + " " + toolid.to_s + " " + xxx.to_s end end It ouput "#Sketchup::Tools:0x5c1b690 CircleTool 21096" to the ruby console. You'll notice there is a fourth parameter for onToolStateChanged. The API is wrong; it doesn't list that parameter but without it there will be an error.
  • Toggle AutoBreak Script available

    2
    0 Votes
    2 Posts
    248 Views
    BurkhardB
    http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=16189 just 8 threads
  • Get Entity from string

    10
    0 Votes
    10 Posts
    759 Views
    thomthomT
    Thanks Scott. I think I'll put forward a request for a built-in lookup method in SU. So that each ruby doesn't have to build their own hash every time.
  • Selection of hidden geometry

    3
    0 Votes
    3 Posts
    210 Views
    kenK
    Hello Todd Yes to both. Did some searching couldn’t find anything on selecting groups/component for displaying hidden geometry. Thank you for your very quick reply. Ken
  • Is there a plugin for &quot;curving&quot; a model?

    2
    0 Votes
    2 Posts
    561 Views
    pilouP
    You can project images on volume, surfaces with Plug UV Tool by Whaat Spherical or Cylindrical You can curve a volume by FFD plugin by CPhillips but this volume must be divided before on the directions of the curvatures! (you can make the box of deformation with any "little cross x,y,z" you want) The divide of a volume can be made by Zorro2 a crazzy plug by Whaat who permit to draw a line in the space for "cut" the volume ; [image: attachment.php?attachmentid=45696&stc=1&d=1224438362] [image: vBVm_cyl.jpg] [image: E27q_curv.jpg]
  • Nested operations

    3
    0 Votes
    3 Posts
    235 Views
    A
    Ok. thanks!
  • How do you calculate area of a face inside a scaled comp?

    14
    0 Votes
    14 Posts
    651 Views
    daikuD
    @thomthom said: Hi Howie. The thing is though, it's for a script I'm making, so I would need to work this out in Ruby. Thanks though. Under ruby control, you could do a start_operation, explode the component, take your measurements, then commit_operation, then undo. CB.
  • Soap Skin Bubble: time limit is annoying

    3
    0 Votes
    3 Posts
    1k Views
    K
    That is an option. It would be ok to have two versions. One free with a time limit as it is now, and one commercial without restrictions?
  • Cooperative Modeling

    30
    0 Votes
    30 Posts
    1k Views
    L
    I will try to understand more about namesets works! It sounds very interesting! In the meantime, I really hope that someone out there like a game programmer can volunteer some of their time or ideas.
  • What is "entities"

    6
    0 Votes
    6 Posts
    712 Views
    J
    Chris, just some more thoughts on entities.. entities, in your example, is a variable which points to Sketchup.active_model.active_entities. It is not a copy of Sketchup.active_model.active_entities, but think of it as a shortcut (aka pointer, or reference) to Sketchup.active_model.active_entities. If you want to copy the current Sketchup.active_model.active_entities, you can call .to_a also: ents_copy = Sketchup.active_model.active_entities.to_a Sketchup::Entities is single object, but it is a container of Sketchup::Entity objects. If you would like to know what is a Sketchup::Entity, you can see my API graph. The Ruby module Enumerable is mixed-in to Sketchup::Entities, which means Sketchup::Enities will respond to the mothods defined in Enumerable.
  • Lock inference

    7
    0 Votes
    7 Posts
    485 Views
    A
    Thanks very much for your replies. I think, knowing that SU doesn't provide any inherent method for this kind of inference, that I can see how it might be done. I'll tinker around a bit; even if I never use it, it will be good to familiarize myself with this area of the Ruby API. Thanks again. BTW, I mentioned earlier that passing two points to lock_inference does nothing different for me than one point. Any thoughts on that, as to what two points should do?
  • Is there a Ruby like FollowMe?

    2
    0 Votes
    2 Posts
    309 Views
    X
    use this http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=6708&hilit=JointPushPull with the vector extrude option
  • Whaat's greatest hits

    5
    0 Votes
    5 Posts
    800 Views
    X
    thanks guys
  • Making groups of loose geometry

    6
    0 Votes
    6 Posts
    368 Views
    Chris FullmerC
    Ahh, the wiki! I had forgotten that the wiki was there. i was not looking in that. And thanks for the heads up on methods. I had seen someone else mention it earlier, so I use it once in a while. But I'm normally not great at just being able to see the available methods and choosing the one I need and figuring it out on my own. I generally need a bit of an example with syntax.....oh syntax. I'm getting there though, little by little. When this script is done, I'll post it and I'm pretty sure it will be a #1 seller Thanks Thom, Chris

Advertisement