[Plugin] s4u_Align
-
Hi, tried using this plugin on Project of mine. Think there is an issue with Glue-ready-components having their axes not aligned to Global axes ?
Code is scrambled so can't tell what's up, bro ..
See pic.
-
Hi Jolran,
I'm fixing this error. It was because I used center's face instead of centerbounds's face
Thanks -
@unknownuser said:
I'm fixing this error. It was because I used center's face instead of centerbounds's face
Well you could probably use something like
centerpoint = face.bounds.center.project_to_plane(face.plane), I gather.However I don't think the alignment problem is comming from this ?
(the Component in pic is flipped backwards/upwards, part from not sticking to the face)Are you using the face.normals to align or axes of Components?
Face normals would be more predictable, possibly. If getting the right nested transformations from the Group/Component, that is.Anyway, thanks! Be willing to testdrive next version for some feedback.
-
maybe,this problem is your Group/component have scale ,reset scale is no problem
I trying fix this problem. -
Hi!
I've watched the video several times and have similar objects set-up to mimic what is being demonstrated. I'm not getting the same results; and it's probably because I'm missing something. For instance: I selected "Align Edges" tool; then I selected the edge of the largest object (as demonstrated); then holding down the "CTRL" key, I select the first small box; immediately the first box stretches out in a wedge shape and aligns itself with the larger box; only one object is effected -- if I click on the other small box, nothing happens. It looks pretty simple after viewing the video -- guess I could use some additional help. I've attached a picture to illustrate my point.
By the way, your other tools are outstanding especially the S4U to Components (already made a faceted table base and posted it on 3D Warehouse). So thanks for sharing! Jo
-
i think this is great, it could increase workflow quite a bit
some issues: it seems to flip things upside down when I don't intend on it sometimes -also I think the selection process should be opposite of what it is. right now you select target first and then the object you want aligned, but it makes a lot more sense to select the object you are working on and want to move to be selected first.
oh ya when you click the link to download in the sketchucation store plugin, SKP crashes
-
@function said:
oh ya when you click the link to download in the sketchucation store plugin, SKP crashes
Fixed
-
-
you don't hold control, you just press it
-
hi JBJDesigns!
You can see status bar for instruction,
-select target edge(face)
-then press Ctrl if you want multiselect
-select aligned edge(face)
-press again Ctrl for finish select.
press Tab for change "align" or "align and move" -
press Ctrl,not hold
1-select target edge(face)
2-then press Ctrl if you want multiselect
3-select aligned edge(face)
4-press again Ctrl for finish select. -
Wonderful plugin! Thanks! I use the Q JS Align plugin all the time but it works only along the three axes and I believe your plugin will go on top of the most used list now.
-
Update s4u_AlignTool_v1.1.0 (25 April 2014)
-Press UP, DOWN or Right Mouse for Mirror after align face -
s4u-AlignTool 2.0.0 (10 June 2014)
- align OUT group,multi-align with press hold Ctrl key.
http://sketchucation.com/pluginstore?pln=s4u_aligntool_v1.0.4
- align OUT group,multi-align with press hold Ctrl key.
-
Thanks for the plugin, I created the Spanish Language File. I changed in the translation:
Ctrl --> Ctrl(Pc)/Alt(Mac)
The Ctrl key doesn't work on Mac.
-
Thanks Oxer!
I haven't checked for Mac yet.
I will update later. -
Installed the last version from the store, receive this error message now.
Error Loading File C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb
Error: #<NameError: uninitialized constant S4U::S4u_AlignTool::S4u_aligntoolStrings>
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:11:in<module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:6:in
module:S4U'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:3:in<top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in
require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:inload' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in
register_extension'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in<module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:4:in
module:S4U'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:3:in `<top (required)>'Note: Re-installed from store. Not sure what happen, but all my toolbar were displaced.
I see that no one else seems to be having this problem.
Thanks for you replies.
Ken
-
Hi Ken!
Delete files:
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
and folder
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
Re-installed from store.
Don't rename file and folder plugin. -
@hdpv said:
Hi Ken!
Delete files:
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
and folder
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
Re-installed from store.
Don't rename file and folder plugin.Oops! my bad, that file was from your Version 1.0.5. I believe you did not have a toolbar with that version, so I added a toolbar. Note, it didn't crash until this version. So why would I rename a file when adding a toolbar. Because I name the icon with the number, and add the number to the tool text. This way I have a reference on what the icon's plugin is, and what the is the name of the icon. On some plugins, it is almost impossible to associate the toolbar icon with the actual RB file. So I guess it caught up to me.
So thank you. Will now be more careful.
Ken
-
Hi, I tested the plugin on mac OSX 10.9.3 & SU and it works fine.
Advertisement