sketchucation logo sketchucation
    • Login
    1. Home
    2. timc
    3. Topics
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 16
    • Groups 1

    Topics

    • T

      Determine zoom level through API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      272 Views
      T
      Thank you thomthom, that is exactly what I was looking for.
    • T

      Use Sketchup default cursors

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      23
      0 Votes
      23 Posts
      6k Views
      tt_suT
      http://www.sketchup.com/intl/en/developer/docs/ourdoc/ui#set_cursor http://www.sketchup.com/intl/en/developer/docs/ourdoc/tool#onSetCursor
    • T

      Problem outputting arc to dxf file

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      3
      0 Votes
      3 Posts
      509 Views
      T
      I could change it so it recalculates the end_angle as well, that way I would not have to worry what SketchUp says the angle is. But I think I have bigger issues than that.
    • T

      Create faces in script

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      3
      0 Votes
      3 Posts
      490 Views
      T
      find_faces was exactly what I was looking for. Thanks,
    • T

      Where is the best place to get help?

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      3
      0 Votes
      3 Posts
      284 Views
      Chris FullmerC
      I agree, if you post here, most beginners won't have any clue about ruby. Post in the ruby discussion group and there are lots of us there who can help. Chris
    • T

      Draw angle dimensions

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      470 Views
      daikuD
      Excellent. There's already a script out there that does this, but it does not work very well for me. Specifically, it often selects a vertex behind the one I want, and then gives an incorrect angle. It would be much better if you could restrict it to act only in a given plane, like the native protractor tool. The existing script by Didier Bur is called dim_angle.rb, and can be found here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_arc_page.htm
    • T

      Output arcs to dxf format

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      9
      0 Votes
      9 Posts
      461 Views
      T
      I'm getting closer. It turns out that ArcCurve.start_angle is always 0.0, so I made a function that finds the actual start anlge, I then add that to the end angle for output. def get_new_angle(center, point) #center is the center point returned by AcrCurve.center #point is the start point of the arc returned by ArcCurve.vertices[0].position return Math;;atan(((center.y.to_f - point.y.to_f)/(center.x.to_f - point.x.to_f))).to_f.degrees.abs end Now the problem is arcs on the y axis are not correct.
    • 1 / 1