ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Input_point: which component?

    8
    0 Votes
    8 Posts
    517 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
    800 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
    415 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
    290 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
    246 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
    745 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
    205 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
    558 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
    231 Views
    A
    Ok. thanks!
  • How do you calculate area of a face inside a scaled comp?

    14
    0 Votes
    14 Posts
    638 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
    705 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
    475 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
    307 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
    790 Views
    X
    thanks guys
  • Making groups of loose geometry

    6
    0 Votes
    6 Posts
    365 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
  • Can we create parametric in new component by ruby script ?

    5
    0 Votes
    5 Posts
    321 Views
    H
    Hi remus ! Due of query about component parameter has post in SCF , which had occured since I play in SU6, I make several component to compose/assembly for piping drawing, and I spent time to create various size of fitting , and though that may wasted time, due it why so I try to learn in deep for ruby script the reason that I attempt to spent lot of time into SU and pause my default CAD software(expensive cost of Autodesk ), I want to seek potential of SU to decision making for cost saving substitution I don't thing far as that, and there are several feature different between Pro & free version,however there are may advantage in Pro version if we need it really so I ever learned a little bit of business and know why google have SU in Pro and Free version. even I have the way to access its ability ,I don't sure that it will be enough reason that I shall purchase SU in Pro version

Advertisement