[Plugin] 2D Tools
-
Here's v4.3 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
The 2D Line-Style Dialog now has Inch OR mm Widths displayed, depending on the Model's Units being Imperial or Metric. The Help htm files have also been updated to suit.
-
Damm Tig your fast!!!!
Bep
-
i try last version, for line weight i can t go under 1 mm because of the size of the screen, so i try whit the arrow key, same problem, i ll try on office tomorrow ...
-
hello,
i can't go under 1 mm for line weight ...
-
Juan974
You can't make a line under 1mm wide because that's the minimum size in metric that's set in the script !
For imperial it's 0.05" == 1.27mm = even worse !!!A line 1mm wide doesn't display very well at most expected 'scalings' of the view anyway - that's why there are no narrower options... why'd want a line that's so thin it's barely visible as it's often < 1 pixel ?
If you want thinner options then open and edit the 2DLineStyle.rb Ruby file in NotePad and find the two places where there a list of possible metric widths and add yours at the start - say 0.5... so
["1|2|4|5|8|10|20...
becomes
["0.5|1|2|4|5|8|10|20...
or whatever thinner line settings you want...
From there on in you'll have lines that are so thin you won't be able see them ! -
Since I haven't found a smarter way, I spent a long while tracing raster contours into a model and found the Z set and line tool to be good friends in that context.
Two items: 1. it would be nice to have a step-back, undo the last segment (only) that could be invoked without exiting the routine, and 2. that curious unwanted mini-segment that keeps inserting itself on occasion while drawing a series of connected 2d lines, perhaps that result of something I'm doing but such is not apparent.
-
@brookefox said:
Since I haven't found a smarter way, I spent a long while tracing raster contours into a model and found the Z set and line tool to be good friends in that context.
Two items: 1. it would be nice to have a step-back, undo the last segment (only) that could be invoked without exiting the routine, and 2. that curious unwanted mini-segment that keeps inserting itself on occasion while drawing a series of connected 2d lines, perhaps that result of something I'm doing but such is not apparent.No need for such manually intensive work?
A quick way to make one "contour line" is to make a very large flat rectangular face, much bigger than the terrain, and then group it.
Move it in the Z so it's at the right height for the contour - perhaps drawing some guide lines to help.
Now edit the face-group and select the face, right-click and choose 'Intersect with Model'.
The intersecting terrain will now make lines on the face.
You can edit the unneeded perimeter of the rectangle and any other faces.
Now you have a group containing the contour lines without having to draw any of it.
Explode the group to add the contour onto the terrain... BUT it might be best if it's kept separate...
It can be even easier - my ContourMaker.rb script does all of this automatically for you, making a set of contours at given heights above the Z=0... all collected inside one group: note that the terrain needs to be a group itself that is pre-selected, to do this...
I take it you are referring to the Freehand Tool in the glitch report - try the Line Tool [Polyline] instead... -
I'm not sure why you couldn't make those suggestions before I revealed my ignorance.., but thanks very much for them. I'm going to have to do some of that job over just for the joy of feeling the depth of it.
Alas, I was going from an imported JPG with 2d contours and creating a 3d model (I need a vectorizer). I think your tips assumed I was wanting to generate 2d contours from a 3d model.
@unknownuser said:
I take it you are referring to the Freehand Tool in the glitch report - try the Line Tool [Polyline] instead...
I was not clear here either: I was using the 2d line tool (which is the pline tool?) as I assumed the freehand would be more memory hungry, esp when the contours being created were 'sandboxed.' -
THANKS!
Will try out this rb.Merry Christmas to all!
-
I seem to be having a problem with the line style tool. If I draw 2d lines or a 2d circle and then try to apply a line style, I get some line artifacts that are part of the group. The style width was set to 5 in the attached jpg, but I get these artifacts with other settings as well. Any workaround to this issue? It is not a display issue as the extraneous line segments are real.
-
Thank you very much. Will be handy for quick details inside sketchup.
-
@rpaul said:
I seem to be having a problem with the line style tool. If I draw 2d lines or a 2d circle and then try to apply a line style, I get some line artifacts that are part of the group. The style width was set to 5 in the attached jpg, but I get these artifacts with other settings as well. Any workaround to this issue? It is not a display issue as the extraneous line segments are real.
This is the first report of this. I cannot reproduce it. Please give details of your setup e.g. PC, Vista, version of SUp etc... If possible can you send me a problem skp [by PM] so I can see if it's reproducible and work out what to do to stop it... -
I have made a hatch using the PATT_AR-BRSTD file. I named it PATT_AR-HRDWD, I modified the file in Photoshop and saved it. When I use it to hatch a face it looks to be compressed to the size of the PATT_AR-BRSTD. I have the new PATT_AR-HRDWD file attached. I would like to use this as a hatch since it is a wood floor hatch. Any help on why it is compressed in size when used in Sketchup would be greatly appreciated.
-
@amo said:
I have made a hatch using the PATT_AR-BRSTD file. I named it PATT_AR-HRDWD, I modified the file in Photoshop and saved it. When I use it to hatch a face it looks to be compressed to the size of the PATT_AR-BRSTD. I have the new PATT_AR-HRDWD file attached. I would like to use this as a hatch since it is a wood floor hatch. Any help on why it is compressed in size when used in Sketchup would be greatly appreciated.
The imported pattern is 'square'.
Use your image editor and copy the pattern till it's ~square... then it should 'tile' OK
Keep the pixel size ~ the same and 'square'... -
Hello!!
The first Thanks! for your marvellous plugin. I'm spanish user of SU, i have seen that the last version include spanish translation, my problem is that if i push on the help icon into SU, no it appears the help, i don't know why, i work in Mac, in the 2Dtools folder there is a file with this name "~$toolsHelp.htm" its contents is: "TIGTIG The Grants$(^±¤ï˜|ì*,%"
Can be the problem this? is a problem in the characters codification in Mac?
Waiting your answer, advanced Thanks!! -
@oxer said:
Hello!!
The first Thanks! for your marvelous plugin. I'm Spanish user of SUp, i have seen that the last version include Spanish translation, my problem is that if i push on the help icon into SUp, no it appears the help, i don't know why, i work in Mac, in the 2Dtools folder there is a file with this name "~$toolsHelp.htm" its contents is: "TIGTIG The Grants$(^±¤ï˜|ì*,%"
Can be the problem this? is a problem in the characters codification in Mac?
Waiting your answer, advanced Thanks!!Somehow a 'rogue' htm temporary file has got left in the zip file [unnoticed] - however, it's not needed at all and its existence shouldn't cause a problem. There should also be a file called
2DToolsHelpES.htm
and a matching folder of images etc, this is the Spanish help file that should load for you on clicking the help-button or picking the equivalent menu item. I've reattached it all of them in a zip file, to see if it helps.
Put everything [htm and folder] into the ../Plugins/2DTools/ folder
Can you open the Spanish htm file 'manually' - double-click on it - when outside of SketchUp ?
If you cannot then there is something that is not working properly in the 'help' file lookup.
Can you also copy/paste this line of text into the Ruby Console and report back what the result is...
Sketchup.get_locale.upcase
It will be fixable...De alguna manera un fichero 'truhán' temporal del htm se ha ido en el archivo 'zip' [inadvertido] - sin embargo, no es necesario en absoluto, y su existencia no debe causar ningún problema. También debería existir un archivo llamado
2DToolsHelpES.htm
y una carpeta de la adecuación a las imágenes, etc, este es el archivo de la ayuda española que debe cargar para que al presionar el botón de ayuda o de recoger el elemento de menú equivalente. He de volver a colocar todo en un archivo zip, para ver si ayuda.
Ponga todo [htm y carpeta] en el carpeta ../Plugins/2DTools/
Si no puede entonces hay algo que no funciona correctamente en la 'ayuda' de búsqueda de archivos.
¿Puede también copiar/pegar esta línea de texto en la Consola de Ruby e informar de lo que el resultado es ?...
Sketchup.get_locale.upcase
Se puede arreglar... -
thanks!
-
Here's v4.4 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Main change = LineStyle Tool, rare glitch, some dot patterns with 'spare' dot trapped:
also a glitch in Edit fixed [inch v. mm].
Some potential errors trapped in VCB input for some tools - these were so rare it was never reported.
-
TIG, I discovered your plugin today & WHAT A GREAT addition to sketchup THANK YOU ...really
hope to see more
-
Thank you, TIG.
Advertisement