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

    [Plugin] 3D Text Editor

    Scheduled Pinned Locked Moved Plugins
    197 Posts 49 Posters 165.0k Views 48 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.
    • G Offline
      Garry K
      last edited by

      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
      • shake1S Offline
        shake1
        last edited by

        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
        • TIGT Offline
          TIG Moderator
          last edited by

          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
          • Dave RD Offline
            Dave R
            last edited by

            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
            • TIGT Offline
              TIG Moderator
              last edited by

              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
              • Dave RD Offline
                Dave R
                last edited by

                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
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  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
                  • shake1S Offline
                    shake1
                    last edited by

                    @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

                      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
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        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

                          @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

                            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

                              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

                                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

                                  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
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    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

                                      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
                                      • thomthomT Offline
                                        thomthom
                                        last edited by

                                        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
                                        • C Offline
                                          caronte01
                                          last edited by

                                          Hi Thomthom,

                                          thanks for the reply.

                                          Yes, but that option only removes the polygon, the lines are all drawn with or without filled polygon.

                                          So if I understand, text is created by sketchup directly, not by your plugin. What your plugin does is in a way, control the native sketchup 3d text tool, and keep a reference of the text content, so it can be changed afterwards.

                                          Not easy to change I guess, or, it should be changed directly in sketchup's core.

                                          02.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            Yes, it keeps track of the text and create it using a single API method: http://ruby.sketchup.com/Sketchup/Entities.html#add_3d_text-instance_method

                                            It's the UI that's the most complicated part of it - which isn't that complicated by itself.

                                            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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 7 / 10
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement