sketchucation logo sketchucation
    • Login
    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

    Pick up 3dPoint in canvas

    Scheduled Pinned Locked Moved Plugins
    2 Posts 1 Posters 394 Views 1 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.
    • juan974J Offline
      juan974
      last edited by

      Hi all,
      I m new to programing.
      I m learning python at work, and at home : i m writting my first ruby code for sketchup.
      To start it, i need a method to pick points (magnet to entities in model), lock to inference and type length in vcb.
      The only thing i can do is to pick 2d points from screen with :

      def onLButtonDown(flags, x, y, view)
      

      For now my code works with UIbox in which you enter value.
      All advice is welcome


      plugin

      juan974 (Réunion island)
      website : http://sketchucation.com/click.php?url=http://www.tarn.us

      1 Reply Last reply Reply Quote 0
      • juan974J Offline
        juan974
        last edited by

        Finaly i achieve the plugin for a straight stair.
        It's easier and it's a good way to learn ruby.
        To draw a stair :
        -install the file FaStair-i_Shape.rbz with the SU extension installator
        -activate the tool named FaStair-i_Shape in the Plugins / Extension menu
        -pick the origin of the stair
        -pick the width
        -pick the depth
        -finaly pick the heightpicking points

        et voilaresult

        plugin FaStair-_i_Shape

        Now i'm working on the FaStair-L_shape, it's much more complicated.FaStair-L_Shape

        juan974 (Réunion island)
        website : http://sketchucation.com/click.php?url=http://www.tarn.us

        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