SketchUcation Premium Membership

 

 

[Plugin] 2D Tools v5.3 20120929

Re: [Plugin] 2D Tools v5.2 20120228

Postby mitcorb » Thu May 31, 2012 12:51 pm

Look at the bottom of the first page of 2D tools thread. At the bottom, see the Attachments box. The plugin is in a zip folder. Right click, save file as.. and place it in your favorite destination folder on your computer. Then unzip it to your Sketchup Plugins Folder.

I don't know why you inserted that link to a Reply panel. At the bottom left of the Reading Window is a Reply button.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3402
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] 2D Tools v5.2 20120228

Postby Howard Leslie » Thu Jun 28, 2012 11:44 am

TIG,
I've noticed that the 2d toolset will occasionally crash SU under the following circumstances.......
See attached skp.
Using your 2d Toolset, I'd like to be able to put 2 Fillets on some adjoining linework (3 adjacent lines)
The linework is not all on one plane. (2 horizontal lines, 1 vertical)
.......
first fillet - no problem.
second fillet (on adjoining lines but different plane)- will crash SU
........
Solution - move reqd lines off to one side and fillet, then put lines back in place.
I sometimes use this toolset when working on 3d models (even though it was originally designed for 2d work) - its very useful
........
If you have time and could look into this it would be most appreciated.
.......
Regards
Howard L'
Please, register (free) to access all the attachments on the forums.
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Thu Jun 28, 2012 2:55 pm

Howard

I can't get it to crash at all !
It fillets the two nodes in turn without an error [@r=1000mm].
Also the order that they are picked has no effect either ?
I'm very puzzled...
What's you SUp version and OS ?
:?
Can anyone else manage to get this to fail ?
If so, how exactly ??
Testers please... :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Michaelv » Thu Jun 28, 2012 6:45 pm

No problem here, Mac OS and version 5.1(Mac) of tools.
Tried all combinations of sequences
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

Re: [Plugin] 2D Tools v5.2 20120228

Postby Dave R » Thu Jun 28, 2012 7:21 pm

I don't think it's TIG's plugin. The first time I opened the file I got a crash before I'd even tried to do anything with any tool. No idea why it crashed. I opened the file a second time and put in fillets with a 1000mm radius on the original set of lines with no trouble.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9001
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Howard Leslie » Fri Jun 29, 2012 2:03 pm

TIG,
Thanks very much for your reply
.........
To answer your question:

SU Pro 8.0.11752
Windows Vista c/w Svc Pack 2
(32 bit PC)

Latest version of 2D Tools
Text notes inside the #2d.rb file gives the version as
### v5.0 20100927
..........
Really wierd how nobody else can reproduce this bug splat / behaviour
Possible clash with another Ruby script ???
.......
Howard L'
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Dave R » Fri Jun 29, 2012 2:48 pm

Howard, you may have hit the nail on the head. You might try to find out by removing other plugins temporarily and trying the fillets.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9001
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Fri Jun 29, 2012 8:36 pm

As the title-bar says "v5.2" you could also try upgrading to the latest version...
v5.1 20111201 Newly reported glitch fixed with 2dLine, so that now pressing the keyboard '0' when typing in a number on a PC it doesn't mistake for TAB >> Z-height!
v5.2 20120228 2dFillet segment range adjusted to >=2 <=999.
??? I don't think any of these changes are important BUT you never know :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Howard Leslie » Fri Jun 29, 2012 10:29 pm

TIG,
The version of 2D Tools that I have installed is from 2D_Tools52.zip.
When I got the bug splats I made sure I had the latest version before reporting any possible bugs.
...........
The text I quoted above was from the notes inside the #2d.rb file.
I shouldn't have quoted this - its a bit misleading - as I see now that there are many *.rb files inside the zip file that you may have updated on the last release - not just the one.
............
If its tricky to track the bug down / reproduce the fault - don't worry about it as I can work round it.
However, if I notice anything else, or any other possible leads I'll report it.
.............
Brilliant plugin by the way
..............
Thanks once again

Howard L'
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Dave R » Fri Jun 29, 2012 10:32 pm

Did you try removing the other plugins in the Plugins folder and running just 2D Tools? It doesn't appear to be a bug in the 2D Tools set. If it was, there'd be a large number of complaints and that doesn't seem to be the case.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9001
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby ninomayda » Thu Aug 09, 2012 12:22 am

Superb Tool. A "must" to all SKPrs. Attached please find Xcel sheet to assist calculating text size dependant on final presentation (Layout) drawing scales.
Please, register (free) to access all the attachments on the forums.
ninomayda
 
Posts: 14
Joined: Sun Dec 06, 2009 3:58 pm

Re: [Plugin] 2D Tools v5.2 20120228

