SketchUcation Premium Membership

 

 

[Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby thomthom » Mon Apr 04, 2011 8:53 am

frascati wrote:I asked some time back about why subsequent versions of Sketchup don't incorporate more of the most useful tools developed by users. I recall that it was said to be a 'good question'. Do you happen to know? It's not as if it would add too significantly to the size of the download.

As a user I prefer to be able to choose myself - the plugins I find useful isn't the same as the next person.
As a developer - SketchUp plugins often go through frequent updates, so any bundled plugin would be out of date by the time it ships.

On the other hand - it'd be great if we could have a plugin repository where we could search, install, uninstall plugins from within SketchUp.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17595
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby frascati » Mon Apr 04, 2011 6:12 pm

Finally solved this, hope this helps if any other Linux users stop by here. Rather than repeat a lot I'll refer to the thread....
http://forums.linuxmint.com/viewtopic.php?f=90&t=69740


On the other hand - it'd be great if we could have a plugin repository where we could search, install, uninstall plugins from within SketchUp.


That would be VERY nice.

This is one thing that I'm really pleased with so far with this "fat" (by linux standards) Linux distro called Mint. There is a wealth of such repositories within the installation for navigating and installing with a minimum of fuss many many utilities. Usually when a Linux tool is discovered on the web I just have to open the "package manager" in Mint and type the name of it into search and it's already there. I just click to download and automatically install it and start using it.

This plugin for Sketchup has been the first real baffler for me, but it turned out to be a pretty simple fix after all. I'm finding that that's usually the case with Mint. Half a dozen hard-core linux people will give you daunting command line instructions but eventually someone will come along to tell you that the solution is actually only two clicks away.
I'm a doctor, not a space explorer.
User avatar
frascati
 
Posts: 66
Joined: Tue Mar 16, 2010 4:30 pm
Name: frascati

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby gehcha » Mon Aug 22, 2011 8:55 pm

Just discovered your plugin and it's great! Thank you. I'm having issue with it drawing circles with a radius less than 1". Is a 1" radius the limit on size?
gehcha
 
Posts: 1
Joined: Thu Nov 13, 2008 3:20 pm
Name: Chad Gehring
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: product design
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Chris Fullmer » Tue Aug 23, 2011 7:51 am

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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6687
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby thomthom » Tue Aug 23, 2011 8:06 am

Chris Fullmer wrote: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_l
> 0.413385826771654
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17595
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby jojo9 » Tue Aug 23, 2011 1:52 pm

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
:bounce:
jojo9
 
Posts: 45
Joined: Sat Jul 23, 2011 2:42 pm

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Chris Fullmer » Tue Aug 23, 2011 3:48 pm

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.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6687
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby jojo9 » Tue Aug 23, 2011 4:21 pm

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.
jojo9
 
Posts: 45
Joined: Sat Jul 23, 2011 2:42 pm

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby gilles » Thu Nov 10, 2011 11:00 am

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?
User avatar
gilles
Top SketchUcator
 
Posts: 766
Joined: Mon Apr 07, 2008 10:29 am
Location: france
Operating system: Mac
SketchUp version: 8
License type: Free
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Chris Fullmer » Fri Nov 11, 2011 2:56 am

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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6687
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby gilles » Fri Nov 11, 2011 10:06 am

it must be relative to the circle construction method because there is no problem with square.
User avatar
gilles
Top SketchUcator
 
Posts: 766
Joined: Mon Apr 07, 2008 10:29 am
Location: france
Operating system: Mac
SketchUp version: 8
License type: Free
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby brookefox » Thu Mar 29, 2012 9:48 pm

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.
~ Brooke
User avatar
brookefox
 
Posts: 832
Joined: Thu Jun 26, 2008 4:17 pm
Location: Pacific northwest, USA
Name: Brooke
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby TS200010 » Fri Mar 15, 2013 12:33 pm

Just installed them - however, no icons on the buttons and an almost immediate Bug Splat. Lost all my work.

Any assistance would be appreciated.
TS200010
 
Posts: 2
Joined: Fri Mar 15, 2013 12:19 pm
Name: Anthony Stanners
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: hobby
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Dave R » Fri Mar 15, 2013 1:39 pm

The typical cause for the icons not showing on the buttons is incorrect installation. The Splat could have the same cause.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9002
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby TS200010 » Sat Mar 16, 2013 8:59 am

Dave,
Thanks - I am a RubyNewbe ... there were no installation instructions so I just guessed - apparantly incorrectly.
TS200010
 
Posts: 2
Joined: Fri Mar 15, 2013 12:19 pm
Name: Anthony Stanners
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: hobby
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Box » Sat Mar 16, 2013 10:28 am

TS200010 wrote: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.
Opinions are like wives.
Those found on the internet have been known to contain varying traces of nuts!
User avatar
Box
 
Posts: 936
Joined: Mon Jun 07, 2010 1:55 pm
Location: Germany
Name: Box
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Dave R » Sat Mar 16, 2013 1:39 pm

TS200010 wrote: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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9002
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

Postby Chris Fullmer » Sun Mar 17, 2013 4:47 am

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.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6687
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online