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] Generated geometry is incorrect and cannot be properly extruded using the solidify modifier #447

Open
wipmate opened this issue Feb 13, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@wipmate
Copy link

wipmate commented Feb 13, 2024

Description

When creating a geometry using 2D arcs in a specific arrangement, the resulting bezier/mesh has some artifacts which make it difficult to continue working with the generated mesh.

Steps to reproduce:

  1. Create new blender project
  2. Sketch shapes using 2D arcs and lines (must have some complexity, e.g. as shown in the attached video)
  3. Convert the sketch to a mesh
  4. Apply the "Solidify" modifier and increase thickness to observe the artifacts
Blender.Sketcher.Bug.Report.mp4

Download the model as shown in the video:
broken_sketch_solidify.zip

(Apparently I don't get any logs from the plugin.)

PS: Huge shoutout to this project, it has already served me well in the past and I hope to continue my work with it!

Addon Version

0.27.3

Blender Version

4.0

Platform

Windows

@wipmate wipmate added the bug Something isn't working label Feb 13, 2024
@dtremain
Copy link

This is similar to my issue #440. I have reproduced this bug using points and lines, and changing the Mesh Curve Resolution to 1 did not "fix" it. The .zip contains the .blend file and a .txt file that describes the steps I used to create it.
Bug440.zip
bs_Shaft2Err

I can create a cross shaft using two sketches - one a horizontal rectangle, the other a vertical rectangle, and then boolean UNION them together.
You MUST use the Point / Line approach if you encase the plus object (shaft) in a circle to get a bore because the two union'ed rectangles do not work.

@jmsunseri
Copy link

i'm experience a similar issue (see sketch) with a bunch of holes in a flat plane . i tired the "trick" to see if different mesh curve resolutions would solve the issue but so far i'm unable to find one. the best i can tell it's an issue with face orientation so that the solidify is happening in the opposite direction indicated by the offset
image

image

This is a serious blocker. Anything aside from the simplest topology results in issues.

I seem to be able to manually work around the issue for now by extruding manually

@Miguel-Rodrigues
Copy link

Miguel-Rodrigues commented Aug 29, 2024

A workaround that I documented on the Discord before is to remesh the object using the mesh to curve and fill curve nodes on geometry nodes, before Solidify,

I suspect that this happens due to the order of how the model was sketched and constrained, causing the creation of excess points with wrong rotations, when filling the shape. So don't use the built-in "Fill Shape option" or use object type "Curve", if this happens.

https://discord.com/channels/882152824249667594/1067824923516616805/1073001503519944826
https://discord.com/channels/882152824249667594/966814731472093184/1072660538313674772

image

@KoDeltaS
Copy link

KoDeltaS commented Sep 3, 2024

Hi @wipmate , @dtremain , @jmsunseri , @hlorus , I tried to reproduce your issues and found a solution that works and the reason causing the problem.

The problem comes from the fact that Fill Shape doesn’t work well with complex shapes. Don't know if adding/switching to bpy.ops.mesh.beauty_fill() in mesh converter could work better.

Solution:
-Update the sketches by unchecking Fill Shape.
-Exit the sketch.
-Duplicate your mesh (if you go back to sketch mode, the changes will be lost).
-Select the copied mesh, in Edit Mode (select everything with A) use ALT + F to fill. If you have complex geometry and ALT + F doesn’t work, create face "islands" manually.

I think it would be advisable to recommend using a step-by-step workflow:

-Sketch for basic geometries
-Sketch of shapes to use as booleans

F_Bug
Cross_Islands
Cross_Z

@dtremain
Copy link

dtremain commented Sep 4, 2024 via email

@dtremain
Copy link

dtremain commented Sep 4, 2024 via email

@hlorus
Copy link
Owner

hlorus commented Sep 4, 2024

@dtremain the attachment seems to be missing, you might have to post it on GitHub directly.

@dtremain
Copy link

dtremain commented Sep 4, 2024

2024-09-04 (1)

@dtremain
Copy link

dtremain commented Sep 4, 2024

The error seems to be related to Blender 4.2.1 LTS. I didn't have a problem in 4.1.

@hlorus
Copy link
Owner

hlorus commented Sep 5, 2024

Download the latest version of the addon please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants