🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
  • [REQ] Selectect Flat faces from top view - Done!

    5
    0 Votes
    5 Posts
    301 Views
    pilouP
    Perfect! Always amazing that a such cryptic language can make in such few words! Bravo again! These 2 punchy program's line can answer at some questions of view from the sky! [image: QlWJ_roof.jpg]
  • Contour Lines

    2
    0 Votes
    2 Posts
    243 Views
    brookefoxB
    I suggest posting the model and/or images of it at each step along the way. Sounds like things are not being grouped as you anticipate and they are behaving stickily. Perhaps the crisscrossing line are because you are deforming the mesh by moving the internal edges?
  • Help with plugin

    7
    0 Votes
    7 Posts
    576 Views
    S
    Absolutely genius!!! Thank you Sdmitch you have saved me hours of boring work. It is better than I anticipated as this way I can split the file in manageable portions to do 10 or 20 at the time. Maybe you should post this in another place as I can see other people finding many uses for this script. Much appreciated. Sergio
  • [REQ] draw component axes

    3
    0 Votes
    3 Posts
    283 Views
    brookefoxB
    Looks promising and very useful. I will check it out. But so far my request stands, as not fully provided for and desirable, if only to me... http://forums.sketchucation.com/viewtopic.php?t=20346 Many thanks.
  • Stairs

    8
    0 Votes
    8 Posts
    696 Views
    arqpadaoA
    Hi Tig, thank you. I will install and test curviloft their tips. From what I saw in your picture, that's exactly what I need.
  • [REQ] Click Copy Rotation-Released

    12
    0 Votes
    12 Posts
    658 Views
    pilouP
    Edit : you can find it here on the fabulous Blog of SDmitch! Released! Copy Rotate
  • DXF layer names

    3
    0 Votes
    3 Posts
    185 Views
    S
    Thanks, works perfectly for me - every component is on its own layer and CNC machine can read layers automatically for toolpaths.
  • Command lne for loading a plugin from an external folder

    7
    0 Votes
    7 Posts
    1k Views
    masterpaulM
    @tig said: @masterpaul said: Thank you I understood how to load a single plugin, and did so successfully but not so much a whole file from this directory: E:\Sketchup\Plugins Inside my example script the last few lines of code load everything inside a given folder. You can't type multi-line code in the console, use ; to make it one line... First set the path path='E:\Sketchup\Plugins' then Dir.entries(path).each{|file|ext=File.extname(file).downcase;next unless ext==".rb"||ext==".rbs";Sketchup.load(File.join(path, file))} To load all files inside the give 'path'... Ah thankyou.. it works perfectly
  • [Plugin] Taper Maker v1.3.5 - Apr 2012 Update

    3
    0 Votes
    3 Posts
    4k Views
    utilerU
    Well done, Terry!!!1 Although its not something I use often it is a very well put together toolset!
  • File Size Plugin Idea

    13
    0 Votes
    13 Posts
    655 Views
    E
    That DAE export thing isn't a bad idea, it would certainly be a good way to diagnose a bad model... I'll have to try that...
  • Fill a shaped surface with a modeled object?

    18
    0 Votes
    18 Posts
    1k Views
    gascatG
    @unknownuser said: When you say fit onto a shape, do you mean surface or single face? I figure it is a single face that could be in various shapes. I would be keen to look at what you have. cheers...Wayne
  • Display and selection of guides in component-NEVERMIND

    4
    0 Votes
    4 Posts
    250 Views
    TIGT
    The built-in guide-delete tool removes all guides from the current context downwards. So if you are in the model context and run it then all guides go. If you are inside a group context and run it then all guides inside the group, and inside other groups/components that are inside the context group, will be deleted, but guides outside in other groups or the model itself are not removed. Note that locking a group or having guides on 'off' layers, does not prevent those guides being deleted in en mass. Of course you can erase individual guides using the Eraser tool or selecting them and using 'delete'... There are several script tools to erase guides in different contexts, and also differentiate between guide-lines and guide-points...
  • Using View.draw_polyline in rotated component

    4
    0 Votes
    4 Posts
    272 Views
    TIGT
    A Point3d behaves much as an Array and vice versa. You can make a point and adjust it's x/y/z values on the fly just as you can with an Array. So pt=Geom::Point3d.new() or even pt=ORIGIN.clone gives you Geom::Point3d.new(0, 0, 0) then pt.x=123.4 OR pt[0]=123.4 gives you Geom::Point3d.new(123.4, 0, 0) A point or array will take .x ,y and .z; as well as [0], [1] and [2]... This lets you read AND set values... pz=pt.z returns 0.0 and pt.z=1 gives us Geom::Point3d.new(123.4, 0, 1.0) etc... I suspect you are over complicating things... To get the z axis of the current 'container', test if it's the model, and if so use Z_AXIS; if not use the container.transformation.zaxis Let's assume we have an object in a container that is called 'obj' if obj.parent==Sketchup.active_model z_axis=Z_AXIS else#it's a group or component z_axis=obj.parent.instances[0].transformation.zaxis end IF you already know where the 'obj' is - e.g. you've made it inside a 'group' then it's even easier... z_axis=group.transformation.zaxis
  • Windowizer Help

    7
    0 Votes
    7 Posts
    723 Views
    N
    Thanks for all the help. It is much appreciated.
  • [Plugin] Component Spray update

    29
    0 Votes
    29 Posts
    52k Views
    brookefoxB
    Having a hard time now. Rarely is anything being sprayed, no matter the setting. No groups or components on the receiving end. FloatDomainError? [image: 0KeM_componentsprayfail-1.JPG]
  • Matchphoto Swap

    13
    0 Votes
    13 Posts
    747 Views
    CadFatherC
    Thank you Pixero - that helped a lot because as i went back to play i found out what was driving mad... (really i had given up on this! ) when you add the second scene, it doesn't save these, (since it duplicates the photo-matched) [image: dLHp_scene.jpg] switching these on, i can move through different scenes and keep the axis put...! might do a small tutorial later today if i have time..
  • Default Open Folder

    9
    0 Votes
    9 Posts
    2k Views
    Dan RathbunD
    This was written in 2012 for SketchUp v8 when Windows 7 was current. Please do not PM me in 2019 and tell me it does not work for current SketchUp versions. Things change as OSes and applications are revised. Hold up a min! I Found a workaround to force SketchUp to use Windows MRU paths... ...[ drumroll ]... 1) Open a File Explorer and create a "dummy" folder "C:/dummy" 2) Open SketchUp.. goto "Preferences" > "Files" panel. Click the browse Folder button and choose this empty folder. Your Models path should say: "**C:\dummy**" 3) Close SketchUp. 4) Delete the "C:\dummy" folder. 5) Restart SketchUp. It will now use MS Windows saved MRU paths for "*.skp" filetype. .. No custom button or menuitem needed. This was written in 2012 for SketchUp v8 when Windows 7 was current. Please do not PM me in 2019 and tell me it does not work for current SketchUp versions. Things change as OSes and applications are revised.
  • How to require the "iconv.boundle" in the Mac OSX

    2
    0 Votes
    2 Posts
    159 Views
    thomthomT
    Most probable it's because it's not compiled to work with SketchUp Ruby. (Is it even a match for SketchUp's version? 1.8.x?) One possible cause for the crash could be that it is not compiled into a flat namespace. See my SketchUp Ruby C Extension Hello World project for notes on compiling for SketchUp Ruby: https://bitbucket.org/thomthom/sketchup-ruby-c-extension/src/5c9eb31c541b/src/Example%20-%20Hello%20World/extconf.rb @unknownuser said: <span class="syntaxdefault">  </span><span class="syntaxcomment"># Must be compiled into flat namespace. Otherwise SketchUp Bugsplats.<br /></span><span class="syntaxdefault">  CONFIG</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'LDSHARED'</span><span class="syntaxkeyword">]</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> </span><span class="syntaxstring">'cc -dynamic -bundle -undefined suppress -flat_namespace'</span><span class="syntaxdefault"> </span>
  • Question about new plugin

    4
    0 Votes
    4 Posts
    182 Views
    jeff hammondJ
    maybe fredoscale stretch? (but yeah, more info required )
  • Using View.draw_text method - a bug?

    3
    0 Votes
    3 Posts
    438 Views
    J
    Many thanks. For some non-obvious reason, I didn't even SEE the screen_coords method of the View object. I was looking for an equivalent method or property of the point itself. Gratefully.... John MCC

Advertisement