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)

      Not at the moment. Unfortunately I'm a bit too busy with German law 😞

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Text position problem

      Hmmm maybe it's a problem with OpenGL?

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: [Plugin] PronButton

      @unknownuser said:

      I ask myself... "why?". Please sketch a scenario where this script would be of use, so I may better understand what this script does, your site describes even less than here. Many thanks.
      It was intended to be a fun script for distraction: Click the button, a full screen window will open and show one of the images from the img directory, i.e. the "getStringFromObj()" image. But in the German subforum I got the idea to go on developing it with the intent to have fast acces to model relevant images (ground plans and so on).

      azuby

      posted in Plugins
      A
      azuby
    • RE: Floor plans of real buildings - where? and related questions

      You're right, but there are so much special words I don't know. 😄 Maybe:

      • State archiv
      • County archiv
      • City archiv
      • libraries (oh yes)

      azuby

      posted in Newbie Forum
      A
      azuby
    • RE: Request for a new script, Notes

      @Ken
      Just one thought (haven't experience on the following topic): Storing the data to the Sketchup folders may not work if you aren't logged in with admin permissions.

      azuby

      posted in Plugins
      A
      azuby
    • RE: PronButton

      ... oder rechnerabhängig. Vielleicht hast du ein besonders schnelles Modell? Ich hab im Ruby-Subforum gestern auch erfahren, dass ich - in dem Skript ist ja ein kleiner Timer - den auch anders bauen kann. Momentan wird ein Thread benutzt, der wird kurz schlafen gelegt und meldet sich dann wieder. Ich könnt mir vorstellen, dass, wenn dein Rechner schneller ist als meine alte Möhre, der Thread bei dir sehr schnell wieder aufwacht und ebenso schnell arbeitet.

      Die Idee von dir mit dem Durchblättern ist auch gut, lässt sich zusammenbauen. Man müsste dann vielleicht überlegen, ob man nicht eher in dem Verzeichnis, wo auch das Modell liegt, einen Ordner ablegt, der genauso wie die Modelldatei heißt. Und dort tut man dann die Bilder rein. Und damit man dann nicht ständig von vorn durchblättern muss, bräuchte man vielleicht auf der linken Seite dann eine kleine Liste, die die Bilder direkt anwählbar macht.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Floor plans of real buildings - where? and related questions

      Hm, also hier in Deutschland würde ich bei öffentlichen Gebäuden einfach

      • Baubehörde
      • Landesarchiv
      • Kreisarchiv
      • Kommunalarchiv
      • Stadtarchiv
      • Gemeindearchiv
      • Bibliotheken
        abfragen. Aber Architekten haben da sicherlich genauere Tipps.

      Die Geländeeinteilung - falls ihr das auch braucht - hat man u. a. auf Flurkarten, die gibt es beim Katasteramt. Und dann gibt es ja noch die topographischen Daten (ganz interessant für bergige Regionen, weil ja da Häuser manchmal auch "halb im Hang" stehen mit ihrer untersten Etage). Da kommen mir dann sog. DGM-Dateien in den Sinn (Digitale Geländemodelle).

      azuby

      posted in Newbie Forum
      A
      azuby
    • RE: PronButton

      Oha, bei dir kann die Seite nicht? Welchen IE hast du denn drauf? Oder kann sie doch? Siehst du denn was? Ich werde nicht so ganz schlau daraus.

      azuby

      posted in Deutsch
      A
      azuby
    • [ruby doc] Model - undocumented methods

      OK, first of all an one-liner to get all methods from the active model (-> form a Model object):

      puts((Sketchup.active_model.methods-Object.methods).sort)
      

      I'm running Windows XP, Sketchup 6.4.112

      Two of the methods are not documented

      • get_product_family - returns 3 - maybe it returns which kind of product (free or pro version) the user is running
      • skpdoc - returns 170625304, 170625368 or 170744800 - I really don't know, what this one is used for und returns, but the number is different after each Sketchup restart
        azuby
      posted in Developers' Forum
      A
      azuby
    • PronButton

      (siehe auch hier)

      Nicht, was ihr wieder denkt (oder doch? Naja, wer will, der kann ...) 😄 Ein kleines Knöpfchen. Und wenn man raufklickt, passiert was. Wer was anderes passieren sehen möchte, tut Bilder in das Verzeichnis pronbutton/img.

      Nutzen kann man das nicht nur, um sich abzulenken, sondern um z. B. sich Dinge einzuprägen (zu memorieren, wa?).

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

      War erst als Fun-Plugin gedacht, so wie dieser lustige Simpsons-Button, aber so ein bisschen praktischen Nutzen hat es dann wohl doch auch. Wer Ideen zur Verbesserung hat - hab immer ein offenes Ohr.

      azuby

      posted in Deutsch
      A
      azuby
    • RE: Super Autosave Archiver...

      Don't know. How late is it in your city? 😄

      azuby

      posted in Plugins
      A
      azuby
    • RE: Text position problem

      I've done a bit cosmetics to your script and put all the code togehter (you wrote, "complete script", but the text-adding wasn't in)

      $textObjects = Array.new
      
      def tmTextAdd
        tmSelectAllFaces
        model    = Sketchup.active_model
        entities = model.entities
        ss       = model.selection
        for object in ss
          point = Geom;;Point3d.new object.bounds.center
          area  = (object.area / (39.3700787*39.3700787)).round
          text  = "#{object.layer.name}\n#{area} m²"
          $textObjects.push entities.add_text(text, point)
        end
        ss.clear
      end
      
      def tmSelectAllFaces
        model = Sketchup.active_model
        ss = model.selection
        ss.clear
        for ent in model.entities do
            ss.add ent if ent.kind_of? Sketchup;;Face
        end
      end
      
      def tmTextDelete
        unless $textObjects.empty?
          for e in $textObjects do
            e.erase! unless e.deleted?
          end
          $textObjects.clear
        end
      end
      
      
      #---------------------------------------------------------------
      #- Setup menu -
      #---------------------------------------------------------------
      unless $TM_area_loaded
        Mejeriet_menu = UI.menu("Plugins").add_submenu("TM").add_submenu("Arealer")
        Mejeriet_menu.add_item("On") { tmTextAdd }
        Mejeriet_menu.add_item("Off") { tmTextDelete }
      end
      $TM_area_loaded = true
      

      And for me it worked. I can see all texts from all directions.

      azuby

      posted in Developers' Forum
      A
      azuby
    • [Plugin] PronButton

      OK guys, a PronButton for Sketchup. You can implement getStringFromObj() on your own 😉

      On the other hand you can use this one to memorize things while working. Put some images to the pronbutton/img directory, that's it. It does not run automatically, because I do not want to maybe break a difficult manipulation you are doing to your model, i.e. Shift+select lots of faces.

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

      azuby

      posted in Plugins
      A
      azuby
    • RE: Super Autosave Archiver...

      OK, haven't seen this before. Have you figured out, whether this method is (nearly) exact? By the way, it has a second argument for repeat.

      azuby

      posted in Plugins
      A
      azuby
    • RE: Super Autosave Archiver...

      Maybe a remember my announcement of ModelHistory plugin, which saves the actual model and additional things - but only on user interaction.

      The "tricky" thing in this case is the exact time of 10, 15 or whatever minutes. I've shown this with the current version of the CurrentDate plugin: You need a thread running in the background. If you would do it without thread, Sketchup freezes the whole time. But if you use a thread, there is the problem of how often this thread runs. If you work with Sketchup, the thread runs very often (depends on what the thread is doing), but if you let your mouse asleep, Sketchup won't wake up the thread.

      But if it remains out of consideration, it could be done.

      azuby

      posted in Plugins
      A
      azuby
    • RE: Hello from Austria

      Tach,

      ja genau, und wenn das Englische mal nicht will, dann sind wir im deutschsprachigen Subforum auch ganz handzahm 😄

      azuby

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

      OK, next try with proxy: http://www.behidden.com/ - you have to enable JavaScript checkbox on this website where to put the url.

      azuby

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

      That's not cool, but it's not the server my website is hosted:

      tracert errorinitus.de
      
      Routenverfolgung zu errorinitus.de [62.67.235.128]  über maximal 30 Abschnitte;
      
        1    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        2     *        *        *     Zeitüberschreitung der Anforderung.
        3     6 ms     6 ms     6 ms  217.0.82.86
        4     6 ms     6 ms     6 ms  217.5.72.138
        5    22 ms    21 ms    20 ms  62.156.138.178
        6    22 ms    21 ms    21 ms  ae-0-56.mp2.Berlin1.Level3.net [4.68.108.162]
        7    13 ms    12 ms    12 ms  so-1-0-0.mp1.Hamburg1.Level3.net [4.68.128.37]
        8    12 ms    13 ms    13 ms  ge-4-1.hsa1.Hamburg1.Level3.net [195.122.140.163]
        9    13 ms    13 ms    13 ms  212.162.44.242
       10    13 ms    15 ms    15 ms  s28.evanzo-server.de [62.67.235.128]
      

      Hope, this helps. For now, try this one.

      azuby

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

      A I see, Kinder Surprise 😄 - three wishes at once. Yes, you are right, long lines seem to be a bit complicated. Also three windows would be possible - not at the moment (just want to listen for bugs), but for the future. I add it to the todo list.

      azuby

      posted in Developers' Forum
      A
      azuby
    • RE: Ruby Organisation

      Sketchup 6.4.112

      Tools

      • Sandbox/
      • extensions.rb
      • gettingstarted.rb
      • langhandler.rb
      • sandboxtools.rb
      • sketchup.rb
      • totd.rb
      • units.rb

      Plugins

      • Examples/
      • Utilities
      • examples.rb
      • utilities.rb

      azuby

      posted in SketchUp Discussions
      A
      azuby
    • 1 / 1