A little plugin for colored edge and dotted lines. Thanks to Fredo for help, Jim Foltz for clinetools.rb and TIG for his plugin ListeLayerColors
For the dotted line, the plugin use the curve fonction for keep faces
Name : ChrisP_ColorEdge Original Date : 14 May 2010 version 0.0 Type : Plugin Description : Edge colored Usage : By ToolBar Version 0.1.0
Fonction : Draw line single color by click Draw axis color line by click colorizes line with a single color, by selecting or all entities colorizes line with axis color, by selecting or all entities Dotted colored line by selecting or all entities Angles colorizes
Use TAB key to modify tool's parameters
ColorEdge.png
Please wait few seconds and click on the text message to continue
**13/06/2010 Version 0.1.1 ** Fixed an error related to the translation into English with the use of the default color **14/06/2010 Lite version ** add a lite version only with 8 basic colors **17/06/2010 Version 0.2.0 ** add the possibility to colorize angles Edge by edge per click Edges connected to a face by clicking on the face All edges connected by double-clicking on face or edge **25/06/2010 Version 0.2.2 ** Adding the management layer Draw an edge by layer, with a color of your choice or the color of the active layer. Recolor the edges by layer’s filter, with a color of your choice or the color of the active layer. Dotted lines by layer’s filter Thank to TIG for his plugin ListeLayerColors
**26/06/2010 Version 0.2.2 ** Add new icons designed by Cadfather, much prettier than mine Thank Max **14/07/2010 Version 0.2.3 ** Fixed problem layer's observer
Enjoy
Christophe
ChrisP_ColorEdge_ICONS.rar
ChrisP_ColorEdge_0.2.3.zip
ChrisP_ColorEdge_EN_0.2.3.zip
ChrisP_ColorEdge_EN_lite_0.2.3.zip
Please, register (free) to access all the attachments on the forums.
Last edited by c.plassais on Wed Jul 14, 2010 9:16 pm, edited 25 times in total.
Amazing script Christophe - Thank you for sharing!
can i suggest an addition: while drawing the coloured edges it would be great if you could also choose any angle yourself enter an angle - assign it a colour, and voila! no need of the protractor..
Is this plugin only for wireframe models, or can one use it to colour the edges of models with faces? There is an icon in the toolbar which appears to be unused at the moment (multi-coloured checkerboard face). What does this do?
The functionality offered by the plugin is very interesting, but where might one use it? Am I being dense?
Sorry if I dont understand everything I am a Frenchy and it is a real handicap I am newbie with English and ruby
In response to your comments :
Cadfather
About protractor, the difficulty is the accuracy with the mouse to find the right angle with inference no problem. But I'll try. Colorize only corners no problem, it’s fairly easy and it's a good idea
Cmeed
What do you mean to colour by profile ? I see you using Mac, so no problem with the plugin apparently?
Watkings
no problem for use on the edges of a face. The only restriction is if you do a push pull on the face, must be weld segments and after dotted repeat The last icon is just for information, it is the color chart
Ken
I posted a "lite" version with only 8 basic colors
thank you Chris.. love this script - i now have plan lines in green, elevations in blue and pink, makes intersecting 2d cad information easier (really sketchup fun changing the colours )
if the snapping of the lines could be controlled this could be a great tool to draw strange plans at various angles
I trick for color by profile. Not very smooth, but if you have to tools it works nice.
- Work as normal in SketchUp - Drop views into Layout - Export from Layout as vector PDF - Import into Adobe Illustrator - Select "Final all lines with same width" - You can now isolate them and color or alter as desired
note: If you have depth cue turned on in SketchUp this won't work as line widths will not all be the same.
David
--
David Goldwasser OpenStudio Developer National Renewable Energy Laboratory
Adding the management layer Draw an edge by layer, with a color of your choice or the color of the active layer. Recolor the edges by filtering by layer, with a color of your choice or the color of the active layer. Dotted lines by filtering by layer Thank you to TIG for his plugin ListeLayerColors