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

    [Plugin] BezierSpline - v2.2a - 22 Apr 21

    Scheduled Pinned Locked Moved Plugins
    460 Posts 183 Posters 2.0m Views 183 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.
    • F Offline
      Ferroman
      last edited by

      Hi folks, I'm new here and am getting boggled by the depth of the software and the community. I have been familiarizing myself with the BezierSpline plug in. I was very happy to find it as I've used Illustrator for years in my design work. What I need help with is that I am unable to put a face on the bezier forms I am drawing. I can select the line but there is no face. Can someone tell me how to do it? I have been trying for a few hours and I am flummoxed. Thanks, Ray

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

        A curve will 'face' if all of its vertices are coplanar and it is looped [or at least connected to other edges so there are on open ends].
        Draw over one of its edges and it should face.
        If not try drawing a diagonal line across where the face should be - this can force a face - you should be able to erase the temporary line afterwards and the face should stay behind.
        If not there are 'face-making' scripts - search for 'makefaces'....
        🤓

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          DIEGO-RODRIGUEZ
          last edited by

          hi fredo.
          could you fix this little mistake?
          thank you very much

          Error: #<NameError: undefined local variable or method preserve' for BZ__Segmentor:Module> D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/BZ__Segmentor.rb:128:in calculate'
          D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/BZ__Segmentor.rb:57:in bz_compute_curve' D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/bezierspline_main.rb:1995:in call'
          D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/bezierspline_main.rb:1995:in call_compute_curve' D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/bezierspline_main.rb:2063:in conversion_curve'
          D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/bezierspline_main.rb:2323:in compute_contextual_menu' D:/Archivos de programa/Google/Google SketchUp 7/Plugins/BZ_Dir_13/bezierspline_main.rb:2323:in call'

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

            Diego

            In the latest version of the file - that's download-able from the first post in this topic - the 'preserve' variable is 'commented out' with # ...
            C:\Program Files\Google\Google SketchUp 7\Plugins\BZ_Dir_13\BZ__Segmentor.rb should have the word 'preserve' in it only twice [lines 86 and 128] - both times the line starts with a # to stop it loading...
            Do you have the right version ?
            If not, get it or add the two # yourself ?

            TIG

            1 Reply Last reply Reply Quote 0
            • D Offline
              DIEGO-RODRIGUEZ
              last edited by

              TIG thanks.
              now it works perfect.

              1 Reply Last reply Reply Quote 0
              • fredo6F Offline
                fredo6
                last edited by

                Thanks TIG for your help.
                For info, the preserve variable is to have an option to keep the original control points, but for whatever reason I forgot to finish the code.

                Fredo

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hsjzyangbin
                  last edited by

                  Hope to improve the function :control point along z axis

                  maybe add "ctrl" key to control XY plan or z plan


                  2010-03-17_1910.png

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    @hsjzyangbin said:

                    Hope to improve the function :control point along z axis

                    maybe add "ctrl" key to control XY plan or z plan

                    Do you mean you can do it or you wish to do it.
                    Planar lock is supported in creation mode.
                    Axis lock is also supported in Edition mode for th moving the control points.
                    This is explained in the doc, using Ctrl and Arrows
                    In a next version, I'll try to make something more explicit and straightforward however.

                    Fredo

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      hsjzyangbin
                      last edited by

                      I used Bonzai3d to do it .
                      thanks a lot

                      hsjzyangbin

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hsjzyangbin
                        last edited by

                        wish to have a visual interface control nodes of the function like YAD
                        here is an example:

                        best regards


                        1.png

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          Daniel S
                          last edited by

                          @hsjzyangbin said:

                          wish to have a visual interface control nodes of the function like YAD
                          here is an example:

                          About visual interface control nodes... Something like this is possible? (Like most 2d Vector software)
                          simulation.gif

                          bezier.png
                          "A quadratic Bézier curve has a start and an end point (blue dots) and just one control point (red dot) while a cubic Bézier curve uses two control points."

                          Page not found - Welcome

                          favicon

                          Welcome (www.caffeineowl.com)

                          Daniel S

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hsjzyangbin
                            last edited by

                            @daniel s said:

                            @hsjzyangbin said:

                            wish to have a visual interface control nodes of the function like YAD
                            here is an example:

                            About visual interface control nodes... Something like this is possible? (Like most 2d Vector software)
                            [attachment=1:21zf7cs5]<!-- ia1 -->simulation.gif<!-- ia1 -->[/attachment:21zf7cs5]

                            [attachment=2:21zf7cs5]<!-- ia2 -->bezier.png<!-- ia2 -->[/attachment:21zf7cs5]
                            "A quadratic Bézier curve has a start and an end point (blue dots) and just one control point (red dot) while a cubic Bézier curve uses two control points."

                            Page not found - Welcome

                            favicon

                            Welcome (www.caffeineowl.com)

                            Daniel S

                            maybe some difference:

                            visual interface control number of nodes
                            [flash=][attachment=0:21zf7cs5]<!-- ia0 -->2010-03-18_0456.swf<!-- ia0 -->[/attachment:21zf7cs5][/flash]

                            thank you


                            2010-03-18_0456.swf

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thanhsjc
                              last edited by

                              thank you very much

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kyyu
                                last edited by

                                Hi Fredo6,

                                First of all, thank you very much for this wonderful plugin! 😄 I would like to report a small bug with the "Convert to Catmull Spline" feature. One of the segments is always left out of the conversion.

                                -Kwok

                                Convert to Catmull Spline bug.png

                                1 Reply Last reply Reply Quote 0
                                • fredo6F Offline
                                  fredo6
                                  last edited by

                                  @kyyu said:

                                  Hi Fredo6,

                                  First of all, thank you very much for this wonderful plugin! 😄 I would like to report a small bug with the "Convert to Catmull Spline" feature. One of the segments is always left out of the conversion.

                                  -Kwok

                                  You need to explictly close the loop, by hitting the Key F9 (or via contextual menu).

                                  Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kyyu
                                    last edited by

                                    @unknownuser said:

                                    @kyyu said:

                                    Hi Fredo6,

                                    First of all, thank you very much for this wonderful plugin! 😄 I would like to report a small bug with the "Convert to Catmull Spline" feature. One of the segments is always left out of the conversion.

                                    -Kwok

                                    You need to explictly close the loop, by hitting the Key F9 (or via contextual menu).

                                    Fredo

                                    Thanks, that worked perfectly!

                                    -Kwok

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Slimdog
                                      last edited by

                                      Hi guys I have just downloaded the most recent version. BezierSpline%201.

                                      I have put LibTraductor.rb, BZ_Dir_13, and bezierspline.rb into the plugins folder on my MAC. When I open sketchup I get this error:

                                      Error Loading File #extrusionToolbar.rb
                                      no such file to load -- deBabelizer.rbError Loading File 2D#.rb
                                      no such file to load -- deBabelizer.rbError Loading File extrudeEdgesByEdges.rb
                                      no such file to load -- deBabelizer.rbError Loading File extrudeEdgesByFaces.rb
                                      no such file to load -- deBabelizer.rbError Loading File extrudeEdgesByLathe.rb
                                      no such file to load -- deBabelizer.rbError Loading File extrudeEdgesByRails.rb
                                      no such file to load -- deBabelizer.rbError Loading File extrudeEdgesByVector.rb
                                      no such file to load -- deBabelizer.rb

                                      any ideas guys???

                                      Cheers

                                      Steve

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

                                        That's messages related to TIG's tools. you're missing one of his dependant files deBabelizer.rb.

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

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

                                          Since you must have downloaded both my 2DTools and ExtrusionTools I wonder where you put deBabelizer.rb that comes with both of them ?
                                          Anyway... here's another copy to save you having to find it - put it into the Plugins folder and restart SUp - that error should then be gone...deBabelizer.rb

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Slimdog
                                            last edited by

                                            Yes you guys are correct. My bad. I thought it out when I was loading Bezierspline.

                                            Thanks for the responses.

                                            S

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 22
                                            • 23
                                            • 5 / 23
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement