⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Extension Index List snapshot

    6
    0 Votes
    6 Posts
    6k Views
    A
    Hi Jim, @jim said: It's almost certainly broken - it is no coincidence since I was working on it this afternoon. I will look at it on Monday - my eyes are blurry. It appears to still be broken. When I click Submit, I go to http://www.sketchucation.com/wp-comments-post.php which just shows a blank, white page and the comment is not there on the Extensions List page. And I don't seem to be able to test Logged-In vs. Logged-Out because I can no longer find where to log in to that part of SketchUcation. Logging in to the group Forums here is not sufficient. Meanwhile, the Extensions List page now shows 679 entries while my list has 678. I'd rather not go through the work of regenerating the list just to compare. Do you happen to remember what the newest entry was? If so, could you mention it in the Comments on the Extensions List page? Adding notes in the Comments seems a good way too keep people updated and would make it easy for me to update both the text list in this thread and the HTML list at http://supowertools.wordpress.com/scfextenslist/ The above is, of course, assuming the Comments function is working. Some kind of search system has added a comment since I reported the problem over a month ago, but it seems to be an automated result for when "Extensions List" is mentioned anywhere within SketchUcation/SCF. Or it could have been done manually, it is only one entry. Thanks for you efforts, Jim, and I hope this helps, August
  • [Question] Is it possible to get a point on UV ?

    9
    0 Votes
    9 Posts
    395 Views
    PixeroP
    I will, thanks.
  • Script Problem - HTML

    12
    0 Votes
    12 Posts
    526 Views
    chrisglasierC
    @chris fullmer said: I'm not sure what one you are thinking of Chris, but this article talks about web dialogs: The trouble you see is that I cannot open anything with blog in it (nor you or tube) but the date seems right. Perhaps the other other Chris will let us know if it is useful. As you know I am very keen to interest more people in web dialogs, because, for example, I agree with this chap. @unknownuser said: Vic Gundotra, Google Engineering vice president and developer evangelist, told the Mobilebeat conference in San Francisco on Thursday that the web had won and users of mobile phones would get their information and entertainment from browsers in future. ... “What we clearly see happening is a move to incredibly powerful browsers,” he said. “Many, many applications can be delivered through the browser and what that does for our costs is stunning. “We believe the web has won and over the next several years, the browser, for economic reasons almost, will become the platform that matters and certainly that’s where Google is investing.”
  • [Question] A way to control the View Menu option in dialogs?

    6
    0 Votes
    6 Posts
    302 Views
    JClementsJ
    Chris, in SU it always goes to List display. In Windows XP, all my default Folders View is to browse and display Details.
  • Solid Element Operation?

    3
    0 Votes
    3 Posts
    319 Views
    B
    @chris fullmer said: That sounds like booltools plugin. Search for the one. Chris That's right. thanks
  • Access to hashes

    10
    0 Votes
    10 Posts
    544 Views
    T
    Hello, Sorry for the confusion! Thanks for pointing this out Fredo6. I'll try to better explain my predicament... I have list2 (beaphash and spihash - a list of all hashes) and list1 (user-generated list where each of the elements refers to a hash). So, I have a user-generated list (this code is just a snippet) and I want to access the the hashes that correspond to list1 and pull, say, the length of the "companion" array from these hashes. beaphash = Hash["companion" => %w{carrot corn pea}, "antagonist" => %w{beet broccoli onion}, "name" => "bean(pole)"] spihash = {"companion" => %w{lettuce pea radish}, "antagonist" => %w{}, "name" => "spinach"} tomhash = {"companion"=> %w{bean(pole) potato}, "antagonist" => %w{carrot}, "name"=> "tomato"} list1 = %w{bean(pole) tomato} list2 = %w{beaphash spihash tomhash} list3 = Array.new list1.each do|x| list2.each do|y| if y["name"] == x list3 << (y["companion"]).length puts "Hey, hash length; #{y.length} and name from hash; #{y["name"]} and name from list1; #{x}" puts "But beaphash name is #{beaphash["name"]}" else end end end ...then I can interleave list1 and list3 to make a new hash. I realize that I may have made this more complicated than it needs to be and there may be a simpler solution...I'm really new to Ruby! Any help would be very much appreciated! Thanks, laura
  • Move groups with different measures?

    55
    0 Votes
    55 Posts
    29k Views
    pilouP
    Yep!!! THX! Miracle that is working! Sure I should read the Api document before But I had risked the trick So my second script was a new speedy success and a big lesson @unknownuser said: groups=[];selection.each{|entity|groups.push(entity) if entity.kind_of?(Sketchup::ComponentInstance)} groups.each{|ComponentInstance|zeds.push([ComponentInstance.bounds.min.z, index]) Copy my code follow in the Web console from Jim Foltz (if you have components use the file linked ) model = Sketchup.active_model model.start_operation("Move in Z") entities = model.entities selection = model.selection zeds=[] index=0 sorted_groups=[] groups=[];selection.each{|entity|groups.push(entity) if entity.kind_of?(Sketchup;;Group)} groups.each{|group|zeds.push([group.bounds.min.z, index]) index+=1 } zeds.sort! zeds.each{|z|sorted_groups.push(groups[z[1]]) } ### sorted_groups is now groups sorted by z z = 0.0 sorted_groups.each do |e| # update! # Now we process the groups t = Geom;;Transformation.new(Geom;;Point3d.new(0,0,z)) # Apply the transformation e.transform!(t) z = z + 100.cm end model.commit_operation return nil Some help for fun variations [image: picture.php?albumid=23&pictureid=421] Undrop_component.zip
  • PLUGIN REQUEST: material by slope

    3
    0 Votes
    3 Posts
    3k Views
    Chris FullmerC
    ok, here it is: http://forums.sketchucation.com/viewtopic.php?f=180&t=20635 Check it out and see how it works. Chris
  • Code to check isFaceInFace

    2
    0 Votes
    2 Posts
    195 Views
    thomthomT
    I think this will work. It checks the loops of face1 and looks for face2. def isFaceInFace(face1, face2){ face1.loops.each { |loop| next if loop.outer? return true if loop.edges.first.faces.include?(face2) } return false end
  • Creating documetation with RDoc

    17
    0 Votes
    17 Posts
    623 Views
    thomthomT
    Ah. I finally figured out what that gem thing was. Everything is working fine now. Pretty docs.
  • Transformation array

    9
    0 Votes
    9 Posts
    2k Views
    chrisglasierC
    @chris fullmer said: Is that the case? Yes! I don't know why it happened, but now I know a little bit more - e.g. to refer to the comp axis when editing. Thanks Chris
  • Creating a slot on a face

    2
    0 Votes
    2 Posts
    294 Views
    TIGT
    Name : slot.2.rb Description : This file creates a 2D slot. Parameters : The slot width and length. Menu Item : Draw -> Slot Context Menu: NONE Usage : N/A Date : 8/14/2006 Author : Doug Herrmann Probably available on Didier's Library Site ?
  • Shape Bender - preview

    55
    0 Votes
    55 Posts
    7k Views
    Chris FullmerC
    Hi Hasan.
  • FFD Idea/Question..

    5
    0 Votes
    5 Posts
    457 Views
    CadFatherC
    telling by your latest creations BTM, you should.. (must?) i'll be happy to pace it further if you need
  • Thanks for all you do!

    3
    0 Votes
    3 Posts
    258 Views
    J
    kayjay, well said! My thanks to all of you as well.
  • I cant rigister on belw link

    2
    0 Votes
    2 Posts
    125 Views
    thomthomT
    If his site is broken you probably have more luck contacting him. Try that email address listed on his main page: http://tx.technion.ac.il/~arrguedi/
  • Guide Point and Line

    4
    0 Votes
    4 Posts
    299 Views
    TIGT
    The cpoint_with_cline is treated as if it were a lone cpoint at the picked point - i.e. the end of the line with the cpoint attached. The bit of line is ignored, you can't snap to it as if it were a normal cline ! The cpoint_with_cline has the cline permanently attached and it cannot be removed separately... To get rid of the cpoint's cline try this... model=Sketchup.active_model;ss=model.selection;ents=model.active_entities;ss.clear;cpts=[];ents.each{|e|(cpts.push(e.position);ss.add(e))if e.kind_of?(Sketchup;;ConstructionPoint)};ss.each{|e|e.erase!};cpts.each{|p|model.active_entities.add_cpoint(p)} ### or could be reworked to apply to a selection... ;ents=ss.to_a;
  • Follow-Me Tool on Multiple Lines.

    23
    0 Votes
    23 Posts
    5k Views
    W
    Dear Bob, Great stuff! I see you get to play with much bigger toys. Your modelling looks very good, and very informative. Kind regards, Bob
  • Transformations to faces

    3
    0 Votes
    3 Posts
    220 Views
    Chris FullmerC
    You can use a transformation object on face and edge entities if you use the entities.transform_entities method: http://code.google.com/apis/sketchup/docs/ourdoc/entities.html#transform_entities That makes it easier to just scale and rotate and stuff. Chris
  • Auto Centerpoint confict

    5
    0 Votes
    5 Posts
    400 Views
    K
    It works great! Thanks for such a fast fix!!! KJ

Advertisement