⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

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
  • System(iexplorer) freezes sketchup until iexplore is closed

    4
    0 Szavazatok
    4 Hozzászólások
    529 Megtekintések
    Dan RathbunD
    Just stumbled upon this old post... and saw that the correct answer was never given. (Lest some newbie be misinformed, by finding this topic, I'll add the correct answer.) Don't use system(), use UI.openURL() UI.openURL("file;//C;/output.html")
  • Google Sketchup and MySQL

    2
    0 Szavazatok
    2 Hozzászólások
    579 Megtekintések
    Dan RathbunD
    The forum search should have brought up this topic, that's only a few days old: How to Connect Ruby to MySQL
  • GUI Toolkit: Shoes

    4
    0 Szavazatok
    4 Hozzászólások
    790 Megtekintések
    Dan RathbunD
    Never saw that before.. it's kinda weird the way it's setup, but alot like MacRuby also. He seems to have put a Ruby interpreter inside it, so I don't know yet.. may take a huge rewrite to have it work in a normal Ruby way. And then there's the issue of communicating with the Sketchup app... he's seems to have gone out of his way to be sure each "Shoes" app is separate.
  • WebDialogBuilder class : brainstorming

    13
    0 Szavazatok
    13 Hozzászólások
    771 Megtekintések
    Dan RathbunD
    no problem.. These classes are kinda deprecated.. (unless you had to make up a custom control, perhaps an image button...) because nowadays most browsers render controls on a webpage using the native OS's control set. You can be sure this is done in MSIE (for older versions,) by including a <META> tag in the <HEAD> section, thus: %(#8000BF)[<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">] And you'll get XP style controls, instead of the old ugly gray Win 3.x style controls. The tag will be ignored on OSX, as Safari would use Apple style controls.
  • Back_material of a face

    5
    0 Szavazatok
    5 Hozzászólások
    379 Megtekintések
    K
    working meanwhile... thanks for the help.
  • 2D fillets and CNC

    46
    0 Szavazatok
    46 Hozzászólások
    19k Megtekintések
    B
    exactly what I need !
  • What is the url for the google account sign in dialog?

    7
    0 Szavazatok
    7 Hozzászólások
    730 Megtekintések
    Dan RathbunD
    IF you must, you can instantiate a UI::WebDialog object, that uses: def login_to_3D_warehouse() title = "3D Warehouse Login" key = "3D_Warehouse_Login" settings = Hash[ ;dialog_title, title, ;scrollable, false, ;preferences_key, key, ;min_height, 500, ;min_width, 600, ;height, 500, ;width, 600, ;left, 400, ;top, 300, ;resizable, true, ;mac_only_use_nswindow, true ] dlg = UI;;WebDialog.new( settings ) lang = Sketchup.get_locale[0..1] dlg.set_url("https://www.google.com/accounts/ServiceLogin?service=warehouse&passive=1209600&continue=http://sketchup.google.com/3dwarehouse/?hl%3D#{lang}&followup=http://sketchup.google.com/3dwarehouse/?hl%3D#{lang}") return dlg end # login method # elsewhere in your code; login_to_3D_warehouse().show()
  • Where is favorite Collections info being stored?

    5
    0 Szavazatok
    5 Hozzászólások
    321 Megtekintések
    Dan RathbunD
    Well.. hmmm. unless you are an expert at the format of the Mac plist, and the Windows Registry, it's best to tell the user how to add the collection manually. Otherwise see if there is already a library extension by some other plugin author that your plugin could call. Check the Code Snippet list.. and or the Plugin Index in the "Plugins" forum.
  • WebDialogs using Chrome : any interest ?

    25
    0 Szavazatok
    25 Hozzászólások
    3k Megtekintések
    JD HillJ
    I'm very sure of that, and it was not my intention to imply otherwise. It just sounded like you were keeping that possibility open, so I felt the need to speak up. If it's your intention that it be strictly opt-in though, the idea sounds nothing but good to me.
  • Output debug info externally under OSX?

    2
    0 Szavazatok
    2 Hozzászólások
    213 Megtekintések
    Dan RathbunD
    How does the Logger from the standard library work on Mac?
  • Convert a String to Float

    4
    0 Szavazatok
    4 Hozzászólások
    397 Megtekintések
    G
    @thomthom said: hcal.to_f doesn't modify hcal, it returns a float. So you need to write it like so: hcal = hcal.to_f thanks to both you... yes, both codes work nicely; i spent 3 hours to look for a solution, and i get 2 different, in a few minutes, on sketchucation... learning ruby on the internet is an exciting experience
  • Help with WebDialogs

    5
    0 Szavazatok
    5 Hozzászólások
    373 Megtekintések
    Dan RathbunD
    @joshb said: I'm obviously new to ruby and appreciate all the pointers. Pay attention to the "Sticky" threads at the top of the forum. (They have the "S" in them.) This will get you going: Ruby Newbie's Guide to Getting Started
  • Hiding an Entity

    3
    0 Szavazatok
    3 Hozzászólások
    247 Megtekintések
    K
    Great! Thank you.
  • Expanding Cube concept

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    DavidBoulderD
    @unknownuser said: I'm curious - Did this technique for designating zones ever get implemented in the OpenStudio plugin? I never got a chance to implement this, but I'm working on something similar for the next release, but was just a bit easier to code. It will take a loose selection of geometry (a clean building plan diagram) and will convert each surface into a Space object, and will extrude them to the requested height.) Another big change for the next release is that geometry is drawn in a space vs. a thermal zone. You then assign spaces to thermal zones. This allows you to design in more of an architectural view and then combine rooms into zones. Each space can also have space type assigned. Load and even constructions can then be assigned to a space type. It is a big change so I will add a lot of new video tutorials after the release.
  • Back face/material reverse

    24
    0 Szavazatok
    24 Hozzászólások
    2k Megtekintések
    J
    @dan rathbun said: @jan_pamplona said: if we make a simple rectangle or a plane, i think the default is that the "face" facing you turns into a front color automatically, right!? NO... it does not have anything to do with "facing YOU". When you draw a face, it's normal (The direction the front surface is facing,) is always toward the negative axis. But the PushPull tool will reverse the face if it needs to do so. Thank you very much sir,, yeah, i remember now, im so dumb :,) it's just that i forgot those things because im drawing 2D plans and not noticing about the Push/Pull,thanks
  • Dimension issue

    3
    0 Szavazatok
    3 Hozzászólások
    263 Megtekintések
    Wo3DanW
    @tig said: Unfortunately dimensions have scant access in the Ruby API... Thanks TIG, I was afraid this would be the answer.
  • Should have seen this coming - Where to write temp files?

    24
    0 Szavazatok
    24 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Just noticed ANOTHER standard Ruby extension that bears on this subject. With a path to the local standard Ruby lib dir pushed into the $LOAD_PATH array, you add the following to your module: require('tmpdir.rb') This standard extension adds the class methods: Dir::tmpdir and Dir::mktmpdir If you read the file, you'll recognize the Dir::tmpdir method as the 'progenitor' of the edition in the Google 'webtextures_loader.rb' file. (Google "lifted" it, and stripped out the Win32 specific part.) So (above) when we talked about whether to rely on the WebTextures plugin, my advice is, to instead rely on the Standard Ruby library.
  • Enable error reporting for WebDialogs under OSX?

    15
    0 Szavazatok
    15 Hozzászólások
    3k Megtekintések
    thomthomT
    Thanks. I'll try that soon when I get the chance.
  • Help with shadow_info and SunRise

    3
    0 Szavazatok
    3 Hozzászólások
    291 Megtekintések
    JuantxoJ
    I thought I was doing something wrong. Then, I don't worry about this discrepancy. Thanks Tig
  • How to Connect Ruby to MySQL

    12
    0 Szavazatok
    12 Hozzászólások
    3k Megtekintések
    Dan RathbunD
    Thanks Tavi.. dang it.. dat's a bummer... oh well then it's SQLite3

Advertisement