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

    [Plugin] SectionCutFace

    Scheduled Pinned Locked Moved Plugins
    562 Posts 169 Posters 337.4k Views 168 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.
    • JQLJ Offline
      JQL
      last edited by

      you can unlock it on the first place by using settings...

      www.casca.pt
      Visit us on facebook!

      1 Reply Last reply Reply Quote 0
      • JQLJ Offline
        JQL
        last edited by

        TIG,

        I've tested it to the extent I could and I found a problem with old models.

        It seems the settings of old Section Cut Faces persist to new ones and I get some that don't assume the section's layer's name into the Section Cut Face Layer.

        This is what happens:

        1 - SectionCutFace Created with previous plugin version:
        1.1 - Made that original SectionCutFace with "On Demand" option;
        1.2 - Section group on was set to an existing layer at the time like "Layer X";
        1.3 - Group Name auto defined as SCUT-54345.

        2 - Remaking SectionCutFace with new plugin after reorganizing layers
        2.1 - Reorganize sections and put that Original Section from "Layer X" into layer "X CL C":
        2.2 - Remake Section Cut Face;
        2.3 - Section group layer switches to "Layer 0"
        2.4 - Section's group name redefines itself to "X CL C"

        3 - Erasing original Section and Make New SectionCutFace
        3.1 - Erased that section cut face and "Make SectionCutFace"
        3.2 - Switch options to "NO" Autoupdate.

        Section Cuf Face.JPG

        3.3 - Section Group layer stays switches to "Layer 0"
        3.4 - Section Group Name Get's correct as "X CL C"

        The funny thing is that after creating a SectionCutFace group with the new plugin I can select it BUT it doesn't show on Entity Info (The info there is from the section itself, not the SectionCutFace group).

        SCF Selected.JPG

        If I double click on the SCF group, I can edit it, but once I get out of it, it's in Layer 0. "Not X CL C"

        SCF After edit.JPG

        If I would guess, I'd say some old observer from "ONDEMAND" is overriding the new settings... It's an uneducated guess from reading stuff here and there about observers being the things that you guys use for memorizing plugin actions...

        I hope it's easily fixable and thanks once again for this update!

        www.casca.pt
        Visit us on facebook!

        1 Reply Last reply Reply Quote 0
        • N I C ON Offline
          N I C O
          last edited by

          @tig said:

          @N I C O

          It should be compatible with earlier SketchUp versions [like v2015].
          What is the "error that occurs" ?
          Please supply the details.
          We can't help with such vague reports...
          So please supply the FULL error-message.

          Yes I was expecting that it would be compatible with Sketchup Pro 2015. I think there's something wrong. Thank you for your reply.

          Here's the error message.

          Error Loading File SectionCutFace_loader.rb
          Error: #<NameError: uninitialized constant TIG::SectionCutFace::DEFAULT>
          C:/Users/USER/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace_loader.rb:18:in <module:SectionCutFace>' C:/Users/USER/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace_loader.rb:12:in module:TIG'
          C:/Users/USER/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace_loader.rb:10:in `<top (required)>'

          1 Reply Last reply Reply Quote 0
          • N I C ON Offline
            N I C O
            last edited by

            @tig said:

            @N I C O

            It should be compatible with earlier SketchUp versions [like v2015].
            What is the "error that occurs" ?
            Please supply the details.
            We can't help with such vague reports...
            So please supply the FULL error-message.

            Thank you again for your reply, i already fixed the error and installed the plug-in successfully. Thank you so much.

            Best regards!

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

              @JQL

              Thanks for the bug report.

              I found and fixed the issues...

              Now, when you update a SectionCutFace - i.e. it's one which is set as either 'on_demand' or 'auto_update' - then its group.layer will change to match its section-plane's layer, unless its layer is already set to be 'Customized', in which case its layer is left unchanged...

              The group.name also updates to match the group.layer.name, unless its name is already set to be 'Customized', in which case its name is left unchanged...

              Here's v5.1 http://sketchucation.com/pluginstore?pln=SectionCutFace

              TIG

              1 Reply Last reply Reply Quote 0
              • JQLJ Offline
                JQL
                last edited by

                @tig said:

                @JQL

                Thanks for the bug report.

                You're more than welcome, thanks for the quick fix. I'll test this asap!

                www.casca.pt
                Visit us on facebook!

                1 Reply Last reply Reply Quote 0
                • A Offline
                  antoinelepoutre
                  last edited by

                  Is it supposed to update with the model ?

                  1 Reply Last reply Reply Quote 0
                  • JQLJ Offline
                    JQL
                    last edited by

                    It has 3 Auto-Update options:

                    • No - which never updates unless you make a new Section Cut Face;
                    • Yes - which is supposed to update with the model;
                    • On Demand - which only updates when you right click, and choose Remake section cut face.

                    If your model is correctly modeled and creates a closed loop that SectionCutFace can figure out, it auto updates with model. Click the Gif:

                    SCF Autoupdate.gif

                    www.casca.pt
                    Visit us on facebook!

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      architect
                      last edited by

                      Screen shot 2016-02-04 at 8.49.46 AM.pngScreen shot 2016-02-04 at 8.46.52 AM.pngSectionCutFace loaded from preferences - extensions. Shows up there but does nothing and I get a load error after shutdown and restart. Plugins folder has "SectionCutFace.rb" file and "SectionCutFace" folder.

                      1 Reply Last reply Reply Quote 0
                      • Dave RD Offline
                        Dave R
                        last edited by

                        @architect said:

                        [attachment=1]SectionCutFace loaded from preferences - extensions. Shows up there but does nothing and I get a load error after shutdown and restart. Plugins folder has "SectionCutFace.rb" file and "SectionCutFace" folder.

                        Are you still using SketchUp 8 as indicated in your profile?

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

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

                          While v8 is no longer supported by Trimble, and it's regarded as pretty much obsolete, I have loaded the latest version of SectionCutFace into v8 and it loads and works just fine...

                          So something is wrong...
                          Close SketchUp.
                          Find the SectionCutFace.rb file and SectionCutFace subfolder within v8's Plugins folder - and delete them.
                          Then reinstall SectionCutFace from its latest RBZ.

                          I suspect you somehow have some older legacy files loading.
                          This plugin tries to delete any such files in the subfolder, but if your v8 Plugins folder security-permissions are not set to FULL for every one listed in its Properties dialog, then it might be failing...
                          By manually removing the loader and subfolder... and reinstalling from new you should get a clean installation.

                          As I said - it works for me in all versions from v8 up to v2016, on both PC and MAC...
                          So something is wrong at your end...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            architect
                            last edited by

                            Tried everything suggested and still get the same load error - time to enter the 21st century and upgrade from 8 Pro. Have you guys chased all the gremlins out of v2016 yet?

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by

                              @architect said:

                              Have you guys chased all the gremlins out of v2016 yet?

                              There are a lot more gremlins in SU8 than in SU2016. 😉

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

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

                                Have you actually removed the related file/subfolder as I suggested, and then reinstalled the RBZ ?
                                I have it working fine on v8, so you should be able to too ??

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  faust07
                                  last edited by

                                  Same problem for me in SU8-Pro and Windows. Tested all variants of installation...


                                  LoadErrorSectionCutFace-1.jpg

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

                                    Have you also tried manually deleting the rb file and the matching subfolder relating to SectionCutFace, then reinstalling a fresh version from the latest RBZ ?
                                    AND editing your v8 Plugins folder's security permissions [as an admin] to be FULL for everyone listed ?

                                    I have the latest version working just fine in v8, so you should be able to too !

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • MithrandirM Offline
                                      Mithrandir
                                      last edited by

                                      Hi everyone. Long time user of this plugin here. First up, wanted to say a big thank you to TIG for the plugin. It's really helpful. I wanted to ask something that's been bothering me for a while. Is there any chance a 'quick' version of this plugin could be released? I don't know how to code, unfortunately and I don't know if it's legal to edit someone's plugin. Basically, I'm looking for a version that doesn't have the pop-up dialog box. I'd like the plugin to generate a standard, unlocked face with the default material, on the default SketchUp layer, with all the edges visible without any other additions. It takes some time to adjust the settings in the dialog box, so I think a 1-click version could speed up the workflow. Any hopes?

                                      1 Reply Last reply Reply Quote 0
                                      • JQLJ Offline
                                        JQL
                                        last edited by

                                        As it is you can edit settings in the config file, as mentioned in first post, and once you run the plugin you just press enter once.´

                                        That's what I do and since recent development, both name and layer get autoassigned. The rest is up to the settings you define in the file above.

                                        www.casca.pt
                                        Visit us on facebook!

                                        1 Reply Last reply Reply Quote 0
                                        • MithrandirM Offline
                                          Mithrandir
                                          last edited by

                                          Do you mean editing the .rbz file of the plugin?

                                          1 Reply Last reply Reply Quote 0
                                          • JQLJ Offline
                                            JQL
                                            last edited by

                                            @tig said:

                                            Here's v5.0
                                            It's now signed for v2016 full compatibility.
                                            The customize-able Constants [COLORS-list and various starting defaults] are now supplied in an editable '.constants' file within its subfolder.
                                            There are now several more locale .strings files.

                                            The main changes are that the dialog now lets you choose the layer for the SectionCutFace -
                                            either the Section's layer,
                                            or a unique SCUT-nnnnnn layer,
                                            or a 'Customized' layer [you type in a name],
                                            or any other layer available in the model.

                                            It also now lets you choose the SectionCutFace's name - as either as its Layer-Name or a 'Customized' name [you type in a name].

                                            Sorry this is the right post and the following is what you should be focusing in:

                                            @unknownuser said:

                                            The customize-able Constants [COLORS-list and various starting defaults] are now supplied in an editable '.constants' file within its subfolder.

                                            The idea is to search for you plugin folder and edit the file *.constants with notepad (instructions are inside the file). That way, the default options you get when running the plugin are what you choose them to be.

                                            You can then run the plugin and hit enter immediatelly and be sure it does what you want without you manually have to change options.

                                            www.casca.pt
                                            Visit us on facebook!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 28
                                            • 29
                                            • 20 / 29
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement