[Plugin][$] JointPushPull Interactive - v4.8a - 30 Mar 24
-
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
-
The [clunky] way to delete a layer through the API is...
First iteratemodel.entities
and all of thedefinition.entities
, and if they are are assigned the layer we want to delete - say 'tlayer
' - then you erase! them.
Then you iterate throughmodel.layers.to_a - [tlayer]
, and make atemp_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].
Usemodel.layers.purge_unused
to now purge 'tlayer
'.
Finally usetemp_group.erase!
to tidy up.
It will work but as I said it's clunky... -
Yes, terribly clunky!
By the way, I guess that
purge_unused
has also some other side effects (pure materials, ....).Fredo
-
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.
-
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 -
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
-
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.
-
@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]
-
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.
-
@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
-
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.) -
@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)
-
thank you very much Fredo
-
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
-
@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
-
I am experiencing similar problems with Jeff.
I am on windows 64but Sketchup 2014this 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:inselection_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:inselection_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
-
Have you disabled Dynamic Components by any chance?
-
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
-
@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.
-
@tt_su
You were right dynamic components was disabled! Now it works, thanks!
Advertisement