Thanks all for your help, but I have the feeling that what I want to achieve will not be easy... 
Posts
-
RE: Help with Observers
-
RE: [Plugin] MakeWindow v0.1
Hi
prompts = [$exStrings.GetString("Interior/Exterior [i/e] (materials)"),The use of '$exStrings.GetString' seems useless to me as long as there's no ".strings" file that come with the script. Or am I wrong somewhere

-
RE: Help with Observers
Thank TIG for the reply.
One more question
: how to associate reveals faces to the component instance, since there is no persistent entityID which can be set as an attribute to the component instance ? -
Help with Observers
Hi all,
Anyone knows how to use observers, or have an example code file ?
There's quite NOTHING usable in the help pages(always the same content, no arguments given, no syntax, no return values...), and very few posts about that in the GGroups.
I wonder why Google provides new classes with such a lack of documentation
-
RE: Ellipse Ruby-Is there?
It's been uploaded here since 09.30
:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1529
And at my site also (geometry section), but I've updated the site only today (lazy...)
Cheers, -
RE: Ellipse Ruby-Is there?
Ah Ah easy!
it may be uploaded tonight or tomorrow :esmile:
it works now but i will make it more interactive (tool with input axis points...)
Stay tuned, -
RE: Ellipse Ruby-Is there?
Not that I know of. CASF FunShapes.rb produces elliptic torus, so it's doable, unfortunately it generates a single surface from which you can't "extract" the elliptic profile. I'll put the "ellipse" tool on my to-do list (growing fast...)
And alternatively, what about drawing a circle, select it and scale it in X or Y direction ?
Regards, -
RE: Emplacement des boîtes des outils
C'est vrai ce que dit l'escargot, j'ai toujours du mal aussi avec les palettes. Quand on re-dimensionne la fenêtre principale de SU, elles font en gros ce qu'elles veulent et se rangent un peu n'importe comment...

Je n'ai pas trouvé de méthode fiable pour solutionner ces problèmes. Le mieux c'est de les sortir toutes sur l'écran et de les remettre au fur et à mesure, de gauche à droite. -
RE: Import or Paste all Layers AND Pages?

Mmmm, I must check that asap... -
RE: Explode2Groups
Oh oh, TIG this time you have been 2 hours long before posting the new script !

That's too much ! Next time you are pleased to do it quicker. A quarter of an hour should be enough, no ?
-
Doc for Component Definition
Hi,
I remember someone
asking for lost documentation on Component definition methods in V6. This item is not present in the classes index page, but here it is:http://download.sketchup.com/OnlineDoc/gsu6_ruby/Docs/ruby-componentdefinition.html
-
RE: Import or Paste all Layers AND Pages?
Hi,
You can also import Layers with Layer Manager: just save a "layers state" in the original file to an external file, then import this layers state in the new file. This will unfortunately not set the layers status for the scenes
-
RE: Wall "cutter" for windows
Hi TIG,
@unknownuser said:
You'd place the Cutting Compo as usual into the outer face.
The context-menu spots a cutting-component already in a face (via typename, glued_to gives face and other available properties etc). It should also check if there's an inner face to cut - pointless to give the option otherwise - your projection tools come in here ?...
The context-menu item is say 'Cut "[compo'name]" into inner Face'That's exactly the way it goes for now.
@unknownuser said:
We can get the intersection edges between the Component and its glued face.
HOW ??? With intersect_with_model methods and such ?
A remaining problem is that sometimes the shape of the window is NOT the same as the shape of the hole in the wall.@unknownuser said:
Assuming we have the 'cut' lines' loop we copy them onto the inner face by projecting backwards.
Once the face has been drawn on the outer face, I pushpull it backwards (because I already know the "thickness" of the wall, having detected the nearest parallel face). So the reveals are automatically painted with the outer face material.
To move the component, I must erase it first and re-insert another instance at the new insertion_point, because there's no way to unglue the original component from the outer face AFAIK (but that's not a problem).I've never used observers but it will be a good opportunity to learn

Thanks for your help and ideas.
-
RE: Wall "cutter" for windows
Hi,
As an Acad/Revit/Artlantis/Illustrator/Dialux/PhotoShop AND SU teacher too
, I had this idea long time ago because students often don't understand why a component can cut a face and not two 
Sorgesu, you probably would have to specify a distance from say inner side of wall, or have to select an option for the window to stick inner/outer/some_distance from a wall side.
The most tricky part is to make a standard stock component (door or window) "self-cutting" without asking a complicated task to the user. I have some ideas about that but for the moment, you can select the outer edges of the component and context-click to make it self-cutting; or select the outer face, or click points on the outer loop (this is done one time for all).
I hope I'll find some nicer method, maybe the smaller convex hull, but it will surely be hard to fit all kinds of shapes.
I still have some problems to detect the nearest face opposite to the face where the component is glued to.
So don't expect it as a Christmas gift...
-
RE: Where can I find standard rubies?
See my signature

350 free scripts
-
New script Ellipse uploaded
As promised yesterday, here is my tool to draw ellipses:
PDF doc included (please read first).
Enjoy -
Wall "cutter" for windows
Hi all,
I've recently developed a small utility that I often use, it makes the openings or windows components able to automatically create holes in walls (made of two "sides") and to re-locate the component at a specified distance from one of the wall sides.
It would take some more development to extend the script to any shape of component (circular, arched, and so on) and to make it user-friendly and simple to use, so I want to know if this would be of any interest to you ?
Please watch
the the small video to see what I mean.
-
RE: Remplissage d'un objet
Bonjour,
John te demande (apparement) de poster ton modèle pour qu'il puisse regarder ce qui ne va pas.
Essaies de redessiner avec le crayon une des lignes de l'arrondi, normalement SketchUp recrée les faces au fur et à mesure.