Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text on inside of cylinder #14

Open
aleung opened this issue Aug 7, 2018 · 3 comments
Open

Text on inside of cylinder #14

aleung opened this issue Aug 7, 2018 · 3 comments

Comments

@aleung
Copy link

aleung commented Aug 7, 2018

I want to put text on the inside of cup shape object. With text_on_cylinder the text I get is flipped (because it's for reading from outside). How can I make text readable from inside?

@brodykenrick
Copy link
Owner

Hi Leo,

I didn't have that case in mind when I coded this (it was very much about putting words ON objects and not inside) - but you might be able to do a trick with hacking the code and reversing the r1/r2 in the internal function/module.

This is the line of interest:
https://github.com/brodykenrick/text_on_OpenSCAD/blob/master/text_on.scad#L282

Good luck hacking - and if you have success perhaps look to make a text_inside_cylinder function and a pull request!

@brodykenrick
Copy link
Owner

oh, you might also just want to use a backwards font -- http://www.fontspace.com/category/backwards

@aleung
Copy link
Author

aleung commented Aug 7, 2018

@brodykenrick Thank for your prompt reply. I'll first try to 'hack' the code as you advised. Will send RP if I successfully make it.

BTW, what do you think of adding additional parameter side = "inner" | "outer" (default) rather than adding another function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants