sketchucation logo sketchucation
    • Login
    1. Home
    2. Jim
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 406
    • Posts 4,216
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: PolygonMesh triangulation... ?

      A PolygonMesh object is not geometry like Faces and Edges are. It is simply a convenient data container for points and "polygons."

      The points are Sketchup Point3D objects.

      The "polygons" are Arrays of Integers representing the indices of the Point3d objects. The polygon arrays have 3 elements (are triangles.) A negative index means the Edge between the points is hidden (soft/smooth.)

      2015-04_256.png

      To construct the Mesh as geometry, you need to use Entities.add_faces_from_mesh or Entities.fill_from_mesh.

      posted in Developers' Forum
      J
      Jim
    • Google Code Shutting Down

      Just a heads-up that Google Code hosting will be gone by the end of 2016. I know a few people had some repositories hosted there in the early days.

      Google code has added a button to repositories which exports projects to Github.

      http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html

      posted in Developers' Forum
      J
      Jim
    • RE: [solved]right click menu flyout direction reversed

      It just means there is not enough room on the right of the screen to open the menu.

      posted in SketchUp Discussions
      J
      Jim
    • RE: Dynamic component function

      Hi John,

      LenX is a size, but you said "move" and position which is a little confusing. Do you want to have the component snap to a position, or snap to a length when scaled?

      If you want the position to snap to a grid, you would use the X, Y, or Z attribute.

      Maybe:

      X: =floor(current("X"), 600)

      2015-03_244.png

      posted in Dynamic Components
      J
      Jim
    • RE: Ruby Plugin - Inserted Component Wrong Scale

      @placidfury said:

      it's reloading the component from file every time

      Why do you reload it every time? Maybe that is why the definition is reset. You should load the component into the DefinitionList just once.

      posted in Developers' Forum
      J
      Jim
    • RE: Unreal Engine is now FREE

      @jql said:

      There's a little bird that told me that sketchup engine was based on crash bandicoot's

      http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=49834

      posted in Extensions & Applications Discussions
      J
      Jim
    • RE: [Plugin] cmd's mover with dialog and easings (v0.5)

      Yes it is - I will post to the Store soon. Thanks for the prod.

      posted in Plugins
      J
      Jim
    • RE: [Plugin] Hidden Manager (08.Feb.2015)

      This plugin needs an audit. It is well-meant, although careless compilation of code.

      posted in Plugins
      J
      Jim
    • RE: Deleting name of empty folder from favorites

      You could add the folder back and then remove it from favorites, and delete the folder again.

      posted in SketchUp Discussions
      J
      Jim
    • RE: [Plugin] Faster OBj Export

      @ridie1389 said:

      Exceptional exporter! I can actually import models into Zbrush from SketchUp without them being almot completely unusable. Thank you!

      Hehe, cool! I'm happy you found it useful. Thanks for the feedback.

      posted in Plugins
      J
      Jim
    • RE: Select Only Solids

      I found myself frequently turning to the Ruby Console for making anything more than simple selections.

      So I made a sel command, and now in the Ruby Console I can type things like:

      sel ;all
      sel ;edges
      sel ;faces
      sel ;groups
      sel 0 [or ;none or ;clear] 
      sel ;cons
      sel ;invert
      
      

      etc.

      Quite efficient. It's too hackish to share at the moment. I'll try to remember to fix it up and post it.

      posted in SketchUp Discussions
      J
      Jim
    • RE: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

      πŸ‘

      posted in Plugins
      J
      Jim
    • RE: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

      @driven said:

      can you leave out the dated css??

      john

      At some point. Can you help? Do you do Bitbucket/git?

      posted in Plugins
      J
      Jim
    • RE: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

      Here is version 2.1.

      • Updated to work with Ruby 2 versions of SketchUp (version 14 or later.) Use the original version if you want to use Vismap2 on earlier versions of SketchUp.
      • Made a SketchUp Extension to allow enabling/disabling in extension managers.

      I am not sure how to handle distribution. I am unable to put it in the Plugins Store under Martin's name. That would make it harder to do further updates. I could post it under my plugins, but not sure if it would cause much confusion.


      vismap-v2.1.rbz

      posted in Plugins
      J
      Jim
    • RE: [Plugin] SketchUcation Tools 2.6.1

      If you are to allow html in the Extensions manager, maybe open the links in the default browser.


      2015-02_231.png

      posted in Plugins
      J
      Jim
    • RE: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

      Martin gave me the ok to update this for Sketchup 14/15. I might not have time until the weekend.

      posted in Plugins
      J
      Jim
    • RE: SKUI β€” A GUI Framework for SketchUp

      The right click blocking is done explicitly in ui.js file.

      posted in Developers' Forum
      J
      Jim
    • RE: .xml files?

      Maybe this?

      http://www.geores.de/geoResPlugins_en.html

      Edit: It looks more like an exporter than in importer.

      posted in SketchUp Discussions
      J
      Jim
    • RE: Check "if view?"

      @cadfather said:

      Jim, are you trying to scare me? πŸ€“ 😲
      Thanks!

      Not very scary.

      
      cam_dir = Sketchup.active_model.active_view.camera.direction
      if cam_dir.samedirection?(Y_AXIS)
        # Front
      elsif cam_dir.samedirection?(Y_AXIS.reverse)
        # Back
      elsif cam_dir.samedirection?(X_AXIS)
        # Left
      elsif cam_dir.samedirection?(X_AXIS.reverse)
        # Right
      elsif cam_dir.samedirection?(Z_AXIS)
        # Bottom
      elsif cam_dir.samedirection?(Z_AXIS.reverse)
        # Top
      else
        # Not aligned to Std View
      end
      
      
      posted in Plugins
      J
      Jim
    • RE: Check "if view?"

      I like Camera#direction - it's more clear than zaxis.

      Vector3d#parallel? and Vector3d#samedirection? might be better than == since they consider tolerance.

      posted in Plugins
      J
      Jim
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 210
    • 211
    • 10 / 211