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

[Bug] #966

Open
bvfhur opened this issue Dec 20, 2024 · 4 comments
Open

[Bug] #966

bvfhur opened this issue Dec 20, 2024 · 4 comments
Assignees

Comments

@bvfhur
Copy link

bvfhur commented Dec 20, 2024

System

UVtools v5.0.2 X64
Operative system: Microsoft Windows 10.0.26100 X64
Graphic card: 
Processor: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
Processor cores: 8
Memory RAM: 6.67 / 11.75 GB
Runtime: win-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe
Loaded file: Crab20a20presupported.stl_0.05_3.2_2024_12_20_12_40_00_03h25m_4ml_copy.cxdlp [Version: 3] [Class: CrealityCXDLPFile]

Printer and Slicer

  • Printer:
  • Slicer:

Description of the bug

pixel editor in line push format is off by2 pixels

How to reproduce

1 go to the pixel editor
2 select line brush shape
3 "2" bush size

Files

No response

Copy link

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

@sn4k3
Copy link
Owner

sn4k3 commented Dec 20, 2024

You mean compared to the preview?
In drawing it does exactly two pixels for me, as well as 3 and 4 does exactly that pixel count.

However I know openCV line is not perfect, some times it does more or less 1 pixel than selected, this is a issue from openCV that I can't resolve. Currently UVtools does some kind of compensation but not always match the selected pixels count

@bvfhur
Copy link
Author

bvfhur commented Dec 20, 2024

yes just compared to the preview its off, the drawn pixels are aligned correctly

@sn4k3
Copy link
Owner

sn4k3 commented Dec 20, 2024

Yes, I know about that, is not easy to make it right, they are two different draw engines and even with offset to make it on correct place it will displacement in some cases

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