Not at the moment. Unfortunately I'm a bit too busy with German law 
azuby
Not at the moment. Unfortunately I'm a bit too busy with German law 
azuby
Hmmm maybe it's a problem with OpenGL?
azuby
@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
You're right, but there are so much special words I don't know.
Maybe:
azuby
@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
... 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
Hm, also hier in Deutschland würde ich bei öffentlichen Gebäuden einfach
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
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
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
(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
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
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
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
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
Tach,
ja genau, und wenn das Englische mal nicht will, dann sind wir im deutschsprachigen Subforum auch ganz handzahm 
azuby
OK, next try with proxy: http://www.behidden.com/ - you have to enable JavaScript checkbox on this website where to put the url.
azuby
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
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
Sketchup 6.4.112
Tools
Plugins
azuby