FredoBend | Powerful new bending tool for SketchUp Download

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • SF Bay Area Developer Workshop?

    6
    0 Szavazatok
    6 Hozzászólások
    380 Megtekintések
    RichMorinR
    We've had 50+ views of this topic, but only two positive responses. If you are interested, please say so (either publicly or privately; I don't care). That way, I'll know whether there's enough interest to start things rolling.
  • Checking wether material exists before declaring it

    3
    0 Szavazatok
    3 Hozzászólások
    257 Megtekintések
    K
    Ok, great. thank you. I'll change it this weekend. Hope you have a nice one Bye. Tim
  • Toolbar-command issue

    4
    0 Szavazatok
    4 Hozzászólások
    558 Megtekintések
    Dan RathbunD
    @bluetale said: @dan rathbun said: I think you need to use MF_CHECKED for the active item, and MF_UNCHECKED (or MF_ENABLED ) for the other two. I tried it, but it did not work. Is there a way to get a radiobutton-like behaviour of toolbar-buttons? ..snip... Is there a way to get such a behaviour as explained above for the mac-version? There may be a bug in the Mac version. I see this issue has been discussed in more detail in your more recent topic: Toolbar Win vs Mac http://forums.sketchucation.com/viewtopic.php?f=180&t=32626
  • Need help with meta-attribute definitions

    2
    0 Szavazatok
    2 Hozzászólások
    260 Megtekintések
    RichMorinR
    I have updated the page substantially, but still need feedback, etc. C'mon, folks...
  • Help!

    3
    0 Szavazatok
    3 Hozzászólások
    268 Megtekintések
    B
    @unknownuser said: Well, for start, you could type in lowercase Because if your variable name starts with capital letter, ruby takes it as CONSTANT. You are lucky that ruby lets to redefine constants, most of programming languages don't allow . This is why you get the warning. use something like this, it's easier to read and those are local variables, not constants: > x_size = input[0].to_f > y_size = input[1].to_f > z_size = input[2].to_f > Thanks! it works perfectly now!
  • Interrogating each group to find Cylinders & Cubes

    8
    0 Szavazatok
    8 Hozzászólások
    782 Megtekintések
    P
    That's the badger! Though as is the way with these things, it seems so simple once I know the solution. Thankyou very much anyway...that has helped me a great deal.
  • Materials again

    6
    0 Szavazatok
    6 Hozzászólások
    330 Megtekintések
    K
    it works. thanks a lot, once more tommorow t'll try to declare the material in the constructor of the class anyway, to avoid putting all the trash in the memory. bye. tim
  • 'Check for Updates' Script

    15
    0 Szavazatok
    15 Hozzászólások
    2k Megtekintések
    J
    @unknownuser said: Jon, It is relatively easy to perform the check of whether the version on the web (and then comare with the one currently installed locally). The real difficulty is to download the file and install it when it is in binary format (for instance a Zip file). It is possible for a .rb file which is plain text however. Fredo PS: I would use Whaat's method, which is to check periodically, even letting the user set the next date. If all scripts do their check at each SU statup, then it would take too long. You are right on with the downloading difficulty. I originally wanted to have each 'dependent' represented in the version string so I could only download the file that needed updating. Unfortunately, I could not find a clean way to initiate a download of a .rb or .rbs file into the plugins directory. I have resorted to having the link point directly to a download of an installer (.exe) and the installer is handling the file moves to the plugins folder. It is an acceptable solution for me. I have changed my script so that the update is user initiated through the plugin commands. Again, thanks to all for the help. Jon
  • Toolbar Win vs Mac

    6
    0 Szavazatok
    6 Hozzászólások
    449 Megtekintések
    thomthomT
    No. You can stack your own Ruby Tools - but you can't stack the native ones unfortunately. You've have to recreate the tool.
  • Saving an reloading a material from an attribut

    18
    0 Szavazatok
    18 Hozzászólások
    1k Megtekintések
    K
    me again... i don't know why, but the attribut "ablauf", "material" always receives a new value, even if the face's material is included in the array caled invalid_material. i'll post the code, because i realy don't know how to fix it. ents.each{|e| if e.typename == "Face" start = e.get_attribute "ablauf", "baubeginn" ende = e.get_attribute "ablauf", "bauende" if (e.material) invalid_materials = ['bau_mat', 'fertig_mat', 'inplanung'] unless invalid_materials.include?( e.material.name ) mat_vorher = e.material.name e.set_attribute("ablauf", "material", mat_vorher) end end if @woche.to_i >= start.to_i && @woche.to_i < ende.to_i e.material = bau_mat end if @woche.to_i >= ende.to_i e.material =fertig_mat end if @woche.to_i < start.to_i e.material = inplanung end end } end #now the code that reloads the material def mat_back mod = Sketchup.active_model ents = mod.entities mats = mod.materials default_mat = mats.add "standardwert" default_mat.color = [50,250,50] ents.each{|e| if e.typename == "Face" if (e.get_attribute "ablauf", "material") mat_temp=e.get_attribute "ablauf", "material" e.material=mats[mat_temp] else e.material=default_mat end end } end
  • Cannot understand exported UV coordinates format

    7
    0 Szavazatok
    7 Hozzászólások
    819 Megtekintések
    J
    I have the standard DLL that exports to XSI. So I just File > Export > 3D Model.. and choose XSI and press Export. I read this XSI file into my app. The coords I've given you are from OBJ so its easier to understand (more readable) Would this be the reason for me getting bad data. Does someone have a simple C++/Ruby script that exports all models, their textures and vertices/UV coordinates? .. I can use this alternatively.
  • Jpg textures in *.skp

    34
    0 Szavazatok
    34 Hozzászólások
    3k Megtekintések
    S
    thanks , I now see that about it there are topics in the forum...
  • When (and why) might &quot;file_loaded?&quot; be needed?

    3
    0 Szavazatok
    3 Hozzászólások
    278 Megtekintések
    TIGT
    It's there to stop more than one instance of the plugin loading into the menu/context-menu etc. If you hadn't added this trap then this might happen if you typed load "MyPlugin.rb" after you have already got it loaded - e.g. automatically at startup. It's not going to have to stop these potential duplicate menu items unless you try to 'load' the script more than once - e.g. while you are testing it, or perhaps when you have a script in a sub-folder that doesn't auto-load, but it might be loaded by another script [that is itself already loaded] under certain circumstances, and potentially these circumstances might occur more than once in that session - but you only want the one menu/context/toolbar item...
  • Save selected plugin?

    7
    0 Szavazatok
    7 Hozzászólások
    3k Megtekintések
    TIGT
    If I [or you for that matter!!] could have been arsed to do a simple search on this forum you'd have got this 'export by selection' = http://forums.sketchucation.com/viewtopic.php?p=183756#p183756 OR this one that does it by 'export by layer' = http://forums.sketchucation.com/viewtopic.php?p=183609#p183609
  • Alternative for webdialogs

    7
    0 Szavazatok
    7 Hozzászólások
    611 Megtekintések
    J
    @l.frisken said: would fxruby or qtruby be other options? There would be little difference between these and wxsu. Maybe we should ask the OP about their goals and expectation?
  • Toolbar restore bug

    2
    0 Szavazatok
    2 Hozzászólások
    410 Megtekintések
    Dan RathbunD
    I talked about this in another toolbar topic. I wonder if it would help if the 0.1 sec delay was just "cooked into" the restore() method itself ?? Then you would not need to modify a bunch of plugins and re-release them. <span class="syntaxdefault"><br />class UI</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">Toolbar<br />  alias_method</span><span class="syntaxkeyword">(</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">;</span><span class="syntaxdefault">orig_restore</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">;</span><span class="syntaxdefault">restore </span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">  def restore</span><span class="syntaxkeyword">()<br /></span><span class="syntaxdefault">    UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">start_timer</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">0.1</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> false</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">{<br /></span><span class="syntaxdefault">      orig_restore<br />    </span><span class="syntaxkeyword">}<br /></span><span class="syntaxdefault">  end </span><span class="syntaxcomment">#def<br /></span><span class="syntaxdefault">end </span><span class="syntaxcomment">#class<br /></span><span class="syntaxdefault"> </span>
  • Problem with copy multiple and entity observer

    2
    0 Szavazatok
    2 Hozzászólások
    276 Megtekintések
    thomthomT
    Is it not something you are doing within the observer events that interfere? I was trying all kinds of things with observer when I was working on the DoubleCut plugin - but I don't think I remember this one. But I do remember that handling the multiple copy events was a challenge.
  • Weird bug with WebDialog and Flash

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    V
    I've just noticed, that the problem still remains with the 'Enter' key. Though it works in IE, but it doesn't if it's opened via Sketchup web dialog. Any ideas?
  • Looping through components in a script?

    5
    0 Szavazatok
    5 Hozzászólások
    511 Megtekintések
    M
    Okay, it looks like I'm getting close to what I want with the Export CI ID plugin : http://www.scriptspot.com/sketchup/scripts/export-ci-id Now to figure out a quick way of hiding everything not selected as I loop through. Thanks again for the help here - I am appreciative. Regards, Matt
  • Application Observer

    7
    0 Szavazatok
    7 Hozzászólások
    520 Megtekintések
    Dan RathbunD
    @thomthom said: @dan rathbun said: seems like an API feature request for a onStartup() callback is in order (for the Sketchup::AppObserver class.) Why? Just ensure a method is called when the plugin loads. Because I'm thinking that the calback would get called AFTER all other plugins and extensions are loaded. Just an idea.

Advertisement