sketchup-ruby-api-tutorials
sketchup-ruby-api-tutorials copied to clipboard
Hello Cube tutorial internally inconsistent on dev site
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.
@ChrisFullmer can you have a look at this? I think we need to adjust the tutorial on the developer pages.
I suggest deleting the mirror(s) on the webpages and link to the GitHub repos.
As said in #19 the online tutorials have been deleted.