sketchucation logo sketchucation
    • Login
    1. Home
    2. abakobo
    3. Posts
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 22
    • Groups 1

    Posts

    Recent Best Controversial
    • Angles to vector

      hi and many thanks for the precise answers i received for the previous question!

      while reading tutos on ruby/sketchup i kind of remember of an "angles to vector" method.. supposed it was in Geom but i found nothing similar in the api reference on http://www.sketchup.com/intl/en/developer/docs/ourdoc/geom.php. And i can't find the tuto anymore in the mess of my browser's history.

      so my question is: is there any function/method like this or do i have to sine/cosine the angles myself.

      grtz

      Abakobo

      posted in Developers' Forum
      A
      abakobo
    • What's the :: symbol on Geom::....

      hi everybody, i'm new on the forum!

      thanks for the time you spend on forum's...

      here's my question

      what's behind the :: symbol in Geom?

      ex:
      *line1 = [Geom::Point3d.new(0,0,0), Geom::Vector3d.new(0,0,1)]
      line2 = [Geom::Point3d.new(0,0,0), Geom::Vector3d.new(0,0,100)]

      0,0,0 on each line should be closest because both lines start from

      that point

      pts = Geom.closest_points line1, line2*

      and when do we use :: and/or . to call a method
      is it only when using new or is it more subtle?

      grtz

      abakobo

      posted in Developers' Forum
      A
      abakobo
    • 1 / 1