• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin][$] Curviloft 2.0a - 31 Mar 24 (Loft & Skinning)

Scheduled Pinned Locked Moved Plugins
1.3k Posts 296 Posters 2.4m Views
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.
  • J Offline
    jgb
    last edited by 12 Apr 2018, 15:35

    Fredo said... Well, the issue is that if you join vertex to vertex, you get a skewed surface, even assuming the number of vertices on each opposite side matches.

    True, but I move all of the vertices along a line, not just at the perimeter. My surfaces end up smooth. But each line set has to be adjusted as it approaches the opposite perimeter line or as you said, the smoothness suffers. Usually around the middle of the set I do a 1/2 move to each side to avoid a skewed surface.

    Like I said, it is tedious.

    I really can't live without CL, even with all its worts. I have learned to live with them and get around most of them. Still far easier and smoother than manually lofting a surface.


    Before and after moving endpoints


    jgb

    1 Reply Last reply Reply Quote 0
    • E Offline
      ecs05norway
      last edited by 19 Apr 2018, 05:07

      Trying to work out a way to build a surface between non-parallel lines. I've got an attachment here to show what I'm working with - basically, I've got four straight lines connecting to each other, none of which is parallel to any of the others. I want a smooth curve, but all I get is a corrugated surface or a sharp angle formed from a line directly bisecting the region. Or a stalled plugin.

      Curvy Triangle.jpg

      Trying to complete the missing side of this, basically.


      Curvy Triangle.skp

      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 19 Apr 2018, 06:19

        @ecs05norway said:

        Trying to work out a way to build a surface between non-parallel lines. I've got an attachment here to show what I'm working with - basically, I've got four straight lines connecting to each other, none of which is parallel to any of the others. I want a smooth curve, but all I get is a corrugated surface or a sharp angle formed from a line directly bisecting the region. Or a stalled plugin.

        [attachment=1:2802zlol]<!-- ia1 -->Curvy Triangle.jpg<!-- ia1 -->[/attachment:2802zlol]

        Trying to complete the missing side of this, basically.

        You must use the SAMPLING and INTERPOLATE options to create intermediate lines, so that the surface is smoothed.

        [attachment=0:2802zlol]<!-- ia0 -->Curviloft Sampling - Interpolate lines.png<!-- ia0 -->[/attachment:2802zlol]

        Fredo


        Curviloft Sampling - Interpolate lines.png

        1 Reply Last reply Reply Quote 0
        • A Offline
          AdriSonet
          last edited by 1 May 2018, 20:15

          Hello Fredo, I'd love to know if you can extract the lines in between when you use loft by spline. I'm using two lines and the tool, I'd love to get the line.

          https://i.imgur.com/D1TLId9.png

          Those are the lines I want to get in order to create this kind of design.

          https://i.pinimg.com/564x/f7/7d/1e/f77d1e96542765fa0c854430ecb85232.jpg

          Thank you so much!

          1 Reply Last reply Reply Quote 0
          • F Offline
            fredo6
            last edited by 1 May 2018, 21:32

            In the button palette, you have a section titled "Geometry". The first two buttons gives options to keep only lines in one or the two directions (use the tooltips for details).

            Fredo

            1 Reply Last reply Reply Quote 0
            • E Offline
              Einstein
              last edited by 2 May 2018, 06:04

              @adrisonet said:

              Hello Fredo, I'd love to know if you can extract the lines in between when you use loft by spline. I'm using two lines and the tool, I'd love to get the line.

              https://i.imgur.com/D1TLId9.png

              Those are the lines I want to get in order to create this kind of design.

              https://i.pinimg.com/564x/f7/7d/1e/f77d1e96542765fa0c854430ecb85232.jpg

              Thank you so much!

              Hi,
              I think what yo want to achieve is something like Loop Selection in 3DSmax. You can use ThomThom's Quad Face Tools, convert your mesh to quads, then select quad loops.

              There is also a small plugin by Blindcop "Extrapolate selected edge"
              https://sketchucation.com/forums/viewtopic.php?f=323&t=61884
              which will let you select continuation of an edge in a mesh. However, it doesn't manage triangulated faces well (or at all?).

              1 Reply Last reply Reply Quote 0
              • R Offline
                rv1974
                last edited by 31 May 2018, 13:21

                Fredo, could you please DISABLE Loft by spline tool working with PRE-selected set of edges?
                Or at least give some give pop-up warning (this operation will take a loot of time co compute blah blah blah)?
                So MANY times I have to shut down skp session (=loosing 15 min of work ๐Ÿ˜’ ) because it's freezing forever trying to guess the appropriate order


                kkk.PNG

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fredo6
                  last edited by 31 May 2018, 13:49

                  @rv1974 said:

                  Fredo, could you please DISABLE Loft by spline tool working with PRE-selected set of edges?
                  Or at least give some give pop-up warning (this operation will take a loot of time co compute blah blah blah)?
                  So MANY times I have to shut down skp session (=loosing 15 min of work ๐Ÿ˜’ ) because it's freezing forever trying to guess the appropriate order

                  Do you have a model example where this happens

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rv1974
                    last edited by 31 May 2018, 19:39

                    Select all 7 (not one by one), then run loft by spline-
                    permanent freeze. Very common thing.


                    dddd.skp1.skp

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fredo6
                      last edited by 31 May 2018, 21:20

                      This is just a bug, due to the fact that all contours is exactly spaced at the same distance.

                      Thanks for signaling

                      I fixed it in version 1.7d, just published.

                      Fredo

                      PS: Actually, the long waiting time you had is not infinite. After a number of seconds, you get back control. So there was no need to force an exit of Sketchup.

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fredo6
                        last edited by 31 May 2018, 21:21

                        NEW RELEASE: Curviloft v1.7d - 31 May 18

                        Curviloft 1.7d is a maintenance release fixing a bug in the automatic ordering of contours for the Spline tool.


                        See Plugin Page of Curviloft for Download (or use the Sketchup PluginStore plugin for auto-installation.

                        Main post of this thread

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rv1974
                          last edited by 1 Jun 2018, 07:45

                          Unprecedented responsiveness Fredo,many thanks!
                          I'll test the update later today.
                          Another imperfection (?, - maybe I just can't find right buttons) I encountered with Loft by spline is that
                          the inter-medial segments can't keep exact dimensions of initial profiles (lowest and highest ones in attached example 12X81m*, storey height is 3.5m). Another issue is that segments are slightly OFFXY Plane.

                          Is it possible to develop some special mode that'd keep segments exactly parallel to the input profiles, and if initial profiles are equal it'd keep their dimensions?

                          • P.S. In this particular case of 50+ storey towers PlayitItAgain script helped a lot.

                          dddd.skp1.skp2.skp

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fredo6
                            last edited by 1 Jun 2018, 08:20

                            This seems to be a problem of geometry which you can simulate manually.

                            Profile not same length.png

                            If you wish to keep the junction straight, then the intermediate profiles do not keep the same dimensions.

                            Also, the intermediate sections are parallel to the initial profiles. Do you have something different?

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rv1974
                              last edited by 1 Jun 2018, 09:54

                              With prussian pedantry I took all horizontal segments, run make faces and...
                              it did it all ๐Ÿ™‚ which proves you are right- they are horizontal. What misleads is "~" sign in measurements, must be some SU glitch.


                              yyy.jpg

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rv1974
                                last edited by 1 Jun 2018, 11:27

                                This seems to be a problem of geometry which you can simulate manually.
                                If you wish to keep the junction straight, then the intermediate profiles do not keep the same dimensions.
                                

                                If you wish to keep the junction straight
                                No, what is needed is intermediate segments to preserve initial dimentions of the profile.
                                In attached file the red body is OK (all horizontal segments keep right sizing),
                                and the blue one (lofting with 51 intermediate segments) misbehaves.


                                dddd.skp1.skp21.skp4.skp

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  fredo6
                                  last edited by 1 Jun 2018, 12:08

                                  @rv1974 said:

                                  No, what is needed is intermediate segments to preserve initial dimensions of the profile.

                                  Then, Curviloft is not adapted, and you should use FollowMe Rotate or TIG Grow extensions.

                                  With rotated profile, line joining the begin and end profile corner does not meet the corner of the intermediate profiles.

                                  Curviloft NO straight 2.png

                                  In your red shape, you can see that the short segments joining stores are not aligned and do not form a big straight line.

                                  Curviloft - NO straight.png

                                  Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rv1974
                                    last edited by 1 Jun 2018, 15:02

                                    Thanks for mentioning those alternatives- I'll check them. I'm so glued to your tools that completely forgot others ๐Ÿ˜„
                                    BTW the straight line on a blue tower shows the horizontal segments don't sit perfectly on it. The gap is ridiculously small in real life scale (~0.3cm in the middle floors, but big enough to spoil the model

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rv1974
                                      last edited by 18 Jul 2018, 05:22

                                      Fredo could you take a look please


                                      messy result with a newest version (loft)


                                      uuu.PNG

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fredo6
                                        last edited by 18 Jul 2018, 13:46

                                        @rv1974 said:

                                        Fredo could you take a look please

                                        I need to consider this case of indetical profiles more seriously, which Curviloft did not really do.

                                        So I'll come with something more robust.

                                        Fredo

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Architure
                                          last edited by 25 Sept 2018, 12:43

                                          Hi there,

                                          When selecting more than 3 edge curves, and choosing for junction by orthogonal bezier curves, the surfaces do not get the reach the right spline method result.

                                          Here is what the ruby console shows

                                          Error: #<ArgumentError: Cannot create unit vector from zero length vector>
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/lib6profile.rbe:119:in axes' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/lib6profile.rbe:119:in compute_by_offset'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/lib6profile.rbe:58:in compute_by_vectors2' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/lib6profile.rbe:86:in compute_by_normals'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftspline.rbe:357:in block in spline_profiling_construct' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftspline.rbe:351:in each'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftspline.rbe:351:in each_with_index' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftspline.rbe:351:in spline_profiling_construct'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftspline.rbe:249:in spline_junction_construct' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:497:in generic_junction_construct'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:1418:in junction_construct' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:407:in block in link_construct_all'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:407:in each' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:407:in link_construct_all'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:396:in link_calculate_all' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftalgo.rbe:530:in option_set_prop'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curvilofttool.rbe:206:in option_set_prop' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftpalette.rbe:773:in call'
                                          c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_curviloft/curviloftpalette.rbe:773:in block in pal_family_spline_method' c:/users/mbe/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6palette.rbe:3963:in call'

                                          Just ask me for the file if needed!

                                          Cheers

                                          Manuel
                                          ...

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 57
                                          • 58
                                          • 59
                                          • 60
                                          • 61
                                          • 65
                                          • 66
                                          • 59 / 66
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement