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

    Topics

    • B

      Observers. Can we use them!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      234 Views
      thomthomT
      Observers are troublesome. They have different bugs in different SketchUp versions. In general - only use observers when you really need to. And beware that modifying the model in events might very likely cause crashes. I've been trying to map out the state of observers in SU. If you have additional info or thing you found issues not documented, please post back with a reproducible case. http://forums.sketchucation.com/viewtopic.php?f=180&t=30793
    • B

      Menu, require and .rb files

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      309 Views
      B
      Thanks guys, I'll try Ruby modules SérgioBizello
    • B

      Commit working like undo command

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      245 Views
      thomthomT
      Note that start_operation cannot be nested. Doing a new start_operation after another will commit the first.
    • B

      Edges, angles on rectangle triangle

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      942 Views
      C
      Angles are only defined between two vectors, so finding the angle between a vector and a plane can vary depending on which vector in the plane you're interested in. Most of the time, the vector you're interested in is the angle between the vector and it's projection into the plane which can be calculated using the face.plane method and the Array.project_to_plane method. The only trick here is that vectors are not points, so you would have to either pick a point in the plane, then transform it by your vector or translating the plane to the origin and simply calling the vector3d.to_a method. As it turns out, the second method is much simpler since given a plane of of the form [x,y,z,c] then translating it to the origin is as easy as changing it to [x,y,z,0]. Here is the code def angle_between_vector_and_projection(vector,face) plane = face.plane plane[3] = 0 projection = Geom;;Vector3d.new(vector.to_a.project_to_plane(plane)) return vector.angle_between(projection) end
    • B

      WxFormBuilder

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      2k Views
      Dan RathbunD
      @bizello said: ... I'll have to learn JS. JScript User's Guide (Windows Scripting - JScript) JScript Language Reference (Windows Scripting - JScript)
    • B

      Mouse event or...

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      176 Views
      thomthomT
      Moved the thread to the Developer's forum. We have reorganized so that the Plugin section is only a list of plugins you can download and use.
    • B

      Web Dialog and Data

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      961 Views
      thomthomT
      Moved the thread to the Developer's forum. We have reorganized so that the Plugin section is only a list of plugins you can download and use.
    • B

      Getting global coordinates

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      800 Views
      B
      TIG, thanks a lot! The script worked very well. So, I will include it inside the main script. I wont forget to speak folds its aid. Really very thanks Sérgio
    • 1 / 1