sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Parametric modeling, anyone?

    Scheduled Pinned Locked Moved Corner Bar
    45 Posts 14 Posters 3.7k Views 14 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.
    • jolranJ Offline
      jolran
      last edited by

      @unknownuser said:

      Right. In SUbD I store all data in attributes in the definition. Currently, when the mesh is subdivided the control mesh is recreated entirely in attributes - even nested attributes. At the moment each limit-mesh entity has a unique ID that reference the ID of the control mesh so I can look up control mesh data. (I think that if a face is triangulated by autofold each new face will get a copy of the attributes.)

      Sounds sofisticated. This gives me some ideas, thanks.

      @unknownuser said:

      I do wish we could have a more generic way to create parametric tools in SketchUp though. A framework that could be used to kick start new creations easily without everyone reinventing the low level stuff all the time. But generic high performance frameworks are challenging to get right.

      Yeah, that would be ultimate. Have you started yet ? πŸ˜„

      @unknownuser said:

      CEXT in that last screenshot just reference the Ruby C++ Extension that does the calculations.

      Yes I was refering to a C-extension.

      1 Reply Last reply Reply Quote 0
      • tt_suT Offline
        tt_su
        last edited by

        @jolran said:

        Yeah, that would be ultimate. Have you started yet ? πŸ˜„

        haha!
        Well, one first need to understand the problem. Working on SUbD gives me some insight to that. Keeping an eye on this thread is also a good source of information.

        These types of extensions haven't been so in a great extent for SketchUp. So finding a good design pattern isn't easy. Will need some experimentation and trials and errors.

        @jolran said:

        Yes I was refering to a C-extension.

        I first started using C extensions for Vertex Tools - in order to implement the soft selection feature with any reasonable performance. Scripted languages are usually slow for calculations - Ruby especially so.

        1 Reply Last reply Reply Quote 0
        • jolranJ Offline
          jolran
          last edited by

          @unknownuser said:

          I first started using C extensions for Vertex Tools - in order to implement the soft selection feature with any reasonable performance. Scripted languages are usually slow for calculations - Ruby especially so.

          Yeah I have the impression Ruby works fine for a while, but when you hit a wall it slows down exponentionally..

          I'm looking into the C-stuff. Got some help now..

          1 Reply Last reply Reply Quote 0
          • I Offline
            ivreich
            last edited by

            Have to say, this would be a dream come true for me. I've also been asking for something like this for quite a while, particularly for doing complex panelisation operations.

            @jolran - I remember you telling me once that you were working on something off the back of hatchfaces; is that the propject that you are referring to in this topic? I can't seem to find any link to it though...Care to share?? πŸ˜‰

            Best of luck to you all!!

            Joel

            1 Reply Last reply Reply Quote 0
            • jolranJ Offline
              jolran
              last edited by

              Hi Joel.

              No, this is a different thing than the one I was working on back then.
              There are no release yet, and no date set.

              You can PM me for specific questions/suggestions, should you wish to πŸ˜„

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

              Advertisement