hlorus / CAD_Sketcher

Constraint-based geometry sketcher for blender
GNU General Public License v3.0
2.76k stars 132 forks source link

[BUG] when converting to mesh the output isn't what I expected #485

Open Shaddy-ElDesouky opened 2 months ago

Shaddy-ElDesouky commented 2 months ago

Contact Details

shadyeldesouky@yahoo.com

Description

A bug happened! when converting to mesh the output isn't what I expected

Addon Version

0.27.5

Blender Version

4.2.0

What platform are you running on?

Linux

Shaddy-ElDesouky commented 2 months ago

image the sketch image the converted mesh in edit mode box selection with x-ray off

what I expected is to:

the Blender file: Vault_Brick.blend.tar.gz

note: in the same file another sketch converted to mesh and filled and looks strange too.

IGLOU-EU commented 2 months ago

From my understanding of this software, you can only make one figure at the time with CADS, without the choice of number of planes faces. Like if every 2D line were a wall.

Maybe Screw Modifier can be a better solution ?

Shaddy-ElDesouky commented 2 months ago

@IGLOU-EU I think screw will help in 3D, but I'm still 2D, before CAD-Sketcher the workflow would be drawing in other app like librecad, inkscape, solvespace, FreeCAD ....etc and import drawing in blender as svg or dxf then converting to mesh and fill faces then going 3D with extrude or solidify or screw or what ever, my issue here is the sketch being translated badly on the 2d level, if I have two vertices constrained with coincident they should not break and move when converted.

Shaddy-ElDesouky commented 2 months ago

OK I found some explanation here https://hlorus.github.io/CAD_Sketcher/integration/ ,

I understand that I should follow the first of the Best practices, could someone explain how to connect entities by sharing a start-/endpoint ? Best Practices

To avoid running into such limitations try to follow these practices:

Connect entities by sharing a start-/endpoint, avoid using the coincident constraint to connect entities that are part of a path that you intend to later convert.