⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Transformation method not working in 2018 the same as 2017?

    3
    0 Szavazatok
    3 Hozzászólások
    2k Megtekintések
    SminkyS
    Thank you so much TIG! Adding a simple grep for instances solved it. Best regards and sorry for the newbyness.
  • Bugsplat using followme tool

    9
    0 Szavazatok
    9 Hozzászólások
    3k Megtekintések
    Dan RathbunD
    As I mentioned in a reply the bug report (it is ridiculous and should be closed.) Some of the coordinates are in MILLIONTHS (or smaller) of inches ! One near the end has a -16th exponent: points << Geom::Point3d.new( 4.194623966922387e-16, 0.20218771239100042, 65.51048909232898 ); That is about 42 femtoinches. In other words, 42 millionths of a nanoinch ! (42 millionths of a millionth of an inch.) Does the OP (@torel) understand that SketchUp has an internal coordinate tolerance of only 1 one thousandth of an inch ? Why would anyone want to be passing SketchUp coordinate floats with up to 19 decimal places ?
  • Some, but not all, definition attributes are set

    17
    0 Szavazatok
    17 Hozzászólások
    4k Megtekintések
    K
    Thanks for your continued help, Dan. I've been closely following the methods outlined in "Sketchup & Layout for Architects" by Sonder and Donley (see http://sketchupbook.com). I use the Sketchup and Layout templates that are provided with great success -- the documents that are generated from all of the scenes look great (although I'm still learning -- there's a lot of information provided in the book that I have yet to understand and/or utilize). The methods in the book appear to expand the concepts outlined in the "Ten Fundamentals about LayOut for Architects" tutorial. Modern, stick-built structures don't require the architect to detail each unique lumber component, fortunately. Timber Frame builders, however, often require detailed dimensions for each unique timber. This is where I think the methods for timber construction might need to add some new steps to the process. A frame I'm currently working on (a 744 sf garage) has 24 different frame members. Using the same type of methods in the book I would have to create 76 different scenes (24 * 4) for the four views of each member. I would then create 24 layout pages each having four viewports for each of the members so that dimensions can be added. I'm just trying to wrap my head around how I might automate these tasks in an effective way -- especially when there are several design iterations that would require regenerating some scenes and layout pages.
  • Deleting Component Definition

    3
    0 Szavazatok
    3 Hozzászólások
    3k Megtekintések
    K
    Thanks Dan for the explaination. I had tried other terms than clear that was just the last version. I will let the user take care of deleting the old panel def if they need to remake the same panel. The neW panel will automatcaly get the new #diget Sketchup adds to components with the same name. Now I know why I couldnt delete def. Never saw the purge unused. THANKS AGAIN ans. with exp are very helpful. Keith
  • Excluding scenes from animation

    11
    0 Szavazatok
    11 Hozzászólások
    5k Megtekintések
    Dan RathbunD
    @skastafari said: I am looking for a method to exclude pages from my animation similar to how the "Include in animation" checkbox works from within Sketchup's scene editor. ... I had found a thread from Dan Rathbun somewhere dating a couple years back discussing a need for this, but I can't seem to find what the outcome was. If anyone knows, please advise. FYI,... Finally, ... the API has been updated for version 2018 and higher ... ... both a query method and a setter method have been added to the Sketchup::Page class. Sketchup::Page.include_in_animation= Sketchup::Page.include_in_animation?
  • How to release a plugin

    13
    0 Szavazatok
    13 Hozzászólások
    3k Megtekintések
    artmusicstudioA
    hi dan, thank you very much, i was already there, but missed somehow to press the button once more after uploading, was too tired probably it works now perfectly (and there were no problem with the code, so things develope well...) stan
  • How to get &quot;Plugins&quot; menu name in other language?

    10
    0 Szavazatok
    10 Hozzászólások
    3k Megtekintések
    TIGT
    It's also a bad idea to set shortcuts anyway [even if you could do it effectively !] - the user might be angry at you when you overwrite their own shortcuts with yours ! You can instruct the user of your tool how to add their own shortcuts, but don't force them - you are meant to be their friend, not their master. If you want the user to press certain keys to do certain things in your Tool, then you are pretty much limited to Ctrl, Alt, Shift and Tab, or say numbers 0-9 followed by other characters which can be parsed off from the user's typed text input - so "1:3" can be read in as a slope of "1 in 3", or "1left" gives "left" when leading numerals are stripped off... All other keys can potentially be already assigned to other tools and actions by the user, so pressing "L" for left is unlikely to work as that will likely invoke the "Line" tool - and it's including key-combos like Ctrl+Shift+V [typically for Edit>PasteInPlace]. So that's kind of use in your Tool is essentially a bad idea...
  • Remove dynamic attributes in ruby

    5
    0 Szavazatok
    5 Hozzászólások
    3k Megtekintések
    Dan RathbunD
    David, why are using this crazy indentation ? Ruby uses 2 space indents, and all code at the same level must be at the same indent: def delete_attribute mod = Sketchup.active_model mod.definitions.each do |d| d.instances.each do |i| d.delete_attribute 'dynamic_attributes', 'lola' i.delete_attribute 'dynamic_attributes', 'lola' end end end This way the beginning of blocks line up with the indent lines in code editors.
  • ? [Question] - A Ruby Calculator ?

    40
    0 Szavazatok
    40 Hozzászólások
    35k Megtekintések
    Dan RathbunD
    @turbodizayn said: Hi! Does it work in SU2016 ? I have a message, " Could not activate SketchUp application window." I just tested version 2 of "ruby_calc_2.rb" in SketchUp 2016, and this works. Version 2 is in this post: http://sketchucation.com/forums/viewtopic.php?f=180&t=22660&view=unread#p535117 What is "it" you refer to ?
  • LibFredo6 v8 not loading or being recognized

    2
    0 Szavazatok
    2 Hozzászólások
    2k Megtekintések
    fredo6F
    @ajhook said: I've installed the latest version of LibFredo v8.0, am running Sketchup 2017 on Mac OS High Sierra. Every tie I restart Sketchup, I get the message 'You must intstall LibFredo6 version 6.9 or higher to run Fredo6_RoundCorner. But I have version 8 installed. When I go to my Extension Manager, it shows that LibFredo ver8.0b - 19 Nov 17 is installed and enabled. Why do I keep getting this error message? Alan I think you also need to get fresh version of RoundCorner (and other plugins). On High Sierra, there is an incompatibility introduced by Apple (order of file loading). So the fixes are in LibFredo6 7.9 and higher, but as well in each plugin. Fredo
  • Where are shortcuts stored in sketchup2018

    7
    0 Szavazatok
    7 Hozzászólások
    3k Megtekintések
    S
    I expect that SketchUp reads these json files as it starts and writes out revised copies as it quits. So, if you edit the file while SketchUp is already running, SketchUp will not see the changes and will overwrite with its in-memory version when it quits. You need to quit SketchUp before editing any preferences files.
  • Where can I find webdialog's position and size in su 2018

    3
    0 Szavazatok
    3 Hozzászólások
    2k Megtekintések
    W
    @tig said: C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json** For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar "RubyWorkspace\\ToolbarsUser-Bar8"; { > "BarID"; 59661, > "BarName"; "ExtensionStore" > }, and from its BarID, its status later on "RubyWorkspace\\RubyToolBar-59661"; { > "Columns"; 0, > "DockBarId"; 0, > "Visible"; 1 > }, and for its main dialog details "WebDialog_SketchUcation ExtensionStore"; { > "Height"; 918, > "Left"; 11, > "Top"; 84, > "Width"; 862 > }, for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it.. Great! Many thanks! wikii
  • Collaborate on develop an extension or two?

    2
    0 Szavazatok
    2 Hozzászólások
    2k Megtekintések
    M
    @mingteck said: simple acoustical modelling It depends on what you mean by simple. Using standard formulas based on volume and surface area by absorption is one thing, much past that and the calc time might be a bit long...
  • Can we see the bugsplat data?

    2
    0 Szavazatok
    2 Hozzászólások
    2k Megtekintések
    S
    Look in ~/Library/Logs/DiagnosticReports
  • Activate last selection

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    TNTDAVIDT
    Thank you for your help! I will analyze the Selection Memory Plugin and post the method if I find it.
  • [code] Fbx export - option hash?

    8
    0 Szavazatok
    8 Hozzászólások
    3k Megtekintések
    K
    Nice - in V18 the option hashes are added for several file formats. http://ruby.sketchup.com/file.exporter_options.html
  • Right Click Menu Items

    3
    0 Szavazatok
    3 Hozzászólások
    2k Megtekintések
    medeekM
    Thank-you for the example and explanations.
  • Dumb down component?

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    PixeroP
    Thanks for the links. I think these are a bit too advanced for my needs this time. I simply want to clear all attributes on a selected component (and nested components). I kind of thought it was a one liner script.
  • Intersecting Lines or Faces

    3
    0 Szavazatok
    3 Hozzászólások
    2k Megtekintések
    K
    I think it is possible to use "face.classify_point(pt)" method to find/select entities, that "touch" some face. For intersection I would recommend a method "intersect_line_plane" from Geom class. Face plane can be simply obtained like "face.plane", edge line like "edge.line", then it is possible to get intersection point like "Geom.intersect_line_plane". Finally it might be useful to make sure that intersection point lies inside of a face boundary using "face.classify_point".
  • Rbclipper in sketchup 2017

    2
    0 Szavazatok
    2 Hozzászólások
    1k Megtekintések
    B
    I got it working. I used the ruby-c-extension-example to create a visual studio 2017 project and compiled it. You can find the VS2017 project in the link and compile it or use the so in releases if you have Sketchup 2017 x64. https://drive.google.com/open?id=1Ulz8sNDuyg2dY9Yy1vIW_thEOhAtIq2L

Advertisement