pilou, that image doesn't load right to me...
Posts
-
RE: View.write_image shows dotted line border
Jim is correct, I don't recall exactly what it is, but you find it if you inspect the available keys.
-
RE: View.write_image shows dotted line border
The bars were by default a transparent black. The color can actually be adjusted. But in SU2017 the transparency is ignored. (I haven't actually tried to see if it picks up custom colors...)
-
RE: Developer needed to maintain Visualizer for Sketchup !!
I wonder if the proprietary part is confined to compiled code. Maybe that could be built as a static library and the Ruby code and Ruby C Extension layer could be open sourced?
-
RE: Developer needed to maintain Visualizer for Sketchup !!
Since I'm part of the SketchUp team I'm not sure if that complicates things legal-wise. Otherwise I'd offer to see how much it'd be to recompile.
-
RE: View.write_image shows dotted line border
Have you tested on older versions? Do you think this is a regression?
I wonder if it's related to a regression where the aspect ratio overlay bars are drawn as solid black in SU2017. -
RE: View.write_image shows dotted line border
In what versions of SU do you observe this?
-
RE: Generating PDF and MS Excel Documents within SketchUp API
Not sure what is available in pure Ruby, but if you create Ruby C Extensions it open up a whole lot more - as you can make use of C/C++ libraries. It's often a lot more libraries available for C/C++ when you want to go beyond the standard Ruby API.
-
RE: Is it follow_me or followme ?
As TIG said, add_line was a deviance from what the norm. I think it got named like that because in the UI you have the "Line Tool". But in the API this is an unfortunate inconsistency.
And as Dan mentioned, please report documentation issues in the GitHub repo.
I queued up some cleanup to the followme method:

-
RE: What are the most suitable tools for coding plugins for SU?
I use a mixture of Visual Studio Code/Sublime Text and RubyMine. I use VSCode/Sublime etc for quick scripts and edits. But for larger projects I use RubyMine as the IDE provide better code insight. It's Ruby debugger tools is also very nice - saving you from "puts debugging".
We just uploaded some guide to setting up RubyMine: https://github.com/SketchUp/sketchup-ruby-api-tutorials/wiki/RubyMine%20Overview
-
RE: Developer needed to maintain Visualizer for Sketchup !!
derei: did you ask them if they'd be interesting in open sourcing it?
For SU2017 the only change required should be to recompile the binary for Ruby 2.2. -
RE: SubD examples and models
@ontaotto said:
Thanks, it is Carrara the which is very compatible with SketchUp, and I don't know about Open SubD??
It's the de-factor subdivision standard that's being adopted. Originally developed by pixar: http://graphics.pixar.com/opensubdiv/docs/intro.html
Next version of SUbD will use OpenSubdiv as the subdivision engine - so it'll subdivide consistently with other applications that implement OpenSubdiv.
-
RE: [Plugin] QuadFaceTools
No color options as of yet. But it's something I wanted to add. The current version was a quick and dirty tool - turns out to be more useful than expected.
-
RE: SubD examples and models
Lovely example!
Btw, what software is that? Do you know if it uses OpenSubdiv?
-
RE: SubD examples and models
Do you generally feel hexagons works better than octagons or any other ngons?
-
RE: [Plugin] QuadFaceTools
@hornoxx said:
IΒ΄m trying to run Quadface tools within my SU 2015 Make which is my prefered Quad-version
with tools like SubD, Vertex tools etc...Ah, sorry - bad user feedback on my end. The error is due to the functionality being SU2016+ only.

