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

Add a straight line / curved line painting features #219

Open
VergilUa opened this issue Nov 15, 2019 · 5 comments
Open

Add a straight line / curved line painting features #219

VergilUa opened this issue Nov 15, 2019 · 5 comments

Comments

@VergilUa
Copy link

VergilUa commented Nov 15, 2019

Just purchased ArmorPaint, its a cool piece of software.
So this feature might be already available, but I can't find it.

It would be nice to have a straight line painting feature for the brushes for painting some hard edgy models.

As well as curved line brushes (e.g. bezier).

Holding shift produces rather interesting results:
GIF
I think its a bug?

@VergilUa
Copy link
Author

VergilUa commented Nov 15, 2019

If anyone finds this in the google, I've used AHK (AutoHotkey) script as a workaround to draw a line:

https://pastebin.com/u0gkCxrX

Usage - press tilde (~ or `) key to start a line, lift the key to end the line.
Unfortunately, w/o preview its quite hard to draw them blindly (requires a bit of ctrl+z), but its better than not having line tool at all.

I'm pretty sure it should be possible to implement via plugins, but I haven't digged into them yet.

@luboslenco
Copy link
Member

Added some basic line drawing functionality in latest 0.7 dev builds - hold shift key (brush ruler) + click with mouse / pen to draw the line. Will need more refinement to work better on steep / curved surfaces.

@VergilUa
Copy link
Author

VergilUa commented Nov 20, 2019

Will need more refinement to work better on steep / curved surfaces.

Its the Angle Reject that is messing around with the painting. Disabling it allows 90 degree edges painting just fine (well, kinda).

Also, lines look like lines only if they're painted multiple times unfortunately. Its either brush itself, or the projection / camera angle. So yeah, it does need a bit of refinement.

@luboslenco
Copy link
Member

It basically paints a capsule between 2 points when 3D cursor is enabled. If the capsule pierces the mesh the stroke is gone due to higher depth than the surface point. 2D cursor does not have this behavior.

Also, lines look like lines only if they're painted multiple times

Thanks for info! Will fix that as well.

@joerno
Copy link

joerno commented May 19, 2020

I also looking for this feature, I would like to paint some curved crease but I don't know how.

image

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

No branches or pull requests

3 participants