Square didn't close with the Mesh: Snap_Utilities_Line addon #100807

Closed
opened 2022-09-04 03:44:52 +02:00 by Glen Charles Rowell · 10 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-03 00:06, hash: blender/blender@0348bc88e4
Worked: (newest version of Blender that worked as expected)

Short description of error
Square didn't close with the Mesh: Snap_Utilities_Line addon

Exact steps for others to reproduce the error
Draw a square on the XY axis then one connected on the XZ axis. After that another behind the vertical square. The orange line was showing indicating it would close the shape but it didn't. After that I tried turning it into a triangle and 1/2 closed but it is impossible to close the shape near the vertical square.
line problem.blend

Screen Shot 09-04-22 at 10.39 AM.PNG

Screen Shot 09-04-22 at 10.39 AM 001.PNG

Screen Shot 09-04-22 at 10.40 AM.PNG

Screen Shot 09-04-22 at 10.40 AM 002.PNG

Screen Shot 09-04-22 at 10.40 AM 001.PNG

Screen Shot 09-04-22 at 10.40 AM 003.PNG

Screen Shot 09-04-22 at 10.41 AM 003.PNG

Screen Shot 09-04-22 at 10.41 AM.PNG

Screen Shot 09-04-22 at 10.41 AM 001.PNG

Screen Shot 09-04-22 at 10.41 AM 002.PNG

