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

Modeling Algorithms - Sweep with acute angle in spine produces wrong intersection results [24991] #304

Open
dpasukhi opened this issue Jan 28, 2025 · 0 comments
Labels
0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project

Comments

@dpasukhi
Copy link
Member

Description

When sweeping along paths with acute angles (<90deg) the resulting shape is not a valid solid. The faces get extended but the intersection is not performed.
A debug build gave the following output:
Compile with option DEB : if problems with intersection : IntWalk_PWalking_1.gxx (lbr le 1erdec98)
The when using Round corner transition the result is also wrong but does not give this message.

Expected Behavior

Actual Behavior

--

Sample Code or DRAW Tcl Script

pload ALL
polyline DWire-dwireline -2.53 -0.53 0. -1.30 1.74 0. -0.53 -0.54 0.
wire DWire DWire-dwireline
circle Circle-curve 0 0 0 0.3
mkedge Circle-edge Circle-curve 0. 0.
wire Circle-dwirewire Circle-edge
renamevar Circle-dwirewire Circle
trotate Circle 0 0 0 1. -0.0 0. 90.
ttranslate Circle -2.53603 -0.6 -0.227
renamevar DWire Sweep-0-spine
mksweep Sweep-0-spine
setsweep -FR
renamevar Circle Sweep-0-section-00-Circle
addsweep Sweep-0-section-00-Circle
buildsweep Sweep -C -S
donly Sweep
checkshape Sweep

Operating System

Linux

Compiler

GCC

Bitness

64-bit

OCCT Version

latest

Additional Files

unsweepable1.zip

@dpasukhi dpasukhi added 0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project labels Jan 28, 2025
@dpasukhi dpasukhi changed the title Modeling Algorithms - Sweep with acute angle in spine produces wrong intersection results Modeling Algorithms - Sweep with acute angle in spine produces wrong intersection results [32857] Jan 28, 2025
@dpasukhi dpasukhi changed the title Modeling Algorithms - Sweep with acute angle in spine produces wrong intersection results [32857] Modeling Algorithms - Sweep with acute angle in spine produces wrong intersection results [24991] Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project
Projects
Status: Todo
Development

No branches or pull requests

1 participant