šŸ’” LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering Download Trial
  • Bezierspline Update 20 Jan 08

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Current screen resolution?

    1
    0 Votes
    1 Posts
    508 Views
    No one has replied
  • Having trouble loading .rb's

    1
    0 Votes
    1 Posts
    495 Views
    No one has replied
  • PageUtilities2

    1
    0 Votes
    1 Posts
    659 Views
    No one has replied
  • Move! bug?

    1
    0 Votes
    1 Posts
    555 Views
    No one has replied
  • Flat along path not tube??

    1
    0 Votes
    1 Posts
    534 Views
    No one has replied
  • Doc for Component Definition

    1
    0 Votes
    1 Posts
    458 Views
    No one has replied
  • No coplanars

    1
    0 Votes
    1 Posts
    640 Views
    No one has replied
  • Orient Faces Tool

    1
    0 Votes
    1 Posts
    844 Views
    No one has replied
  • Problem with camera perspecitve

    1
    0 Votes
    1 Posts
    899 Views
    No one has replied
  • Ssb and changing the pressure of multiple skins...

    1
    0 Votes
    1 Posts
    458 Views
    No one has replied
  • Close gaps

    1
    0 Votes
    1 Posts
    612 Views
    No one has replied
  • Creating files with non-ASCII letters

    1
    0 Votes
    1 Posts
    581 Views
    No one has replied
  • Need help on better way to do mouse select

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Add a description of the script please

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Batch convert skp files to obj or blender compatible format?

    6
    0 Votes
    6 Posts
    5k Views
    Rich O BrienR

    Blender's API via its text editor should be able to batch process the import and saving/exporting of .skp to [insert 3d file format]

    I've seen scripts on Blender Exchange to batch import OBJ files.

    But I'm not on Mac so I can't advise why it doesn't work.

  • Best practices for creating an rbe

    4
    0 Votes
    4 Posts
    7k Views
    F

    Where can I find info and/or examples on how to set this part of the loader file? I'm searching but not finding anything...

    require "Author_MultiClassPlugin/MultiClassPlugin_SharedConstants.rb" include SharedConstants # mixin the constant module

    And this from the SharedConstants file?

    SOME_SEARCH_PATTERN ||= /^Author/

    Thanks

  • How to upload plugin to sketchUcation PluginStore?

    2
    0 Votes
    2 Posts
    14k Views
    Rich O BrienR

    Send an email to support@sketchucation.com and you'll get setup. Share the RBZ via email so it can be reviewed.

  • Ruby errors in Sketchup 2021

    10
    0 Votes
    10 Posts
    13k Views
    Dan RathbunD

    @spring.freediver said:

    I was not able to find that it was deprecated.

    It was more than deprecated. It was removed in Ruby 2.0 and higher (which is SketchUp 2014 and up.)

    The CHANELOGs for the Ruby Core is at it's GitHub project repository.
    (But the logs are not that easy to read. They often create "Breaking Changes" synopsis in the NEWS files.)
    See: https://github.com/ruby/ruby/tree/master/doc

    @spring.freediver said:

    By the way, I was using http://ruby-doc.com/docs/ProgrammingRuby/ for Ruby documentation, and it still lists nitems as a method of the Array class.

    Can you recommend a better site for documentation of the version of Ruby Sketchup is now using?

    The ol' "Pick Axe" book you see online was written for Ruby 1.6 !
    (Even the first version of SketchUp that came with an API used Ruby version 1.8.0.)

    Use the Ruby core documentation for the proper version:
    https://ruby-doc.org/core-2.7.2/

    There is link at the top for the corresponding Standard Library docs that now also ships with SketchUp (since v2014.)

    Also I have an extensive Ruby Resources list at the official SketchUp forum.
    https://forums.sketchup.com/t/ruby-learning-resources-wikilists/22861/

    ~ regards ~

  • Win32API is deprecated after Ruby 1.9.1

    4
    0 Votes
    4 Posts
    8k Views
    Dan RathbunD

    This is not an error. It is a warning.

    Prior to Ruby 2.x, Win32API was a compiled .so file.

    Then they (the Ruby Core project) deprecated it and began (with Ruby 2.0 in SketchUp 2014 thru 2016) distributing Ruby with a " Win32API.rb" wrapper file that defined wrapper calls using the DL standard library.

    But later on (by Ruby 2.2.4 with SketchUp 2017 and higher,) even the DL standard library was deprecated, and the " Win32API.rb" wrapper file was rewritten to change the DL library calls into Fiddle library calls.

    So even now with Ruby on the latest SketchUp, we would still expect old Win32API method calls to be translated correctly into Fiddle library calls.

    The warning cannot be suppressed as it is stated at the top of the " Win32API.rb" wrapper file without condition. You will see it output to the console by the first extension that calls a require "Win32API".

    Okay, but there is always a chance things could have been broken as changes to the Fiddle library might change with Ruby version changes.

    The latest SketchUp 2021 is now up to Ruby version 2.7.2. SketchUp 2020 was using Ruby version 2.5.5.

    Did you see differences between loading under these 2 Ruby versions ?

    I would suggest using a Ruby Console opener like Eneroth's to see what other errors are output to the console. It is best when troubleshooting to switch off the extension so it does not load at startup, and then manually load it with the console open to see any other errors.

Advertisement