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

    [Plugin] SectionCutFace

    已排程 已置頂 已鎖定 已移動 Plugins
    562 貼文 169 Posters 337.4k 瀏覽 168 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • D 離線
      duchuy2001
      最後由 編輯

      first of all thank you TIG on this ruby, but I have one small problem like the one below!please fix it, I used SU8

      http://i589.photobucket.com/albums/ss336/duchuy1303/sectioncutface04_zps445e13ed.gif

      1 條回覆 最後回覆 回覆 引用 0
      • Dave RD 離線
        Dave R
        最後由 編輯

        I don't see a problem with that. Could you actually explain the problem you are having?

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 條回覆 最後回覆 回覆 引用 0
        • TIGT 離線
          TIG Moderator
          最後由 編輯

          What problem?
          Is it the colors' lists' lengths ?
          The list of available colors is all current model-materials and then all 'standard colors'.
          The default is 'Black'.
          The list will be longer that SketchUp's native inputbox can handle 'on-screen' BUT if you select the field and type the first letter of the color desired - e.g. you want 'White' so press W - it jumps to 'Wheat' then use the up/down arrow-keys to select the one desired - 'White'...
          You can always accept the defaults and later edit the grouped faces and give them any color/material you like... Also you can edit the current Style for the SectionCut so the edge color and width are also changed...

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • M 離線
            mrossk
            最後由 編輯

            I wonder if he was joking about your British spelling of "colour"?

            https://www.mkaplanfinefurniture.com/

            1 條回覆 最後回覆 回覆 引用 0
            • TIGT 離線
              TIG Moderator
              最後由 編輯

              If he really needs 'Color' it'd be easy enough to open the .rb file in Notepad [or a similar plain-text editor] and do a Find/Replace on 'Colour' >> 'Color', indeed he can 'translate' the prompts/dialogs etc to say what ever he wants... 'Couleur' if he were French, 'Farbe' if German, etc...

              BUT I suspect something less obscure, and easier to fix ? 😒

              TIG

              1 條回覆 最後回覆 回覆 引用 0
              • D 離線
                duchuy2001
                最後由 編輯

                Actually my english is not so good!
                My problem can not open the list to select the color !
                Thank TIG !

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 離線
                  TIG Moderator
                  最後由 編輯

                  I notice that your Sketchup version appears unusual... can you correct it or confirm what version you are actually using... Why not upgrade to a more recent version. Many tools are designed to make use of capabilities only available in newer versions of Sketchup...

                  The list should simply highlight, and then 'drop-down' [see the earlier tips on access off-screen names - by typing in the first letter and then using the arrow-keys to move the selected item up/down].
                  Try the tool with the Ruby Console open.
                  Are there any error messages?

                  I am at a loss as to why the list is not working...

                  Do you have any Materials that contain a '|' in their name?
                  This could break the list[s], because Sketchup uses '|' to separate the items a list.
                  However, it should only make a list containing non-existent materials as it would be split wrongly.
                  However, if there are '|' characters in names, try renaming them in the Materials Browser dialog without a '|'.
                  Then retry the tool.

                  If you are still stuck with 'Black', but you want a different color for the cut-line change that simply in the Style settings after making the 'cut'. Also you can edit the Section-Cut-Face group [double-click], then Select-All [Ctrl+A] and then use the Material paintbucket tool to change the color of the selected faces to anything you wish - from available materials or by making a new material as desired...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • V 離線
                    vinzdou
                    最後由 編輯

                    wanna see

                    1 條回覆 最後回覆 回覆 引用 0
                    • TIGT 離線
                      TIG Moderator
                      最後由 編輯

                      @vinzdou said:

                      wanna see
                      Please explain yourself sensibly...
                      You 'want to see' what ? 😕
                      There is Google Translate readily available to you on the Internet, of you don't speak English... and surely more that two real English words could be strung together to convey something a little more meaningful 😒

                      TIG

                      1 條回覆 最後回覆 回覆 引用 0
                      • N 離線
                        Nortti
                        最後由 編輯

                        I have a MacPro OS X 10.6.8 running SketchUp Pro 8. I have used the plugin 'Section-CutFace' a number of times before(in this model even), but now it makes SketchUp crash every time, but only in this model. When I activate the plugin I get a spinning wheel for awhile and then it crashes. The model I am working in is 9.9mb, I have 'disabled' all other plugins, repaired my disk and permissions. Yet, it still will not work! Any suggestions are greatly appreciated. Thanks!

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 離線
                          TIG Moderator
                          最後由 編輯

                          @Nortti

                          You give few clues as to what it is you are doing...
                          What are you trying to 'cut'?
                          An image would help...

                          You must appreciate that it's an 'intersection'.
                          If there are thousands of faces to intersect and form a new set of faces from then it can take some time.
                          If Sketchup becomes unresponsive it doesn't mean it's crashed.
                          It's just putting all of its resources into making the new geometry...
                          What do you mean by crash??
                          However, a full Bugsplat! does mean issues!!
                          Limiting the 'on' layers to objects that will be 'cut' is a way of optimizing the processing - every visible object in the section-planes context must be considered for 'cutting' otherwise... even when it's not cut...

                          Have you also purged-unused and fixed-problems under Model-Info > Statistics ?

                          Also remember that Sketchup can't cope with very tiny or very very large geometry... does your model include any of this ?

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • N 離線
                            Nortti
                            最後由 編輯

                            Thank you for your timely response and sorry for the lack of information. I was running this plugin on a longitudinal building section for a 1600 sqft. house(stairs, framing members, envelope, etc.). I had visited the model info dialog and purged/fixed as well as everything else I mentioned in my previous post that were suggestions from blogs. What I did not do is limit the 'on' layers . . . and guess what? It worked! Thank you, I am slapping myself for how much time I have spent on this.

                            Truly appreciated!

                            P.S. By 'crash' I meant bugsplat.

                            1 條回覆 最後回覆 回覆 引用 0
                            • A 離線
                              a33333c
                              最後由 編輯

                              help can't use
                              sk8 pro

                              http://img210.imageshack.us/img210/8342/aavvo.jpg

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                This tool only appears if just one section-plane is selected - which it is and the face tools is there.

                                A way to see if it at least works, is to select the section-plane [nothing else] and then open the Ruby Console and copy/paste [or type] this text + an <enter> press, The dialog should now start the tool's processing...
                                SectionCut.new()
                                Assuming it can work then I suspect the following issues...

                                A reason for 'grayed' out context-menus is well known... but 'old' and solvable.
                                It is fixed in the newer versions of Sketchup v8, but I see you have v7, where it can occur.
                                It is caused by having too many plugins loading 'commands'.
                                Sketchup used to have a limit of about 1000 commands [but this is much higher in the newer versions], so if you have assembled lots of plugins that make commands once you reach that limit Sketchup starts 'dumping' commands and so some items get 'grayed' [disabled] in the context-menu [the main menus can also show symptoms in severe cases]...
                                Although this tool particular does not even make a 'command', its availability can be affected by a surfeit of commands when you have the older systems...
                                The way to fix it is to upgrade to say v8 free and use that: remember that v7 can coexists if you want its DXF tools etc...
                                Some older scripts did make multiple commands during a sessions, which exacerbated the problem, as far as I know these are all fixed, so at least make sure that you have the latest versions of your tools...
                                Another ways to try and fix it is to go through your Preferences > Extensions and disable all of the ones you don't often use... AND also to look through the Plugins folder and take out scripts that you rarely use. Then when restarted Sketchup will be 'leaner' and the old grayed context-menu issues should stop...

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • S 離線
                                  Scubadooper
                                  最後由 編輯

                                  Am I able to use this .rb in SketchUp 8? From what I've learnt .rb is for version 7 and .rbz is for version 8. I've done a search on teh thread for mention of .rbz and haven't found anything. I've tried copying the file to the relevant extensions folder in the programe file (as you would for SketchUp 7) however it doesn't seem to work.

                                  Any ideas?

                                  Thanks

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • massimoM 離線
                                    massimo Moderator
                                    最後由 編輯

                                    The .rbz format is just a .rb compressed. So the plugin will work in version 8. Probably you have something wrong with the installation/admin rights. For using the plugin you have to put a section cut in the model then right click-->add section-cut face.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Dave RD 離線
                                      Dave R
                                      最後由 編輯

                                      @scubadooper said:

                                      Am I able to use this .rb in SketchUp 8? From what I've learnt .rb is for version 7 and .rbz is for version 8. I've done a search on teh thread for mention of .rbz and haven't found anything. I've tried copying the file to the relevant extensions folder in the programe file (as you would for SketchUp 7) however it doesn't seem to work.

                                      Any ideas?

                                      Thanks

                                      So just where did you learn this? Yesterday on another forum I ran into the same thing. That posted emphatically claimed that plugins must be in the .rbz format to work in SketchUp 8. This is absolutely wrong. I'm curious as to where you learned this so perhaps we can correct it and head off problems for other people.

                                      As Massimo says, .rbz files are simply compressed (zipped) plugin files. They may contain more than just the .rb file. For plugins which do have the .rbz format, you can install them with Install Extensions under Preferences>Extensions. For simple .rb files, you only need to drop the file into the Plugins folder.

                                      In your case you probably don't have full read and write permissions for the Plugins folder. Change those permissions to give you total access and reinstall this plugin by copying it into the Plugins folder. Make sure it still has the .rb file extension.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • S 離線
                                        Scubadooper
                                        最後由 編輯

                                        Thanks to both of you.

                                        It was a problem in using the script (it's the first extension I've used), the right click advice worked a dream.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • Dave RD 離線
                                          Dave R
                                          最後由 編輯

                                          Matthew, I'm still interested as to where you learned that plugins have to be in the RBZ format to work in SU8.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • S 離線
                                            Scubadooper
                                            最後由 編輯

                                            @dave r said:

                                            Matthew, I'm still interested as to where you learned that plugins have to be in the RBZ format to work in SU8.

                                            Sorry I didn't answer in my other post.

                                            I had tried to find the solution to the problem and in reading how to install plugins on the Trimble website (here: http://www.sketchup.com/intl/en/download/rubyscripts.html) it wasn't clear that I was able to use the copy method as well as from an rbz. The text reads 'installing on version 7 and earlier' and 'installing on version 8', when it should read 'installing with a .rb' and 'installing on version 8 (and later?)with a .rbz'

                                            Of note is that the Google website (here http://support.google.com/sketchup/bin/answer.py?hl=en&answer=38583) causes the same effect.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 28
                                            • 29
                                            • 23 / 29
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement