[Plugin] 3D Text Editor
-
Thomas,
I sent you a PM re UFT8 3dText on Yosemite...
The other thing I'm wondering is if scaling could be used to obtain higher vert count on curves...
i.e. use a scaled down container, but scale up the input values?
john
-
Have you seen indications that using Entities.add_3d_text base the quality on the size of the text?
-
@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
-
The extension use the max level of detail already. If anything the API need to allow higher output.
-
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.
-
Hi, is it possible to increase the number of segments (before place text)?
Please make this addition.
for example -
As far as I know the tool already uses the maximum smoothness settings available through the API.
-
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.
-
That's a solution, but any editing of the 3d-Text will lose the smoothing and it'll need redoing from scratch + extruding again.
-
True. But if shake1 has to have smoother curves...
-
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 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 smoothingis there any chance in the future to do more smoothing inside 3D Text Editor?
-
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.
-
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
etcThere 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 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.
-
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.
-
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? -
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.
-
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...
-
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.
Advertisement