Skip to content

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

Open
@dpasukhi

Description

@dpasukhi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categories1. ModelingBoolean operations, offsets, primitives, any conversion, brep builders and etc...2. BugSomething isn't working7. FreeCADThe issue related to FreeCAD project

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions