Urasik Extensions | Lots of new extensions to check out Learn More

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Can Ruby run in a windows mobile ppc

    5
    0 Szavazatok
    5 Hozzászólások
    964 Megtekintések
    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 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    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 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    T
    sorry! [image: lh6y_lightwave.jpg]
  • How to add a face? (line,arc)

    3
    0 Szavazatok
    3 Hozzászólások
    531 Megtekintések
    S
    ..Thanks! [image: CMsP_ugolok.jpg] metallokarkas_3.rar
  • Reading mm as inches

    5
    0 Szavazatok
    5 Hozzászólások
    848 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    647 Megtekintések
    T
    Yes, I remember now figuring this out when I wrote the 3D Text Tool.
  • SketchUpBBS plugins - how to convert/translate code?

    4
    0 Szavazatok
    4 Hozzászólások
    957 Megtekintések
    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 Szavazatok
    15 Hozzászólások
    2k Megtekintések
    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 Szavazatok
    3 Hozzászólások
    548 Megtekintések
    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 Szavazatok
    3 Hozzászólások
    425 Megtekintések
    chrisglasierC
    Integer(a[3] ...) works just fine. Many thanks!
  • Ruby WebDialog that invokes a Java Calculator Applet

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    8 Hozzászólások
    918 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    622 Megtekintések
    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 Szavazatok
    3 Hozzászólások
    431 Megtekintések
    R
    What version of Windowizer are you using? If it isn't 3.0, get it from Smustard.
  • Common UI API

    12
    0 Szavazatok
    12 Hozzászólások
    2k Megtekintések
    tbdT
    plot-paris: possible. is what Adam referred with radial menu
  • Ruby script development

    7
    0 Szavazatok
    7 Hozzászólások
    1k Megtekintések
    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
  • Sun Paths

    3
    0 Szavazatok
    3 Hozzászólások
    791 Megtekintések
    R
    I have SunStudy on my to-do list. There are some similar things out there, though.
  • Closing a WebDialog

    4
    0 Szavazatok
    4 Hozzászólások
    758 Megtekintések
    Al HartA
    Thanks, I have mine working now as well.
  • FILE CONVERSON from SU to Algor

    6
    0 Szavazatok
    6 Hozzászólások
    3k Megtekintések
    JClementsJ
    Ian, thanks again for putting things in perspective. Your info will be helpful in communicating with the fabricator. Regards, John
  • View hidden geometry toggle icon

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    J
    I've split the Custom Toolbars discussion off to a new topic: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10041

Advertisement