sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Reverse engineer Connect Edges' Pinch

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 139 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.
    • thomthomT Offline
      thomthom
      last edited by

      I'm trying to implement a feature similar to 3dsMax's Connect Edges feature: http://docs.autodesk.com/3DSMAX/13/ENU/Autodesk%203ds%20Max%202011%20Help/index.html?url=./files/WSf742dab041063133-48601c13112a1cebbd0-7fae.htm,topicNumber=d0e116152

      What I find troublesome is adding the pinching.

      I have a method that calculates the ratios for each segment from 0.0 to 1.0 which I later use with Geom.linear_combination to get the 3d points.

      I've been studying the behavior of the pinch property but I've not been able to work out an equation for both negative and positive pinch.
      So far I've got one for positive and one for negative.

      I'm wondering if it's possible to use one for both?


      Pinch: -100


      Pinch: -50


      Pinch: 0


      Pinch: 50


      Pinch: 100

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      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