Sketchup-Ur-Space
home   |  About us   |  editor's desk   |  Articles   |  Blog   |  Tips and Tricks   |  Interview   |  News   |  Video   |  Review   |  Trending Pages   |  Showcased images   |  CONTACT

SketchUp Ruby Code Editor

Swarna Karmakar: Editor

Hi Folks, today, we will talk about SketchUp Ruby Code Editor. This code editor extension offers a simple to-utilize and outwardly engaging approach to write and adjust Ruby scripts legitimately inside SketchUp. These scripts would then be able to be utilized to make geometry, include usefulness or include information inside the SketchUp 3D modeling condition.

The SketchUp Ruby API gives a broad arrangement of capacities to automatize SketchUp from numerous points of view or make scripted, computational geometry. The developer made this editor for the most part for two reasons: One is that we needed an approach to alter and run SketchUp Ruby code directly within SketchUp's 3D modeling condition. Regularly this is done in an outer editor, yet having an inside editor takes into account utilizing both scripting and modeling simultaneously – relying upon your requirements.

The editor needed to give simple access to the Ruby coding condition and carry on progressively like a genuine code editor. To achieve this, the devs included a touch of jQuery (and jQuery UI) enchantment to make it look great and have some extra visual highlights (for example the tabs and menus).

They likewise included the brilliant CodeMirror punctuation featuring motor. This gives the editor multi-language code featuring, right TAB control, find/supplant, section coordinating, code collapsing, and numerous different highlights. Simply load the plugin and check out it to see with your own eyes that it is so natural to utilize!

The other explanation behind this extension is that when we write code, we always need to look into documentation. To make this simpler, the devs included a lot of reference site pages to a program window. Additionally, a drop down underneath the editor contains some basic code scraps that can be embedded at the current cursor position.

They are likewise trying different things with a code-culmination highlight that you can summon anytime by clicking CTRL-SHIFT. It contains SketchUp's classes and strategies.

x

Highlights of the Plugin:

  • Delightful and clean editor UI with menu-based UI
  • Light/dark themed editor
  • Permits executing multi-line Ruby code legitimately in SketchUp
  • Works with documents of any size
  • Quick opening and code featuring of enormous records
  • Most as of late utilized record list
  • Console alternate way route
  • Line numbering in editor
  • Indenting/dedenting of code squares
  • Coordinating sections, current line featuring
  • Fix/retry in editor
  • Find/supplant in editor (text or RegEx)
  • Code collapsing
  • Supplement code bits at cursor
  • Code-finish for SketchUp classes and techniques
  • Programmed reinforcement record creation
  • Different choices: text dimension, tab/space indenting
  • Fix of code execution
  • Single fix alternative for whole code
  • Results window monitors run history
  • Plausibility to run outer Ruby records
  • Reference internet browser for normal sites
  • Investigate choice article properties and qualities
  • Alternative for direct access to the Ruby support
  • Alternative to alter default code scrap 
  • Clean printing of code 

So, how to utilize this extension? Basically select Window > Ruby Code Editor or open from the Ruby Code Editor toolbar. 

Where would you be able to get it? You would now be able to discover this extension in Trimble's Extension Warehouse. For a simple introduction (and update notices), peruse to it from inside SketchUp (2013 or more up to date) and introduce it legitimately. Likewise, here are the rbz and zip files legitimately: 
alexschreyer.net/download/5408
alexschreyer.net/download/5400

What's new in Version 4.3 (5/7/2020)

  • Ruby working dir changes to record dir on load/spare at this point.
  • Document way appears in tab title characteristic.
  • Added menu thing to open plugin organizer.
  • Added capacity and menu thing to run (load) outside document rather than editor.
  • Presently prints mistake line numbers in criticism.
  • Fixed 2020 GC issue (class var for program).
  • Refreshed connections in reference program.
  • Refreshed UI hues to be progressively steady with SU.
SketchUp Ruby Code Editor
home   |  About us   |  editor's desk   |  Articles   |  Blog   |  Tips and Tricks   |  Interview   |  News   |  Video   |  Review   |  Case Study   |  Showcased images   |  CONTACT