⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Plugin Request- Ager

    5
    0 評價
    5 貼文
    473 瀏覽
    P
    I'm just thinking outside the realm of SketchUp. What would a good program for this question be other than SketchUp?
  • Extend line

    9
    0 評價
    9 貼文
    3k 瀏覽
    C
    just an observation about using k-tools to extend/intersect lines. if you extend a line to meet another line and you are working within a group, the second line will be redrawn outside of the group.
  • Help to share data between SU Ruby and JS

    3
    0 評價
    3 貼文
    238 瀏覽
    N
    @unknownuser said: I've modified your code to work. I've tested it in Safari. Should work in Windows just fine. Todd (EDIT - you can remove the <form> tags.) Wow! thanks I tried something like that (but not really alike) before posting the problem here... and of course it did not worked. Thanks again. I will take a closer look to see where I did wrong...I know that I must love JS, but I still hate it
  • How to be sure that the UI is updated?

    3
    0 評價
    3 貼文
    232 瀏覽
    S
    Yes I'm looking to be sure that the UI is updated while I have a ruby script running. Actually I'm playing with the shadows and I want to save some pictures. I share the idea to have Ruby running faster but in a lot of time it doesn't help. For example, when the Ruby console is no more updated (yes I'm still looking for a good tool to work on my plug-ins: spy, step-running, break points, ...) What looks strange to me is that there's a function to say to Sketchup that it must not update the UI anymore. Is there any function to tell it to update the UI right now? A kind of "flush". Thanks Serge
  • Font of text

    4
    0 評價
    4 貼文
    345 瀏覽
    Chris FullmerC
    Hi pout, there is no = sign on the method. (I do not know how to use it though). You might also see if the text object has an attribute library attached to it? I don't know if it does, its just a thought. Maybe font could be controlled there? But I would guess the method set_last_size might be better? Chris
  • How can import and locate the components by ruby script?

    4
    0 評價
    4 貼文
    1k 瀏覽
    W
    The information is vrey important .And I want to import some components into coordinates by ruby scripts and locate the components by parameter form the user,What methods need to refer? Please give me some suggestions.Thanks! The size of components add a lot of difficulties,because space of the components need to taken in my ruby script.Now ,I have trouble to deal with that. Does some solutions be gave?
  • Announcement: Sketchup Virtual Builder **UPDATE**

    6
    0 評價
    6 貼文
    1k 瀏覽
    P
    My apoligizes for the lack on information. I hope the explanation below gives a better insight on what the plugin does. About the Sketchup Virtual Builder Plugin Light: With this plugin you can add planning-scheduling information to the Sketchup model. The user can create "tasks" (aka xD Objects) in Sketchup in a webdialog interface. These tasks are specified by a startdate (when the works start) and end date (when the works finish) a name (what are the works) and a 4D Type (how is it respresented visually) Each task can be linked to it's visual representation in Sketchup. Eg. the Sketchup Entity that is the decking of the first floor can be virtually linked (by clicking a button) to the task "Decking first floor" This can be done for all tasks and all entities in the Sketchup model. Like that entities in Sketchup can be visualized in time. With the plugin the user can select a date (like 11-09-2010) in Sketchup. The plugin then calculates for each Sketchup entity what his status is (depending on the task it is linked to) So on the selected date a Sketchup entity can already been build, or not yet build, or being build, or being demolished, or already demolished, etc. Thus the selected date will show, in Sketchup, the status of the model on that date (entities that have not yet been build according to their task will not be shown, other will be shown as being build, and so on) This way the user can see the project getting build in time and check if everything is possible or if there will be construction scheduling problems. Some key functionalities: Link-Unlink Sketchup entities to user-defined tasks Choose a 4D Type and specify the colors: Eg. construction: when not yet started don't show the SU entities, when being constructed show the entities in transparent red, when construction is finished show the entities in original color Eg. demolition: before being demolished show the entities in original color, when being demolished show the entities in trasnparent blue, when demolishing is finished don't show the entities Automatically play the project scheduling: automatically shows the construction progress in Sketchup Go Back/Forward in time: by month/quarter/year/2 years Automatically create scenes for the task dates and update the view when clicking on a scene and use Sketchup scenes functionalities (to use different viewpoints for example) Automatically generate project images: automatically create an image for each date of the project Show Shadows: Shows the shadows of the selected date for the model. ... No original information is lost. At any time the user can reset the model to it's original colors and show all entities. With the full version: It is possible to directly use Microsoft Project-Primavera-Powerproject scheduling information to link the Sketchup entities to. (no import of information) Below is a HD youtube movie link and a link to a 1024*768 movie HD Youtube 1024*768 Hope this helps! Regards and thanx
  • Yet another SavePanel question

    5
    0 評價
    5 貼文
    295 瀏覽
    thomthomT
    Test the return value. The manual has been wrong before. It might be false or en empty string.
  • How to select everything touching a bounding box?

    6
    0 評價
    6 貼文
    535 瀏覽
    Chris FullmerC
    I doubt that anyone has published a helper method to do exactly what you are looking for. But you have the logic correct. First clear the selection (in case the user has something selected). Then search through all entities and find the ones on the wrong side of x. Then add all those to the selection set. ` model = Sketchup.active_model ents = model.active_entities sel = model.selection sel.clear! ents.each do |e| if e is on the wrong side of x- Add your code here sel.add e end end` Everything in that "your code ghoes here" part needs to decide what type of entity is being looked at and then you have to specify how to determine if that entity is on the wrong side of x. To simplify it, you could just look at the bounding box of each entity and determins if the center of the bounding box is on the wrong side of x. If it is, then add it. That would be the simplest way and would look something like this: if e.bounds.center[0] > my_x sel.add e end Chris I guess I pretty much wrote the whole thing, so I might as well just finish it up. Here is a whole little snippet of working code: ` model = Sketchup.active_model ents = model.active_entities sel = model.selection sel.clear my_x = 0.0 ents.each do |e| if e.bounds.center[0] > my_x sel.add e end end`
  • About Mysql and Ruby (it's working)

    2
    0 評價
    2 貼文
    745 瀏覽
    Chris FullmerC
    Ooohhh, this looks good! too.....many....cool.....projects, .....not................enough....time.......in...the..............day. <chris dies>
  • How to use Geom::Transformation.rotation?

    5
    0 評價
    5 貼文
    1k 瀏覽
    thomthomT
    @wpd said: Is there any mechanism for feeding back additions and clarifications to the Sketchup documentation? I'd be glad to write something about the meaning of the point and vector arguments and about rotating using the right hand rule. Even a simple example of rotating a line or a face (one that had been written using 45.degrees) would have gone a long way to getting me where I wanted to go much sooner. I second this. Transformations sounded greek to me. Still does. "Translation" does a move..? I'd never have guessed that.
  • Script for Nodes / Vertices to Point (Guidepoint) ???

    4
    0 評價
    4 貼文
    283 瀏覽
    R
    Hi TIG, I am Ruturaj Patil. from Kolhapur. this Vertex+.rb its really nice Now i am Work really well. Thanks
  • Does the method related long of models or components exist?

    3
    0 評價
    3 貼文
    157 瀏覽
    W
    @chris fullmer said: Hi winzard, yes you can controol those things. It is all in Transformations. Or if you you just want the z height of something, you can also iterate through all vertices and compare their heights. Take the highest and loset z values and compare them to see how tall the object is. Do the same for lengths. Or you can also get the bounding box of an object and then use the boundingbox methods to get the length and size of the bounding box. More info would help narrow down the best answer, Chris Thanks !The information is great help to me.
  • Is there a plugin that closes faces on curves?

    7
    0 評價
    7 貼文
    461 瀏覽
    EscapeArtistE
    Got it sorted out. I tried "Loft" but for some reason it wouldn't work on the curves (they were welded), that's why I started looking for the "Curvestitcher" type plugin. I tried welding them and grouping them separately so that there was no interfering geometry, but "loft" didn't work again. Odd, I usually can figure out what I did wrong. To get them to stitch properly I had to select each edge for the curve to be stitched in the same order, i.e. bottom to top, and then weld them. This got the stitcher plugin to do what I needed.
  • Ruby Uninstaller - Is it needed...?

    5
    0 評價
    5 貼文
    761 瀏覽
    A
    @chris fullmer said: Do you ever turn off any plugins through the extensions list in the preferences menu? Hi Chris, I don't think I have ever turned on the "Google Earth Ocean Modeling" extension. Also, while we're on the subject of the Extensions list, the description of the "Ruby Script Examples" is out of date; in v7 it describes three tools (Draw->Box, Plugins->Cost and Camera->Animations) and omits Point At Center (in contextmenu.rb), linetool.rb, and selection.rb. I suspect Google didn't update it in the v7 release because it would have meant updating all the translation files too, which key their translation entries from the exact English text. If they leave the English alone, nothing breaks and everything is uniformly out of date and the workaround is to "tick every checkbox in the list" to be able to get Point At Center enabled. Myself, I find that sloppy. Understandable, but sloppy. Also, do any of the plugin developers use this feature? Are there any plugins besides the ones Google provides in the installation that actually use this feature? I'm writing an article on how to use it and if anyone already does, I'd like to mention either the developer or their scripts by name.
  • Debugging WebDialogs - View Rendered Source

    4
    0 評價
    4 貼文
    413 瀏覽
    thomthomT
    @cphillips said: I have had good luck with Firebug lite. http://getfirebug.com/lite.html Ah! Firebug is one of my fav Firefox extensions. This Lite version looks very interesting!
  • (REQ) Zoom to snap

    4
    0 評價
    4 貼文
    316 瀏覽
    EarthMoverE
    Thanks Escape Artist and TIG. I have zoom to selected and I was looking for a way to zoom to an inference snap.
  • Help plugin Modelur

    7
    0 評價
    7 貼文
    268 瀏覽
    F
    thanks i have firefox, is correct explorer 7 for win e safari 3.0 or later for mac. Now i try on mac. Flyman
  • WebDialog show_modal on Mac

    3
    0 評價
    3 貼文
    266 瀏覽
    J
    Thanks Whaat.
  • Component names

    11
    0 評價
    11 貼文
    445 瀏覽
    chrisglasierC
    @chrisglasier said: I'll get back on it tomorrow. In the meantime thanks for your help. Chris Here's the result: # Lists components and groups (with hidden status) in a scene @dlg.add_action_callback("findComponents") {|d, p| model = Sketchup.active_model entities = model.active_entities a = 0 array = [] entities.each do |entity| if entity.class == Sketchup;;Group || entity.class == Sketchup;;ComponentInstance if entity.layer.visible? array[a] = [] if entity.class == Sketchup;;ComponentInstance array[a][0] = entity.definition.name end if entity.class == Sketchup;;Group array[a][0] = entity.name end array[a][1] = entity.hidden? array[a] = array[a].join(",") a+=1 end #if class end # if visible end #loop array = array.join(";") cmd = "receiveComponents('#{array}');" @dlg.execute_script (cmd) } [image: jrTi_screenMachine04.jpg] Tally ho! Chris

Advertisement