[Plugin] 2D Tools
-
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 ?
-
TIG, thanks for the reply and explanation. It works fine now that I've changed the properties. With a bit of fiddling with the arrow head manually it should look very similar to the fully manually drawn version and will be a big time saver.
I do have Layout but I use Adobe Indesign for graphics but I'll maybe have another look at it as it's been some while since I've tried it.
-
I cant find this plugin on the SketchUcation Plugin Store.
-
If you click the 'Download' button in the first post of the thread it takes you directly to it.
If you search the PluginStore on SketchUcation, select Author TIG and 'Full list'... then it's the first one.
From within Sketchup - PluginStore again search TIG, 'Full list'... and again it's the first one.
-
@tig said:
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...It is a plugin that changes the quantity (in selected groups of components, curves) segments in arcs and circles?
I could draw the segments set to 6 (R 1 mm arc are ok) and prior to export to DXF* change all the arcs ang circles for example S30.
Robert
- Free Plugin DXF export does not save arcs and circles as true arcs, only segments.
Robert
-
You can only change the segmentation of arcs/circle that are '2d'.
That is an arc/circle that has no faces or is associated with only one face.
If you have made extrusions you cannot change the segmentation - because that curve now forms part of a 3d object.
You can select a '2d' arc/circle and use 'Entity Info' to change its number of segments.
If you have lots to process there is my Plugin available...
'ArcCurve_set_segments'...
http://sketchucation.com/pluginstore?pln=ArcCurve_set_segments
http://sketchucation.com/forums/viewtopic.php?p=158903#p158903
It runs from a Plugins menu item or the Ruby Console...
It will change the segment count of all preselected arcs/circles IF it can... i.e. they are '2d'... -
@tig said:
If you have lots to do there is my Plugin available...
'ArcCurve_set_segments'...That's what I've been looking for.
Thank you!Robert
Advertisement