Outdated
Latest version is here: http://www.thomthom.net/thoughts/2013/0 ... ual-guide/
Note: this is not a complete guide of all the methods.
What you think? Understandable?
[Tutorial] PickHelper - Visual Guide
34 posts
• Page 1 of 2 • 1, 2
[Tutorial] PickHelper - Visual GuideWhen I first came across the PickHelper I was confused to exactly what data the various methods returned. I finally got around to compile a small visual guide.
Outdated Note: this is not a complete guide of all the methods. What you think? Understandable? Please, register (free) to access all the attachments on the forums. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideI'm looking it over. The first thing I see if in the top, it says "in the example to right". the example is actually to the left.
Re: [Tutorial] PickHelper - Visual GuideLeft - Right - it's all semantics...
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guidesorry, guys. you have lost me. what the heck is PickHelper????
edson mahfuz, architect
http://www.mahfuz.arq.br Anyone can get you more for more, but it takes genius to get you more for less.
Re: [Tutorial] PickHelper - Visual Guide
You have strayed into the dark path of SketchUp API programming. http://code.google.com/apis/sketchup/do ... elper.html Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guidesorry: wrong mumber.
edson mahfuz, architect
http://www.mahfuz.arq.br Anyone can get you more for more, but it takes genius to get you more for less.
Re: [Tutorial] PickHelper - Visual Guide @Thom - I've decided I do not know enough about the pickhelper to understand this yet. I've used it, but only the best_picked method. So I've never had to worry about leafs and paths. Maybe once I get more into the pickhelper I'll have something useful to say
Re: [Tutorial] PickHelper - Visual GuideWell - that means there is room for improvements.
Is there some parts that does make sense? Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideSorry, but I understood it better before you published your guide
TIG
Re: [Tutorial] PickHelper - Visual GuideWow ThomThom this is a tough crowd tonight!
Always sleep with a loaded gun under your pillow!
Re: [Tutorial] PickHelper - Visual GuideNothing to it but back to the drawing board. Think I'll make the next one bigger. Bigger is better, right?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideBravo, ThomThom!
I love it when explorers return from parts unknown bearing and sharing maps. (Nit: The plural of child is children.) Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.
Re: [Tutorial] PickHelper - Visual Guide
Someone understood this?
Thanks - I'll sort it out for version 2. Getting a better idea on how to visualize this. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideRevision 3
I've finally got around to work on a revision for this. Would you please have a look at this draft and give me your thoughts? Is it more understandable? This version is more verbose and instead of trying to explain the entire class in one diagram I broke it down into categories. Please, register (free) to access all the attachments on the forums. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideI had a quick look. Good stylished job! Appears very easy too follow.
Re: [Tutorial] PickHelper - Visual GuideText in Console Boxes a bit too small.
Green bubble text 2 steps too small. Content text a bit too small. Any Ruby expressions could be in Ruby-color. Basically - too much wasted whitespace on the pages. BUT the organization looks good... a should make a nice tutorial.
Re: [Tutorial] PickHelper - Visual Guide
How are you viewing it? Full pagewidth? On what size monitor?
Higher contrast for the code expressions would be good. But I wanted to ensure the content made any sense before I polished up the graphical details.
Specifically where? The edges? I've deliberately used white space to separate the sections and divide the information into chunks so the eye is served smaller units. Hearing why you think it's too much white-space would be interesting. First of all I'm trying to gauge if the information is making sense. I want to nail the big details before I polish the small details. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guide
Did it make any sense? Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideYes it made sence. I love these visual guides
I might be a good testsubject because I have never used pickhelper. Segments and Points confused me a little, and maybe another row of explanation would not hurt. Theese following ideas may just be a subject of personal taste. (People have their way of "taking in" information visually, and it might be impossible to please everyone.) Label groups and components G1, G2 etc maybe adds 1 more level of translating information? If its for conserving space, maybe the example should include less entities. The "Test scene" picture could be a "standard style"(lightgrey) screengrab? So user feel familiar with the scene and working in SU. In any way. Great job, and thanks for doing guides like this.
Re: [Tutorial] PickHelper - Visual Guide
Expand on what "segments" and "points" are?
This is something I went back and forth quite a bit with. Initially I had just plain colours, one for containers (groups and components) and one of leaves. But I felt the need to reference and identify each branch - as the order of nesting is important. I find it difficult to remove the number of entities as the test scene is specifically set up to cover a multiple of scenarios. (Several entities overlapping each other but in different context.) I agree though, it does add more noise to the chart - but without them I fear it'd be impossible to follow the flow. The Gx and Cx symbols are used to be able to reference specific entities in the descriptions.
Maybe so. I set it so I'd have darker background to match more the code blocks. But maybe that's not needed. But the light grey is just one of the default templates - Engineering templates are completely different. I'll have to ponder on all this feedback. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guide
When I click the download... Chrome d/l's it into the "~/documents/downloads" directory. I have PDF set to open in Adobe Reader (a separate process, rather than within the browser.)
Yes. I have Adobe Reader set to open docs in page width by default.
A 20 inch diagonal, Samsung 204B (1600x1200px,) which is 16" wide by 12" high.
Re: [Tutorial] PickHelper - Visual Guide
That's a minor thing... don't worry too much about that now.
Yep.. I find the information very easy to follow.
Re: [Tutorial] PickHelper - Visual GuideI'll have to review the page size. To be honest - I don't know what paper size it is any more. I started out with a normal page format - but in order to focus on laying out the info I abandoned it and just expanded the page to make fit. The physical size is probably inherited by the underlying grid I used. Being vector I wasn't too concerned.
Thanks for the feedback. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guide
The last part where it says "Segments and Points". It all depends on what user-level you are targeting. Me, I felt I needed more information about points. (I've never used pic helper so I'm totally green on subject.) But then again I suppose this is meant to be a visual guide with as little text as possible, so that might work against the whole concept.
No need to "ponder" Got a 21 inch screen. At full screenmode and 66,7% zoom the text size was fine on my computer. Is target for print?
Re: [Tutorial] PickHelper - Visual Guide
Yea, the thing with the pickhelper is that it serves multiple purposes. It let you pick entities in the model, but it also let you test against simple Geom::Point3d object - which which isn't represented by a model entity at all. I kind of feel the class should have been broken up into two separate classes because it's currently doing two separate jobs. I have been playing with making a wrapper that might make more sense to use.
No, screen was the target. Saving them poor trees. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual Guide
Thanks TT, looks clear and helpful. Now for your next assignment, compare/contrast pickHelper and InputPoint! Steve
Re: [Tutorial] PickHelper - Visual Guide
Not sure if infographics is needed for that. PickHelper let you find out what you clicked on - like if you where making a Select tool. InputPoint uses inference, used by drawing tools such as Line, Rectangle, Circle etc. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideRevision 3.1 posted here: http://www.thomthom.net/thoughts/2013/0 ... ual-guide/
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Tutorial] PickHelper - Visual GuideI have a Tool currently that uses the pick method, in order to place a Component that needs to be scaled.
The problem is, that seems to keep picking the *component* itself, so it keeps floating towards the camera. I'm thinking PickHelper would, well, help with this? Am I understanding this right? So conceivably, I would be replacing my @ip.pick with an @ph.do_pick, and then I could rifle through the objects to expressly avoid the component instance in question. Am I on the right track? --J
Re: [Tutorial] PickHelper - Visual GuideI think you'd still get problems. You might have to avoid the PickHelper all together and use model.raytest - if you ray hits your component, you then re-shoot the ray from the point where it hit until it hits some other geometry or returns nil.
http://www.sketchup.com/intl/en/develop ... el#raytest Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
SketchUcation One-Liner AdvertsArtisan Organic Toolset - a set of powerful organic modeling tools.
Premium Members get 20% discount!
34 posts
• Page 1 of 2 • 1, 2
|