• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] 3D Text Editor

Scheduled Pinned Locked Moved Plugins
194 Posts 48 Posters 164.8k Views
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.
  • D Offline
    driven
    last edited by 26 Oct 2014, 15:28

    @thomthom said:

    Have you seen indications that using Entities.add_3d_text base the quality on the size of the text?

    no, and just did some test and it doesn't, unfortunately...

    maybe it was todd's original $plugin that did, or just wishful thinking...

    if 3dText is your primary output, i.e. signage, then being able to increase precision would be good...

    john

    learn from the mistakes of others, you may not live long enough to make them all yourself...

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 26 Oct 2014, 22:08

      The extension use the max level of detail already. If anything the API need to allow higher output.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • G Offline
        Garry K
        last edited by 31 Jan 2015, 18:07

        3D text component uses text to name the text.
        3D text component stores settings so they are what they were last time.

        I like the fact that we can edit 3D text. It means we can store a component with dictionary attributes and then edit the text.


        component naming differences

        1 Reply Last reply Reply Quote 0
        • S Offline
          shake1
          last edited by 8 Feb 2015, 16:42

          Hi, is it possible to increase the number of segments (before place text)?
          Please make this addition.
          for example

          http://i.imgur.com/oRnBbNG.jpg

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 8 Feb 2015, 16:53

            As far as I know the tool already uses the maximum smoothness settings available through the API.

            TIG

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 8 Feb 2015, 17:11

              There's an alternative though. Make the text without extrusion and use Curvizard's Smooth Contours on the curves. I've done that on the S but not on the G in the screen shot.

              Screenshot - 2_8_2015 , 11_15_03 AM.png

              Screenshot - 2_8_2015 , 11_19_38 AM.png

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 8 Feb 2015, 17:31

                That's a solution, but any editing of the 3d-Text will lose the smoothing and it'll need redoing from scratch + extruding again.

                TIG

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 8 Feb 2015, 17:38

                  True. But if shake1 has to have smoother curves...

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 9 Feb 2015, 14:04

                    As far as I know thomthom uses the max smoothness available in the API's .add_3dText method.
                    But of course if thomthom were willing he could make the 3dText with no extrusion, then apply some customized smoothing methods to the edges, then pushpull all of the faces to the extrusion value.
                    I know thomthom has used some 'douglas_peucker' algorithms etc before to simplify/smooth curves...
                    Perhaps they or something similar would help ?

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      shake1
                      last edited by 9 Feb 2015, 14:09

                      @tig said:

                      As far as I know the tool already uses the maximum smoothness settings available through the API.

                      Hi Tig, my friend told me about the "maximum", but i think there are some news about how to work around this limitation.
                      Dave R - yes, i use Curvizard and BZ Convert to catmull spline, but it would be a bit to simplify the process of smoothing

                      is there any chance in the future to do more smoothing inside 3D Text Editor?

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Garry K
                        last edited by 10 Feb 2015, 04:29

                        Hi Tig - I used Douglas Peucker Algorithms back in the early 1990's with GIS. Actually it reduces the geometry through simplicity but doesn't actually increase the smoothness. My first experience with these was with Arc GIS and Map Objects etc. The overall process is to eliminate vertex that are very close to the prior vertex but do so without overly reducing the accuracy of the GIS path.

                        We used it before the US eliminated military GPS selective availability in 2007. After dropping SA and with the more storage and processing power we opted to reduce our reliance upon Douglas Peucker.

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 10 Feb 2015, 09:48

                          I had a sneaking suspicion that his Douglas-Peucker was for curve-simplification...
                          For smoothing he'll need algorithms like...
                          Butterworth
                          Kalman
                          Laplacian
                          Savitzky-Golay
                          Ramer-Douglas-Peucker
                          Kolmogorov-Zurbenko
                          etc

                          There are lots !
                          I wonder what Fredo uses in his tool ?
                          His code is so complex I can only see what half of it does !

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • tt_suT Offline
                            tt_su
                            last edited by 11 Feb 2015, 05:04

                            @tig said:

                            I had a sneaking suspicion that his Douglas-Peucker was for curve-simplification...

                            That's correct - I used it with the intent to simplify contour data from imported CAD drawings.

                            1 Reply Last reply Reply Quote 0
                            • V Offline
                              viru
                              last edited by 29 Apr 2015, 17:57

                              Hello,

                              I have 12 users that run this plugin on sketchup8. But sense sk8 is no longer going to work to pull in maps on June 1 I am working on getting all of the plugins that we use to be usable in sk15 with the least amount of work for my user (they like things simple). This seems to function the exact same as in SK8 my only question is there a way to have an icon on the tool bar or perhaps a custom tool bar that would bring this up instead of going to draw> 3d text editor every time?

                              Thanks,

                              Viru

                              Never mind I got this to work I had the correct files I just needed to change one file name to load them. 😆

                              1 Reply Last reply Reply Quote 0
                              • JClementsJ Offline
                                JClements
                                last edited by 2 May 2015, 18:28

                                Hi Thomas:

                                1.
                                If a fraction (ie., 1/2) or decimal (.5) is entered for the text size, then the UI gets broken.
                                Would it be possible to allow size values less than an inch? If not, then can you error-trap for this?

                                2.
                                When zoomed in, the screen display of the characters while you enter text in the UI may not be seen. Could there be an option to have the text centered in the SU window OR allow the user to click at a location in the SU window where the text is to be displayed?

                                John | Illustrator | Beaverton, Oregon

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Davidfi1
                                  last edited by 18 May 2015, 12:18

                                  Hi.
                                  Thank you for very useful plugin.

                                  I want to report a small bug in the plugin.
                                  The bug is in "Camera facing components" (see attached example 3D Text Bug.skp)

                                  If I try to edit the text inside this component -
                                  the new text is moved to face the camera - without the component moving.

                                  You can see very funny mistakes if try to edit while not facing the camera 😄

                                  P.S I am using Sketchup 2015 15.3.331 64-bit on win 7 & EI 11.

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kaas
                                    last edited by 12 Dec 2015, 09:09

                                    ThomThom,

                                    If I may ask... is there a solution for V16 to prevent this plugin losing focus to SketchUp? If you run this plugin, start typing, at some point the webdialog will loose focus and you're firing keyboard shortcuts instead... This makes working with your plugin a far lesser experience.

                                    I described the problem already here: http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=63669 and I found a simple fix (see the same topic - 7th post) but that fix seems to only work for simple code and not for more complex tools...

                                    I hope you know of a better solution...

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 15 Dec 2015, 16:05

                                      I'm afraid that I don't know how to handle the focus change in SU2016. I know they are looking at it internally, but I don't know what might change.

                                      Thomas Thomassen — SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        caronte01
                                        last edited by 24 Aug 2016, 20:22

                                        HI Thomthom,

                                        I've used this plugin a lot, and really really like it. It should replace the default text tool in sketchup. Thank you!

                                        I've been doing some 3d laser cutting lately, and have been using a lot of "engraving" fonts such as this one:
                                        http://www.ffonts.net/Machine-Tool-Gothic.font . The preview in windows font viewer is horrible, but in sketchup they work just fine. If I understand correctly, ttf fonts have to be closed shapes, but that makes for an ineffective engraving/cutting font.

                                        I usually create the text and then explode it/edit it to remove the last segment, so I get single line fonts. This is fine, but makes the text non editable after this. Is it possible to have an option in your plugin to use these kind of fonts and not close the loops / draw the last segment.

                                        Again, thanks a lot for all your work!

                                        Santiago

                                        engraving text.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 24 Aug 2016, 20:57

                                          The extension has very little control over how the text is drawn - it's all done by SketchUp.

                                          But there is an option to fill or not fill;


                                          2016-08-24_22h58_50.png

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

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

                                          Advertisement