sketchucation logo sketchucation
    • Login
    1. Home
    2. onidarbe
    3. Posts
    ⌛ Sale Ending | 30% Off Profile Builder 4 ends 30th September
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 52
    • Groups 1

    Posts

    Recent Best Controversial
    • Remove last line in Ruby Console?

      I'm working on a little Ruby editor/debugger.
      I wonder if I can remove the last line from the Ruby Console?

      thank you.

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • RE: How can I run code on view-change

      thanks!

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • RE: 1 second pop-up, timed message

      Short and ride to the point 😄

      Thanks again Dan! Have a nice new year's eve...

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • 1 second pop-up, timed message

      I can't seem to find how I can give a quick confirmation, like displaying 1 second: "Hello world" without the need to press [OK] or [X]

      I thought I've found it, but it doesn't work:
      dlg = UI::WebDialog.new("test", false, "test", 300, 200, 50, 150, false) dlg.set_html("Hello world") dlg.show start_timer(1, false) { dlg.close }

      It does sometimes disappear but even when I don't use start_timer(1, false) { dlg.close } So that seems to be another bug?! 😞 Maybe only in SU 2013...

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • How can I run code on view-change

      Hi,

      Can code keep on running in the background or can plugins only be run from a user command and need to finish before you can continue to work on the model?

      Or how can I write a Ruby plugin that is some event, like changing the viewing-angle?

      thank you

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • RE: Can't read backslash with Sketchup.read_default !

      Thank you Dan!

      Do you also know what they mean with:
      "Note that Win32API is deprecated in Ruby 1.9.2"

      Does that mean I shouldn't use any Win32API to be compatible from 1.9.2 and up?

      Found that on http://en.wikibooks.org/wiki/Ruby_Programming/Standard_Library/Win32API

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • RE: Can't read backslash with Sketchup.read_default !

      Thank you!
      Any link to learn using Win32API and Win32OLE in Ruby?

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • Can't read backslash with Sketchup.read_default !

      I can't get the backslash reading a path from registry-key in Windows 7 x64!

      path = Sketchup.read_default("MyPlugin", "path")

      I know I could change the backslash "" with a slash "/" or even 2 backslashes "\" before using write.default but isn't there a way to read a normal Windows path as in "C:\Program Files (x86)\SketchUp\SketchUp 2013\Plugins" from the registry?

      In my search for an answer I found on http://ruby-doc.com/docs/ProgrammingRuby/html/ref_c_string.html#String.gsub:
      "hello".gsub('.') {|s| s[0].to_s + ' '}
      Typing this in the Ruby Console it displays just "hello", not what it should give according to that site:
      "104 101 108 108 111 "

      thanks

      posted in Developers' Forum
      onidarbeO
      onidarbe
    • RE: [Plugin] Export 2d with Alpha

      If you ever could upgrade this plugin then maybe you could add these things 😉 Thank you!

      1. Keep settings as last used.
      2. AutoCrop (with a amount of pixels as a border)
      3. If anything is selected then only that will be exported.
      4. Multiple exports, using layers or scenes or even for every selected group/component.

      Thanks again.

      posted in Plugins
      onidarbeO
      onidarbe
    • RE: [req] Drawing through walls, disable layers or hidden paint

      Thanks for replying.

      Well looking for this, I did find requests, but no solution so far. Mostly for disabling layers like one can in most other drawing programs. So a visible layer not selectable 😉

      Although I thank you for the explication of using scenes with section cuts, is not exactly a solution. I could however use that until a better solution comes up.

      You need to see the context I want to use SU: Me drawing a kitchen in a room using mostly existing dynamic components, while the customer is dreaming and looking to the drawing build up. Because they don't have spatial awareness it would look nice if one always sees the background walls, floor and sealing, while I'm turning and turning to place all the cabinets against the walls. I could use scenes with section cuts, only I need to keep joggling through the pages. 😞

      Maybe is't because of the programs I'm used to. Maybe there is an other solution.
      Can I have 2 simultaneous views, windows or even monitors? One I can draw in with section cuts, and one that I can turn around now and then using the walls-faces with 1 side transparent.

      thank you

      posted in Plugins
      onidarbeO
      onidarbe
    • [req] Drawing through walls, disable layers or hidden paint

      Hi,
      I wonder if anyone has the time and skills to solve a more difficult, although very nice and much asked plugin for Sketchup?

      THE PROBLEM:
      If one is drawing an interior in a room or house while showing other people what you are drawing, then walls behind the interior should keep visible, while those in front should not be there.
      3 Solutions I could think of, which are getting more difficult from 1 to 3: 😎

      1. I know one can make the backside of faces invisible, but one can not select and work through them as if they aren't there. So what I was thinking of, is a program running in the background, hiding every 100% transparent face and unhide them again as soon as the other colored side is facing the viewing(camera) angle again.

      2. Because sidewalls from windows are still in front of the interior objects and sometimes one doesn’t want to color the outside of a room transparent , maybe one could automatically hide all faces/components in a particular layer that are in front of any other object on all other layers. Compared to the distance of the viewing eye/camera.

      3. And if that can’t be done, then maybe one could add a “disable/not selectable” attribute on the layers besides the already existing “visible” box.

      Thank you and greetings from Belgium.

      posted in Plugins
      onidarbeO
      onidarbe
    • RE: [Plugin] Round Edge - v1.0 (by Bezier)

      Can't it be more like a real quarter circle ?
      Can't it remove the corners instead ?

      see the attached jpg...

      Thanks.


      roundedge not round.JPG

      posted in Plugins
      onidarbeO
      onidarbe
    • 1 / 1