sketchucation logo sketchucation
    • Login
    1. Home
    2. a4chitect
    3. Posts
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 151
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] LaunchIt v 1.4 (14 oct 2009)

      Jim: I suppose that using speech for input doesn't trigger the OnKey event in the javascript - to perform the search

      Jeff: I envy you - because the built-in OS X functionality looks great. The whole purpose and idea of launchit was, that my plugins menu won't fit on the screen anymore, and gets 'randomized' very often - because of new plugin installations. I agree that using keyboard shortcuts is way better. I think that Google should consider integrating the shortcut preferences into the GUI. It provides the functionality of searching for commands already, but serves only to assign shortcuts.

      posted in Plugins
      A
      a4chitect
    • RE: SketchUp 7.1?

      Mouse clickpoint and selection offset - I have noticed the very same problem, at first I thought it was the mouse (reinstalled the drivers, switched mice, ...) problem persisted...

      But since there is more of you complaining - I would like to add my complaints πŸ˜„

      In SU 7.1 it is harder to select anything in the model, maybe it's just that it select things differently then before, and we'll get used to it, but after many hours of using SU 7.1 - it still feels weird. It feels like if you had to click not with the tip of the mouse cursor, but with the cursor 'body'

      posted in SketchUp Discussions
      A
      a4chitect
    • RE: [Plugin] LaunchIt v 1.4 (14 oct 2009)

      tbd: you're welcome. will look into the github, thx

      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] LaunchIt v 1.4 (14 oct 2009)

      great stuff! it's cleaner to have commands in a separate txt. I suggest you share your whole script (as a branch?)

      Does anybody have experience with online code hosting ? like code.google.com ? Is there a branching feature to allow deviation from the main code ?

      Regarding your question about automatic command extraction, I think this could be done by using the IO.readline to read all plugins and look for the lines which populate the menu and context (right-click) menu.

      As I wrote in the first post, look for the

      .add_item("
      
       string in all the rubies, after the double quote, there usually is a command name, and the action
      
      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] LaunchIt v 1.4 (14 oct 2009)

      gavvy thanks for letting me know, I have changed the script - so hopefully the mentioned error is gone now.

      posted in Plugins
      A
      a4chitect
    • [Plugin] LaunchIt v 1.4 (14 oct 2009)

      %(#4080BF)[short tutorial:
      installation: 1. extract the provided zip file into your Sketchup\Plugins folder

      first run: Run the Plugins/LaunchIt/Reload Plugins from your Sketchup menu (to add all* your plugins to launchit)
      Run Plugins/LaunchIt/LaunchIt to see the launchit dialog OR assign a keyboard shortcut to it (my favorite is "." key, since it is the default closing key)

      consecutive use: Run LaunchIt from the Plugins menu or by hitting your assigned key, Plugins/LaunchIt/Reload Plugins everytime you add/remove any plugin to keep launchit up to date]

      Update 14 oct 2009 v 1.4
      LaunchIt v 1.4 (14 oct 2009)
      list of changes:
      1.removed a few errors by catching them prior to happening
      2.added an 'ignore' list to the ruby itself => no need to alter any other scripts (add the file name of the file to skip to the @ignorelist at the begginig of the A4_launchit.rb
      3.launchit performs calculations of simple math formulas - these have to start with an equal sign
      understands following code
      constants:
      e
      ln2
      ln10
      log2e
      log10e
      pi
      sqrt1_2
      sqrt2

      methods:
      **abs(x)
      acos(x)
      asin(x)
      atan(x)
      atan2(y,x)
      ceil(x)
      cos(x)
      exp(x)
      floor(x)
      log(x)
      max(x,y)
      min(x,y)
      pow(x,y)
      random()
      round(x)
      sin(x)
      sqrt(x)
      tan(x)
      toSource()
      valueOf()

      as found at http://www.w3schools.com/jsref/jsref_obj_math.asp**
      4.minor changes to the frontend graphic style

      selecting command and doing a simple addition
      circle area formula
      and the result

      Future
      1.transfer the equation result to the VCB for setting of lengths, numbers, etc.
      2.come up with a solution for calculating with decimals (assigning "." for launch-it has its limits πŸ˜„ )
      3.allow the choice of closing after launch to be saved/remembered

      History__________________________________________________________________
      **Update 12 oct 2009 v 1.0
      LaunchIt v 1.2 (12 oct 2009)
      if you have SkIndigo installed, please add the following first line to skindigo ruby file

      #nolaunch
      

      -this script is not mature enough to handle skindigo yet

      The script stores found commands into .rb files which get loaded (this way we don't have to read a text file and translate it into ruby, but we use a native ruby load)
      UI changes: the reset button (X) is gone, to clean your search string press UP arrow key
      to cycle through the results from within the search box, press DOWN arrow key
      to launch a command press Enter or click with your mouse
      I have removed the command population routine from the sketchup startup - this happens upon first launch of LaunchIt instead (for each sketchup session), and everytime you hit LaunchIt/Reload Plugins. This way - the plugin doesn't slow down sketchup getting ready for action πŸ˜„

      Update 10 oct 2009 v 1.0 The script stores command names and relevant action into a txt file, thanks to gavvy for code proposal. It also automatically finds many (not all) commands and actions in the plugins folder and saves them to a separate txt.

      if you want any script removed: add the following line as the first line of that script

      #nolaunch
      

      known issues: 1.script doesn't extract sub-submenus (all command get gathered with the top submenu name)
      2. script can't handle conditions whether to show the command in the first place
      3. *script doesn't include encrypted plugins on purpose
      4. *script can't handle advanced script loading mechanisms (the ones you know from fredo6, etc...)
      5. sketchup launch is longer - am working on this

      08 oct 2009 This is a working code release to start a debate. I wanted to add a simple 'launchy' type functionality to quickly launch any command available in sketchup.

      This code relies on manual insertion of commands (since there is no access to all the commands available to sketchup - correct me if I'm wrong)

      The script is far from perfect but it certainly does the job. To get your favourite command listed either add the following code to the script itself

      if(defined? $launchitcmd == nil)
      	$launchitcmd = []
      end
      
      $launchitcmd.push ["Command name","Command action"]
      

      or add the Command name/Command action to the A4_launchit.rb

      $launchitcmd.push ["Command name","Command action"]
      

      | is a substitute character for " gets replaced at runtime
      example:

      $launchitcmd.push ["Edit Undo","Sketchup.send_action |editUndo;|"]
      

      I'm looking into ways of automatically parsing the local plugins folder and extracting all launchable commands - but this get rather nasty since there are many ways to define and call one.

      Am looking for ideas and suggestions, I would like anyone to fetch this up and bring it to the next level. (better frontend GUI, automatic handling of all plugins present, showing icons alongside the command names, handling of conditions built inside many plugins whether to show the command in the first place, etc.)

      I only plan to add a feature when you can manually add a tool (I hope a tool observer could be used for that).

      I'm not sure if using a global array and sending this to the webdialog is the best solution - please enlighten me πŸ˜„

      P.S. I suggest you have . as a shortcut for launching it ( . already is the default keystroke to close it)

      P.S.2. It comes preloaded with command available to Sketchup itself, I have parsed my Plugins folder with Notepad++/Find in files... add_item.("

      P.S.3. I find the whole concept very handy especially when each new plugin messes the menus up.**

      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] 2 Faces + Path ver. 1.5.

      wonderful = great = nice = beautiful = amazing

      thx

      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] Sculpt Tools (help)

      BTM - respect! and thanks for this.
      I suggest not to bother too much with incorporating symmetrical push-pull but rather

      allow for total locking of edges (locked/pinned edge wont move by any of the tools) this way any connecting openings wont change. (easier to implement but not flexible enough)

      or

      allow for planar locking of edges (locked/pinned edge wont move out of the plane of symmetry) just allow these edges to move along the plane of the symmetry = plane of the "locked" edge loop

      wish you lot of endurance
      illustrating the planar locking of edges

      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] Selection Toys

      very good job thomthom πŸ˜‰

      minor suggestion: consider adding a 'Deselect All' option for the Tools or Plugins menu, found this handy to assign to a keyboard shortcut to quickly get rid of the selection.

      def self.deselect_all
      		Sketchup.active_model.selection.clear
      	end
      
      posted in Plugins
      A
      a4chitect
    • RE: Google....give us back our back button[SOLVED]

      +1 vote for the back button

      posted in SketchUp Feature Requests
      A
      a4chitect
    • [Plugin] Pushpull Groups

      might come in handy, was assembled in hurry, so forgive any problems.

      please note that it requires the InputBox class by jim foltz
      download to your plugins dir from this page
      http://sketchuptips.blogspot.com/2008/03/inputbox-class.html


      version 0.1

      posted in Plugins
      A
      a4chitect
    • RE: [Obsolete] FredoScale 1.0e (Free Scaling, Taper Scaling)

      one of the most beautifully integrated scripts! thanks and bravo!!!

      posted in Developers' Forum
      A
      a4chitect
    • RE: [Obsolete] Tools On Surface - v1.2

      thanks santa fredo!!!

      your scripts are state of the art! but please take an occasional rest so as not to get fed up and quit πŸ˜„

      posted in Developers' Forum
      A
      a4chitect
    • RE: Request for RUBY

      remus: this is not achievable using the styles only, because mike wants to have the profile thick and extension lines thin...

      mike: only simple way is to export 2 images (one with profiles, one with extensions) and merge them in photoshop or any other capable raster image editor

      posted in Plugins
      A
      a4chitect
    • RE: [Obsolete] Tools On Surface - v1.1

      Fredo6 please consider adding a multiline on surface functionality to your already bursting list of todo's. The idea is to draw with 2 parallel lines at once (by clicking on the centre/inside/outside) and auto closing of the start and end gaps. And offset variable by typing in the vcb. Usage: more flexible than rectangle on surface. With JPP: quick massing of roads, fences, walls..

      Thanks to you leaving the code exposed such feature could be added by anyone, or once my schedule clears up a little-will wait 4 me, if you allow.

      posted in Plugins
      A
      a4chitect
    • RE: Geomatry Resizer or Paramatric???

      very nice oscarlok! you are building something very useful! gjenio pretty much summarized all my questions or feature requests, I second the wish for

      edge position/length locking

      face position/area locking

      any angle locking

      this could help model more accurate approximations! good luck

      posted in Developers' Forum
      A
      a4chitect
    • RE: [Obsolete] Tools On Surface - v1.1

      fredo your plugins are the state of the art! thanks for sharing, thanks for providing the code, thanks for inspiration, thanks for a lot of time saved, thanks for making sketchup the best modelling experience around.

      respect

      posted in Plugins
      A
      a4chitect
    • RE: [Plugin] Voronoi - Convex Hull

      this is a little modified version, it has probably the same bugs and unreliable performance, but maybe it will work for you


      replace your current 'voronoi.rb' make a bckp if possible

      posted in Plugins
      A
      a4chitect
    • RE: Are you ready for SketchUp 7 news?

      fantastic! there is a 7! this news has made my day

      posted in Corner Bar
      A
      a4chitect
    • RE: [Plugin] Voronoi - Convex Hull

      I can't help further at the moment, but please check the link mentioned in the first post (directing to the original thread) for pictures and explanations

      voronoi is a system of subdividing space - in a special way, so that each element gets enclosed in a cell while each wall is equally far from both points

      convex hull is like remus said a little like wrapping your points in a stiff cloth (because it covers all concave inserts) hence the name: convex hull

      script is not a normal ruby script because the whole calculation is done outside of sketchup (the already mentioned dos command prompt) in a program called qhull. I managed to tweak the script to run almost always at my pc, it is far from clean and reliable. I have posted all the possible steps to make it run, and can only wish you luck at the moment. πŸ‘

      posted in Plugins
      A
      a4chitect
    • 1 / 1