⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Scaled array

    33
    0 評價
    33 貼文
    55k 瀏覽
    pilouP
    Seems only Grow is necessary! Just make in 2 parts! [image: qE5o_grows.jpg] Select the previous group "growed" and grow again Not a big deal [image: hwov_grow2.jpg]
  • Redraw DC

    3
    0 評價
    3 貼文
    311 瀏覽
    B
    Thanks, This works. The problem I'm facing now is that I have added this "target" redraw capacity in a class function which extends DC functions but it appears they can't be referenced in a mouseclick interaction. Only in formulas. I have to find another work around. The redraw() function only refresh the DC which calls it. Any idea about a work-around ?
  • Difference between 4 % 2 and 4 %2

    2
    0 評價
    2 貼文
    201 瀏覽
    R
    Id guess its to do with how ruby expects to receive arguments for the method. If you put brackets around it it should work, i.e. 4%(2) and 2.to_f-(1)
  • Entity.visible? vs entity.hidden?

    21
    0 評價
    21 貼文
    2k 瀏覽
    thomthomT
    @maxim1000 said: Since ComponentDefinition is inherited from Drawingelement, calling visible? and hidden? seems not to be some incorrect operation leading to undefined behaviour. Yes, they may not represent actual state of geometry, but this shows that visible? is not the same as !hidden? at least at implementation level, and thus can it be safely assumed that they are the same in all other cases? http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/drawingelement.html#visible= @unknownuser said: The visible= method is used to set the visible status for an element. This method performs an opposite function to the hidden= method. Might be that the definition class causes an abnormality. Testing against any other DrawingElement derived class that actually is placed in the model they behave as expects. Though it is odd it should return true on both for definition. In practice - they do refer to the same thing though.
  • Transform Vertices?

    4
    0 評價
    4 貼文
    248 瀏覽
    J
    What thomthom said. But it is interesting. It's not easy to tell what entities can be transformed. Being transformable is not related to be a DrawingElement (as you might think) because a Vertex is not one of those. In fact, a Vertex inherits from Entity.
  • Right Click Edit

    12
    0 評價
    12 貼文
    930 瀏覽
    S
    thanks, great explanation. I'm guessing nothing in parametric.rb is actually specifically changed to work with windows.rb and it is the windows.rb script that utilizes the methods and variables in the parametric.rb script. i'll keep working at it
  • Passing arguements

    6
    0 評價
    6 貼文
    263 瀏覽
    honoluludesktopH
    Guys, thanks for the help. Chris, I will look very carefully at your example.
  • Non-model geometry

    6
    0 評價
    6 貼文
    318 瀏覽
    M
    Thanks for answers. We ended up with approach similar to one of described by TIG: we have a separate layer with known and recognizable name and store all our geometry there. Any operation gets required data (actually it's only box size) from that layer and thus the problem with losing references to our stuff is solved. Of course problem with appearance of our geometry in saved modelы is still relevant, but it seems we can and will have to live with that (because after reopening the plugin catches existing geometry)...
  • 3 Problems

    3
    0 評價
    3 貼文
    235 瀏覽
    thomthomT
    @chris fullmer said: #3 - SketchUp does not give any control of normals. I think they always face the same direction as their face. Unless the edges is smoothed, then I think the normals average between the normals of the 2 faces. I think. Nope! The normals stay the same. You can see with if you use my Probes plugin - it lets you visualize the normals of faces and edges: http://forums.sketchucation.com/viewtopic.php?f=323&t=21472#p180592
  • Variables?

    8
    0 評價
    8 貼文
    353 瀏覽
    thomthomT
    Transformations are still an enigma to me as well. But I just got a couple of books on vectors and transformations. ...but my right eye is still blurry after the operation so I can't concentrate on reading. Scariest of all is Observers. I wish you'd start using them more - so you could share my pain. (And join in on the rants )
  • Rotating component

    5
    0 評價
    5 貼文
    1k 瀏覽
    daikuD
    I wrote this one a while back: http://www.crai.archi.fr/RubylibraryDepot/Ruby/EM/rot90.rb Rotates by 90 degrees around your choice of red|green|blue axes with a right click selection (can be mapped to a shortcut key). CB.
  • Materials Browser in Ruby?

    3
    0 評價
    3 貼文
    191 瀏覽
    M
    @tig said: splitting out the parts of the material's 'skm' file [which is really a 'zip' file] and taking the image file part, then making that as your new material's texture [with appropriate scaling] etc etc... Thanks. I was afraid of that.
  • Face Me Components in relation to the SUN?

    5
    0 評價
    5 貼文
    2k 瀏覽
    DavidBoulderD
    If all of your faceme objets have shadows that fall onto a flat surfaces (vs. hitting walls, steps, etc.) then maybe you could make a dynamic component with two sub components. One sub-component is the face me object and it faces the camera. The other sub-component is a fake shadow. It is the same object but with translucent gray fill and it is on the ground. Then this would be set to face the sun vs. camera, and ideally would set the length of this to scale based on the hight of the sun angle. Maybe an alternative is to swap out your face me objects for real 3d objects just before exporting to Vray. If you don't like the look of these 3d objects you could always make a duplicate rendering with your faceme components and layer in Photoshop to mask these back in. You would just have to make sure the faceme objects are slightly larger than the 3d objects, and you run into issues of seeing the same object from multiple views, don't know how Vray deals with that and faceme objects.
  • Randomly replacing Component for other?

    5
    0 評價
    5 貼文
    290 瀏覽
    DavidBoulderD
    Would a dynamic component work with random attribute built into it. But when you take your first instance and copy it to other locations, I don't know if it re-calculates the random#. I haven't really used the random feature before. But I can see where it would be nice to quickly click on component instances and have it randomly replaced with a component from a specific list. At the start of the ruby it could ask for names of components to include in the list, or maybe the ruby is written for rubys with specific prefix in their name.
  • Need plugin like line2tube but ...

    16
    0 評價
    16 貼文
    3k 瀏覽
    pilouP
    @unknownuser said: I fixed it because of your very useful comments...
  • Tube along path(s) ... Help Please

    3
    0 評價
    3 貼文
    295 瀏覽
    H
    Thanks very much !
  • Importing and placing components

    7
    0 評價
    7 貼文
    325 瀏覽
    TIGT
    You have exited your Tool so the View refreshes... selectSelectionTool changes to that tool... No hack... No magic involved...
  • Lines?

    5
    0 評價
    5 貼文
    353 瀏覽
    I
    THanks Will check it out!
  • Forum Plugins vs. Developer Forum

    16
    0 評價
    16 貼文
    1k 瀏覽
    mitcorbM
    Here's my 2 cents strictly as a user. I tend to agree with TIG's view. But I think there may always be some overlap, because strict division of function or content requires discipline, and in the heat of the moment to express an issue, maybe the discipline takes back burner. I do peruse the dialogue in Developer's Forum when I see it in New Posts. I even scroll through the coding when it is displayed, in a vague hope that I can make sense out of the language conventions, or simply to marvel at how bizarre and foreign it is to conversational language.
  • Extrude more than one face at once

    2
    0 評價
    2 貼文
    252 瀏覽
    pilouP
    You can't you must use something like Joint PushPull by Fredo6 or Projections by Didier Bur...

Advertisement