sketchucation logo sketchucation
    • Login
    1. Home
    2. azuby
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 23
    • Posts 305
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: D/Code - smells like IRB spirit (1.0 RC1)

      @unknownuser said:

      2nd 'bug': when thread.new has been initiated in following manner

      	Thread.new do
      > 		system(`program arg`)
      > 	end
      

      then d/Code will wait with displaying its window till the program closed.
      btw. Thread works well with passing arguments to exe. Thanks again.
      Tomasz
      OK, have to write this again, because I kicked my posting 😞

      I've tried it with threads and

      • Windows Calculator - system "calc"
      • Ruby interpreter - system "ruby -ne 'gets'"
        and it immediately came back to the Plugin while the called executables were still running. Maybe it depends on the executable? Don't know.

      @Jorgensen
      This also was possible with the built-in Ruby Console, but it was a pain writing all code in one line 😉

      Changing the layout is possible. At the moment there is no HTML template to edit, it's hard-coded. Also a two-window version could be made, yes. Because I'm not that wise in writing modern HTML and JavaScript code, I have to dive deeper into the possibilities.

      This one I do not understand:
      @unknownuser said:

      Could Code(RAW) do it ?
      Do "what"?

      azuby

      posted in Developers' Forum
      A
      azuby
    • SCP

      (siehe auch hier)

      SCP - Sketchup Community Plugin ...

      ... fügt dieses Forums (and ein paar andere nützliche Ressourcen) direkt in deine Sketchup-Applikation ein. Dafür werden die hübschen WebDialogs verwendet (die seit Sketchup 6 verfügbar sind). Es gibt auch einen Update-Mechanismus für die Ressourcen-URLs - und man kann URLs auch lokal auf seinem Rechner hinzufügen (für den eigenen Gebrauch).

      Wenn Sketchup startet, kann man kleine Fensterchen sehen - das sind die Update-Fenster, die die URLs für das Plugin empfangen. Momentan hat das Plugin Sprachunterstützung für deutsche und englische Sprache. Wenn du eine andere Sprache benötigst, schreib einfach deine Sprachdatei selbst (und teile sie bitte mit allen).

      Download hier: http://www.errorinitus.de/ > Software > SCP

      Eine Idee, wofür man das Plugin benutzen kann: Vielleicht gibt es ja irgendwo einen coolen Sketchup Web Chat mit einem Live-Tutorial. Oder mit Benutzerhilfe. Dann kannst du ihn zu deinen Favoriten im Plugin hinzufügen (oder manuell eintippen) and hast ihn direkt in Sketchup verfügbar. Du brauchst dann nicht mehr von Sketchup zum Browser und wieder zurück umschalten.

      Das Ganze ist gemeint als Community Plugin, wie sein Name sagt. Ich werd auch versuchen, eine benuzterfreundlichere Dokumentation zu schreiben neben der, die mir RDoc (Ruby-Code-Dokumentation) automatisch erstellt hat.

      azuby

      posted in Deutsch
      A
      azuby
    • [Plugin] SCP

      SCP - Sketchup Community Plugin...

      ... adds this forum (and some other useful ressources) to your Sketchup application with the help of WebDialogs. You also have an update mechanism for the ressource urls and can add own urls locally. You can provide url lists online and share them with other users.

      At Sketchup startup you will notice some tiny windows - these are the update windows retrieving urls for the plugin. The plugin acutal has English and German language support. If you need another language, create your own language file (and pleas share it).

      Get it here: http://www.errorinitus.de/ > Software > SCP

      An idea on what this plugin could be used: Maybe there is a really cool Sketchup web chat with a live tutorial. Or user help. Than you can add it to your favorites (or manually type the url) and have it accessible from within Sketchup. You do not need to switch from Browser to Sketchup and back.

      It is meant to be a community plugin, as its name implies. I will try to write a more user friendly plugin documentation besides the documentation created with RDoc.

      azuby

      posted in Plugins
      A
      azuby
    • RE: Menus Manager

      @jim said:

      Is it worth working on a PluginMenuManager, similar to ExtensionManager for the Plugin menu? Will the next version of SketchUp have better menu support?
      We hope so. There were several attempts to organize the Plugins menu - you know the Organizer.rb by - I think it was - RickW? I also tried it (extensionmanager.rb), but we all have the problem, that accessing submenus in a later process isn't possible at the moment.

      You won't believe, some nights ago a thought about a way to write on own manager for the plugins. But my idea has one disadvantage: You have to modify all plugin scripts (being not extensions) in one line.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Confusing method !

      The first thing I think about is: Calculations with Float type. Maybe in the background.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Ruby Scrambler -- Myth or Marvel?

      I've integrated both methods to the d/Code plugin:

      • encrypt files with Scrambler.exe
      • encode code with the other method
        Maybe anyone needs it and doesn't like to use the command line. (The scrambler isn't provided with the plugin, you have to get it on your own.)

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: D/Code - smells like IRB spirit (1.0 RC1)

      Firefox in Sketchup? 😲 I thought they integrated only Internet Explorer. How have you done this?

      Thanks for the bug report.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: D/Code - smells like IRB spirit (1.0 RC1)

      It's not a step-by-step like a Debugger! One short example:

      class Foo
        def bar
          puts "baz"
        end
      end
      # First step finished.
      Foo.new.bar
      # Second step finished
      

      So it's not line by line like in IRB:

      irb(main);001;0> class Foo
      irb(main);002;1>   def bar
      irb(main);003;2>     puts "baz"
      irb(main);004;2>   end
      irb(main);005;1> end
      => nil
      irb(main);006;0> Foo.new.bar
      baz
      => nil
      

      Maybe I can do the "debuggish" way a bit later.

      edit: So you can't write a piece of a class without closing the class. This will result in a SyntaxError.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Select a tool with Ruby?

      Have a look here.

      azuby

      posted in Developers' Forum
      A
      azuby
    • D/Code 1.0 RC1 - Ruby ist weiblich ...

      ... darum muss sie auch ein bisschen mehr gut aussehen, nicht wahr?

      Bei mir kann man sich jetzt d/Code 1.0 RC1 (RC = Release Candidate) herunterladen: http://www.errorinitus.de/ > Software > d/Code

      Was und wofür?
      Also möglicherweise kennt ihr ja alle die lustige Ruby-Konsole aus Sketchup. Die ist ganz einfach: Zwei Felder und ein Schließen-Knopf. Sowas ist allerdings oftmals etwas zu einfach. Darum gibt es d/Code. Hier ist nicht nur der Code-Eingabebereich ein "bisschen" größer als nur eine Zeile, sondern der Code kann auch noch aufgehübscht werden.

      Aber das Ganze ist ja nicht nur für Ruby, sondern man kann damit auch HTML-Dateien angucken und editieren und speichern und hübsch angucken und in eine andere Datei speichern. Und so. 😄

      Vielleicht kann es ja jemand von euch gebrauchen.

      Weitere Infos auch hier.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: D/Code - smells like IRB spirit (1.0 RC1)

      OK, here we go again. I've uploaded d/Code 1.0 RC1 to my server.

      Download it from http://www.errorinitus.de/ > Software > d/Code

      Features

      • Load and show file
      • Syntax beautifying for Ruby files
      • Syntax highlighting for Ruby, C, YAML, RHTML, HTML, XHTML, XML files
      • Views for encoded, decoded, beautifyed and raw code
      • Encryption if Sketchup Ruby Scrambler is availble
      • Export current view as HTML file
      • Open current file with system preferences
      • Write current code to source file
      • Write current code to new file
      • Reset code field
      • Clear complete view
      • Select all code in input field
      • Select all code in output field
      • Encode current Ruby code
      • Decode current Ruby code
      • Step-by-step evaluate current (Ruby) code
      • Mulitlanguage support (English and German at the moment)
      • Toolbar icon for fast access
      • Menu position configurable
      • Separate shortcut definition files for each language
      • Resizable window
      • Set window back to defined position and size
      • Toggling on and off via Sketchup "Windows > Preferences" possible

      There also are help files included in the download, but you also can reach them directly:

      d/Code help file (English)
      d/Code-Hilfe-Datei (German)

      There now is one more button to encrypt files if you have access to the Sketchup Ruby Scrambler.

      Hope it runs on Windows and Mac. Should ... but only have tried it on Windows XP pro.

      azuby

      posted in Developers' Forum
      A
      azuby
    • Ruby: Menu items

      When putting a menu item with a label containing a "/" to a menu, all letters before the slash get erased.

      I.e.: Your label should be "Hide / show", you will get a menu item " show"

      azuby

      posted in SketchUp Bug Reporting sketchup
      A
      azuby
    • RE: Alles Gute zum Geburtstag eeva

      Naja, mal wieder zu spät. Trotzdem alles Gute und vor allem Gesundheit.

      Inoffizielle Forumssprachstatistik gibts hier?:

      class E < Ist_das_und
        def initiv
          "eine #{super} Sache"
        end
      end
      

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Music to make models go by

      Well, I rarely model with Sketchup, just doing extensions. So it's Speed Metal Coding 😉

      azuby

      posted in Corner Bar
      A
      azuby
    • RE: [Plugin] Plugins help script

      For this, the folder structure is also important, because the deeper the structure the slower tht menu building. So we really could do it better (because for the WebDialog frames version we only need ONE folder scan).

      azuby

      posted in Plugins
      A
      azuby
    • RE: [Plugin] Plugins help script

      @unknownuser said:

      [...] though I may prefer to have the menu / submenu version (one suggestion would be to build the submenus at first call, rather that systematically at load time).
      Please excuse, do you mean my version? A "build menu on demand" is possible. I'll do it soon, at this moment my Sketchup processes a really huge modell (250.000 points, 60.000 faces) and isn't usable 😉

      azuby

      posted in Plugins
      A
      azuby
    • RE: Ruby top 50 ?

      Maybe he is crawling the server logs 💚

      azuby

      posted in Plugins
      A
      azuby
    • [Plugin] FFlipper 6.4

      Update for FFlipper after some errors in Sketchup versions up from 6.1 ...

      You have the choice to proceed components after they are exploded. Or not. Nested groups stay nested groups, they do not need to be exploded for FFlipper.

      langhandler.rb isn't needed any longer, but the plugin still is multilingual - German and English at the moment, but feel free to create new language files.

      Download: http://www.errorinitus.de/ > Software > FFlipper

      azuby

      posted in Plugins
      A
      azuby
    • Current(Up)Date ;)

      Tach deutsches Subforum,

      CurrentDate hat ein Update verpasst bekommen.

      Was kann es jetzt noch?: Man kann jetzt das aktuelle Systemdatum kontinuierlich automatisch setzen lassen. Wer also mit dem Sonnenstand und dem Schattenwurf der Welt, wie sie gerade um einen herum (in der freien Natur) arbeiten möchte, der klickt einfach den entsprechenden Menüeintrag, überlegt sich, in welchem Intervall die Zeit eingetragen werden soll und legt dann los.

      Zu beachten ist: Es macht eigentlich keinen Sinn, beim Intervall kleine Zahlen zu wählen. Alle 60 Sekunden reicht völlig aus.

      Auch zu beachten ist, dass das Zeit-Update nicht korrekt funktioniert, wenn man Kaffeepasue macht und mit Sketchup nicht arbeitet. Sobald man dann aber die Maus wieder bewegt, wird die aktuelle Zeit eingetragen.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: [Plugin] Plugins help script

      Yes, it is slow. It is a try, not a well to use Plugin. And you are right with the Plugins and Tools menu 😳

      It is slow because of many checks for folder content and because I don't want to have empty submenus.

      Figure that out:

      • Plugins : check for contained help files in its subdirectorys *
        -- a : check for contained help files in it and its subdirectorys *
        --- a1 : check for contained help files in it and its subdirectorys *
        ---- a11 : check for contained help files in it and its subdirectorys *
        --- a2 : check for contained help files in it and its subdirectorys *
        -- b : check for contained help files in it and its subdirectorys *
      • and if it containeds help files, build a submenu.

      a11 gets checked 4 times if it contains help files. The more nested the folder structure the more time will be need.

      OK, who's next with a solution? [b]Idea[b]: Scan the folders with Dir.glob and create a WebDialog containing links to the help documents in a frameset.

      azuby

      posted in Plugins
      A
      azuby
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 15
    • 16
    • 8 / 16