[Plugin] 2D Tools
-
@tig said:
If you do a 'reinstall' it should keep all of the already added stuff and simply renew the required program files.
But I'm not really reinstalling am I? I'm going from v.7.1 to v.7.1pro trial. I have all the files backed up on DropBox so I should be good.
-
The difference between Free and Pro is minimal on the install - they are very similar and the core program parts are the same - it's just that after the time limit is up some v7.1 features no longer work, unless it's fully licensed...
-
I reinstalled both 2Dtools and SketchUp but I'm still getting the same thing. Is the plugin conflicting with another plugin or program? Weird thing is, every other part of the plugin works. It's just the fillet tool that I'm having problems with.
-
As all of the 2Dfillet's methods are wrapped in a class, and it only uses built-in API calls... I'd expect no clashes.
Have you tried resetting hardware acceleration etc in preferences to see if that is affecting anything [clutching at straws here!]
To check if script that loads after 2Dtools IS messing something up you could try and copy/paste this into the Ruby Console + <enter>
load '2Dtools/2DfilletTool.rb'
Then try to use the 2Dfillet tool - if it works we know something is clashing if not we are no worse off...
If it's still bust try temporarily renaming 'Plugins' as say 'Plugins_Disabled' and then make a new 'Plugins' folder; now copy into that the following files/folder that are needed for the 2Dtools to work:2Dtools
folder with all of its contents intact
2D#.rb
deBabelizer.rb
Restart Sketchup.
If 2Dfillet now works we know there's a clash with something that's now not loading.
If you've recently added some scripts try copying those over a few at a time and restart/test to see if you can still use 2Dfillet.
If you get a culprit let me know
Remember to copy the scripts so the origin set of plugins is not changed.
Swap the Plugins folders' names around so the origin is now called 'Plugins' again... -
@tig said:
:? Have you tried resetting hardware acceleration etc in preferences to see if that is affecting anything [clutching at straws here!]
No luck.
@tig said:
To check if script that loads after 2Dtools IS messing something up you could try and copy/paste this into the Ruby Console + <enter>
load '2Dtools/2DfilletTool.rb'
Then try to use the 2Dfillet tool - if it works we know something is clashing if not we are no worse off...When I use the tool, the same thing happens. I get this error in the console.
Error: #<NoMethodError: undefined method
explode' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:404:increate_geometry' C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:197:in
onLButtonDown'
C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:404`@tig said:
If it's still bust try temporarily renaming 'Plugins' as say 'Plugins_Disabled' and then make a new 'Plugins' folder; now copy into that the following files/folder that are needed for the 2Dtools to work
Wahoo!!! It works! I'll add stuff back in and let you know when I find out what plugin it is that was causing the problem.
I should have tried this first. I will in the future.
-
The error you [eventually] reported occurs after some grouping and copying etc - it's obviously failing.
We seem to be looking for something that overwrites base classes like group methods. I know SketchyPhysics has caused some problems in the past - try re-enabling that if you have it, and see what happens... -
@tig said:
The error you [eventually] reported occurs after some grouping and copying etc - it's obviously failing.
Sorry for not checking that sooner. Not sure what you're saying about grouping . . .
@tig said:
I know SketchyPhysics has caused some problems in the past - try re-enabling that if you have it, and see what happens...
Re-enable? Like reinstall? If I copy over all the plugins except for SketchyPhysics and it's components, the fillet tool works so SketchyPhysics seems to be the guilty plugin. Should I just reinstall it? I don't really use it so I could just delete it.
-
Many complex tools do some temporary 'grouping' in the back ground, although by the time you see the result they've been erased or exploded etc.
2Dfillet is one of them.
Some tools rewrite some base classes' methods which can mess up other tools using them.
If the error only occurs with SketchyPhysics 'loaded' then move it back into the disabled 'set' and then try all the rest.
If you still have a working 2Dfillet tool and you don't need SketchyPhysics so much leave it disabled...
You can always swap back briefly when you need it.
When I said 'reinstall' I just mean move from the disabled set into then Plugins folder...
You could also check you have the latest version of SketchyPhysics as it might have fixed this issue... -
Alright, I just disabled SketchyPhysics for now. If I need it I'll go download the newest version.
Thanks a ton for taking the time to help me out TIG. And thanks again for this awesome plugin.
-
That's why we are here... to try to help those that try to help themselves...
-
-
Thanks
it might help a lot -
@earthmover said:
@define said:
if one 'sotospeak' could make the 2dtools work with
your 'work-planes' too? This would make it into something even more versatile.This would in fact be quite redundant. The work planes are used in a similar manner to the 2D tools, as they create a "shield" to prevent the inferencing of the native tools to the geometry on the opposite side of the plane. You can draw directly on it as it's a locked group and delete it at will. The 2D tools do much the same except they are restricted to the X,Y axis for 2D drawing, but still allow you set the Z, which creates an invisble 2D work plane on that height. The work plane plugin allows similar restriction, only it's not restricted to X,Y only and it works with the native toolset. You could technically set a work plan on the x,y axis at a Z height and use the native tools to draw in restricted 2D. Using the 2D tools to go the other direction would negate them from being 2D at all.
hello earthmover,
I came back to this task from one year ago, since I just searched the forum for my own entries on this issue.
You have to know, that I'm comming from the CAD-world with their 'sketch-planes' (solidworks and the like)
and it would come in handy in sketchup, if I could use the 'workplane command' like these too.
I would like to be able to constrain/project any points that I catch in 3d 'over' that workplane to the workplane.
Same like setting the z-elevation to zero or else with the 2d-tools..but to any given plane.
Only difference: projecting any snaps in 3d-space onto that plane in 'normal' direction.
If there's an option for this, please let me know. did'nt find it. best claude -
Seek out my WorkPlane tools...
-
I'm having a bit of trouble getting the fillet tool to work. The other 2D tools functions I've tried seem to work.
I select line one, enter radius e.g. " 3" ", when I hover over the second line as soon as the "2 line box" appears the radius entry clears, this is before I click on the line.
I've tried different things over a two day period, maybe spent 4 hours on trying different jungle dances to get the thing to work. Almost for sure it is something lame I'm doing. Any suggestions appreciated. Thanks. -Henry
System is Vista and SU8. Downloaded 2D Tools 5.0, extracted all from the download folder to the plugins folder, the two files and a folder mentioned were there. I then started SU8. Made two lines 1' long joined at the origin and along two axes. Clicked on fillet icon, clicked on a line, entered " 3" " in the radius box, tried clicking on line 2 as mentioned above.
-
I just posted was having trouble with fillet, now it is working.
Sorry, not sure what was going on. Seems OK now. -
The issue is back - fillet not working again.
Looks like the issue is related to the fillet icon cursor hover and/or finding the second line.
The fillet cursor is now finding lines where there are none. Also as previously mentioned when the second line is identified, but not selected, by the "Line 2" box popping up the radius input box goes to zero. Even re-entering the radius doesn't work, when the radius is entered the "Line 2" box near the cursor goes away, this goes back and forth.
My machine is an ASUS K50IJ Series, SU8 free, Vista. I'll keep trying and see if I can identify when it works and doesn't. I have Center Point, PipeAlongPath, ToggleUnits running at the same time. Maybe Toggle Units is the culprit. -
Henry
What errors do you get if you try to run the tool with the Ruby Console open.
Are the two lines coplanar and in the same context ? -
@tig said:
Henry
What errors do you get if you try to run the tool with the Ruby Console open.
Are the two lines coplanar and in the same context ?This is very embarrassing. It appears the issue is I need to press enter after putting in numbers in the radius entry box. I think I'm OK now. Thanks, sorry to bother you.
-
Im just loaded the 2D tools myself. Fillet doesn't work very well for me as well. I get one corner to work (after some effort) but then when I try to get the 2nd one to work. . .BUG SPLAT> has happened to me about 1/2 dozen times.
OTherwise, great tool set.
Thanks.
D
Advertisement