πŸ“· GIF Exporter 1.1 | create animated GIFs from SketchUp models with customizable settings Download
  • How do i set ShadowTime ?

    3
    0 Votes
    3 Posts
    537 Views
    H

    Hi Jim,

    Thanks loads for your tip!! πŸ‘
    I'll go try it out straight away πŸ˜›

    I'll be back... πŸŽ‰

  • Prettify icons of SUtool V0.38

    2
    0 Votes
    2 Posts
    547 Views
    Dave RD

    I have that problem with some 3rd party toolbars as well. I don't know why that is, though.

  • Select all and delete

    10
    0 Votes
    10 Posts
    1k Views
    chrisglasierC

    @morisdov said:

    Update us on your progress in a new forum thread hopefully soon.

    I posted a something in the ideas box of the corner bar.

    But to finish off the select all delete business so far I find the following works:

    @dlg.add_action_callback("clearer") {|d, p|
    ents=Sketchup.active_model.active_entities
    status = ents.clear! }

    After a while the other two brought up some frightening looking splat windows.

    Thanks

    Chris

  • Problem using component spray tool

    4
    0 Votes
    4 Posts
    608 Views
    GaieusG

    That's really a render problem. Once the components are in place, the CompSpray tool's job is over. You may be more lucky with this question in the Podium Subforum under The Extensions Forum - those who can help are unlikely to chime in here.

  • Can Ruby run in a windows mobile ppc

    5
    0 Votes
    5 Posts
    849 Views
    A

    I documented my attemps in German here: http://forum.ruby-portal.de/viewtopic.php?t=2669 At first, follow the links given in the thread (haven't tried them for working).

    azuby

  • How to undo from ruby?

    5
    0 Votes
    5 Posts
    1k Views
    J

    @unknownuser said:

    Hi, Again...
    But the start/commit_operation do not undo the variable that changes?
    It only undo "actions" on the screen, on the model.
    Then is there a way to act on the variable and undo the new value?

    Emmanuel,

    That is sort of an odd request. Can you elaborate on what you want to do, or post some code?

  • Lightwave

    11
    0 Votes
    11 Posts
    1k Views
    T

    sorry!

    and this is what I see in lightwave

  • How to add a face? (line,arc)

    3
    0 Votes
    3 Posts
    454 Views
    S

    ..Thanks!
    ugolok.jpg
    metallokarkas_3.rar

  • Reading mm as inches

    5
    0 Votes
    5 Posts
    744 Views
    chrisglasierC

    theX = Integer(a[3]).mm works.

    I'm at GMT+8, so please accept delayed thank yous.

    Chris

  • How to get the insertion point of a component?

    4
    0 Votes
    4 Posts
    479 Views
    T

    Yes, I remember now figuring this out when I wrote the 3D Text Tool.

  • SketchUpBBS plugins - how to convert/translate code?

    4
    0 Votes
    4 Posts
    862 Views
    soloS

    Very interesting, looking forward to getting my grubby hands on this one.

    OT: The Google page translator seems to translate from chinese to Yoda English.

  • Detect Ctrl outside a Tool

    15
    0 Votes
    15 Posts
    2k Views
    fredo6F

    Too bad, as I thought we had a method to provide a utility libraries based on operating system, but portable between PC and Mac.
    I guess this is possible, but we just need to package to offer the same interface, even with different code and binaries underneath

    Thanks anyway for this contribution. I'll try to have a closer look whenever I have some time left.

  • Go to a particular page on a model

    3
    0 Votes
    3 Posts
    435 Views
    C

    Thanks TIG!
    I just found an easiest way on the forum.

    ... pages.selected_page = pages["Scene 2"]

    It was on an older post answered by Jim.
    http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=8704&p=52285

  • Passing coordinates javascript to callback

    3
    0 Votes
    3 Posts
    365 Views
    chrisglasierC

    Integer(a[3] ...) works just fine. Many thanks!

  • Ruby WebDialog that invokes a Java Calculator Applet

    10
    0 Votes
    10 Posts
    890 Views
    fredo6F

    @plot-paris said:

    for example, I copy(move) an object and type in the distance (lets say 50), then hit enter. but if I want to move it only one third of the distance I just type in

    50 / 3

    and the object is moved one third of 50.
    the same could work when drawing geometry like a line.

    The only problem with the VCB is that it does not work when you have decimalsin the numbers
    For instance, if your unit is Centimeters and you type in the Line tool:

    "50.0/3" will give 3 cm "50.0/3.0" will give 50 cm

    It's not very complex to supersede this in Ruby, but the trick is that you have to convert numbers to Float first. Otherwise, 50/3 will simply give 16, not 16.67. You can try in the Ruby console. So a straightforward #Eval() won't make it.
    I had to do it in my script PlaneShear for entering angles (in degrees, radians or as a tangent value)

  • Finding unit of drawing in options

    8
    0 Votes
    8 Posts
    747 Views
    M

    @fletch said:

    j'espere que ne te casse pas les pieds, Matt666!

    πŸ˜„ No !! πŸ˜„

    @unknownuser said:

    I believer Matt Frenglish is trying to ask how to get the units of the drawing.

    absolutely!

    @unknownuser said:

    Frenglish

    πŸ˜†

    @unknownuser said:

    Then, try this
    def get_current_unit ()
    case Sketchup.active_model.options[0][2]
    when 0
    return "inch"
    when 1
    return "feet"
    when 2
    return "mm"
    when 3
    return "cm"
    when 4
    return "m"
    end
    end

    Thank you !! 😍 😍 😍 😍

  • Online multiuser translating

    4
    0 Votes
    4 Posts
    527 Views
    BepB

    @jim said:

    I know of 2 solutions for translating plugins:

    SketchUp ships with langhandler.rb in the Tools folder.

    Fredo6 has his LibTraductor.rb

    Or did you mean to make translations for SketchUp, not SketchUp plugins?

    Hallo Jim,
    What I meant was to have a possibility to let the Sketchup users translate the whole UI of Sketchup.
    It is possible in the Genopro program I mentioned in my first post.(check it out)
    It took 6 month to translate the user interface of this program for a great percentage, into more than 30 languages, mainly by the users of the program themselves.
    I came up with the idea, when I noticed that you where working on ''Custom toolbars'' and ''common UI API'', I thought that maybe this would be the best time to come up with this idea, so you could already incorporate this functionality or a part of it, into the ruby’s you are making.
    So perhaps the tooltips of the custom toolbars could already be translated.
    About the custom toolbars your making possible could you incorporate a function. that with a right+click on the tool button the help file of this tool would open.
    Incorporate in your rubyl the making of the tool-shortcuts.
    Make fly-out toolbars possible as a choice .

    To all developers ,thanks for shearing all your great ruby's
    Greetings,
    Bep van Malde.

  • Windowizer problem in groups

    3
    0 Votes
    3 Posts
    331 Views
    R

    What version of Windowizer are you using? If it isn't 3.0, get it from Smustard.

  • Common UI API

    12
    0 Votes
    12 Posts
    1k Views
    tbdT

    plot-paris: possible. is what Adam referred with radial menu

  • Ruby script development

    7
    0 Votes
    7 Posts
    817 Views
    C

    @unknownuser said:

    Chunky Bacon.

    Ok. This is seriously out there. Seriously. Thanks for the reference.

    While reading this little ditty, I found the Ruby Bride and the RDE, which I will try out.

    Chunky Bacon....

    chris

Advertisement