sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] 2D Tools

    Scheduled Pinned Locked Moved Plugins
    785 Posts 178 Posters 462.6k Views 177 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TIGT Offline
      TIG Moderator
      last edited by

      At last, here's my updated v4.0...
      http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
      Main changes are:
      v4.0 20091122 'Debabelizer' added to all tools to ease locale language translation of text/dialogs/prompts/menus etc.
      ES and FR versions of lingvo [translation] files supplied in zip.
      ES version of 2D Tools-Help htm etc supplied in zip.
      2D Tools-Help expanded to cover recent changes and also to explain how to customize Help-htm and lingvo files to your locale; 2D Tools-Help now opens a locale suffixed version if it exists.
      2D Line-Style now offers user defined 'Custom Styles' by defining dots+spaces patterns; glitches whilst working inside groups fixed.
      2D Text miscellaneous glitches fixed.
      2D Face-Maker and 2D Hatching glitches whilst working inside groups fixed.

      The new deBabelizer.rb script must be put into the Plugins folder with the other files/folders, as directed in the instructions. If you use any half-decent zip program to extract all of the files/folders into the Plugins folder then it should put everything in the right place for you...

      Look out for additional [or updated] locale-lingvo files and help-htm files from third-parties: these will go into the ../Plugins/2Dtools/ folder...

      Feedback please...

      TIG

      1 Reply Last reply Reply Quote 0
      • D Offline
        dedmin
        last edited by

        There is no deBabelizer.rb inside the archive.

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          Damn! There is now...***
          Here's a copy of it too deBabelizer.rb
          ***The 8 of you who got the zip which was missing deBabelizer.rb please re-download from the main link or simply add this rb file to the Plugins folder - sorry for the problem - I'm tired... 😕

          TIG

          1 Reply Last reply Reply Quote 0
          • D Offline
            dedmin
            last edited by

            Get some sleep - we need You!! ☀ ☀

            1 Reply Last reply Reply Quote 0
            • juan974J Offline
              juan974
              last edited by

              hello,
              in help : 2DtoolsHelp.htm, the freehand icon is not the good one
              i ll try this plugin at work

              Juan974 (reunion island)

              juan974 (Réunion island)
              website : http://sketchucation.com/click.php?url=http://www.tarn.us

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                Here's v4.1 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
                There are minor corrections to the Help htm images etc...

                TIG

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  Here's v4.2 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
                  No changes to the main 'workings'... Just some minor changes to a few strings in Adjust/LineStyle/Tidyup and their lingvo files that weren't translating properly.

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dedmin
                    last edited by

                    Thanks, TIG! Seems You slept well ☀ ☀

                    1 Reply Last reply Reply Quote 0
                    • juan974J Offline
                      juan974
                      last edited by

                      hello tig,
                      great plugin,

                      • but line weight are locked in inch and i m drawing in millimeter, it s possible to have for example a 0.1 weight of the unit you use?
                      • pattern works fine
                      • drawing on selected plane could be fine too, on rotated plane, or select the plane with 3 points

                      i m thinking to not renew my autocad lt licence.

                      big thank you

                      Juan974 (reunion island)

                      juan974 (Réunion island)
                      website : http://sketchucation.com/click.php?url=http://www.tarn.us

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        @juan974 said:

                        hello tig,
                        great plugin,

                        • but line weight are locked in inch and i m drawing in millimeter, it s possible to have for example a 0.1 weight of the unit you use?
                        • pattern works fine
                        • drawing on selected plane could be fine too, on rotated plane, or select the plane with 3 points
                          i m thinking to not renew my autocad lt licence.
                          big thank you
                          Juan974 (reunion island)

                        I took the decision to set the line widths in fractions and multiples of an inch because lines only need 'relative' proportional thicknesses...
                        After all 1/4"=~6mm 1/2"=~12mm 1"=~1", 2"=~50mm 4"=~100mm etc
                        I originally had a set in mm to mimic the old 'Rotring' pens mm thickness 0.13,0.18,0.25,0.35,0.50,0.75,1.0,1.5,2.0,3.0,4.0,6.0,8.0 etc with x10 and x100 versions, but I eventually thought not to do it ...
                        IF there is enough pressure to introduce a 'mm' version I can do it [with a bit of tweaking] - it's easy to find the model's units and set to " or mm...
                        [Yo tomé la decisión de fijar el ancho de las líneas en las fracciones y múltiplos de las pulgadas ['inches'], porque sólo las líneas necesidad de espesores proporcional relativa ...
                        Después de todo 1/4"=~6mm 1/2"=~12mm 1"=~1", 2"=~50mm 4"=~100mm, etc
                        Originalmente tenía una serie en mm para imitar las viejas plumas 'Rotring' en 'mm' 0.13,0.18,0.25,0.35,0.50,0.75,1.0,1.5,2.0,3.0,4.0,6.0,8.0 etc con las versiones x10 y x100, pero finalmente he decidido no hacerlo...
                        Si no hay suficiente presión para introducir una versión de 'mm' puedo hacerlo [con un poco de ajustar] - es fácil encontrar unidades del modelo y se puso a las pulgadas o 'mm'...]

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • PixeroP Offline
                          Pixero
                          last edited by

                          Millimeters please. I have no idea on how inches and fractions and multiples work. Using that would be purge guess work for me.

                          Heavy pressure here. 💚

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            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.

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • BepB Offline
                              Bep
                              last edited by

                              Damm Tig your fast!!!! 👍 👍 👍

                              Bep

                              "History is written by the winners"

                              1 Reply Last reply Reply Quote 0
                              • juan974J Offline
                                juan974
                                last edited by

                                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 ...

                                juan974 (Réunion island)
                                website : http://sketchucation.com/click.php?url=http://www.tarn.us

                                1 Reply Last reply Reply Quote 0
                                • juan974J Offline
                                  juan974
                                  last edited by

                                  hello,
                                  i can't go under 1 mm for line weight ...


                                  Clipboard02.jpg

                                  juan974 (Réunion island)
                                  website : http://sketchucation.com/click.php?url=http://www.tarn.us

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    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 ! ☀

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • brookefoxB Offline
                                      brookefox
                                      last edited by

                                      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.

                                      ~ Brooke

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        @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...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • brookefoxB Offline
                                          brookefox
                                          last edited by

                                          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.'

                                          ~ Brooke

                                          1 Reply Last reply Reply Quote 0
                                          • I Offline
                                            IAGDint
                                            last edited by

                                            THANKS!
                                            Will try out this rb.

                                            Merry Christmas to all!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 39
                                            • 40
                                            • 10 / 40
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement