⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • WebDialog on Mac (call to Google SU engineers)

    25
    0 Votes
    25 Posts
    9k Views
    jolranJ
    Ahh, missed this addition to this rather old topic. Interesting reading. Might be relative to Didier's recent topic. http://sketchucation.com/forums/viewtopic.php?f=180&t=51350 I wonder if I could get some clarification about this: For ex, let say you have a dozen buttons that each is hooked up to it's own callback to Ruby with "window.location.href" for the callback. Even if the Ruby script is permitted to "finish" it's doing before pushing the next buttons, will there be a sync problem ? I'm having a hard time understanding how this issue behave since I don't have a Mac for testing it out myself. It seams like Arielius has a clever solution, but what if for ex one has a slider performing realtime transformation or such ?
  • Import CSV to extract values

    7
    0 Votes
    7 Posts
    2k Views
    K
    @tig said: Ken... I've given you an example in the 'parallel thread' that you started. Yep, got that TIG. Thanks..and sorry for repeating the post.
  • Compile PPC comaptible C Extension on OSX10.8?

    5
    0 Votes
    5 Posts
    245 Views
    thomthomT
    Don't have the specs at hand - but I think it's one of the late 2009 Intel Mac Minis.
  • [concept] plugin launcher

    39
    0 Votes
    39 Posts
    6k Views
    A
    If your were interested in LaunchUp, don't miss that it is no an official plugin: → LaunchUp – A Quick Launcher for SketchUp
  • SketchUp Ruby API Suggestions

    5
    0 Votes
    5 Posts
    211 Views
    A
    Great! Especially since so many issues are scattered over the forums (or burried miles deep under newer bug reports). I sometimes feel by reporting bugs we create the most awesomest bug collection, but the goal shouldn't stay purely contemplative, shouldn't it also be about realizing solutions? This way we can collaborately work on it and "prototype" API fixes and suggest extensions. Also there are so many subtle small issues/infos/experiences that would best be placed directly in the code or at the corresponding method in the API documentation (which we can't edit) – or in this github project.
  • I need a help

    3
    0 Votes
    3 Posts
    229 Views
    D
    Hail Jolran Thank you your help. I will read this lots of informations what was linked by you. I start make my plugin. Now i can make input box and i can give the width, lenght and soo on. And after this plugin draw for me. But i don't know yet, how can i save in a storage my "woods", and after i put in the screen only one click? faanyagjo.rb
  • Load Newton.dylib file via Ruby

    2
    0 Votes
    2 Posts
    171 Views
    thomthomT
    I moved that post to the Developers forum, and I'm closing this one to keep the conversation collected in one thread.
  • Removing unused commands and shortening toolbars

    8
    0 Votes
    8 Posts
    472 Views
    U
    Thanks TIG for the heads up on how to do that - so far I've only needed that small cmd set, and yes I've since realised it's Didiers' plugin not ThomThoms'.
  • Query Tool Toolbar Button

    6
    0 Votes
    6 Posts
    909 Views
    A
    That error does not come from this download, but from "utilities/utilitiestools.rb" that comes with SketchUp. Probably it can't find some resources. You should have a file "…/Google SketchUp 8/resources/en-US/utilities.strings" (or different language code), does this file exist?
  • To detect if a component contains a component

    5
    0 Votes
    5 Posts
    309 Views
    G
    @dan rathbun said: Here's another edition (wrapped in method,) that only works upon the active editing context (to help prevent BugSplats!,) tests first for any definitions and lastly filters out images and groups. thank you for the code i tried it, but it doesn't work, at least on my computer
  • Model Time of Day - Does Anybody Know of a Script or Plugin?

    3
    0 Votes
    3 Posts
    193 Views
    Dan RathbunD
    IF you can, access the ShadowInfo hash directly rather than changing EVERYONE's DynamicComponent class. See: ShadowInfo P.S.: It would be nice if possible, to append a custom DC function, in a singleton manner, to ONLY the specific DC instance in question, rather than modify EVRYONE's set of DC functions. (But I'm not sure it can be done, the way the DCs are currently coded.)
  • New order for toolbars

    2
    0 Votes
    2 Posts
    153 Views
    Dan RathbunD
    You can access toolbars by their name, if you load them into a hash. See: [ Code ] User::ToolbarSet collection
  • Creating SketchUp scene from saved files using Ruby script

    11
    0 Votes
    11 Posts
    2k Views
    M
    Thank you all for your help.
  • Online model generation using ruby

    2
    0 Votes
    2 Posts
    144 Views
    J
    You wouldn't need the Pro version - free would work. The SketchUp/Ruby side of this won't be too hard. You could simply poll for changes in a file, read in the instructions, draw things, and export an image file from a SU plugin. As far as the server goes, if you do not have one setup you could try installing like wamp on your local machine for testing.
  • Transform by vectors and Hash.

    12
    0 Votes
    12 Posts
    434 Views
    jolranJ
    @unknownuser said: NO not now, because the vertice positions are part of the definition, and not part of the individual instance(s). Thanks for answering Dan. It could be an useful addition to the API, IMO. What confuses me is that we are moving the vertices when scaling the instance(s) using Sketchup normal scaling behavior. So why would it be different if doing a tapering ? I know the calculations for tapering is much more complex, but... Maybe there is need for some symmetry calculation I havent thought about.
  • Add_polygon seems very slow

    11
    0 Votes
    11 Posts
    430 Views
    D
    thank you very much for the replies dan and Thomthom, I'll take a look at the code Thomthom experimental, to see if I can use some of this code (google translator)
  • [Tutorial] PickHelper - Visual Guide

    34
    0 Votes
    34 Posts
    3k Views
    H
    @unknownuser said: That doesn't produce visual flickering? Nope, at least none that I notice on my Macbook Pro. Even if there was a little, it would be acceptable for the rock solid performance. --J
  • Group.make_unique VS group.name = name

    14
    0 Votes
    14 Posts
    670 Views
    jolranJ
    That would be better for me. I'll try to clean out the rubbish from the script first. BTW, thanks a lot. You are very helpful back soon..
  • Add_arc etc.

    26
    0 Votes
    26 Posts
    2k Views
    thomthomT
    Probably be good to make a wrapper for the add_arc method.
  • Adding groups to an existing group

    3
    0 Votes
    3 Posts
    213 Views
    sdmitchS
    Thanks TIG. I sure there is a logical explination as to why you have to add an instance to the container group and delete the original but seems strange to me. Anyway, using your suggestions, this is the modified code and it works just like I wanted. mod = Sketchup.active_model ent = mod.active_entities sel = mod.selection grpA = ent.add_group; grpA.name="container" tr=Geom;;Transformation.new() for f in ent.grep(Sketchup;;Face) grpB=ent.add_group f; tr=grpB.transformation grpB.name="#{f.bounds.width} X #{f.bounds.height}" grpC=grpA.entities.add_instance(grpB.entities.parent,tr) grpC.name=grpB.name grpB.erase! end puts "grpA contains #{grpA.entities.length} entities"

Advertisement