Incorrect scale of created bolts. #83322

Open
opened 2020-12-02 15:28:28 +01:00 by Nanomanpro · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: blender/blender@c113af8288

Addon Information
Name: BoltFactory (0, 4, 0)
Author: Aaron Keith

Short description of error
BoltFactory generates 1000 times too large bolts.
For example, for the M8 preset, the thread diameter should be 8 mm, but at this point it is 8000 mm.
Generally, this would not be too much of a problem, as you can shrink the object by 0.001, but if you accept the new scale after this operation, when you re-edit the bolt (rmb - Change Bolt), it reverts to its original 1000 times larger size.

Exact steps for others to reproduce the error
1 - Add Bolt
2 - Scale 0,001
3 - Apply Scale
4 - RMB - Change bolt

Thx

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: `blender/blender@c113af8288` **Addon Information** Name: BoltFactory (0, 4, 0) Author: Aaron Keith **Short description of error** BoltFactory generates 1000 times too large bolts. For example, for the M8 preset, the thread diameter should be 8 mm, but at this point it is 8000 mm. Generally, this would not be too much of a problem, as you can shrink the object by 0.001, but if you accept the new scale after this operation, when you re-edit the bolt (rmb - Change Bolt), it reverts to its original 1000 times larger size. **Exact steps for others to reproduce the error** 1 - Add Bolt 2 - Scale 0,001 3 - Apply Scale 4 - RMB - Change bolt Thx
Author

Added subscriber: @Nanomanpro

Added subscriber: @Nanomanpro

Added subscriber: @cwolf3d

Added subscriber: @cwolf3d

This is not a bug. Do not apply scale before clicking "Change Bolt". The addon remembers the parameters, and after pressing "Change Bolt" returns to them, it does not take any other changes.

This is not a bug. Do not apply scale before clicking "Change Bolt". The addon remembers the parameters, and after pressing "Change Bolt" returns to them, it does not take any other changes.
Author

I'm not sure, but it seems to me that the values included in "custom properties" are probably expressed in old blender units, where one unit was actually 1 meter.
In technical projects, I often use the "Apply Scale" command on many selected objects, so in the case of bolts, saving them to the 0.001 scale is sometimes difficult.

I'm not sure, but it seems to me that the values included in "custom properties" are probably expressed in old blender units, where one unit was actually 1 meter. In technical projects, I often use the "Apply Scale" command on many selected objects, so in the case of bolts, saving them to the 0.001 scale is sometimes difficult.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

The presets don't account for scene units, so the value will always be equivalent to a multiple of a meter. This could be adjusted to account for units, but I will leave it up to the developer to decide if this should be considered a bug or not.

The presets don't account for scene units, so the value will always be equivalent to a multiple of a meter. This could be adjusted to account for units, but I will leave it up to the developer to decide if this should be considered a bug or not.

@nickberckley, what should happen to these two issues now that they are addressed in the other repo?

@nickberckley, what should happen to these two issues now that they are addressed in the other repo?

I don't have rights on this repo I can't close them. Maybe if somebody is super interested in fixing those for 3.6 LTS will take a look. Its fine to leave it open

I don't have rights on this repo I can't close them. Maybe if somebody is super interested in fixing those for 3.6 LTS will take a look. Its fine to leave it open

I didn’t even think of 3.6… good catch… I was just wanting to address the overall issue count. Who is the 3.6 LTS maintainer so we can bring this to their attention?

I didn’t even think of 3.6… good catch… I was just wanting to address the overall issue count. Who is the 3.6 LTS maintainer so we can bring this to their attention?
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#83322
No description provided.