• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin][$] JointPushPull Interactive - v4.9a - 02 Apr 25

Scheduled Pinned Locked Moved Plugins
617 Posts 155 Posters 590.1k 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.
  • F Offline
    fredo6
    last edited by 25 Mar 2014, 16:22

    Normally, the temporary layer goes away when you exit JPP.

    But if you crash JPP, then it may remain.

    And, as you may know, there is no way to remove a layer (or a material) from the Ruby API (the way it is handled in JPP is via aborting the operation before generating the geometry).

    So it has to be done manually, which is a safe operation.

    Fredo

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 25 Mar 2014, 16:35

      The [clunky] way to delete a layer through the API is...
      First iterate model.entities and all of the definition.entities, and if they are are assigned the layer we want to delete - say ' tlayer' - then you erase! them.
      Then you iterate through model.layers.to_a - [tlayer], and make a temp_group, and inside that a nested group with a cpoint in it, assign the layer to the nested group, repeat adding a copy of the group and and assigning the next layer to it etc.
      Eventually all layers are 'used', except for the ' tlayer' [even previously unused layers].
      Use model.layers.purge_unused to now purge ' tlayer'.
      Finally use temp_group.erase! to tidy up.
      It will work but as I said it's clunky...

      TIG

      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 25 Mar 2014, 17:41

        Yes, terribly clunky!

        By the way, I guess that purge_unused has also some other side effects (pure materials, ....).

        Fredo

        1 Reply Last reply Reply Quote 0
        • K Offline
          Krisidious
          last edited by 25 Mar 2014, 17:52

          Yeah I see the layer sometimes. It's never active when I notice it and If I care I delete it. It in no way undermines the massive amount of time JPP has saved me.

          By: Kristoff Rand
          Home DesignerUnique House Plans

          1 Reply Last reply Reply Quote 0
          • D Offline
            dedmin
            last edited by 26 Mar 2014, 06:30

            SketchUP 2014 Pro, Win7 64 bit Ultimate Sp1
            This happens when starting to drag and typing offset distance. No error when just drag and drop.
            Video_2014-03-26_081748.wmv

            1 Reply Last reply Reply Quote 0
            • F Offline
              fredo6
              last edited by 26 Mar 2014, 06:51

              @dedmin

              It seems that this is related to the fact you pick the corner of the face and the API picker does not detect the face.

              I'll see what I can do.

              Fredo

              1 Reply Last reply Reply Quote 0
              • P Offline
                pbacot
                last edited by 8 Apr 2014, 22:28

                I find that I cannot select with this tool. I activate the tool, (Normal JPP) and go to a smoothed surface (set to surface select), individual faces turn green beneath the cursor. I click and nothing changes. The face under the cursor continues to turn green but nothing stays selected.

                MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cotty
                  last edited by 9 Apr 2014, 06:09

                  @pbacot: did you try it like in the following screencast?

                  @Fredo: is it intended that the middle line gets smoothed in this case?

                  [screenr:2kd1qqny]iDdN[/screenr:2kd1qqny]

                  my SketchUp gallery

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pbacot
                    last edited by 9 Apr 2014, 14:51

                    yeah. I just get the green highlight and green note "click to select faces" I click and nothing changes. On any sort of face in current context.

                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fredo6
                      last edited by 9 Apr 2014, 19:58

                      @pbacot said:

                      yeah. I just get the green highlight and green note "click to select faces" I click and nothing changes. On any sort of face in current context.

                      I don't know if I can do anything as it may be a problem with the Mac and SU8.

                      Is it for any model?

                      Is it since an upgrade?

                      Does it work when you stat JPP on a Preselection?

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pbacot
                        last edited by 10 Apr 2014, 05:00

                        Works like that on any model.
                        No particular upgrade.
                        JPP acts as if there is no selection (selection disappears and faces respond to cursor by turning green). After exiting the selection of face appears again.
                        Manana I will reload (I loaded automatically from SUcation Plugin Store.)

                        MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by 10 Apr 2014, 05:47

                          @fredo6 said:

                          I don't know if I can do anything as it may be a problem with the Mac and SU8.

                          nope, not that
                          although i don't have what i'm assuming pb's exact configuration is (mavericks + su8 ?)

                          i've tested it on osx10.7.5 with su8 & 2014 --as well as mavericks with 2014

                          i can select just fine on those (as in- i can do the same thing cotty did in the video above with no problems)

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tidusxx
                            last edited by 11 Apr 2014, 20:43

                            thank you very much Fredo 😉

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              ngeier89
                              last edited by 22 Apr 2014, 19:14

                              My office has been using the joint/push pull tool for several months and it has worked flawlessly. Recently my firm upgraded to SketchUp 2014 and downloaded the most recent Joint/Push Pull tool but we have not been able to type in an exact dimension offset when using it. I try to type in a number to offset it but nothing happens. We end up just guessing at the dimension. There are several of us that are SU savvy so I don't believe it's just us because none of us can figure it out. It use to be that you just type in the number you want. Can anyone help? I've watched the youtube videos but it doesn't seem like they have the same issue I have. Thanks.

                              Nathan

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                fredo6
                                last edited by 22 Apr 2014, 20:46

                                @ngeier89 said:

                                My office has been using the joint/push pull tool for several months and it has worked flawlessly. Recently my firm upgraded to SketchUp 2014 and downloaded the most recent Joint/Push Pull tool but we have not been able to type in an exact dimension offset when using it. I try to type in a number to offset it but nothing happens. We end up just guessing at the dimension. There are several of us that are SU savvy so I don't believe it's just us because none of us can figure it out. It use to be that you just type in the number you want. Can anyone help? I've watched the youtube videos but it doesn't seem like they have the same issue I have. Thanks.

                                Nathan

                                Well, a few questions:

                                • do you see the value appear in the VCB?
                                • Do you get an error (in red under the palette button)
                                • does it work manually (by push-pulling with the mouse)?

                                Could you open the Ruby console while doing the tests so that you see potential errors.

                                Fredo

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  StamatisPsarras
                                  last edited by 29 Apr 2014, 11:39

                                  I am experiencing similar problems with Jeff.
                                  I am on windows 64but Sketchup 2014

                                  this is what writes in the console

                                  @unknownuser said:

                                  Error: #<NoMethodError: undefined method entityID' for #<Sketchup::Model:0xad00970>> C:/Users/spsarras/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6FacePicker.rb:791:in selection_add_remove_faces'
                                  C:/Users/spsarras/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6FacePicker.rb:744:in selection_validate' C:/Users/spsarras/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6FacePicker.rb:622:in selection_validate_if_add'
                                  C:/Users/spsarras/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_JointPushPull/JointPushPullTool.rb:670:in selection_freeze_positions' C:/Users/spsarras/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_JointPushPull/JointPushPullTool.rb:1270:in onLButtonDown'

                                  and yes it does that on a fresh/simple model. With all tools in joint push and pull. I also briefly noticed problems on other Fredo tools.

                                  Thank you in advance

                                  1 Reply Last reply Reply Quote 0
                                  • tt_suT Offline
                                    tt_su
                                    last edited by 29 Apr 2014, 13:09

                                    Have you disabled Dynamic Components by any chance?

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      fredo6
                                      last edited by 29 Apr 2014, 14:48

                                      Yes. weird. It is strange that a Model object has no entityID method defined (which is normally "Model").

                                      This may explain why some users cannot select faces in JPP if this problem occurs.

                                      Fredo

                                      1 Reply Last reply Reply Quote 0
                                      • tt_suT Offline
                                        tt_su
                                        last edited by 29 Apr 2014, 15:21

                                        @fredo6 said:

                                        Yes. weird. It is strange that a Model object has no entityID method defined (which is normally "Model").

                                        Yea, Model doesn't inherit from Entity and some methods are not mirrored. It's an annoying inconsistency.

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          StamatisPsarras
                                          last edited by 29 Apr 2014, 17:18

                                          @tt_su
                                          You were right dynamic components was disabled! Now it works, thanks!

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

                                          Advertisement