sketchucation logo sketchucation
    • Login
    1. Home
    2. driven
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    đź«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 43
    • Posts 2,966
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Solved]DC Dialog troubles....

      good to here...

      john

      posted in SketchUp Discussions
      D
      driven
    • RE: [Plugin] Sine Circle

      should I add this feature?

      does anyone have any feedback...

      wavy washer...

      john

      posted in Plugins
      D
      driven
    • RE: Starting a new Ruby Tool Extension

      @garry k said:

      ...I think showing how to set up a tool bar is a good idea for a tool

      If we are discussing best practice for an Extension that provides a tool, than I believe the 'menu' items should be separate from the tool and be used to initialize the tool...

      The Extension .rb loads the lang dictionary and the menu loader code and that's all...

      the menu code should load the tools logic and it runs...

      if never triggered during a session it is not even loaded...

      my 2 pence...

      john

      posted in Developers' Forum
      D
      driven
    • RE: [Plugin] Sine Circle

      cheers pilou,

      I'll add it in the next update...

      is everything working?

      john

      posted in Plugins
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      new thread with plugin is Sine Circle

      john

      posted in Newbie Forum
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      PC tested, new Icon and lang files...

      new icon...

      new thread with plugin is Sine Circle

      john

      posted in Newbie Forum
      D
      driven
    • [Plugin] Sine Circle

      the spur came from a user post for me to do something I have wanted to try for a while...

      Cylindrical Sinusoidal's would be a bigger mouthful...

      but, in basic form it's a Sine Wave that follows a Circle, so called Sine Circle...

      the basics...

      some images to clarify my terminology...

      what is a wave...

      96 segments, 6 waves, 9 different heights

      you can do some fun things with scaling copies...

      sorry about the gif...

      this one was
      1: 'Move' [wave copy]
      2: 'Scale' [RB: top cir, top wave]
      3: 'Move' [ same pair down same distance as in 1]
      4: Select and Delete surface between top cir, top wave
      5: 'PushPull' [top cir too bottom cir]
      6: Select and Delete top cir
      7: 'Orient Faces'

      shorthand gif...

      English, BR-pt and [bad] French so far...

      john

      posted in Plugins
      D
      driven
    • RE: How to reduce size of section plane??

      @cortneyrichards said:

      ...In my case it was the Lisanne Sketchup model. Hope this helps.
      -Cortney

      Lisanne is at origin by default and if she was at the extremes of your model, it should be moved to origin after you delete her...

      john

      posted in SketchUp Discussions
      D
      driven
    • RE: Starting a new Ruby Tool Extension

      @johnwmcc said:

      ... What I was trying to ask was what the code would look like so that the extension isn't restricted to having its support folder and files in SU's Plugin folder.

      
      File.join(File.dirname(__FILE__),  File.basename(__FILE__, ".*"), 'the_file_your_after' )
      

      have it anywhere for any version of ruby...

      you'll often see it split so you can use the different bits for other things...

      dir = File.dirname(__FILE__)
      base =  File.basename(__FILE__, ".*")
      file = 'the_file_your_after'
      target = File.join(dir, base, file)
      
      

      john

      posted in Developers' Forum
      D
      driven
    • RE: [Solved]DC Dialog troubles....

      did you try a different DC?

      any from the Components Browser will confirm if it's the Extension or the DC that's failing...

      john

      posted in SketchUp Discussions
      D
      driven
    • RE: Starting a new Ruby Tool Extension

      I agree looking at other scripts is a worthwhile experience...

      as my tag line says...

      john

      posted in Developers' Forum
      D
      driven
    • RE: Trajectory curve

      cheers for posting these scripts...

      john

      posted in Developers' Forum
      D
      driven
    • RE: Starting a new Ruby Tool Extension

      I touch on a couple of your points...

      @johnwmcc said:

      ...But his example installs to the Plugins folder and looks for support files there. For development, at least, I want to be able to run it from an external folder, to share with different versions of SU for testing purposes. What would example code to do that look like?.

      most rubies can be loaded by simply typing

      load "<path to file>"
      

      and you can even drag the file between the quotes to get the path... [on a mac a least]

      to reload, use the up arrow and hit return, again and again and again....

      For the icons you just do a version and platform check and have different images in the same place...

      
      ver = Sketchup.version.to_i
      if ver >= 16 
      osx = Sketchup.platform == ;platform_osx
      ext = osx ? '.pdf' ; '.svg'
      else
      ext = '.png'
      end
      
      cmd.large_icon = cmd.small_icon = File.join(File.dirname(__FILE__), 'Resources', 'images', 'sine_circle#{“ext}")
      
      

      @unknownuser said:

      a good example of the Tools 'draw' method for displaying temporary geometry

      name a plugin with what you think is a good example...

      most I have looked into use the linetool class as a template...

      john

      posted in Developers' Forum
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      I updated again...

      I hadn't spotted that the mac dialog was less descriptive then intended...

      I thought I broke it when I added the language files, but looking at the gif above, show it was always broken...

      john

      posted in Newbie Forum
      D
      driven
    • RE: [Solved]DC Dialog troubles....

      when you go to the Extension Warehouse and log in, hover on your User Name then click 'My Extensions'...

      Dynamic Components will either be listed as UpDate Available, Disabled or Enabled...

      if it not in the list something is wrong and you need to instal it from there...

      john

      posted in SketchUp Discussions
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      I made it into an Extension and if it doesn't break on PC's I'll add it to the store...

      updated rbz moved...

      edit: not tested on early SU versions or Windoze... [a little...]

      john

      posted in Newbie Forum
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      updated the rbz after some v8 glitches were reported...

      let me know if more are found...

      john

      posted in Newbie Forum
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      I think any dongle needs an intermittent fault and an expensive service contract...

      john

      posted in Newbie Forum
      D
      driven
    • RE: Assigning a default material.

      or use grep

      
      oface.material = Sketchup.active_model.materials.grep(/Brick_Antique/)
      

      john

      posted in Developers' Forum
      D
      driven
    • RE: Anyone know a plugin that can produce wavy lines?

      thanks,

      I'm in a lull from the 'other one' and thought I'd try making some geometry...

      it was originally based on an old Jim Foltz script and then developed with advice from Jim Hamilton...

      I'm considering doing a 'Pro' version, so this is the proof on concept...

      maybe that one that should be subscription only in keeping with the current trends...

      john

      posted in Newbie Forum
      D
      driven
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 148
    • 149
    • 9 / 149