sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Idea] Storing parameters to model for easy changes

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 3 Posters 159 Views 3 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.
    • PixeroP Offline
      Pixero
      last edited by

      Hi!

      This idea has been in my head and I just felt I had to ventilate it to see if it would be possible to implement some way.

      A lot of the current tools are destructive, meaning that once used they have altered the model so that it can't be undone at a later stage. I would like to see a solution that for example would let us use "Round Corner" script and later be able to go back and change the radius.
      Maybe like storing settings in the model and retrieve them when the tool is being used.
      Am I making sense?

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

        Yes.
        BUT it means writing the tool as a 'parametric' initially.
        This is easy enough for self-contained objects like a parametric-box group that you can change with a context-menu etc because redoing it is separated.
        BUT for a tool like RoundCorners it is destructive and therefore it becomes much more involved to save the prior state of all of th geometry you are going to 'round', then when you change the radius it needs to restore all of the original geometry and redo a new rounding...
        Now the rub... what if you have done a intervening edit operation that has changed the object's form somewhat? Does the redo-rounding undo that too ?
        You are effectively asking for a 'selective undo'... I think it'd be simply too complex...

        TIG

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

          I'll be happy to be proved wrong ๐Ÿ˜ฎ

          TIG

          1 Reply Last reply Reply Quote 0
          • PixeroP Offline
            Pixero
            last edited by

            I didn't say it should be easy... ๐Ÿ˜†
            I'm thinking something like the modifier list in 3dsMax where you can "go back" in history to some extent.
            I thought I'd cast it out and see if some Ruby genius got inspired enough to try and find a solution for SU.

            I think Fredos Bezier curves has something like what I'm after. That you can go back at a later stage and the entity still knows that it is a Bezier curve and is editable.

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              For bezier curves, or surfaces it's easier - as the mesh is generated from a set of few control points.

              Round corners base itself on existing geometry - problem arise when you start manipulating the mesh after rounding it.

              For Bezier Surface I plan to implement a modifier stack.

              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