[Plugin] Perpendicular Face Tools (UPDATED 26-03-09)
-
I probably did not make it smart enough to do decimals. And if I did, it probably only accepts a period as a decimal placemark - which is the US standard. So if you are typing 0,5 - you might try 0.5 - and I would recommend trying it with the 0 in front, and also without the 0. I really don't know how smart the script is going to be with that. I can dig into and look at it if you would like.
Chris
-
@chris fullmer said:
I probably did not make it smart enough to do decimals. And if I did, it probably only accepts a period as a decimal placemark - which is the US standard. So if you are typing 0,5 - you might try 0.5 - and I would recommend trying it with the 0 in front, and also without the 0. I really don't know how smart the script is going to be with that. I can dig into and look at it if you would like.
Chris
How are you processing the input. if you use String.to_l then it should make use of the user's locale setting.
Example:
I got comma as decimal separator, model units set to mm;
` "10,5".to_l0.413385826771654`
-
Hi Chris,
whats about an 'put objects perpendicular to' option? Lets say, to put the nearest face of a group/component instance on another face, (having two parallel faces)
application: moving a cabinet to a wall
-
That would be an interesting plugin. I'm not sure it doesn't exist already though. Seems like there might be some script out there for moving like that. I'm not sure what it would be called though.
-
Indeed, Didier Bur wrote a similar tool: Align2D. But you have to set 8 points to process objects. Best used to position/put objects on unusual angled planes. Another tool of the same author is 'Drop' but it drops only vertically.
A dedicated tool to place/arrange furniture would save a lot of time.
The slide direction could result of the relationship between group-wallface and the bounding box face determine the border line between object-wall. No dialog/input box is needed for this to work.
Another candy to add could be to rotate objects automatically, so that the front face of a cabinet, points always forward of the wall. -
Hello, I tried this tool today.
It works fine but I got issue with circle:
It doesn't draw radius under 25,4mm
If I set radius to 100mm it draw 76,2mm radius
???
Is there a way, code to have a component instead of a group? -
Hi Giles, I did a very poor making this plugin international. It does not work well with metrics AND with comma decimal separators. In the US we use a decimal separator. So 23,12 for us is written 23.12 for example.
The 25.4mm limit appears to be a an inch conversion thing. 25.4mm = 1 inch. I really don't remember if I set this up to work with metrics at all. And I'm so busy I will not be able to fix it anytime soon. If you would like to tweak though, feel free.
Chris
-
it must be relative to the circle construction method because there is no problem with square.
-
Some helpful tipsters pointed me to this handy tool, Chris, after I inquired about one which would do quite a bit less.
Thank you very much.
-
Just installed them - however, no icons on the buttons and an almost immediate Bug Splat. Lost all my work.
Any assistance would be appreciated.
-
The typical cause for the icons not showing on the buttons is incorrect installation. The Splat could have the same cause.
-
Dave,
Thanks - I am a RubyNewbe ... there were no installation instructions so I just guessed - apparantly incorrectly. -
@ts200010 said:
Just installed them - however, no icons on the buttons and an almost immediate Bug Splat. Lost all my work.
This suggests you installed the plugin while working on a file.
Generally speaking you should install plugins with SU closed, or at the very least close and reopen SU before using the plugin for the first time.
Also worth trying it out on a junk file before anything important.So having said that, if you did install it with SU open, try installing it again with SU closed.
-
@ts200010 said:
Dave,
Thanks - I am a RubyNewbe ... there were no installation instructions so I just guessed - apparantly incorrectly.There are multiple threads here explaining how to install plugins. The basic thing which would apply to any ZIP folder is to maintain the file structure as shipped in the compressed folder.
Since the icons don't appear on the toolbar, it is safe to assume that the icon images are not in the colder called clf_perpendicular_face_tools which is where the related loader file would be looking for them. If you didn't keep those image files in that folder, you probably also don't have clf_perpendicular_face_tools.rb in that folder either.
You should explore through the Plugins folder and find the .rb and the six image files and put them where they belong. It would probably be easier to delete those files and reinstall the plugin correctly. I wopuld suggest you download and use 7-zip to do this. It won't destroy the folder structure as the Windows native unzipper is wont to do.
-
I also have problems with winzip destroying the folder structure, depending on the winzip version. Also from what I understand Macs add an extra folder to the mix. For most of my plugins, I have a single file that just goes into the plugins folder. If there are additional files, they get loaded into a subfolder.
-
Great - Thank you so much !!!
I discovered this great tool so late -
Chris,
I love your plugins.
However I've just recently added your plugins (Extended Views and Perpendicular Faces to Sketchup 2013. When I check the box for the toolbars, they seem to create a unique toolbar just below the normal context menu (File, edit, etc). This toolbar is hidden if any other toolbar is there, and the unique toolbar can not be moved. Additionally only one of the toolbars either Exteneded Views, or Perpendicular Faces displays at one time, hiding the other one.
-
Jason: That's a bug in the first release of SketchUp 2013 - install the update that was released some weeks ago and it should work fine.
-
I want to take a quick minute to point out that this plugin works VERY WELL.
I have not had one problem with this and have used it quite extensively.
This is a plugin I would recommend -
Thanks Thomas,
I updated Sketchup 2013 and the plugin has its own toolbar now.
Advertisement