Screen Shot 09-04-22 at 10.41 AM 004.PNG

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-03 00:06, hash: `blender/blender@0348bc88e4` Worked: (newest version of Blender that worked as expected) **Short description of error** Square didn't close with the Mesh: Snap_Utilities_Line addon **Exact steps for others to reproduce the error** Draw a square on the XY axis then one connected on the XZ axis. After that another behind the vertical square. The orange line was showing indicating it would close the shape but it didn't. After that I tried turning it into a triangle and 1/2 closed but it is impossible to close the shape near the vertical square. [line problem.blend](https://archive.blender.org/developer/F13457153/line_problem.blend) ![Screen Shot 09-04-22 at 10.39 AM.PNG](https://archive.blender.org/developer/F13457165/Screen_Shot_09-04-22_at_10.39_AM.PNG) ![Screen Shot 09-04-22 at 10.39 AM 001.PNG](https://archive.blender.org/developer/F13457166/Screen_Shot_09-04-22_at_10.39_AM_001.PNG) ![Screen Shot 09-04-22 at 10.40 AM.PNG](https://archive.blender.org/developer/F13457167/Screen_Shot_09-04-22_at_10.40_AM.PNG) ![Screen Shot 09-04-22 at 10.40 AM 002.PNG](https://archive.blender.org/developer/F13457168/Screen_Shot_09-04-22_at_10.40_AM_002.PNG) ![Screen Shot 09-04-22 at 10.40 AM 001.PNG](https://archive.blender.org/developer/F13457169/Screen_Shot_09-04-22_at_10.40_AM_001.PNG) ![Screen Shot 09-04-22 at 10.40 AM 003.PNG](https://archive.blender.org/developer/F13457170/Screen_Shot_09-04-22_at_10.40_AM_003.PNG) ![Screen Shot 09-04-22 at 10.41 AM 003.PNG](https://archive.blender.org/developer/F13457171/Screen_Shot_09-04-22_at_10.41_AM_003.PNG) ![Screen Shot 09-04-22 at 10.41 AM.PNG](https://archive.blender.org/developer/F13457172/Screen_Shot_09-04-22_at_10.41_AM.PNG) ![Screen Shot 09-04-22 at 10.41 AM 001.PNG](https://archive.blender.org/developer/F13457173/Screen_Shot_09-04-22_at_10.41_AM_001.PNG) ![Screen Shot 09-04-22 at 10.41 AM 002.PNG](https://archive.blender.org/developer/F13457174/Screen_Shot_09-04-22_at_10.41_AM_002.PNG) ![Screen Shot 09-04-22 at 10.41 AM 004.PNG](https://archive.blender.org/developer/F13457175/Screen_Shot_09-04-22_at_10.41_AM_004.PNG)

Added subscriber: @Glen-Rowell

Added subscriber: @Glen-Rowell
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Animation line closing.gif

Animation line not closing.gif

![Animation line closing.gif](https://archive.blender.org/developer/F13460070/Animation_line_closing.gif) ![Animation line not closing.gif](https://archive.blender.org/developer/F13460071/Animation_line_not_closing.gif)

Animation line su closing.gif the color change when the axis is snapped or locked looks nice here.

![Animation line su closing.gif](https://archive.blender.org/developer/F13460100/Animation_line_su_closing.gif) the color change when the axis is snapped or locked looks nice here.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

Changed status from 'Needs Triage' to: 'Confirmed'
Germano Cavalcante self-assigned this 2022-09-05 16:32:02 +02:00

Thanks for the report, but note that the create faces feature is not really equivalent to Sketchup (eg edges don't have to be coplanar).

This feature uses Blender's built-in operator called bmesh.ops.edgenet_fill. (See https://docs.blender.org/api/current/bmesh.ops.html#bmesh.ops.edgenet_fill).

This operator only works with loose edges (wire) and boundary edges (which are edges attached to only one face).

Therefore, to do what is proposed in the report, it would be necessary either to create an equivalent operator in Python, which would be very complicated and time-consuming, or to create workarounds to temporarily disconnect the edges.

It's not really a bug, but it seems worth working on the workaround.

Thanks for the report, but note that the `create faces` feature is not really equivalent to Sketchup (eg edges don't have to be coplanar). This feature uses Blender's built-in operator called `bmesh.ops.edgenet_fill`. (See https://docs.blender.org/api/current/bmesh.ops.html#bmesh.ops.edgenet_fill). This operator only works with loose edges (wire) and boundary edges (which are edges attached to only one face). Therefore, to do what is proposed in the report, it would be necessary either to create an equivalent operator in Python, which would be very complicated and time-consuming, or to create workarounds to temporarily disconnect the edges. It's not really a bug, but it seems worth working on the workaround.

This issue was referenced by 0cd92169d4

This issue was referenced by 0cd92169d40ae1c7e103ff269e850eaf1b901646

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

I tested your workaround and it works very nicely in this situation. Thank you so much for that Germano. Now it's possible to close shapes touching other edges. I love work arounds.

Animation lines closing.gif

I don't completely understand blenders 3D mesh system yet even after reading the explaination online and also asking Pablo on YouTube/Blender Today but is it possible to disconnect other edges like you have now so shapes can become faces without having to fully redraw shapes? Kind of like remeshing a broken STL file for 3D printing or cleaning up broken edges? Just adding the missing line/edges to fill/close shapes would be great.

sfaLM.png

{F13609152}images.jpg

We finally have a working line tool for making 3D objects now though. Just a few more tweaks and it's perfect. For example, slightly better auto axis locks when we move roughly where the line should be. X, Y and Z. The auto X and Y locks are nice on a plane but not after moving up in the Z axis and there is no auto Z axis lock.

When you say edges don't have to be coplanar, what do you mean by that? If I'm drawing things like triangular pyramids, I can draw noncoplanar things in both SketchUp and Blender, right? Or do you mean something else. Sorry if I don't quite get what you mean, I'm still learning.

I tested your workaround and it works very nicely in this situation. Thank you so much for that Germano. Now it's possible to close shapes touching other edges. I love work arounds. ![Animation lines closing.gif](https://archive.blender.org/developer/F13462471/Animation_lines_closing.gif) I don't completely understand blenders 3D mesh system yet even after reading the explaination online and also asking Pablo on YouTube/Blender Today but is it possible to disconnect other edges like you have now so shapes can become faces without having to fully redraw shapes? Kind of like remeshing a broken STL file for 3D printing or cleaning up broken edges? Just adding the missing line/edges to fill/close shapes would be great. ![sfaLM.png](https://archive.blender.org/developer/F13609157/sfaLM.png) {[F13609152](https://archive.blender.org/developer/F13609152/images2.jpg)}![images.jpg](https://archive.blender.org/developer/F13609151/images.jpg) We finally have a working line tool for making 3D objects now though. Just a few more tweaks and it's perfect. For example, slightly better auto axis locks when we move roughly where the line should be. X, Y and Z. The auto X and Y locks are nice on a plane but not after moving up in the Z axis and there is no auto Z axis lock. When you say edges don't have to be coplanar, what do you mean by that? If I'm drawing things like triangular pyramids, I can draw noncoplanar things in both SketchUp and Blender, right? Or do you mean something else. Sorry if I don't quite get what you mean, I'm still learning.
Sign in to join this conversation.
No Milestone
No project
4 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#100807
No description provided.