[Plugin] 2D Tools
-
You change the setting when activating the tool - by typing
6s
[+<enter>] - as well as then say100
[+<enter>] for the radius... then both of those settings are remembered with the model on a save, and reused across sessions.IF you want to change the script's coding...
Use a plain-text editor - say Notepad/Notepad++ or TextWrangler[for MAC] - never a wordprocessor!
Edit the file:../Plugins/2DTools/2DfilletTool.rb
Then find the following two lines: #70
@segs=**18** if not @segs
which becomes:@segs=**6** if not @segs
and then #89
@segs=Sketchup.active_model.get_attribute("2Dtools","fillet_segments",**18**)
which becomes:@segs=Sketchup.active_model.get_attribute("2Dtools","fillet_segments",**6**)
[TIP: If your text-editor has no line-numbering then you can search/find for the two occurrences of "@segs=
"...]
Now when opening a brand new model the default 2DfilletTool's segmentation is always6s
- although of course you can reset it to say18s
or whatever you desire on a per model basis. by typing the new value into the VCB, such settings are remembered with each model on save - here as the attribute2Dtools : fillet_segments
...
-
-
I think this is down to tiny geometry again.
SketchUp tolerance is ~1/1000"
3mm is approaching that for the tiny facet sizes and their end points being considered equivalent...
When the fillet tool rounds a corner like that there should be no residual lines anyway!
The faceted arc has a first/last section at such a shallow angle to the side that the point is confused.
If you delete the two edges and redraw them, being sure to snap to the ends of the fillet-arc, then they will be 3mm long and dimension correctly.
See the zoomed view attached...
-
Having trouble with the textures....just don't fill. I've picked the texture from the scene and used the bucket tool....worked that way but not from the 2d hatching tool. The 2d line tool....love it. It did jump it's xyz position when it when over a 3D object. Moved in the positive z direction to float above the cube. I'll post some of my experiments if you'd like them.
-
I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly. I downloaded the 2D Tools plugin from TIG and it appeared to load properly. However, once it was installed, this message came up...
Permission denied - C:/Program Files/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt
Error Loading File 2D#.rb
Permission denied - C:/Program Files/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txtIs this a setting conflict with my PC or what? Please help...
I've installed SU Pro v 2013, on OS Windows 7
-
@trackbuilder said:
I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly.
Actually, you didn't quite get it installed correctly. Before installing it you need to go in to the Security setting for the Plugins folder and set permissions for your log in to All so there's full access. Do that and reinstall it. Best would be to install the SCF Plugin Store and automatically install other plugins from there.
-
@dave r said:
@trackbuilder said:
I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly.
Actually, you didn't quite get it installed correctly. Before installing it you need to go in to the Security setting for the Plugins folder and set permissions for your log in to All so there's full access. Do that and reinstall it. Best would be to install the SCF Plugin Store and automatically install other plugins from there.
I was receiving the same message as trackbuilder on just some of the plugins and only on su 2013. My SU8 never had the problem. I redid the security setting as suggested and can now load more plugins. 2D is a favorite, now I can start to migrate with confidence, but hanging on to 8 for a while..... Thanks for the clue Dave!
-
Hi Jim,
I'm glad that helped. Some plugins need to be able to write to a file for changes you might make in the VCB or a window that opens. The files generally end up in the Plugins folder so having privileges will be important.
-
That temp file is a throwback.
I'll remove it and update.
It's there to record if ye olde format of the 2dTools installation has already been tidied up...However, you do need to ensure FULL permissions to your Plugins folder as several tools do still write temporary files there...
-
TIG, Dave and Jim,
Thank you for all of your help!!!!! I adjusted the security settings, and found the 2D Tools plug-in in the Draw menu.
-
Help to anyone,
This tool will be a life saver, however for some reason it won't let me install it. I get an the error message below:-
Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt
Error Loading File 2D#.rb
Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txtNot had anything like this before on any extensions, what gives with this extension...
I wish this extension was available through SketchUP's own Extension Warehouse, I might get it loaded that way.
Not too sure if this is related to the SKETCHUCATION PLUGIN STORE V2.0 as having some problems with that as well...
When I click on the blue icon (SKETCHUCATION PLUGINS MANAGER) I get error message saying "no security permission to manage any plugins folder in the $LOAD_PATH. FULL Read/write Permissions are needed to manage Plugins within this Plugins Folders.."
Just not my day I guess..
Any help will be most appreciated.
Over & out,
Clayton.
-
This has been covered a number of times here. In fact, just five posts above. You need to set the permissions for the Plugins folder so you have full administrative rights under your log in. Go to the Plugins folder, right click on it and choose Properties. Then click on the Security tab and the Edit button. Select your log in and tick all of the boxes for "Allow." Then OK and close out of that. Reinstall the plugin and it should work fine.
-
Somehow the issue that was meant to be resolved with v5.6 messed up in the recent upload.
The latest v5.7 [hopefully] avoids this 'temp-file-in-plugins-folder' issue all together...
http://sketchucation.com/resources/pluginstore?pln=2DtoolsBUTthis does not sidestep the issue that you MUST have FULL security permissions to your Plugins folder both to AutoInstall Plugins from the PluginStore... AND subsequently 'manage' them...
-
Here's a future-proofed update.
http://sketchucation.com/forums/viewtopic.php?p=185760#p185760 -
Thanks TIG for the update, the v5.9 works fine on Mac OSX 10.9 & SU2013 but a minor problem, the icons of the tools cursor don't show.
-
I confirm that I too get no custom-cursors with the MAC version [PC is still fine!] - there are no error messages...
I'm investigating...
Any advice from others who've seen this kind of thing would be appreciated...
-
I just installed 2D Tools on my Mac again from the Plugin Store. the tools show just fine on the toolbar for me.
-
It's NOT the toolbar icons, it's the custom-cursor icons that each tool has.
On a PC you get a special cursor for each tool - even different cursors as a tool's function changes.
On a MAC these are missing - you just get the default tool-arrow cursor for all of the tools.The code to make the cursors is standard Tool/UI stuff, and it works on PC, so what's up with MAC version [no error messages] is a mystery ... so far
-
Oops! My apologies. Yes, I see now that the custom icons aren't working.
-
At first I thought it might be a png size issue... so I remade all of the cursors 32x32px and retested... BUT on MAC v2013 it still fails to display the custom-cursors, and in fact if you orbit the cursor sticks on the 'orbit' cursor and doesn't reset to the normal Tool cursor !
I also tried remaking some of the cursor creation code, although it already was PC acceptable...
Still no joyI then looked at ALL plugins from any source which are using custom-cursors and they ALL fail on MAC
I am now updating my two plugins [Grow & 2dTools] NOT to use custom-cursors on MACs only, so tat least the orbit-cursor glitch is side stepped.
I'll raise something with SketchUp too...
Advertisement