sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Get rid of the Tilda..

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 249 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      nankyo
      last edited by

      Hello Ruby masters,
      I have no idea in programming, though I a, trying to modify one simple plugin called heighttool_datum.rb
      The thing is the results appear with a tilda in the beginning and what I would like to do is to take out the tilda so will apear only the height of the point..
      Can somebody maybe know hou to do that? It would save me so a lot of job getting rid of all of them..

      the plugin can be found here: http://forums.sketchucation.com/viewtopic.php?t=22851

      Thanks, cheers and thanks again for all the lovely job you do out there...

      Nankyo.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        The tilde ~ is an approximation indicator... so 1.4mm >>> ~1mm IF your number of dp's in the Model > Units is set too low.
        You get this using .to_l etc.
        You can always get a distance or xyx value in inches [the default base units] and convert them to something else with methods like .to_mm...
        You can also convertfloars to a fixed number of dp's using sprintf() etc...

        TIG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement