sketchucation logo sketchucation
    • Login
    1. Home
    2. Pygmy
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Pygmy

    @Pygmy

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Pygmy Unfollow Follow
    registered-users

    Latest posts made by Pygmy

    • Newbie question

      Hello,
      a complete newbie here, please bear with me.

      So I am trying to find the intersection points between two co-planar Sketchup circles.
      defined by:
      C1 = [center1], [normal], radius1
      C2 = [center2], [normal], radius2

      This is probably a bad solution but I've been trying to use the Geom::intersect_line_line for each pair of Edge components, somewhat like this:

      T=C1.each{|j| C2.each {|k|Geom::intersect_line_line(j,k)}}

      But i stumbled on another problem, which is, Geom::intersect_line_line only accepts Arrays(i'm trying to input Edge objects, also Edge arrays won't work).
      And, whenever i use the .to_a method to any Edge object(including in the above code), this is what i get:
      "(eval): warning: default `to_a' will be obsolete"

      Can anyone tell me what I have to do to make the Geom::intersect_line_line to work with Edges? Also is there a simpler solution to this that I'm missing?

      posted in Developers' Forum
      P
      Pygmy