⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • NoTwist using Joint PP

    19
    0 Szavazatok
    19 Hozzászólások
    2k Megtekintések
    D
    erikB Glad to help Of course a no-twist extrude along path would be the real answer but jointPP will work pretty well and glad to have it dtr
  • Eliminate Bluriness on 3D Text

    7
    0 Szavazatok
    7 Hozzászólások
    634 Megtekintések
    G
    Gaieus, I thank you for your advice. I resolved the problem by defining a new style and setting the line profiles to 1 pixel. Greg
  • Why this error...?

    6
    0 Szavazatok
    6 Hozzászólások
    818 Megtekintések
    L
    Thanks Didier, I may just unload this puppy unitil I can get a fix.
  • Radius All Cube Edges - Fillet all 12 edges

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    GaieusG
    Well, if we have already gone off-topic, one would most probably think that a name like "Csaba" (ending with A - generally a sign of female gender in many Indoeuropean languages*) is a female name. I've had experiences... There are exceptions - like Andrea in Italian - but they are generally derivatives of other names (like the Greek Andreas in this case). Oh well, I hope Jim won't notice this OT behaviour...
  • Starting the CylTool in the sample linetool.rb script

    3
    0 Szavazatok
    3 Hozzászólások
    937 Megtekintések
    J
    Well, it wouldn't have 'been clear in the morning' without your clarification, Jim, but it now is - THANKS. I now see that although the Class CylTool is defined, the function to create the tool is NOT 'def'ined. So my slightly modified code now works to provide Draw menu entries for 'Construction line' and 'Cylinder - on axis' with the addition of just these lines at the end of the linetool.rb script where only the first four lines were originally. These functions provide shortcuts for selecting the new tools def linetool Sketchup.active_model.select_tool LineTool.new end def cyltool Sketchup.active_model.select_tool CylTool.new end Add tools to Draw menu if( not file_loaded?("linetool.rb") ) UI.menu("Draw").add_item("Construction line") { linetool } UI.menu("Draw").add_item("Cylinder - on axis") { cyltool } end file_loaded("linetool.rb") I now just want to add a few refinements, which I can see how to do (following the excellent examples elsewhere in this forum and in the script repositories), to: specify the radius or diameter of the cylinder make the drawn cylinder into a group or component automatically design PNG graphics to indicate which tool is in use, instead of the generic white arrow. Thanks again for such a prompt and helpful response - much appreciated. John McC
  • Component list, dimensions, volume HELP!

    5
    0 Szavazatok
    5 Hozzászólások
    3k Megtekintések
    G
    Dave, I do believe that's the one I'm looking for. You don't know how much time you've just saved me. Many many thanks Grant
  • Components colors/materials retrieval

    5
    0 Szavazatok
    5 Hozzászólások
    807 Megtekintések
    Didier BurD
    Yes, I've studied it extensively... But what I didn't noticed before is that when you have a component within another component and when you paint this sub-component globally (by default) you thus modify its definition. That's to say you can't have this sub-component colored with 2 different colors in to separate "parents". I hope that I'm clear, anyway this makes my job a lot easier I must extract an Excel sheet with a global list of top-level furniture components (kitchen cabinets, shelves...), and a detailed list of the components of level 1 whith their colors/materials, themselves made of various pieces of level 2 of various colors/materials. Pfff, furniture manufacturers are complicated people sometimes... P.S. Typo: Bonne chance (thanks)
  • To TIG:random delete

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    TIGT
    I did upload the correct file... BUT the weirdness of Vista is that it segregates 'compatibility files' when they're inside the Programs Files Folder. I based RandomSelect on RandomDelete. I copied it, renamed it and changed its contents - and when I used it it read the right one and runs fine !!! BUT for some stupid reason Vista uploads the initial unedited copy - although it has the right 'name'... After some efforts I have fixed it and I have now corrected the error in the Depository... http://www.sketchucation.com/forums/scf/viewtopic.php?p=44671#p44671 The old version needs deleting but I can't do it since after a day or so the posts seem to be locked... Can a Mod please fix. EDIT: As of this edit the wrong file/post is gone. Anyone who downloaded the duff version (~24 ?) please accept my apologies, and go and get the corrected one... More haste, less speed...
  • Skin.rb > Clean Selection ?

    2
    0 Szavazatok
    2 Hozzászólások
    562 Megtekintések
    J
    I think it removes unused lines from the faces in the current selection.
  • Ruby script execution

    3
    0 Szavazatok
    3 Hozzászólások
    682 Megtekintések
    J
    TBD, any posibility to let sub.exe use stdin and stdout, instead of needing to save an intermediate file?
  • Subcomponents of subcomponents

    2
    0 Szavazatok
    2 Hozzászólások
    402 Megtekintések
    Didier BurD
    Hi, D/L TIG's Componentsreporter+ script, there are some good tricks in there
  • Getting the file of a component

    6
    0 Szavazatok
    6 Hozzászólások
    713 Megtekintések
    TIGT
    @rubine said: do you see a chance to rebuild the "create component" with ruby? i.e. writing your own "create component" method (creating a ComponentDefinition) You can easily make and place components with ruby methods, such as. Definitionlist.add("componentdefinitionname") ComponentDefinition.entities Group.entities Group.to_component entities have lots of 'add' methods: http://download.sketchup.com/sketchuphelp/gsu6_ruby/Docs/Ruby-Entities.html#add_instance You can't 'save_as' components in current Ruby - but you can do it manually. I've discovered that in the SDK there's a kind of ...Group.SaveAs() method that would allow us to write something like a dll or a socket that could then access that function. In a script you'd have to say something like: require 'GroupExporter.so' ... GroupExporter.new(group,filepath) ... This would then save a specified group to a .skp file at a specified name/location. These kinds of variables can be got/set in earlier bits of Ruby coding... To get it to export a Component all we'd need to do is make a temporary group, that's then named after the component-definition and even with a copy of its description if any (that way the final exporter component matches the original in the model...). Then to that group's entities we add an instance of the component (and explode it inside the group?). We then use GroupExporter.new(group,filepath) and finally erase the group to tidy up. If we want it done 'silently' we can specify the filepath - say as the model's folder_path/group_name.skp - or we could prompt for a component name and/or location... All I need now is someone who can make this dll/so with the SDK - my C++ is too poor to do it...
  • Trouble With Ruby

    8
    0 Szavazatok
    8 Hozzászólások
    1k Megtekintések
    Dave RD
    Thank you. That worked. Cheers, Dave
  • Looking for onscreen time & date script

    3
    0 Szavazatok
    3 Hozzászólások
    626 Megtekintések
    J
    Thanks Dave, that's the one! I've just bought it! Thanks to TBD as well!
  • Using add_3d_text

    15
    0 Szavazatok
    15 Hozzászólások
    2k Megtekintések
    G
    Thanks TIG, I'll apply your suggestions and evaluate the results. Greg
  • Components

    6
    0 Szavazatok
    6 Hozzászólások
    857 Megtekintések
    R
    if my hierarchy of components has 3 levels, is it possible to get the hierarchy of all the components (so that one can see of which components one component consists)?
  • Load file

    4
    0 Szavazatok
    4 Hozzászólások
    842 Megtekintések
    R
    is there also a possibility to store components automatically in a folder (as an .skp file)?
  • What is needed to script?

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    Alan FraserA
    Useful link for the more advanced. http://notepad-plus.sourceforge.net/uk/site.htm
  • Extrude lines along path

    11
    0 Szavazatok
    11 Hozzászólások
    5k Megtekintések
    pilouP
    http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/ExtrudeAlongPath.rb ? Not exactly but...
  • Array and center point....

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    G
    Working OK at the moment - images attached. Bob [image: p2mR_ScreenHunter_01_resize.jpg] [image: SPjD_ScreenHunter_02_resize.jpg]

Advertisement