sketchucation logo sketchucation
    • Login
    1. Home
    2. Antondeg
    3. Posts
    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
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Groups 1

    Posts

    Recent Best Controversial
    • Find the position of an ComponentInstance

      If I have a ComponentDefinition from which I get a list of instances how do I get the position of each instance?

      posted in Plugins
      A
      Antondeg
    • Plane units of measure

      I need to interrogate a plane and need to know what what the values mean.

      
      entity.plane
      
      

      I noticed that if I have the plane at 45deg then I get a value of 0.707106781186547 I do not know what that means. I also see there are 4 values what are they? I can understand x, y, z but I am not sure of the 4th item in the array.

      Thanks

      posted in Plugins
      A
      Antondeg
    • RE: Incorrect radius value.

      Thanks once I used to_m I got the correct value.

      posted in Plugins
      A
      Antondeg
    • Incorrect radius value.

      I create an arc with a Radius of 5M on my drawing. Then when I read that value through Ruby I get either a value of 196 or 180 and I am not sure of the units. The length is also wrong. I find the edge then I get the curve off the edge then I get the radius from the curve.

      
      entity.curve.radius.to_s
      
      

      Any ideas how to get the correct value?

      posted in Plugins
      A
      Antondeg
    • 1 / 1