Postby Milo » Thu Aug 16, 2012 5:59 pm

Fantastic tools thank you very much !!!
Milo
 
Posts: 39
Joined: Thu Dec 20, 2007 12:21 pm
Location: France
Name: Milo
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Helmi » Mon Aug 27, 2012 3:02 pm

Thanks for that great tool.

Still one question left: I can't seem to decode NNs/NNx/Rad with the 2D polygon and NNs or Rad with the circle. No matter what i enter there it doesn't seem to affect anything. I tried to rise the segments of the circle but can't seem to get it and couldn't find any docs for that?

Any help would be highly appreciated.

Thanks!
Helmi
 
Posts: 42
Joined: Fri Mar 16, 2012 6:05 pm
Name: Frank

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Mon Aug 27, 2012 3:26 pm

Helmi wrote:Thanks for that great tool.

Still one question left: I can't seem to decode NNs/NNx/Rad with the 2D polygon and NNs or Rad with the circle. No matter what i enter there it doesn't seem to affect anything. I tried to rise the segments of the circle but can't seem to get it and couldn't find any docs for that?

Any help would be highly appreciated.

Thanks!
Please look at the installed toolset there's a help menu/toolbar item... this opens the file inside the ../Plugins/2Dtools/ folder called '2DtoolsHelp.htm'...
There's detailed explanations about using each tool.
If you want to change the number of sides in a Polygon or Circle [in 2Dtools OR the native-tools] typing 99s changes to 99 segments..., typing in a number e.g. 99 sets the radius to that in 'current units' - you could also type 99mm to set it to that, even if the current units weren't 'mm'...
With 2d Polygons the extra option of typing 99x sets the 'width' across edges rather than across vertices...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Helmi » Mon Aug 27, 2012 3:27 pm

Thanks, TIG. Didn't notice that help menu item. Great work, thanks a lot!
Helmi
 
Posts: 42
Joined: Fri Mar 16, 2012 6:05 pm
Name: Frank

Re: [Plugin] 2D Tools v5.2 20120228

Postby Ben Ritter » Wed Sep 19, 2012 2:21 pm

TIG,

I'm having some bug splat issues while using the fillet tool. I did a clean reinstall of SU8 Pro and slowly started adding in plugins. Well I add your 2D Tools and can only create one fillet to say, a rectangular surface. Once I try filleting a second corner of the rectangle, it bumps me out of SU. Any suggestions?

Thanks. Ben
Ben Ritter
 
Posts: 352
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Wed Sep 19, 2012 3:12 pm

Works OK for me - very similar setup.
There might be a clash with another tool making ill-advised changes to base-classes.
Many tools, like fillet, need to make a group etc and manipulate it, so 3rd party tools mess with the Sketchup::Group class and break legit operations...
Possible culprits are SketchyPhysics, DrivingDimensions, Matchbox, SolarPosition, possibly earlier versions of Podium etc... do you have any of these, or other esoteric files loading ?
If so, if you disable them does the crash still happen...
If you have installed one of the older compilation 'toolbar' sets these too can add old Sketchup.rb, extensions.rb files etc into Plugins, when the equivalent new system files are automatically installed by Sketchup in the correct location in the Tools folder ! This can also have subtle effects that mess up unexpectedly... remove those and leave the proper ones in Tools...

Assuming it's still failing...
If you run fillet with the Ruby Console open before doing any filleting do you get any messages; is a 'Bugsplat crash' or a 'hang' etc ?

Are your fillets very large or very small ?
Can you post an example SKP that fails for you, with instructs on the two edges to pick, the radius to use etc... It should work effortlessly.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Ben Ritter » Wed Sep 19, 2012 7:12 pm

TIG,

I don't have any of the plugins you mention except for the latest Podium version.

The sample skp file is attached along with the plugins I have installed.

The ruby console did not display anything prior to the crash.

Thanks.
Please, register (free) to access all the attachments on the forums.
Ben Ritter
 
Posts: 352
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Wed Sep 19, 2012 7:57 pm

It works fine for me. :?
Have you tried disabling Podium and retrying ?
I don't have these two either:
Raylectron
and
Omnigrid
[you seem to have TWO versions loading - surely you only need the one ?]
If you disable those what happens ?
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby Ben Ritter » Wed Sep 19, 2012 8:35 pm

TIG, thanks for your reply, and assistance. I uninstalled Podium, Raylectron and Omnigrid, and the fillet worked great. I then re-installed Podium and SU crashed. It's just strange that it is happening now when I've had both on my machine before and never had a problem.

Ben
Ben Ritter
 
Posts: 352
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

Re: [Plugin] 2D Tools v5.2 20120228

Postby bagatelo » Sat Sep 22, 2012 2:25 pm

