sketchup-ruby-api-tutorials icon indicating copy to clipboard operation
sketchup-ruby-api-tutorials copied to clipboard

Hello Cube tutorial internally inconsistent on dev site

Open nballenger opened this issue 8 years ago • 3 comments

If you copy paste (which some people will definitely do instead of going to the GH repo) the two code samples from:

  • http://developer.sketchup.com/en/content/hello-cube-2
  • http://developer.sketchup.com/en/content/tuthellocubemainrb

and infer file paths to create from the text on those pages, you end up with

  • tut_hello_cube.rb
  • tut_hello_cube/main.rb

That meshes poorly with line 8 in the loader script there, which references the directory ex_hello_cube:

ex = SketchupExtension.new('Hello Cube', 'ex_hello_cube/main')

Presumably this is related to #2, but seems more immediately problematic because the live example is broken as written.

nballenger avatar Jan 31 '17 20:01 nballenger

@ChrisFullmer can you have a look at this? I think we need to adjust the tutorial on the developer pages.

thomthom avatar Feb 02 '17 10:02 thomthom

I suggest deleting the mirror(s) on the webpages and link to the GitHub repos.

DanRathbun avatar Jun 21 '20 19:06 DanRathbun

As said in #19 the online tutorials have been deleted.

DanRathbun avatar Aug 08 '22 09:08 DanRathbun