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

[Plugin][WIP][OpenSource] Bezier Surface

Scheduled Pinned Locked Moved Plugins
245 Posts 69 Posters 47.4k 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.
  • P Offline
    panixia
    last edited by 23 Nov 2014, 14:37

    it looks super nice thank you but it doesn't work for me (sketchup 8 on win7).. ๐Ÿ˜ข
    i suppose i installed it properly and also updated ttlib to last version..
    i suspect it may depends on some conflict with tons of other plugins.. ๐Ÿ˜’

    1 Reply Last reply Reply Quote 0
    • J Offline
      jolran
      last edited by 23 Nov 2014, 15:32

      @unknownuser said:

      it looks super nice thank you but it doesn't work for me (sketchup 8 on win7)

      Same here. I only had it working in 2014.

      Error "defined method `force_encoding' for #String:0xb10993c"

      This is "probably" and Ruby 1.8 error. I have the impression that many authors will stop supporting SU 8 soon.

      1 Reply Last reply Reply Quote 0
      • P Offline
        panixia
        last edited by 23 Nov 2014, 15:38

        @jolran said:

        @unknownuser said:

        it looks super nice thank you but it doesn't work for me (sketchup 8 on win7)

        Error "defined method `force_encoding' for #String:0xb10993c"

        yeah. force encoding blablabla.. getting similar message when loading sketchup

        @jolran said:

        @unknownuser said:

        it looks super nice thank you but it doesn't work for me (sketchup 8 on win7)
        I have the impression that many authors will stop supporting SU 8 soon.

        ๐Ÿ˜ข
        but.. it says su8 is supported..

        1 Reply Last reply Reply Quote 0
        • D Offline
          d12dozr
          last edited by 23 Nov 2014, 15:47

          Thanks, Thomthom. Time to play!

          3D Printing with SketchUp Book
          http://goo.gl/f7ooYh

          1 Reply Last reply Reply Quote 0
          • J Offline
            jolran
            last edited by 23 Nov 2014, 16:05

            @unknownuser said:

            but.. it says su8 is supported..

            Ah, yeah you are right. Then I guess he just probably forgot to set up some conditions for Su8. Well see when he get's back.
            Meanwhile do a testspin in 2014. ๐Ÿ˜„

            It may have be a condition set on line 26 in the loader rb
            "file = FILE.dup.force_encoding("UTF-8")"

            If I remember correctly Ruby 1.8 (Su8) does not have that method..

            I'm not gonna mess with that since I don't know how he has things set up with TT_Lib so I suggest waiting for his return..

            1 Reply Last reply Reply Quote 0
            • P Offline
              panixia
              last edited by 23 Nov 2014, 16:36

              @jolran said:

              I suggest waiting for his return..

              never thought for a second to fix the code by myself ๐Ÿ˜†
              anyway i downloaded su15 and it works perfectly.. too bad su2015 doesn't fit my needs at the moment (mainly for the other 31454535 plugin i use)
              this tool is great! sort of pseudo-nurb brother of vertex tools..
              waiting for su8 news.. ๐ŸŽ‰

              1 Reply Last reply Reply Quote 0
              • U Offline
                unclex
                last edited by 23 Nov 2014, 17:28

                @jolran said:

                @unknownuser said:

                but.. it says su8 is supported..

                It may have be a condition set on line 26 in the loader rb
                "file = FILE.dup.force_encoding("UTF-8")"

                Yes
                For 2013 or 8 user
                just change that like this

                "file = FILE"

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Box
                  last edited by 23 Nov 2014, 17:39

                  Did you restart Sketchup after installing it?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jolran
                    last edited by 23 Nov 2014, 17:59

                    @unknownuser said:

                    Yes
                    For 2013 or 8 user
                    just change that like this

                    "file = FILE"

                    Like I said, better let Thomthom do it properly. Even if it looks like a simple fix, it "may" have consequences for TT_lib since removing encoding.
                    Although, nothing "bad" should happend if you only experiment at 1 place..

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      unclex
                      last edited by 23 Nov 2014, 18:10

                      It's just always updating...

                      Like the GIF8.gif

                      Cannot Click or DoubleClick

                      and when SU opening๏ผŒ nothing prompt

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 23 Nov 2014, 19:09

                        @jolran said:

                        Do you use Knotvectors for the patches ? Or are they interval-based type powerbasis functions ?
                        Edit: Ah right, they are not spline-based, (duh). So you go through the C-extensioncode right ?

                        It's simple bezier quad patches with 4x4 control points each. The bezier calculation is based on the bezier example script posted by @last many years ago, I just ported it to C for faster calculations. You can see the source in TT_Lib2.

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

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 23 Nov 2014, 19:10

                          @jolran said:

                          How do you add Tripatch to Qaudpatch ? Possible ?

                          No, this was on my todo, once the quad patches was done. I removed the main toolbar button for it right before release, but forgot there was menu items and that second webdialog toolbar. I should push a new update the removes the unused controls in the dialog.

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

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 23 Nov 2014, 19:12

                            @box said:

                            This rough test torso is less than five minutes work.

                            Really? ๐Ÿ˜ฒ I didn't expect the extension to be that useful in it's current state. I hope people do post back more picture.

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

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              Oxer
                              last edited by 23 Nov 2014, 19:13

                              Thanks you very much for the plugin!! ๐Ÿ‘ ๐Ÿ‘
                              I installed it in SU2014 & SU2015 on Mac but the plugin didn't work, I found a conflict with smartdrop.rb and Sketchyphysics, I deleted smartdrop.rb (I use tt.raytracer now to drop components) and I have deactivated Sketchyphysics on SU2014 with Sketchucation Plugins Manager and Bezier Surface work fine now.
                              ๐Ÿ˜

                              "The result is the end what is important is the process" by Oxer
                              [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 23 Nov 2014, 19:13

                                @panixia said:

                                it looks super nice thank you but it doesn't work for me (sketchup 8 on win7).. ๐Ÿ˜ข
                                i suppose i installed it properly and also updated ttlib to last version..
                                i suspect it may depends on some conflict with tons of other plugins.. ๐Ÿ˜’

                                Should work with SU7 and up, I think. Any error messages?

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

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 23 Nov 2014, 19:15

                                  @jolran said:

                                  @unknownuser said:

                                  it looks super nice thank you but it doesn't work for me (sketchup 8 on win7)

                                  Same here. I only had it working in 2014.

                                  Error "defined method `force_encoding' for #String:0xb10993c"

                                  This is "probably" and Ruby 1.8 error. I have the impression that many authors will stop supporting SU 8 soon.

                                  Yea, with my new subdivison extension I'm certainly dropping support for anything older than SU2014.

                                  Though this was written before SU2014 and it should work. (Though might have introduced a bug when I added SU2014 support. Can you provide the full error message and exact SketchUp version and OS?)

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

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 23 Nov 2014, 19:16

                                    @panixia said:

                                    yeah. force encoding blablabla.. getting similar message when loading sketchup

                                    The bla bla bla bit of error message is in fact very useful for developers when debugging errors - please post all of it when reporting issues.

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

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 23 Nov 2014, 19:17

                                      @jolran said:

                                      It may have be a condition set on line 26 in the loader rb
                                      "file = FILE.dup.force_encoding("UTF-8")"

                                      Ah - right, I'll fix that and push an update next week.

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

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 23 Nov 2014, 19:18

                                        @unclex said:

                                        It's just always updating...

                                        Like the GIF[attachment=0:1br0oo34]<!-- ia0 -->8.gif<!-- ia0 -->[/attachment:1br0oo34]

                                        Cannot Click or DoubleClick

                                        and when SU opening๏ผŒ nothing prompt

                                        Any errors in the Ruby Console?
                                        What SketchUp version?

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

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 23 Nov 2014, 19:19

                                          @oxer said:

                                          Thanks you very much for the plugin!! ๐Ÿ‘ ๐Ÿ‘
                                          I installed it in SU2014 & SU2015 on Mac but the plugin didn't work, I found a conflict with smartdrop.rb and Sketchyphysics, I deleted smartdrop.rb (I use tt.raytracer now to drop components) and I have deactivated Sketchyphysics on SU2014 with Sketchucation Plugins Manager and Bezier Surface work fine now.
                                          ๐Ÿ˜

                                          SketchyPhysics is known to clash with extensions. I think an update is coming.
                                          Not sure about smartdrop.rb - not familiar with that one.

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 8 / 13
                                          8 / 13
                                          • First post
                                            152/245
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement