[Plugin] 2D Tools
-
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... -
The custom-cursor mystery on MACs has been resolved...
The PluginStore now has a new version [v6.1] with MAC friendly custom-cursors.
http://sketchucation.com/resources/pluginstore?pln=2Dtools*Explanation of the resoluion of the 'mess' for other authors info...*A custom-cursor consists of a png image file - typically 32x32 pixels.
The custom-cursor's 'hot-spot' is specified set off to the right from the left-side of the image and then down from the top-side of the image [in pixels].
...cursor,15,22)
On a PC this 'hot-spot' does not have to be inside the perimeter of the cursor's image.
Many authors have specified0,32
for the bottom left corner of a 32x32 image.
But this places its 'hot-spot' one pixel below the bottom-left corner of the cursor.
On a PC this still works just fine, but on a MAC it breaks the custom-cursor big time !I have now adjusted and reissued all of my tools that make custom-cursors to use
0,31
[or equivalent] for these 'hot-spots'.
This change puts the 'hot-spot' on the cursor.
Now all of my custom-cursors should work on PC & MACAny MAC users getting issues with other tools that should use custom-cursors ought to report it to the tool's author, and point them in the direction of this post for the explanation and fix...
One symptom is that there is no custom-cursor, BUT worse still, if you Orbit during that tool the tool's cursor gets stuck as the Orbit cursor - clearly not ideal ! -
TIG this is awesome, the 2D fillet tool is saving my life and sanity. using it to extend lines that arent on the red/green axis.
Thanks!
-
Yes - some of the '2d' tools - like Fillet - will work on other 'planes' provided that the two edges you are 'filleting are themselves coplanar...
Other tools that do 'drawing' are constrained to a flat plane, set at the preset z-height... -
I downloaded 2d tools and received a file named 2Dtools_v6.1.rbz
I put it in the plugins folder and restarted sketchup but the toolbar is not showing up the draw menu, the tools menu, or the toolbar menu. I am wondering if my operating system (mac 10.6.8) or sketchup version (7) are too old? -
Yes. Your SU version is too old but you aren't sunk yet. Move the .rbz file OUT of the Plugins folder. Maybe put it back into the Downloads folder. Rename it to .zip. Then double click on the file name to extract the contents. Select those contents and copy them to the Plugins folder. See this post for more information.
You could update to SU8 and then you'd be able to install .rbz files without the gymnastics. You could also then install the Sketchucation Plugin Store and auto-install plugins.
-
@cys said:
I downloaded 2d tools and received a file named 2Dtools_v6.1.rbz
I put it in the plugins folder and restarted sketchup but the toolbar is not showing up the draw menu, the tools menu, or the toolbar menu. I am wondering if my operating system (mac 10.6.8) or sketchup version (7) are too old?
You have v7.
You cannot use an RBZ archive directly.
With SketchUp v8, and newer, the contents of the RBZ archive are automatically installed from the Preferences > Extensions > Install... button...
I recommend v2013...To make a RBZ usable in v7...
The following applies to any RBZ you get...
Move the RBZ out of the Plugins folder into a temporary subfolder...To get access to the contents of the RBZ file rename it with a .zip suffix.
An RBZ is essentially a ZIP file with another suffix.
Now extract the contents of that ZIP.
The base-level rb file[s] and the ZIP's subfolder of helper files should remain intact - NEVER move files out of their subfolders...
In the case of 2DTools it's two files = 2d#.rb, deBabelizer.rb and a folder named '2DTools' containing many files and further subfolders of files...Now ensure you have FULL read/write permission to the appropriate Plugins folder, and also that you have selected to trickle those permissions down to affect all of the folder's contents...
Now move the newly extracted base-level file[s] and the intact subfolder of other files, into your Plugins and restart SketchUp.
If you've done it correctly look in the Draw menu and Toolbars...
-
Thanks for your help. It is working.
-
Hi TIG,
struggling around with connecting two circles with an arc of custom radius ...
... I thought it could be an option for the fillet tool!
Many thanks for your helpful tools!!!
BR
JΓΆrg -
Look at my TrueTangent toolset.
It makes true points for tangents, intersection of arcs and so on.
It was developed to overcome the SketchUp's limitations of arcs really being segmented polylines, and circles being polygons... -
I looked at these and do understand the advantage over working with segmented arcs but I was not able to achieve the requested ...
Am I missing something or a tut?
Many thanks!!!
JΓΆrgEDIT: I thought too complicated ...
Using the manual method above and determining the true intersections did it.
Then all I had to do was to draw all circles/arcs (again) using the generated cPoints.
THX to TIG (again) -
Is it possible to allow a line to cast shadows and apply styles such as extended lines with 2D tools?
The attached example arrow on the left was created manually and shows what I'd like to achieve after a line style is applied in order to produce urban design annotation with a sketchy hand drawn effect.
The arrow on the right was created with line styles but the faces do not cast shadows and effects such as extended edges and profiles don't appear to work on it. Each one of the dashes appears to be a face when I click on it but they don't cast a shadow.
If it isn't possible at the moment could it be made to behave in the way I've described?
Also could arrowhead styles be added to the settings?
-
Your manually drawn version looks so much better
Because the 2dTools' styled-lines, text etc are intended for 'flat graphics', they have all if their edges hidden and they are also set not to cast/receive shadows.
To change this for an existing entity, switch View > Hidden Geometry ON, then Edit the 'group' and use 'Entity Info' to unhide selected edges, and change the shadow cast/receive settings of selected geometry/groups too as desired...
2d text etc is always made floating a mm or so above its base level, to avoid z-fighting with any surfaces, therefore its shadow casting is unset so it doesn't reveal that... but you choose...You can easily Move objects up in the Z [blue] so they cast shadows on surfaces/ground below them.
If you have Layout [i.e. Pro] then many of these 2dTools are often superfluous to your needs - as flat-2d-graphics are easily made in app ?
Advertisement