Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes Learn More

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
  • Ruby access to photo match image?

    5
    0 Votes
    5 Posts
    834 Views
    free agentF
    sorry hope im not hijacking but this has been bugging me about photomatch, you can't match a photo that has been corrected to 2 point perspective, and if u can't control the photo through the API can u control the guiding lines? like is the any way to lock the blue axis in a vertical possition to force it into 2 point?
  • Weld on imported Mesh.obj ?

    5
    0 Votes
    5 Posts
    590 Views
    Chris FullmerC
    Another of my favorite tools for this stuff is Stray Lines. Often when a face does not close it is because the lines don't actually meet up correctly. So label stray lines goes through and puts a little text tag at each line end that does not meet another end. So you can see VERY easily all lines that don't actually touch. Sometimes theya re obvious, but often they are virtually impossible to find w/o this tool. Chris EDIT: To make it more clear, once the lines are labeled, it then makes it clear where to go to start filling in the missing segments, deleteing, extending lines, etc.
  • Profile Builder Tutorial Malware alert

    3
    0 Votes
    3 Posts
    472 Views
    thomthomT
    It's a false positive. Report it to the makers of your anti-virus application. The PDF documentation of Profile Builder is safe, I've used it since the beta with no infections caused by it.
  • Ruby Importer API Crash

    3
    0 Votes
    3 Posts
    419 Views
    J
    That fixed it! Thank you, Sang.
  • VCB values disappear on orbit

    5
    0 Votes
    5 Posts
    459 Views
    Chris FullmerC
    Hey, that works great Jim, thanks! [me thinking this through out loud to make sure I have the logic straight] So the VCB is being set to blank because another tool is being called (oribt). Defining a resume method tells my tool what to do when it is resumed? Excellent. Thanks Jim, Chris
  • Bug splat with "tube along path"

    8
    0 Votes
    8 Posts
    2k Views
    TIGT
    My TubeAlongPath.rb can fail if the path's line segments are too short. Also its cousin PipeAlongPath.rb might be more forgiving and better trapped. Also use sensibly few sides for the tube/pipe - having lots of sides adds little to its appearance but multiplies up the number of faces... Short path segments are trapped [at least an attempt to trap] since SketchUp's FollowMe tool fails on paths with short lengths where the faces it would make on the innermost part of the turns very small. Alternatively you can scale up the path x10 [and then the pipe's diameter too]... that way the face bits never get too small and so there's no bugsplats=... Scale everything down x0.1 on completion...
  • 3D Export capabilities with Ruby

    8
    0 Votes
    8 Posts
    810 Views
    JClementsJ
    Tig, So far, from my testing, hidden objects are not being exported. Try it yourself. If you create KMZ file, change it to a ZIP extension and open it. Examine the diretory and file sturcture. If you want to examine the embedded KML file (or KMZ file directly), try Northgate's free KML editor.
  • Edges/faces on layer_0, Retain naming of groups/comp. layers

    4
    0 Votes
    4 Posts
    347 Views
    3
    works perfect. Its a great help. Thanks TIG and Chris Pritam
  • Multiple file extensions in openpanel

    24
    0 Votes
    24 Posts
    2k Views
    Al HartA
    For the record, (and to return to the original posting in the thread, I type the sample for UI,openpanel from the documentation into the new SU 7 Ruby console chosen_image = UI.openpanel "Open Image File", "c;\\", "Shapes.jpg" It works ok (but begs the question of why you would supply and existing path and file to UI.openpanel). When I change it to use wildcards, chosen_image = UI.openpanel "Open Image File", "c;\\", "*.jpg" It shows _.jpg as the file name (underscore instead of *) and does not filter for .JPG files.
  • New menus in the UI ?

    2
    0 Votes
    2 Posts
    345 Views
    J
    I would say if it could have be done, it would have been done already. Your options are to edit each script to change the menu locations, or have a look at organizer, or write your own version of organizer, or write some other type of plugin organizer possibly using a WebDialog.
  • Geom::Vector3d.linear_combination

    7
    0 Votes
    7 Posts
    642 Views
    Chris FullmerC
    That is exactly right. Thats a great script that probably makes prodigious use of that method. Now if only I could figure out the rest of the vector3d methods Chris
  • New Method: Face.get_glued_instances

    2
    0 Votes
    2 Posts
    310 Views
    Chris FullmerC
    Hi Jim, glad you got it working, Chris
  • Convert from SK6 to SK7 getting errors regarding rb

    8
    0 Votes
    8 Posts
    1k Views
    C
    Thank you all, i guess between myself and my IT we goofed on the copy location of some of the scripts. And I did have to delete the podium script. We are back up and running now. Thanks again. christopher
  • Project helix on surface, looking for script

    8
    0 Votes
    8 Posts
    1k Views
    liquid98L
    Hi Jim, Very nice, this is indeed exactly what i want...
  • Geometric selection

    3
    0 Votes
    3 Posts
    352 Views
    Chris FullmerC
    ok, plugin made and located here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=16915 Chris
  • Linear algebra plugin and dissemination

    2
    0 Votes
    2 Posts
    359 Views
    R
    It woudnt hurt to have it available as a SU plugin. From a brief read of the description it would probably be of more use to plugin developers, though. If you fancy releasing it you can just post it here. Just start a thread with the title: [plugin]Linalg library.
  • How to snap?

    8
    0 Votes
    8 Posts
    752 Views
    Chris FullmerC
    This is an entire working script, from start to finish. Save it as a .rb file and its ready to go. It installs itself as "Plugins>Mouse Tools". There are no comments in the code whatsoever. I took them all out because the ones that were there were not terribly helpful, mostly just made it hard to read the code straight through. I believe that this code is more complex than absolutely necessary because it adds a few checks to make sure it does not call the draw method unnecessarily. Hopefully this helps. I'm still confused what portions of this code are doing.... require 'sketchup.rb' class Clf_mousetools def activate @ip = Sketchup;;InputPoint.new @iptemp = Sketchup;;InputPoint.new @displayed = false end def onMouseMove(flags, x, y, view) pos = @ip.position Sketchup;;set_status_text("#{pos.x}, #{pos.y}, #{pos.z}") @iptemp.pick view, x, y if( @iptemp.valid? ) changed = @iptemp != @ip @ip.copy! @iptemp pos = @ip.position; if( changed and (@ip.display? or @displayed) ) view.invalidate end end end def draw(view) if( @ip.valid? && @ip.display? ) @ip.draw view @displayed = true else @displayed = false end end end if !file_loaded?(__FILE__) then UI.menu("Plugins").add_item("Mouse Tools") { Sketchup.active_model.select_tool Clf_mousetools.new } end file_loaded(__FILE__) Chris
  • De-select edges Plugin?

    5
    0 Votes
    5 Posts
    588 Views
    thomthomT
    @chris fullmer said: @j_forrester said: Wow! Just had a look at this script. The most useful script for workflow I have seen. Great work! Thats because Thomas is amazing! Very kind words Chris. Thanks.
  • Component names

    5
    0 Votes
    5 Posts
    490 Views
    W
    Dear Amo, You can use Outliner to view long group/component names by stretching the box. If you have Outliner and Entity Info both open at the same time then you can easily select and rename groups and components. Regards, Bob
  • Face orthogonal to line?

    3
    0 Votes
    3 Posts
    386 Views
    GaieusG
    Well, you can certainly do that, Miguel (and yes, I know things often sound to be much more complex when written down like this than doing them actually) but I'm pretty sure there is an easy way with ruby. Just think about TubeAlongPath for instance; it has already done it. In fact, if there's no separate script, you could even use this plugin to make a simple tube then erase everything BUT the face at the end and use that for a perpendicular/orthogonal alignment.

Advertisement