FredoBend | Powerful new bending tool for SketchUp Download

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Exit/Shutdown SU 7 ??

    14
    0 Votes
    14 Posts
    3k Views
    Dan RathbunD
    @alexmozg said: > def Sketchup;;exit > model = Sketchup.active_model > model.save "temp_model.tmp" if model.modified? > Sketchup.send_action 57602 > end#def > Model doezn't realy save. Do NOT use exit as a method name !!! It is already defined as a global method by the Kernel module (and so is inherited by ALL classes and modules.) exit() Initiates the termination of the Ruby script by raising the SystemExit exception. Also runs any at_exit block methods before termination.
  • Sizing SketchUp window

    7
    0 Votes
    7 Posts
    2k Views
    honoluludesktopH
    Great, Thanks I can experiment.
  • X-Mouse Window Focus for Mac OSX ??

    17
    0 Votes
    17 Posts
    6k Views
    thomthomT
    @dan rathbun said: @thomthom said: Will have to look into this. OK good.. get with John (driven) directly. Since I don't have a Mac, I cannot recreate his situation. Your in a better position to help him (he wants to use Jim's Mover plugin with 1 click.) I'm wondering if one of those shell commands (in the forum topics would work,) like ?? %(#4000BF)[defaults write com.apple.Safari FocusFollowsMouse -string YES] OR %(#4000BF)[defaults write com.google.Sketchup FocusFollowsMouse -string YES] OR whatever... Found this: http://mactips.dwhoard.com/mactips/x11-and-terminal/x11-click-through Doesn't modify the focus follow mouse behaviour, but allows clicks to go through at first click. But I'd prefer to find a per-window setting instead of a per-application setting.
  • Help inserting a skp into a model.

    6
    0 Votes
    6 Posts
    346 Views
    honoluludesktopH
    Thanks guys.
  • Display Section Cuts

    6
    0 Votes
    6 Posts
    432 Views
    thomthomT
    @unknownuser said: I agree. What we need is that everything what you can do with SU is also supported in the API. I don't know why there are some parts that aren't supported (sectionplanes, Export 2D graphic (dxf), ...) Dimensions, several Material & Layer methods ... the list goes on...
  • Can sketchup do this

    7
    0 Votes
    7 Posts
    5k Views
    D
    The pushpullbar project linked to was actually developed in Rhino with Rhino-specific scripts so while some of the info will be useful, you will have to look elsewhere for your answer...
  • Ruby C extension load issue in SketchUp

    3
    0 Votes
    3 Posts
    776 Views
    K
    Thank you. Now It works fine.
  • Face Dimensions

    5
    0 Votes
    5 Posts
    439 Views
    thomthomT
    As requested per PM: <span class="syntaxdefault"><br /></span><span class="syntaxcomment">#&nbsp;Returns&nbsp;nil&nbsp;if&nbsp;the&nbsp;face&nbsp;is&nbsp;not&nbsp;a&nbsp;circle.<br />#&nbsp;Returns&nbsp;the&nbsp;radius&nbsp;on&nbsp;success.<br /></span><span class="syntaxdefault">def&nbsp;self</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">get_circle_radius</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">face</span><span class="syntaxkeyword">)<br />&nbsp;&nbsp;</span><span class="syntaxdefault">edges&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">face</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">outer_loop</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">edges<br />&nbsp;&nbsp;edge&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">edges</span><span class="syntaxkeyword">[</span><span class="syntaxdefault">0</span><span class="syntaxkeyword">]<br />&nbsp;&nbsp;return&nbsp;</span><span class="syntaxdefault">nil&nbsp;unless&nbsp;edge</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">curve</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">is_a</span><span class="syntaxkeyword">?(&nbsp;</span><span class="syntaxdefault">Sketchup</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">ArcCurve&nbsp;</span><span class="syntaxkeyword">)<br />&nbsp;&nbsp;</span><span class="syntaxdefault">edge</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">curve</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">radius<br />end<br /></span> <span class="syntaxdefault"><br /></span><span class="syntaxcomment">#&nbsp;Returns&nbsp;nil&nbsp;if&nbsp;the&nbsp;face&nbsp;is&nbsp;not&nbsp;a&nbsp;semi&nbsp;circle.<br />#&nbsp;(ArcCurve&nbsp;and&nbsp;one&nbsp;edge&nbsp;connecting&nbsp;each&nbsp;curve&nbsp;end)<br />#&nbsp;Returns&nbsp;the&nbsp;radius&nbsp;on&nbsp;success.<br /></span><span class="syntaxdefault">def&nbsp;self</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">get_semicircle_radius</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">face</span><span class="syntaxkeyword">)<br />&nbsp;&nbsp;</span><span class="syntaxdefault">edges&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">face</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">outer_loop</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">edges<br />&nbsp;&nbsp;curve_edges&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">edges</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">select&nbsp;</span><span class="syntaxkeyword">{&nbsp;|</span><span class="syntaxdefault">e</span><span class="syntaxkeyword">|&nbsp;</span><span class="syntaxdefault">e</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">curve</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">is_a</span><span class="syntaxkeyword">?(&nbsp;</span><span class="syntaxdefault">Sketchup</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">ArcCurve&nbsp;</span><span class="syntaxkeyword">)&nbsp;}<br />&nbsp;&nbsp;</span><span class="syntaxdefault">curve&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">curve_edges</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">first</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">curve<br />&nbsp;&nbsp;</span><span class="syntaxkeyword">return&nbsp;</span><span class="syntaxdefault">nil&nbsp;unless&nbsp;curve_edges</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">all</span><span class="syntaxkeyword">?&nbsp;{&nbsp;|</span><span class="syntaxdefault">e</span><span class="syntaxkeyword">|&nbsp;</span><span class="syntaxdefault">e</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">curve&nbsp;</span><span class="syntaxkeyword">==&nbsp;</span><span class="syntaxdefault">curve&nbsp;</span><span class="syntaxkeyword">}<br />&nbsp;&nbsp;</span><span class="syntaxdefault">edge&nbsp;</span><span class="syntaxkeyword">=&nbsp;(</span><span class="syntaxdefault">edges&nbsp;</span><span class="syntaxkeyword">-&nbsp;</span><span class="syntaxdefault">curve_edges</span><span class="syntaxkeyword">).</span><span class="syntaxdefault">first<br />&nbsp;&nbsp;</span><span class="syntaxcomment">#&nbsp;At&nbsp;this&nbsp;point&nbsp;you&nbsp;have&nbsp;all&nbsp;the&nbsp;data;<br />&nbsp;&nbsp;#&nbsp;curve&nbsp;refers&nbsp;to&nbsp;the&nbsp;ArcCurve&nbsp;of&nbsp;the&nbsp;semicircle<br />&nbsp;&nbsp;#&nbsp;edge&nbsp;refers&nbsp;to&nbsp;the&nbsp;Edge&nbsp;connecting&nbsp;the&nbsp;ArcCurve's&nbsp;ends<br /></span><span class="syntaxdefault">end<br /></span>
  • Help with Mac compatibility?

    7
    0 Votes
    7 Posts
    783 Views
    honoluludesktopH
    @jim said: ............ I use a C:\Plugins folder that is used by all the versions of SketchUp I have installed. It's much easier not to have to copy and paste an entire folder of plugins from one version to the next............ Good idea, even though there are exceptions.
  • Rotating bbox

    4
    0 Votes
    4 Posts
    335 Views
    honoluludesktopH
    I went from here: [image: xnH5_Temp02.png] to here by Geom::Transformation.new(pt, axis, angle): [image: bSkC_Temp03.png] then to here by ent.transform_entities(transform,ent1,ent2,ent3): [image: g0Jo_Temp04.png] But how do I do step 2 for a component rotated on all three axis?
  • Sketchupundo.log

    4
    0 Votes
    4 Posts
    549 Views
    Al HartA
    @honoluludesktop said: Al, why didn't you ask the client who sent you the log? I almost always get more informed responses from the SketchUcation forum than my users. Also, I sometimes find that someone here knows a lot more about these things than I would have ever hoped for. If the file exists without a bugsplat, then I can look at it before I get a bug splat, and try to find a way to write to it from ruby. If so, it might be a clever way to keep track of what is going on before an unexpected bug splat I found a way to redirect ruby console output to a file. I was just hoping that this might turn out to be a better alternative, and to flush the output - which SketchUp does not do when it gets bug splat. But I am always looking for better ways to write some traces to something in case something goes wrong. See: Trace Ruby Messages (Actually these traces are only useful for other developers. Our software never has bug splats or other bugs )
  • Batch-opening and executing

    3
    0 Votes
    3 Posts
    750 Views
    F
    @Tomasz: Great answer. This would be so great! I'm sure this will revive Kerkythea as an free alternative to Twilight. Amazing results would be possible.
  • [plugin request] Smallest bbox for 3d geometry.

    10
    0 Votes
    10 Posts
    793 Views
    honoluludesktopH
    dereeei, My intuition just knows that you are not trying to tell a talented programmer how to program:-)
  • WxFormBuilder

    11
    0 Votes
    11 Posts
    2k Views
    Dan RathbunD
    @bizello said: ... I'll have to learn JS. JScript User's Guide (Windows Scripting - JScript) JScript Language Reference (Windows Scripting - JScript)
  • Detect if an extenbsion is loaded?

    11
    0 Votes
    11 Posts
    861 Views
    J
    @dan rathbun said: No point in me releasing it, as you guys generally don't like these sort of mods, and also Google will not use "unsolicited code contributions" (which is why I now understand why Jim gave up on the SKX project.) I probably shouldn't have - it can still be a valuable project. I think if I/we had pushed through, people would have started to use it and we might have a quality piece of work by now.
  • Component, bounding box, axis, and insertion point

    4
    0 Votes
    4 Posts
    836 Views
    honoluludesktopH
    @chris fullmer said: A components axis is where its 0,0,0 is and the orientation thereof. If you open the a component up as its own model, the world axis is in the same place as the component's axis when it is being used as a component. I don't know if that makes sense....sorry. Understood. @chris fullmer said: .............The insertion point is the point of the component instance thst sticks to the cursor when inserting the component from the component browser. It has little to do with the axis - except that it often is the axis location. But once you move a component by any other point, that point become the insertion point. .............. Didn't realize this, thanks again. Between this, and the post that tt helped me with, I should be able to polish the point component plugin, and show the code. While it worked before, it wasn't by design, but by cutting off access to where it failed.
  • Disable OnLButtonUp when onLButtonDoubleClick

    10
    0 Votes
    10 Posts
    1k Views
    C
    In the script, it's just the time allowed to detect the double click
  • Launch OSX finder to open a spesific folder?

    9
    0 Votes
    9 Posts
    559 Views
    thomthomT
    hmmm.... maybe URL encoding them is the way to go... I'll have to try that. That might solve another problem I had when I used system - it would not open non-ASCII paths.
  • Moving 3d text

    6
    0 Votes
    6 Posts
    930 Views
    K
    works . thanks a lot.
  • Move a Parallel Camera

    15
    0 Votes
    15 Posts
    1k Views
    J
    @jhauswirth said: You need to use camera.height in parallel mode. Thank you, that works.

Advertisement