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
Setting up Units for Millimetres #3695
Comments
The goal was to have millimetres setup properly, so I watched this video on how to set it up. How to : Setup Blender into millimetres (mm) - Blender Tutorial |
Correct.
This was not the case. New Cubes will be 2000 mm, the Cube that was 2 mm before would still be 2 mm on startup. Like I said in my steps to reproduce. |
Note: This may be a new build of Bforartists, and we are currently working on 3.6.2, so this may be an issue from earlier builds. Will try the appimage now. |
Here is a video of the steps (video had to be compressed so I could upload it, but is still readable): |
Confirmed, the appimage has the issue, but not the latest builds. 3.6.2 should come out later this week and this shouldn't be an issue. Must have been a Blender issue that bleed through, and a reason they did a point release. |
Thank you for the confirmation, and great to hear that its not present in the latest build. Will come back to confirm myself when it releases, and then close the issue if it is fixed. |
I have tested the steps in Blender 3.6.2, the issue remains. I also tested in the latest release candidate for Bforartists 3.6.2 appimage, same issue. But since this is now escalated to a Blender issue - there is not much we can do. I recommend you report this directly to Blender here: https://projects.blender.org/ |
Found blender 4.0.0 on the 28-08-2023 doesn't have the issue on Windows... so.. I really don't know what's up here, will postpone. Next weekend, could you test the devbuild? |
Tried to instal blender-develop-git from the aur. Like all the other blender packages on arch and the aur it failed to build. Not sure why this is the case, but I have a feeling it something to do with me using mesa-git drivers or something. As this was the case a while ago I opted to looking for an appimage for blender which lead me to bforartists. Sorry I cannot test blender 4.0.0/devbuild unless there is an appimage. |
Appimage for 3.6.2 is up. https://github.com/Bforartists/Bforartists/releases/tag/v3.6.2 |
The issue is still there in 3.6.2 AppImage. |
@Kagugara , @Draise14 , is this issue reported to Blender already? When it's a Blender bug then there is little that we can do except reporting it. |
Blender has now been fixed in the arch repository now allowing me to download the package. I have changed it to millimetres and it works as intended. This is blender version 3.6.4. This was already an issue reported to blender, I added to the issue linking to this issue for more information. So as its working now, I'm just waiting for an updated appimage. |
Many thanks @Kagukara. Blender 4 is at its way, and will arrive in around two weeks. And so will Bforartists 4. I hope that this version brings the fix then. |
This issue still persists in |
Would a build on an Arch distro help you test? I wonder if this is an issue due to compiling the Appimage from Debian based build - then trying to use it on an Arch distro? |
If I could get a PKGBUILD file that would be nice, as the bforartists packages on the aur are flagged out of date. Or if you're talking about building the appimage on an arch distro that might also help if its easier. |
Could you also check in Blender 4.1 per chance? |
The version on archlinux is 3.6.5 and if Blender 4.1 is the EDIT: I've posted a comment of my |
The problem here is that Blender 3.6.5 is version 3.6.5 of the code. But we are already at the Blender 4.1.0 code with Bforartists. And so this is no valid comparison. We would need to check if the problem also exists in the Blender 4.1.0 code. And for that we need a working Arch version compiled from the Blender master. We are simply in trouble here since nobody uses Arch in our team. And on top of it , Arch is a very own beast when it comes to compiling Blender / Bforartists as you just have found out. So it can happen that we will simply not find a solution here. |
I will close this now as known issue. There is unfortunately nothing that we can do at our end. |
I have been able to install blender 4.1.0 and this doesn't happen, it is only happening in bforartists. @ReinerBforartists |
Many thanks for getting back here. I could reopen it, but we have still simply no idea where this comes from :/ |
Would it be possible if someone on the bforartists team could maintain the aur package? As it could be an issue with the appimage and compiling from source maybe a possible fix. At the moment the https://aur.archlinux.org/packages/bforartists-git |
As told, we don't have any Arch users in our team anymore. The one who did this has left the team. And so we don't have somebody who is able to maintain it. Sorry. |
I have Garuda on virtual that may load Bforartists without GPU (last known working version: 3.6.2). It's an arch distro, maybe that can be troubleshooted there. Will do a compile and see. |
Try using distrobox, I just remembered that existed. I made a container using |
I got it working with distrobox inside a debian 12.5 container. I had to install Installed I redid the initial steps and still got the same result. That being when adding a new cube the dimensions: X,Y,Z = 2000mm instead of dimensions: X,Y,Z = 2mm. |
I've got Hyper-V working on W11 and it is accessing the GPU nicely - so Bforartists loads there now. So I will make the environment and try compile from source, see if it's the Appimage or something else. This is really obscure, because technically we haven't touched this part of the code that would store or do alter anything like this. |
Ok, can confirm, this issue persists in the Windows build too. This is a frustrating one, because the code to add geo is identical to Blender, and there is no error. |
Ok, double checked in Blender. Same issue. So yeah, this is a blender issue from main. @Kagukara Please report to Blender! I can maybe report it tomorrow. |
Its already reported here: https://projects.blender.org/blender/blender/issues/108385 as I said in this comment: #3695 (comment)
How come the issue doesn't happen in Blender for me though? I've tried it in 3.6.5, 4.0.2, 4.1 and 4.2. |
blender_SMQS5Fvrp4.mp4
This is from a build in the Blender main from yesterday. I think the size of the default object being unpredictable, as yes, it is unpredictable... is probably a bug and unintended UX directly inherited from Blender. Looking at the code, everything should be created to 1 scene unit in each axis (2 scene units total). Scene units are agnostic to the display of the scene unit scale for the measurements ratio, agnostic to the measurement type, and agnostic to the grid view, or should be agnostic. The geometry are set by one scene unit scale on all axis (+1x, -1x, +1y -1y +1z -1z). blender_KnxPTZoZuq.mp4This will have to be fixed by upstream from Blender directly, since the unpredictability can be reproduced in Blender. And to clarify, the scene unit is relative to when you re-update the depsgraph, so when you save the startup, instead of building to 0.001 of that sessions scale of a scene unit, the new scene scale becomes 1 again, and the scene unit display will then show 0.2mm instead of 20mm for that same cube stored in the startup blend, because it is resetting the internal scene units to 1 again. I think that would be the core issue from Blender and why it "appears" to work. If you store the new startup yet again, then 0.2mm for a scene unit will then load up to be 0.0002, unless you put the scene units scale back to 1 again... Ngl, that's a really odd and broken UX. |
I don't quite understand what you've said but, it looks like you know what is going on and understand whats happening. As to how its working for me I've provided a video: millimetres.mp4Video converted to 1920x1080 millimetres-1080.mp4Before doing "Save Startup File" the cube shown as larger (dimensions: X,Y,Z = 2000mm), once you've "Save Startup File" and restarted blender all newly created cubes are now dimensions: X,Y,Z = 2mm. Doing this in bforartists keeps the dimension at 2000mm even after doing "Save Startup File" and restarting. Are you able to replicated this? EDIT: Didn't realise the video cut off before the end, re-uploaded it and should be fine now. |
Thank you for looking at this further and providing a more in-depth explanations. If bforartists is working as intended, how would I go about setting up millimetres so that when you add a cube it adds it at 2x2x2mm with the grid being 1mm per square? Is there a setting to change the default size the objects are being added as or is it not possible/a different way? |
I've also updated the video so it doesn't cut off, from my understanding and the video I still get a different result from the latest tests you've provided. |
This would imho be a job for an addon then. Not the main UI. We promised feature parity with Blender. And this one could bring us into trouble. But this would be a new task then. The initial task, well, it is nothing that we could fix at our end. It is a fundamental how Blender works. Can we close it? |
Will add it to the power user tools addon. |
When setting up Bforartists for millimetres it doesn't recognise the already set parameters if an object (Cude for instance) hasn't been placed, or after quitting and reopening the application. I have tested this on version
3.6.1
and3.6.0
AppImages.Steps to Reproduce
At step 13 the only way for the Cube to be scaled properly is to Load Factory Settings and redo steps 2 → 8. Load Factory Settings doesn't delete the
startup.blend
file in~/.config/bforartists/4.0/config/
so you'll have cubes set to 2000 mm unless you either Load Factory Settings or remove thestartup.blend
from~/.config/bforartists/4.0/config/
.Temporary Fix
Just have to work in meters for the time being.
System Information
Arch Linux
6.4.11-arch2-1
AMD Radeon RX 7900 XTX (gfx1100, LLVM 18.0.0, DRM 3.52, 6.4.11-arch2-1)
4.6 Mesa 23.3.0-devel (git-71a2d651c1)
Bforartists-3.6.1.glibc2.28-x86_64.AppImage
The text was updated successfully, but these errors were encountered: