Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

New Featurescript: PP Surface Text 2.0

13»

Comments

  • Rhett_RobinsonRhett_Robinson Member Posts: 142 PRO
    @dave_cowden I too have been enjoying your FS, although I have had the same issues with the cut out not working. From what I can tell in my own models, it seems that there is some sort of bug when a revolved cut is used. Is this FS something you maintain?
  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭
    Hi, Rhett!
    Yes, some other users have reported this issue-- I think its a bug, though i'm not sure why its started all of a sudden-- it worked well for a while.
    I do maintain this, but its on a volunteer basis, so i have not been able to make time for it in a while. its on my todo list though!
  • Glenn_BabeckiGlenn_Babecki Member Posts: 30 EDU
    Dave,

    Any progress on fixing the "cut out" feature of this script?  I'm pretty sure my configuration is not violating the parameters that are suggested in the error message.

    Thanks,
    Glenn
  • matti_suuronenmatti_suuronen Member Posts: 19 ✭✭
    It seems like the featurescript fails with "Raised New" when the text is just a single character. With more than one character it works ok, even though the text height is fixed.

    https://cad.onshape.com/documents/c01e7b0011921340a9964040/v/c6e683dca59c63d266ea4c5c/e/5a3cce3ebef9b5f9cd0f1c43?renderMode=0&uiState=664d872bab2b1408f46b100d


  • matti_suuronenmatti_suuronen Member Posts: 19 ✭✭
  • sean_trainor1988sean_trainor1988 Member Posts: 15 ✭✭

    What is "tracking" and "kerning" doing? Is there any way to add more fonts? This was the perfect tool for me to model a replacement Caravelle Step Light cover. I just couldn't find a great matching font

  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭

    hi @sean_trainor1988

    Unfortunately, it is not possible to install custom fonts in Onshape— that i know of. The fonts available are only those available already in Onshape.

    Kerning and Tracking related to fine-tuning spacing between letters. Oversimplifying somewhat, Tracking is the spacing between all leters, while kerning is individual spacing between each pair of letters. Tracking is a single number that will spread your letters out or squish them. Kerning, on the other hand, is a list of values, that specify/tine spacing between each individual pair of letters.

    Its very common to fine-tune kerning when you want something to look really nice— certain letter combinations dont look ideal sometimes. You can read more here:

    https://en.wikipedia.org/wiki/Kerning

    https://en.wikipedia.org/wiki/Letter_spacing

    In the example below the first couple of examples are setting ONLY tracking— see the 2nd row and third row with spacing changed.

    The last example using kerning— and is the one highlighted. Note that Kerning has to have a value for each character pair, and accomplishes squishing the C and h together, while the others are spread.

  • sean_trainor1988sean_trainor1988 Member Posts: 15 ✭✭

    Thanks for the explanation. I could see the effect Tracking was having but couldn't see what was happening with kerning. This makes more sense now.

  • Rhett_RobinsonRhett_Robinson Member Posts: 142 PRO

    @dave_cowden Any chance this would be solved by updating the FeatureScript Version from 559 to 2506 (the latest)? I came across this issue again and I have also been learning some FeatureScript myself, and I thought I might be able to copy your code and make my own tweaks to it, but ran into the issue of not having the text library that is imported at the top of the code.

  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭

    Hi @Rhett_Robinson I think its pretty reasonable to assume that an upgrade would fix it. Its fairly dated at this point!

    I keep meaning to get around to make a new version of this ,but I keep getting distracted. Let me see if I can make some time over the holidays.

  • nic_rnic_r Member Posts: 9

    Hi Dave, 

    thanks so much for this feature-tool, made really fun and saved me a lot of time. I only have a issue with a curved text with the letter "P". It ist slightly tilt and then it looks like a bigger gap to the other letters (sorry for beeing sooo picky here ;) ). Looks like that the mid-point for this letter is different and therefore doesn´t look like correct on a arc. On some fonts it´s not visible much, but on the "Roboto Slab bold" it does for me.

    Saw also here in the comments the picture with the sign from kevin_mason558 "CANS ONLY", the space between L and Y is bigger then to the other letters. Is it dificult to fix?

    Could you maybe adapt this in a future version please?

    Thanks in advanced

    Cheers Nic

  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭

    Hi @nic_r

    Unfortunately I can't address how certain letters look— i'm limited to what the Onshape font produce. When text is built, under the hood each letter is created separately using sketch.

    Spacing, however, is definitely fixable with the current version. Have a look at the kerning parameters— this allows you to tweak the spacing between every character individually (you must provide a kerning value between each letter, as a comma -separated list). This is very common in the typesetting space— lots of fonts commonly need tweaks between particular letter combinations to look nice.

  • ray_s994ray_s994 Member Posts: 2 EDU

    Hi , @dave_cowden

    Is there a way to update your FS with the latest set of Fonts provided by OnShape? I noticed the latest version of this FS has a subset of the latest OnShape font library. I'm looking for Poppins in particular but having all the latest fonts in your super useful FS would be amazing!

    Thanks in advance,

    Ray

  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭

    @ray_s994 Oh good tip! thanks for making me aware there are more fonts, i didnt know.

    I'll try to make time to get to this. I have a huge list of changes folks have asked for— i've just not gotten to it.

    In my defense if you have what First Robotics/FRC is, its CRAZYNESS until March!

    Its taking all my free time.

    I'll try to make it happen!

  • ray_s994ray_s994 Member Posts: 2 EDU

    Wow, that's an awesome competition. Thanks for the consideration and good luck with the event!!! 🍀

  • nathaniel_troutmannathaniel_troutman Member Posts: 5

    Any chance of getting a fix for it breaking part names/ids?

  • ben_partouchben_partouch Member, csevp Posts: 143 PRO

    Awesome. Thanks for sharing @dave_cowden

  • dave_cowdendave_cowden Member, Developers Posts: 478 ✭✭✭

    @nathaniel_troutman can you please give me a bit more info /example on your issue? I do not have time at the moment, but when i do another release i'll fix what i can.

Sign In or Register to comment.