[Plugin] 2D Tools
-
Thanks for another great one.
-
@tig said:
[... so I can consider if v5.1 is needed [I assume the MAC problem is with some modifier keys?]
Have you received his "tweaks" ?
Is a new version needed ? -
@mariocha said:
@tig said:
[... so I can consider if v5.1 is needed [I assume the MAC problem is with some modifier keys?]
Have you received his "tweaks" ?
Is a new version needed ?There ARE some weirdnesses with some of the modifier-keys etc on the MAC which need tidying up... BUT it's on the end of my list right now...
-
I hope this is an appropriate thread for my question.
I have never got 2Dtools to pop up a control panel. It correctly modifies the Draw menu, but doesn't offer a toolbar or panel like most other plugins. (I have also not yet figured out how to make any of it work -- have tried to draw dashed lines, for example, but gave up in the end. "Click on empty space" is supposed to do something, according to the prompt at the bottom of the Sketchup window, but I never could get it to do anything.)
How do I go about figuring out why the control panel never pops up at startup? I see a directory full of icons, and I see code that looks like it should build a control panel, so I assume that's what's supposed to happen? I have installed 2Dtools50 with Sketchup 8, and immediately noticed that in 2D#.rb (startup script) there was a case mismatch between the path to 2D#loader.rb:
load '2Dtools/2D#loader.rb'
and the directory 2DTools_50 (cap T, even when the _50 is removed).
I fixed this by renaming the directory 2Dtools to match the startup script. I was hoping that the latest version, with the latest Sketchup, would work (i.e. display a control panel). However it seems about like the old version with Sketchup 7: the Draw menu is modified but there is nary an icon in sight
So I am looking for Sketchup's startup log, where presumably I might find an error message from the attempt to load 2Dtools. It's been quite a while since I fooled around with ruby scripts and Sketchup plugins and so on, and I'm trying to refresh my failing memory
-
The toolbar only appears if you activate it from Menu > View > Toolbars.
If that fixes it then great, BUT it sounds like you have totally 'ballsed-up' the installation of the files/folders.
Your reference to a folder named '2DTools_50' is a clue..... There is no folder called this in the installed files/folder set...NOTE:
When you extract files from a zip file your zip/unzip application will probably put everything into a new folder [here called '2DTools_50'] named after the zip's name... BUT you NEVER move that new folder directly into your Plugins folder. It's simply a temporary container for the files you must relocate manually. It's always best to extract a zip into a [temporary] folder on your desktop and then sort out where they belong as the next step...
You must keep the files within subfolders in the same relationship as they are inside the zip itself.
So you must open that new folder and select all of its files and any subfolders and copy [or cut] them all at once: then change to the Plugins folder and paste them all [or you might use drag'n'drop if you are 'competent']. Overwrite older files when prompted...
NEVER move files from the subfolders - i.e. all of the files in the '2Dtools' subfolder stay in that folder when it's relocated into Plugins...If you have mis-installed things you will need to check your Plugins folder for erroneous folders/files - remove them if they are now duplicated within the correctly installed set's contents...
-
Don't worry TIG my install is not as BU as you fear. Tool palette is now visible and working.
The revelation I needed was the View->Tool Palettes feature in the main menubar... And yes, I do feel stupid for not noticing it before. So many of my plugins activate their tool palettes by default, that I thought there must be some problem with those that don't -- and if they were not absolutely necessary I just ignored 'em and got on with my drawing
My bad -- as you can tell I'm not a deep Sketchup user, I use it only when I have to get something done; so I don't spend a lot of time exploring all the features (though it's on my list of fun things to do when I someday have the time). Kind of like vi -- most people only know the minimum number of commands necessary to do basic text editing, and never explore the huge toolkit lurking within.
So thx for the pointer to the "obvious" menu item! and yes I do generally understand the packaging of plugins, but it's been 6 mo or so since I fooled with them so it's all a bit rusty. I was grasping at any straw to explain what I thought was broken behaviour.
I fear that the remaining mystery may come down to OSX and mouse buttons (or lack of same).
I still can't get the dashed-line tool to do anything. I can select a line (it becomes bolded); the hint at bottom of screen suggests I then right-click in empty space to get a dialogue box. I am sitting at a macbook pro, with cmd-click mapped to right-click (seems to work in x11 apps anyway, xev confirms). I begin to fear that this mapping may be at the X11 level, though I think in previous releases of OSX it was at the System Preferences level. [a little rootling around...]
Damn. No click modifier mapping for 3btn emu in Leopard System Preferences, at least not obviously visible -- maybe with some googling I can find a way to do it. If not, looks like I will have to buy a trackball or 3btn mouse if I want 2dtools to work.
Sorry for the dimness of the original query. My brain is much more engaged with the stuff I'm building (1100 sf of new sails plus spars to match) than with the s'ware I'm using to draw it. Different headspace
ps Actually I don't use dragndrop much unless the app is chained to the OSX GUI; being an old linux geek I prefer mv, cp, tar, etc. very old-fashioned I know
-
Resolved
The macbook pro is new to me -- my old laptop was stolen in December 2010. I'm still discovering the differences.
Turns out the new trackpad, aside from being jittery and twitchy (grrr) emulates mouse button 3 -- not 2 for some reason, there is dissatisfied chitchat about this here and there on Apple user groups -- but 3 is emulated with 2 fingers (I will refrain from some obvious jesting).
I can right-click with this builtin mapping, and presto I can now draw coloured and dashed and weighted lines, which is really cool... and it appears I can retroactively style lines drawn with other SU tools such as Arc -- very nice!
My difficulty with 2dtools is now resolved -- and was not a difficulty with 2dtools at all, but with my shallow knowledge of SU.
-
@rootlessagrarian said:
Turns out the new trackpad, aside from being jittery and twitchy (grrr) emulates mouse button 3 -- not 2 for some reason, there is dissatisfied chitchat about this here and there on Apple user groups -- but 3 is emulated with 2 fingers (I will refrain from some obvious jesting).
I can right-click with this builtin mapping, and presto I can now draw coloured and dashed and weighted lines, which is really cool... and it appears I can retroactively style lines drawn with other SU tools such as Arc -- very nice!
A word of advice: If you plan to really use SketchUp, go buy an inexpensive PC-style mouse and use it instead of the pad. I have one of these from Logitech.
Do not install the driver software. Just plug it in and go.
-
I installed 2D tools (thanks TIG) on my OS X SketchUp Pro trial version but I can't get dashed lines to stay dashed.
I select dashed line style, draw the 2D line (and it looks dashed) but as soon as I double-click to end the line, the line is laid down as solid.
What am I missing?
-
@amsketcher said:
I installed 2D tools (thanks TIG) on my OS X SketchUp Pro trial version but I can't get dashed lines to stay dashed.
I select dashed line style, draw the 2D line (and it looks dashed) but as soon as I double-click to end the line, the line is laid down as solid.
What am I missing?Red the instructions again...
Just draw some lines [just make any old lines or curves will do but not guide/clines] - this can be 2Dlines OR standard lines.
NOW you activate the 2D LineStyle tool.
The Status Bar tells you the current settings and other instructions.
Right-click in open-space to get the dialog and set the width/pattern/color as desired.
Now pick on the lines you want 'Styling' they will change to your settings.If a line has no face or two coplanar faces the patterned 'line' is centered on the original.
If a line has one face the patterned 'line' is aligned to the side so it is wholly on the face.
If a line has two non-coplanar faces the patterned 'line' is aligned to one side of it so it is wholly on the face that is most squarely facing the camera - this allows you to 'style' the edges of a cube in 3d...Later you can Select some 'Styled' lines and right-click context-menu and 'Edit' them - a similar dialog appears and you can change width/pattern/color as desired and they will update.
-
@amsketcher said:
I installed 2D tools (thanks TIG) on my OS X SketchUp Pro trial version but I can't get dashed lines to stay dashed.
I select dashed line style, draw the 2D line (and it looks dashed) but as soon as I double-click to end the line, the line is laid down as solid.
What am I missing?
If what you're trying to do is draw thing as construction lines, it doesn't work on the Mac.
Here are some tools that will let you use clines on the Mac.
You need to replace the original tools inside the 2DTools folder by these (make backups of the originals!). They are however based on version 4.6 of TIG's tools, but they work fine as far as I know. I don't know of any core modifications done between version 4.6 and 5.0 of these tools and I haven't checked the script to make sure, but it shouldn't be an issue. For Mac users they give you access to all options. For PC users you don't need them (I don't know how the modifier behave, and haven't checked).
-
Hmmm. I've used this great plugin many times before but I'm experiencing issues now.
I have a rectangle that I want to fillet. I select the fillet tool, enter the fillet radius, and select my first line. Everything is normal. Then when I select my second, perpendicular line, poof everything disappears. It deletes everything in the model.
TIG, am I doing something wrong? Has anyone else experienced this issue? Are there any known workarounds? I am running Windows XP SP2 and SketchUp 7 if that makes a difference. The weird thing is, chamfer works fine.
It's no big deal if I just fillet it manually. I'm just wondering what I'm doing wrong and what I can do to fix it.
-
@unknownuser said:
Hmmm. I've used this great plugin many times before but I'm experiencing issues now.
I have a rectangle that I want to fillet. I select the fillet tool, enter the fillet radius, and select my first line. Everything is normal. Then when I select my second, perpendicular line, poof everything disappears. It deletes everything in the model.
TIG, am I doing something wrong? Has anyone else experienced this issue? Are there any known workarounds? I am running Windows XP SP2 and SketchUp 7 if that makes a difference. The weird thing is, chamfer works fine.
It's no big deal if I just fillet it manually. I'm just wondering what I'm doing wrong and what I can do to fix it.
Nothing's changed recently with the code.
It should work fine with your OS & SUp version too...
A mystery
I don't think it's deleting everything in the model - rather some 'corrupted' geometry is made miles away and the model's extents are knackered...
There's no known workaround because it's not a problem I knew of till now
What size is the rectangle?
What size is the fillet radius?
What units are you using etc ?
Can you post an example SKP where the problem occurs etc...
Without more to go on I can't yet help -
@tig said:
What size is the rectangle?
3'6" by 4"
@tig said:
What size is the fillet radius?
1"
@tig said:
What units are you using etc ?
Imperial. (feet and inches)
@tig said:
Can you post an example SKP where the problem occurs etc...
@tig said:
I don't think it's deleting everything in the model - rather some 'corrupted' geometry is made miles away and the model's extents are knackered...
No, sorry. You're right. It only deletes the rectangle I am working on. About corrupted geometry, I don't know. If I make the rectangle a component first, and edit that, the component boundaries shrink to the size of one that has no entities. I hope I made sense there. What I mean is, if I go into the model info box after the geometry is deleted, no entities show up. It is truly deleted.
-
As you can see I have no issues with 2d filleting - Vista + v7 or v8
Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ? -
@tig said:
Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation?
-
@unknownuser said:
@tig said:
Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation?
No exactly sure on XP - perhaps someone else can chip in too - on Vista... Exit all apps... Then Control Panel > Programs & Features...
Find Google Sketchup v7 in the list, highlight and click UnInstall/Repair button. When prompted choose Repair and it should run and repair the installation.
If that doesn't work you might need to do a full install - it shouldn't affect any Plugins etc you have installed already... -
@tig said:
@unknownuser said:
@tig said:
Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation?
No exactly sure on XP - perhaps someone else can chip in too - on Vista... Exit all apps... Then Control Panel > Programs & Features...
Find Google Sketchup v7 in the list, highlight and click UnInstall/Repair button. When prompted choose Repair and it should run and repair the installation.
If that doesn't work you might need to do a full install - it shouldn't affect any Plugins etc you have installed already...I found how to do it but it can't find the installer for SketchUp. I must have deleted it. How could I completely reinstall SketchUp 7.1? Is there some place you know that I could download it from?
-
Luckily it's linked here http://forums.sketchucation.com/viewtopic.php?p=315903#p315903
-
@tig said:
Luckily it's linked here http://forums.sketchucation.com/viewtopic.php?p=315903#p315903
Thanks. And do I have to do anything to keep all my plugins, styles, templates, etc.?
Advertisement