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

    Topics

    • J

      Drawing a ray or line from a vector

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      418 Views
      TIGT
      A vector defines a 'direction', which essentially is not determined in its location in space. To define an 'edge' you need a start point - let's call it 'point1'... Then set your vector's length using: vector.length=length and find 'point2' for the end point: point2=point1.offset(vector) Now you have two points representing the start/end-points of a potential new edge. Use Sketchup.active_model.active_entities.add_line(point1, point2) or Sketchup.active_model.active_entities.add_edges([point1, point2]) Don't confuse edge & line - confusing the API does when adding one edge it calls it a 'line'! Actually a 'line' is a special geometrical construct of [point, vector], which us infinitely long passing through the point, along the vector. Lines can intersect etc...
    • J

      Displaying the Normal of a Polygon

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      153 Views
      J
      Thanks guys thats what I needed.
    • J

      Slapi.framework not linking

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      2
      0 Votes
      2 Posts
      203 Views
      bugraB
      Hi Jake, I assume this is for a standalone application and not an exporter plugin into SketchUp. slapi.framework uses @rpath in its in "Installation Directory" path. So you'll need to set the "Runpath Search Paths" project setting in Xcode to the path of slapi.framework relative to your executable file location. So typically it would be something like: @loader_path/../Frameworks Assuming your app is a bundle and you placed slapi.framework under "Frameworks" directory in your bundle. I hope that helps.
    • J

      UI.Timer crashes sketchup

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      3
      0 Votes
      3 Posts
      358 Views
      J
      Thank you! that worked perfectly everything is running smoothly now.
    • 1 / 1