• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Shape Bender Beta

Scheduled Pinned Locked Moved Plugins
1.3k Posts 331 Posters 1.7m 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.
  • T Offline
    TIG Moderator
    last edited by 1 Jul 2012, 21:15

    Ok...
    A few pointers.
    It has some very small facets so works at say x100 scaled up, then scale down back to 'real size'.
    Small facets can exist but making/manipulating them is problematical.
    Presumably the bracelet is for 3d printing ?
    It'll probably needs to be a 'solid'...
    You have several reversed faces - make all seen-faces off-white and all unseen back-faces the blue - use 'reverse' or 'orient'.
    You have several 'nested' parts - e.g. the letters - these need exploding into one set of 'raw' geometry inside the 'container'.
    Some of these letters will have coincident edges with the 'studding' below them and probably inner faces when merged - therefore these edges will have more than 2 faces - the requirement for a solid - the form is edges/faces only and all edges in the form have only 2 faces [now more no fewer]. You'll need to do some editing to relocate or remove these so it will be 'solid'...

    I assume you want to bend it with the lettering on the outside - it might therefore be easier to set the object on its side and bend it around that way ?

    The model is far from a disaster - you can readily fix it up, and bend it as needed, with a little thought and effort... ๐Ÿค“

    TIG

    1 Reply Last reply Reply Quote 0
    • V Offline
      VictorB
      last edited by 1 Jul 2012, 23:10

      Thanks for the input guys. I think what I'll do is start from scratch and try to do things the proper way. Again, this was only my 2nd design ever on SU and in 3d at all. I'm going to take everyone's advice here and see if I can make this new version much, much cleaner.

      Thanks for the input! I appreciate it.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 1 Jul 2012, 23:24

        @victorb said:

        Thanks for the input guys. I think what I'll do is start from scratch and try to do things the proper way. Again, this was only my 2nd design ever on SU and in 3d at all. I'm going to take everyone's advice here and see if I can make this new version much, much cleaner.
        Thanks for the input! I appreciate it.
        As I said it quite salvageable as it is... just relocate slightly and explode the nested bits, reverse some back-faces, use section-cuts to see inside and erase 'partitions' etc, erase coplanar edges [several free tools for that] - Entity Info reports it as a "solid" when it's fixed; scale up x100, then orient the object on its side and shape-bend it... finally scale down.

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          markitekt
          last edited by 10 Jul 2012, 16:33

          I haven't read through every post here, but I am unable to get this script to work in version 8. It works fine in version 7 but I'm unable to make it work in 8. It may be due to other plugins since I use quite a few. I was just wondering if anyone else had run into problems with other plugins or if its a version 8 issue.
          Mark

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 10 Jul 2012, 16:45

            Hi Mark. Long time, no see.

            I use it on SU8 without problems. Does anything happen for you when you try to run it? Do you get anything in the Ruby console if you have it open while trying to run it?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • M Offline
              markitekt
              last edited by 10 Jul 2012, 17:06

              Hi Dave,
              I've attached the error from the ruby console. I have no clue what it means as I'm not a ruby guy.
              I have a feeling it must be related to some other plugin.
              Thanks for any help,
              Mark


              Error.pdf

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dave R
                last edited by 10 Jul 2012, 17:15

                Thanks for posting that. Can you temporarily rename your Plugins folder and create a new one? Then add only the Shape Bender plugin to it and reopen SketchUp. See if it will run, then.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • M Offline
                  markitekt
                  last edited by 10 Jul 2012, 18:36

                  Thanks Dave,
                  I went back to a clean install plugins folder with the shape bender and all is working. Now, I just have to figure out which plugin is the culprit.
                  Mark

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dave R
                    last edited by 10 Jul 2012, 18:41

                    I'm glad that worked but with a large number of plugins, the trick is sorting out which one is the culprit. Copy half of them and put them into the new Plugins folder and see what happens. If it still works, copy half of the remaining ones and put them in. When it quits working again you'll know you got the conflicting plugin. There have been a few plugins mentioned as being problematic. I'll try to find them for you.

                    Edited to add: I see that Walt had the same error messages you have but I don't see the resolution. Perhaps he'll see this and chime in.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rendermaster
                      last edited by 26 Jul 2012, 22:23

                      my test

                      http://img209.imageshack.us/img209/1522/spiralm.jpg

                      thanks for the plugins

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nebin asharaf
                        last edited by 28 Jul 2012, 10:12

                        hi...........same problem here......selecting...selecting but its not getting selected....tried many times....
                        gone through your forums.....just like you said i tried right click..yes now the line is getting selected but the function is not working...........................please help i really like this plugin...wanna try something.....help helpppppppppp

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 28 Jul 2012, 12:00

                          You need three things.
                          A group or component instance that is preselected before you start the tool.
                          A line parallel to the red/x axis which determines the extent of the bending - this line cannot touch any other geometry and must be in the same active-entities as the preselected group/component.
                          You are asked to pick it.
                          A curve determining the bent shape - this cannot touch any other geometry and must be in the same active-entities as the preselected group/component/red-line.
                          You are asked to pick it.
                          Do you get prompts or special cursors?
                          Are the start/end text flags added?
                          What happens?
                          If you open the Menu > Window > Ruby Console before starting the tool do you get any error messages?
                          Answer or fix these and we might get you moving...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nebin asharaf
                            last edited by 30 Jul 2012, 05:22

                            error: #<typeerror: no implicit conversion from nil to integer>
                            C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in set_cursor' C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in onSetCursor'
                            C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:233:in `onLButtonUp'
                            C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168

                            this is what comes in ruby console

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 30 Jul 2012, 08:22

                              The tool can't find the cursor file.
                              This comes in a subfolder, with other files that are vital to the tool's operation.
                              This suggests very strongly that you have not installed the toolset properly.
                              Inside your Plugins folder there should be a file called
                              clf_shape_bender_loader.rb
                              and a subfolder called
                              clf_shape_bender
                              In that subfolder are several vital 'support files'.Capture.PNGThe cursor PNG images are clearly shown.
                              Reinstall ensuring this is indeed the case.
                              If you have accidentally put files into Plugins that belong only in the subfolder you must remove them, because otherwise they will break things.
                              If you are on Vista/Win7 the system can prevent you from adding files/subfolders unless you have FULL security permissions - the Sketchup folder's subfolders - like Plugins - must have FULL permissions set to avoid issues. It might look like you installed it OK but if there's a 'Compatibility Files' button [or similar wording] on the Plugins-folder explorer-window top-bars it suggests you haven't - that's the only clue Windows gives you!

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                nebin asharaf
                                last edited by 31 Jul 2012, 08:42

                                thank u thank u......................but now a new problem ..............
                                1)i made the object group
                                2)selected the bender option
                                3)selected line
                                4)selected curve..........
                                5)that's it......nothing is coming here.....
                                a green skelton suppose to come right???
                                nothing is coming...........................

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Dave R
                                  last edited by 31 Jul 2012, 09:11

                                  How about at least a screen shot showing the setup? ๐Ÿ˜’

                                  Is the shape oriented along the red axis? Is the straight line parallel to the red axis?

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nebin asharaf
                                    last edited by 1 Aug 2012, 03:27

                                    yes it is......parallel to red

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      Dave R
                                      last edited by 1 Aug 2012, 09:16

                                      @nebin asharaf said:

                                      yes it is......parallel to red

                                      ๐Ÿ˜’

                                      If you want assistance with sorting this, you have to meet us half way. Post the SKP file so we can see what you're doing wrong.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 1 Aug 2012, 09:20

                                        Try with the Ruby Console open in case there are any error messages appearing in there...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          nebin asharaf
                                          last edited by 4 Aug 2012, 07:53

                                          error: #<typeerror: no implicit conversion from nil to integer>
                                          C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in set_cursor' C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in onSetCursor'
                                          C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:233:in `onLButtonUp'
                                          C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168

                                          sombody help me please....

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 49
                                          • 50
                                          • 51
                                          • 52
                                          • 53
                                          • 63
                                          • 64
                                          • 51 / 64
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement