Bolt Factory: Holes in geometry with different number of subdisivions #84071

Open
opened 2020-12-23 08:05:54 +01:00 by John · 3 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14757 Core Profile Context 20.12.1 27.20.14501.28009

Blender Version
Broken: version:

  • 2.92.0
  • 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: blender/blender@0f45cab862
  • 2.90.1
    Worked: Never?

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

Short description of error
The Bolt Factory add-on produces non-manifold meshes with holes in between bolt head and bit.

Exact steps for others to reproduce the error

  • Enable the Bolt Factory add-on
  • Create a bolt.
  • Set the Head to anything other than Hex.
  • Set the Bit Type to anything other than None.
  • Increase or decrease the Div count
  • Observe the edge loop between the head and bit. Switch into edit mode, deselect everything and use Select > Select All by Trait > Non Manifold to see the problematic edge loop more clearly.

Bolt example.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14757 Core Profile Context 20.12.1 27.20.14501.28009 **Blender Version** Broken: version: - 2.92.0 - 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `blender/blender@0f45cab862` - 2.90.1 Worked: Never? **Addon Information** Name: BoltFactory (0, 4, 0) Author: Aaron Keith **Short description of error** The Bolt Factory add-on produces non-manifold meshes with holes in between bolt head and bit. **Exact steps for others to reproduce the error** - Enable the Bolt Factory add-on - Create a bolt. - Set the *Head* to anything other than *Hex*. - Set the *Bit Type* to anything other than *None*. - Increase or decrease the *Div count* - Observe the edge loop between the head and bit. Switch into edit mode, deselect everything and use *Select > Select All by Trait > Non Manifold* to see the problematic edge loop more clearly. [Bolt example.blend](https://archive.blender.org/developer/F9526369/Bolt_example.blend)
Author

Added subscriber: @Kvarkoff

Added subscriber: @Kvarkoff
Robert Guetzkow changed title from Holes in geometry of bolts to Bolt Factory: Holes in geometry with different number of subdisivions 2020-12-23 13:40:54 +01:00

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Here is my attempt at a solution.
It works by adding an extra ring in the model mapping from the fixed number of points used to generate the Nut and the variable number of points specified in the Div Count value on the GUI for the thread.
The resultant mesh has the gap then filled using triangles.
Nut_manifold_Tris.png
Is Tris acceptable like this?
I understand it's considered bad, but where an object will be used to modify something else, however manifold should be more important. Also 3D printing hates non-manifold objects.

Why did I end up using triangles?

  1. A general solution needs to be able to handle any number of points in either circle.
  2. Making all triangles was easier for me.
  3. Keeping track of the position around the circle and inserting extra points might work.
  4. I'm not a software engineer, I'm working within my python skills!
Here is my attempt at a solution. It works by adding an extra ring in the model mapping from the fixed number of points used to generate the Nut and the variable number of points specified in the Div Count value on the GUI for the thread. The resultant mesh has the gap then filled using triangles. [![Nut_manifold_Tris.png](/attachments/4c53b38f-fb49-45e4-8c49-96c442c92421)](url) Is Tris acceptable like this? I understand it's considered bad, but where an object will be used to modify something else, however manifold should be more important. Also 3D printing hates non-manifold objects. Why did I end up using triangles? 1. A general solution needs to be able to handle any number of points in either circle. 2. Making all triangles was easier for me. 3. Keeping track of the position around the circle and inserting extra points might work. 4. I'm not a software engineer, I'm working within my python skills!
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#84071
No description provided.