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: Accessing submenus / extension manager

      Thanks for the idea. It would be possible using webdialogs for extensions. The HTML source needs to be auto-genereated in this case - that's not a big deal. But the disadvantage of this is, that by using a webdialog-extensionmanager two types of extensions will be create: the regular ones for the Sketchup menus and the other ones for the webdialog. I guess, a lot of extensionmanager-hacking could start when using webdialogs 😉

      Look the first link I posted - a nearly working version of the extensionmanager is ready. The only big problem is the described one.

      azuby

      posted in Developers' Forum
      A
      azuby
    • Accessing submenus / extension manager

      Hi folks,

      maybe my question will go to /dev/null when the old Sketchup forum moves, I ask my question here again: I need to access submenus to create an extension manager to organize Ruby scripts and make programming them more easy. I do ask this question, because of the high dynamic behaviour of UI.menu - it returns new objects when you call it for the same string. But when I want to organize scripts, I have to remember menus, submenus and subsub... to put the extensions to the right place. That does not work at the moment, because I had to modify some built-in methods and stay deal with outdated menu objects. I can't use the old UI#add_submenu, because this method is very stupid and adds anything it gets - so this method is the reason for doublettes within the menu structure.

      Also see:
      http://errorinitus.de/?sect=software (extensionmanager)
      Dead link
      Dead link
      Dead link

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Organize your Rubies?

      I'm wondering, why the Ruby extension programmers do not make use of the Sketchup built-in Extension class, so the users can switch the extension on and off via Window > Preferences ... In every case (with a loader script or built-in support) you need to restart Sketchup when switchung off extensions, because you can't take away menu items. Would be possible to overwrite the methods in the Ruby extension when switching off via loader script, but anyway the extension is loaded.

      Also have a look on my approach(!) to organize scripts:
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=127&p=7623#p7623

      azuby

      posted in Developers' Forum
      A
      azuby
    • Something about AppObserver#onQuit

      Hi folks,

      I'm working on a new Ruby extension. Because there is no AppObserver#onSave method, I use onQuit instead. But there seems to be a problem calling methods from your own class in onQuit. You can't call Sketchup.active_model - that seems clear, because if you quit, there is no active model any longer. But you also can't use, say, an instance variable, where you saved the active model to when it was opend. First I thought "OK, I use an instance variable and do some cleanup at the end of the Sketchup session with this 'old' model" So I call another method within my class from onQuit and there a third method is called within my class with the variable as an argument. This call causes a Bug Splat 😢

      onQuit > m1 > m2(@var)

      I've checked it with some output - Sketchup isn't able to call m2. I have a checkpoint before, in and after the method. Only the checkpoint before is passed.

      Sketchup 6.0.277

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Shortcuts Plugin Possible?

      Nice thought. Maybe I miss something, but I only see Sketchup.get_shortcuts, no method to set them.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Make "saveas SU5" default in SU6...

      Well, you have

      • UI.savepanel: just a save panel, nothing more
      • Model#save: just saving models without prompting the user
        With these methods I do not see a way to do that.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Align points

      Again my call (as made in various other threads in the old forum): DO NOT USE GLOBAL VARIABLES if not really really necessary. (global variables begin with a $ in Ruby). You are NOT secure, that these variables aren't used by another script that could destroy your context / scope. Put the observer handling to setup and teardown methods within a/your class and save the observer within the class in an instance variable (instance variables begin with ONE Censored to protect your privacy in Ruby).

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Deutsch und Englisch parallel laufen lassen

      Weil mir vor Kurzem die Platte den Geist aufgeben wollte, hab ich einfach alles gesichert, was so ging, darunter auch Google Sketchup. Nun hab ich das hier also nicht-installiert rumliegen, kann es aber dennoch starten und nutzen. Sprich: Installieren, ganzen Ordner kopieren und woanders hintun, (wieder deinstallieren), neue Version drauf.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Launching non-blocking external applications

      Or you work with a thread:

      Thread.new do
        system(systemcall, systempara)
        # set "finished flag"
      end
      

      If need to have set a "return flag", you can set it in the thread.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Cubicpano??

      Dies hier? Ploppt der Speichern-Dialog auf? Wenn ja, merk dir den Ordner, geh dann nach dem Export dahin und such nach den Dateien 0000.jpg - 0005.jpg. Mach vor der ganzen Aktion noch die Ruby-Konsole auf, das Skript ist recht redselig. Falls es Fehler gibt, wird es uns vielleicht helfen.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Burkhard, hiiiilfe ;-)

      Nur so ein Gedanke: Vielleicht der Umlaut im Dateiname?

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Sein oder nicht sein!

      Also Lebkuchen gibt's bei uns leider schon seit Mitte August - Großstadt eben. Da macht's dann kaum noch Spaß, wirklich welche zu Weihnachten zu besorgen.

      Ich guck auch fast täglich hier ins Forum. Aber vom Gucken allein wird ja nix geschrieben.

      Auch jetzt noch lebkuchenverweigernd,
      der azuby

      posted in Deutsch
      A
      azuby
    • RE: Ruby scripts nur für su pro?

      Haben die Skripte die Endung .rbs, so sind sie verschlüsselt (können nicht irgendwie entschlüsselt werden), es macht dort also auch keinen Sinn, in ihnen nach einer Installationsanleitung zu suchen. Bei Versionen vor Sketchup 6 konnte nur die Pro-Version .rbs-Skripte einbinden.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: So nebenbei - teil II

      Nicht dass ich's nicht könnte, aber ich lass am liebsten backen. Omas können sowas bekanntlich am besten.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: SketchUp - Shoot-Out!

      Ah, als Branchenunkundiger: Was wird denn so für Studis in Architekturbüros aufgewendet?

      Zum Shoutout: Für Studis sicherlich gut. Ich persönlich kann kaum einschätzen, ob das schwere oder leichte Modelle sind. Von der Elementanzahl tippe ich auf "leicht", aber den Erstellungsprozess für sowas kenn ich ja nicht.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Su 6

      Na guck an. Aber ändert sich nichts außer der Sprache, oder?

      azuby

      posted in Deutsch
      A
      azuby
    • RE: 3dConnexion Traveller

      Im Taskmanager findet man die 3dxsrv.exe mit der Priorität "hoch" - darüber gibt es nur noch "Echtzeit" Dass natürlich für eine gute Erkennung der Signale des Gerätes (der Hardware) der Prozess schon recht prominent sein muss, ist klar. Allerdings hab ich das Flackern auch mitgekriegt, vor allem bei so tollen Spielereien wie Stardock WindowBlinds. Gefroren hat mein Sketchup zwar nicht, aber da der Navigator doch recht empfindlich ist, hat Sketchup jedes Mal geflackert, wenn ich die Kaffeetasse auf den Tisch gestellt hab. Das wurde mir dann irgendwann zu doof und ich hab WindowBlinds ins Windows-Äquivalent zu /dev/null geschickt.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: 3D warehouse SU 5

      Nö, sicherlich sind einige auch mit Vorgängerversionen erstellt worden. Aber wenn ich mich recht erinnere, hat man bei Google alle in Version 6 konvertiert.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Hardware

      Die 500er Platte ist nicht relevant, außer wenn sie fragmentiert ist. Die 4GB RAM sind nett, werden wahrscheinlich in einem Jahr Standard sein. Ferner muss man immer auch bedenken, das 4GB erst einmal auch adressiert werden wollen. Core 2 Duo 2,66 ist wahrscheinlich Mittelfeld, zur Grafik kann ich nicht viel sagen.

      Da geht jedenfalls noch einiges. Wichtig bei grafikrelevanten Dingen ist immer, den Angaben des Software-Herstellers zu folgen. Wenn man z. B., weil man im Lotto gewonnen hat oder die Oma ..., sich eine super neue und tolle Grafikkarte kauft, dann kann es trotzdem sein, dass man das Geld zum Fenster rausgeworfen hat, wenn die ganzen geekigen Funktionen (noch) nicht von der Software unterstützt werden und vielleicht die alten Funktionen, die die Software eigentlich braucht, in der Grafikkarte nur schlampig implementiert sind oder gar emuliert werden.

      Interessant zu erfahren wäre natürlich, wie Sketchup die Verteilung der Rechenleistung macht, also was wo gerechnet wird: was wird auf der CPU und was wird auf der GPU (so denn eine da ist) gemacht. Daran kann man sich dann ausrechnen, ob man besser einen dicken Prozessor benötigt oder eine schnelle Grafikkarte (mit den oben genannten Risiken). Tät mich zum Beispiel interessieren, ob Sketchup auf dem Mac von Core Image gebrauch macht.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Was solten ich machen mit dem deutsche pictogram?

      Nein, das weckt bei uns Dichtern und Denkern wieder die Schmach der Globalisierung, weil wir daran erinnert werden, dass es SU 6 nicht in deutsch gibt 💚

      azuby

      posted in Deutsch
      A
      azuby
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 14 / 16