🫛 Lightbeans | 3D Texture Library For Architectural Visualizations Download
  • [help] can we access styles from ruby?

    4
    0 Votes
    4 Posts
    216 Views
    CadFatherC
    Thanks, there is hope then!
  • Change the color of only one instance

    13
    0 Votes
    13 Posts
    733 Views
    TIGT
    http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-ComponentDefinition.html#name= .
  • Hidden or soften edge on a face?

    3
    0 Votes
    3 Posts
    272 Views
    C
    Cool, Merci Matt!
  • Invert Selection - No Shortcut Key

    12
    0 Votes
    12 Posts
    2k Views
    CadFatherC
    solved - i needed to add a plugin menu item - with icon and context menu only i get that registering bug. Thanks for all the help though!
  • Install script options- help needed

    7
    0 Votes
    7 Posts
    289 Views
    garydornG
    I understand what you say about the text not matching so I played round with changing them so they matched, and after non-working numerous iterations, it finally worked! its now home = File.expand_path "~" myrubyscripts = File.join home, "MyRubyScripts" require_all(myrubyscripts) I think it worked because I eventually removed the spaces around (myrubyscripts)? thanks for your help Jim may this be of assistance to other Mac users.
  • Ruby - PushPull to map size or proportion?

    5
    0 Votes
    5 Posts
    636 Views
    J
    PushPull does use the Unit Snapping length, if it is set and so it will snap to the distance set there.
  • shell plugin?

    9
    0 Votes
    9 Posts
    1k Views
    J
    I know this is an old topic, but CADSpan's free plugin has this "shell" feature. http://www.cadspan.com/tools
  • Mouse middle-button: Orbit vs MyTool

    3
    0 Votes
    3 Posts
    378 Views
    M
    Yes, the onMButtonDown API when used inside any new tool "is broken". I already included a fix for that on the "WishList" stick. But now I realized the need of more than that. Something that works above the level of the tools - where onMButtonDown is. Maybe a new API like "Sketchup::onGlobalMButtonDown" that allows to associate my new Orbit tool to this trigger (and so, disassociate the default Orbit tool from that). I would like to know if there is any workaround (maybe change something on CameraOrbitTool class - where is this class?) before include this "Sketchup::onGlobalMButtonDown" on the WishList. Thank you.
  • Group.make_unique (possible Ruby bug)

    3
    0 Votes
    3 Posts
    337 Views
    TIGT
    A Group is a single Instance of a Definition - and of course there should only ever be one of them, but sometimes SUp with Ruby thinks that a copy of a Group is another Instances. The way round it in Ruby is to use make_unique on the copy of the group (instance) as you go. It will return an error but it should work anyway... It might get fixed one day...
  • Cost Estimator

    5
    0 Votes
    5 Posts
    733 Views
    TIGT
    @unknownuser said: TIG, would this be something that you could accomplish? I'm not savvy enough to create these kinds of things. I wasn't actually talking about exporting this information to excel, but just compute and keep track of this information within sketchup. Running an update is fine as well just as long as the information that is assigned to a material, is kept for each update. Thanks for getting back to me. TIG, if this isn't something you could do, is there someone you know that could? Regards, Jaktavia I'm pretty busy at the moment... If you write a step by step description of what you want to do, sent me it in a PM and I'll try and look at it - no promises though.
  • [HELP]Delet all textures with a plugin,quickly

    12
    0 Votes
    12 Posts
    1k Views
    B
    It 'd be great if the Globalmaterialchanger.rb plugin would allow right-clicking in the material browser and provide the option: "Delete (this material) and change to:..." I spent hours yesterday of tedious deleting and repainting in a complex model.
  • PLEASE HELP

    24
    0 Votes
    24 Posts
    1k Views
    S
    @unknownuser said: @unknownuser said: I can't reproduce this Maybe this script can help you How does a follow path tool like that possibly help me put objects on a curved face? NM, I found a way by making my object a component and set it to snap to any surface.
  • Scene tabs between sketchup files

    4
    0 Votes
    4 Posts
    811 Views
    plot-parisP
    @jim said: Heh, I thought you meant you wanted to click on a Scene tab to switch to a new model! (which could be done, by the way) I am not sure what purpose that could serve. but it sounds great! [Edit] Ok, thought about this for a second: imagine SketchUp would support true referencing (components are saved as external files and only loaded into the scene when the parent file is opened). and in addition to that you have Jim's suggestion of a model-tab system, where you can switch between separate SU files within one opened application. (the tabs could appear above the toolbar or at the bottom of the screen to separate it from ordinary scene tabs. with these two tools you could have one master plan file, with lets say 5 different buildings (loads of copies), and each of the five buildings are loaded as a model-tab. instead of changing a building-component within the huge master file (and either having a very slow SketchUp or need to switch off all unnecessary layers and hide rest of model, when modifying the component), you simply switch to the model-tab of the component. when you switch back to the master file, SU will automatically check for updated references and show the new version of the building. but that is not all you can do with model-tabbing. you can also use it for info exchange. lets say you have an old file with scenes set up and a new file with a model. you open them both as model-tabs and drag-and-drop the desired scenes from the old model onto the tab of the new model. the same would be possible for components, materials and styles - simply drag them from one model to another model-tab and the info is copied... and of course you can do what you already can, when opening two seperate SketchUp programs - copy in one model, paste in place in another model... [image: modeltabs01ic4.gif] what do you think? sounds like a damn good feature to me!!! (unfortunately out of ruby reach, I am afraid)
  • Boundingbox.width (height, depth) related to global axes?

    3
    0 Votes
    3 Posts
    323 Views
    N
    @cphillips said: Use the bounding box from the definition componentinstance.definition.bounds Note: if your component instance is scaled you will need to scale the bounds the same amount. Thanks a lot ! You made my day
  • Change axes from ruby

    10
    0 Votes
    10 Posts
    2k Views
    B
    Hi NewOne It looks like I misunderstood what you were after. I thought you wanted to change the Sketchup Axes before placing a component ie the orientation of a placed component is determined by the current axes orientation. There is no method for changing the axes as far as I am aware. This statement invokes the Axes tool which allows the user to set the axes orientation prior to next call Sketchup.send_action("selectAxisTool:") The place_component method places a component "modcomp" in the Model using the component placement tool. status = Sketchup.active_model.place_component modcomp, false Apologies for the confusion.
  • My Ruby Questions

    4
    0 Votes
    4 Posts
    407 Views
    CadFatherC
    works beautifully!
  • Layers and scenes (pages)?

    5
    0 Votes
    5 Posts
    448 Views
    pilouP
    Take your times
  • Select instances adds ghost

    4
    0 Votes
    4 Posts
    783 Views
    T
    Hi I have found something similar when my tool picks faces and then tries to add them to the Sketchup.active_model.selection and display it: Two faces has been picked from two different component instances.. selection.add face1 selection.add face2 view.invalidate [image: BFF6_DisplaySelectionBug.jpg]
  • Req : arc extend , trim

    7
    0 Votes
    7 Posts
    2k Views
    majidM
    in my recent projects i faced the same problem again and again : i do an offset over an arc and then i need this arc to be extended .. nad dont know how do i must do this... ( weld , just welds the parts and dont let me to extend - like what there is in autocad ). plz help
  • Example Ruby

    4
    0 Votes
    4 Posts
    295 Views
    M
    Yes you can ! And we're here to help you !

Advertisement