I'm trying to use this plugin at first time.
Why "2D Fillet" erase the entire line?
Chamfer works OK.

My SU is 8.0.15158
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] 2D Tools v5.2 20120228

Postby Dave R » Sat Sep 22, 2012 3:11 pm

What is the radius of the fillet set to?
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9001
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Sat Sep 22, 2012 4:23 pm

It shouldn't erase any lines :? , except to trim them back to the arc of the radius specified.
The default radius is 0, this effectively makes the tool a trim/extend tool, entering a +ve radius will fillet any two coplanar edges that you click on, adding a guide-point at the new arc's center. Selected edges are trimmed/extended to suit.
The only time it might play up is if you pick two lines that are all-but-parallel and apply a large radius, but even then the lines should get replaced by the arc ?
Can you confirm your entered radius setting for the fillet [remembered with each SKP as the last used value] and perhaps post a simple example SKP of some lines that will fail for you, so we can test what's happening...
Because 'chamfer' is working OK, then I suspect you are misconstruing the fillet radius input option?
To change the number of segments you type Ns (+<enter>) where N might be 24 ... 24s; to enter the radius type a number (+<enter>) e.g. 123 which becomes the radius in the current Model Units, e.g. 123mm.
To enter a radius in units other that the current Model Units - e.g. you are working in 'm' but you want to type the fillet in 'mm' you just need to use a units suffix on the entered value - so typing 123mm (+<enter>) will make the radius 0.123m automatically... You could even model in ft/ins but type in some radii in 'mm' this way ! :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby bagatelo » Sat Sep 22, 2012 4:45 pm

Here you have my example file who works fine for Chamfer but not for fillet.
Yes, I not use zero cm for chamfer or fillet.
Please, register (free) to access all the attachments on the forums.
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] 2D Tools v5.2 20120228

Postby Dave R » Sat Sep 22, 2012 4:53 pm

Fillet success for me. Four times, four different radii.

FILLET FAIL.png


Hmmm.....

Is it possible there's a conflict with another plugin? Perhaps one of those known to cause problems?
Please, register (free) to access all the attachments on the forums.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9001
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Sat Sep 22, 2012 5:03 pm

Good point. :enlight:
If you have SketchyPhysics loading disable it, restart and retry fillet...
The current version of SP messes with some of the native API group manipulation tools [needed by this and many other tools to separate geometry during processing]... and thereby some legit scripts that are innocently expecting the API code to work as it should can fail***. I understand SP is undergoing a long overdue revamp and this issue WILL then hopefully be fixed...
Other 'suspects' include DrivingDimensions, Matchbox, SunPosition, some versions of Podium etc...

However since 'Chamfer' uses similar processes why is that working OK while 'Fillet' fails ??

***Do you get any Ruby Console error messages ?
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby bagatelo » Sat Sep 22, 2012 5:04 pm

Dave R wrote:Fillet success for me. Four times, four different radii.
Is it possible there's a conflict with another plugin? Perhaps one of those known to cause problems?


Now works for me...
I empty my plugins folder, and I left "2D tools" alone.

Now I have to discover what is the plugin who make this problem.

Thanks!
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] 2D Tools v5.2 20120228

Postby TIG » Sat Sep 22, 2012 5:06 pm

See my list - I suspect SP... :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Tools v5.2 20120228

Postby bagatelo » Sat Sep 22, 2012 5:35 pm

TIG wrote:See my list - I suspect SP... :roll:


SketchyPhysics
That's the problem
Thanks...
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] 2D Tools v5.3 20120929

Postby TIG » Sat Sep 29, 2012 3:57 pm

Here's v5.3 viewtopic.php?p=185760#p185760
The 2dFillet Tool has been recoded to avoid a rare splat, reported the other day, which occurs if another script in loaded that uses an EntitiesObserver.

The new BuildingEdgePlan tools being the 'culprit' that has revealed this issue.
So any tool can innocently use the API's currently ill-mannered EntitiesObserver class [although even the API advises that a ToolsObserver would be preferable solution to avoid crashes, but then they assume crashes when certain operations occur within that class's methods, but this is not correct - crashes occur because the class is loaded, even if it has no active methods whatsoever...].
Its use can thereby cause another script to crash unexpectedly - when it is doing the most innocent unconnected thing, like a doing a group.erase! on a temporary group shortly after making and copying it [incidentally the 'avoidance fix' is to use group.entities.clear!, which then auto-erases that now empty group when the model.commit_operation closes the block of code - splat-free].

This tool is now fixed but if any other tools display unexpected Bugsplats then please contact their author through the tool's thread, with details of what happens, it might be that other tools innocently fall victim to this too...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13971
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: ahmadeamiri, bart82, Devonja, frarce, gustavososa15, McGyver, radiacor, rossthompson, TIG and 11 guests