View Issue Details

IDProjectCategoryView StatusLast Update
0004574PartDesignBugpublic2021-02-21 16:58
Reporterdg1727 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
PlatformLinux 
Product Version0.19 
Target Version0.20 
Summary0004574: PartDesign Boolean Cut: attempted translation along X-axis causes unexpected rotation
DescriptionPartDesign Boolean Cut: attempted translation along X-axis causes unexpected rotation
Steps To ReproduceOpen FreeCAD.

Enable the axis cross.

In the following steps, after each time a solid is made (those steps are marked with a "*"), adjust the view scale & angle (preferably to an oblique view) so you can tell the shape, location, & orientation of what was made.

In the Part Design workbench, create a Body (the default name is Body).

Within that Body, create a sketch in the XZ plane.

Draw a 10mm x 10mm square whose lower-left corner is at (X = 10 mm, Z = 10 mm).

Exit the sketcher.

In the tree view, select Body. In the properties windowpane below the tree view, on the Data tab, enter a value for Placement > Position > x of 50 mm.

(*) Revolve the sketch, leaving the default parameters, which use the vertical sketch axis as the revolution axis. This produces a square-cross-section toroid. The default name is "Revolution."

Create a new Body (the default name is Body001).

Within this Body, create a sketch in the XY plane.

Draw a 10mm-diameter circle whose center is at (X = 65 mm, Y = 15 mm).

Exit the sketcher.

(*) Pad the sketch by 30 mm. (Keep the other parameters at default.) This makes a cylinder shape which appears to intersect the toroid.

In the treeview, make Body active. (Right-click > "Toggle active body")

Start a Boolean operation.

In the taskpane for the Boolean, set the Boolean operation to Cut.

In the taskpane, select "Add body." Then use the 3D view to select the cylinder shape (Body001).

Even before you click OK, the toroid (actually the result of the Boolean, a different object than the original toroid) will appear, unexpectedly rotated 90 degrees about the X axis.
Additional InformationThe same issue also seems to happen (I didn't use exactly the same steps to duplicate it) on v0.18.4, with the same versions of Coin & OpenCASCADE.

There aren't any errors in the terminal, nor in the FreeCAD logfile.
TagsNo tags attached.
FreeCAD InformationVersion: 0.19pre from freecad-daily PPA
Hash: ed02d1bbddaa6daeedfe766b2ce33e88f4b22f93
Coin version: 4.0.0a
OCC version: 7.3.0

Activities

Kunda1

2021-02-21 01:48

administrator   ~0015397

Please paste full About info
@dg1727 Please first open a forum thread per our forum guidelines. Thank you

Kunda1

2021-02-21 11:31

administrator   ~0015411

@dg1727 ping

dg1727

2021-02-21 12:56

reporter   ~0015413

https://forum.freecadweb.org/viewtopic.php?f=8&t=55853

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19pre from freecad-daily PPA
Build type: Release
Branch: unknown
Hash: ed02d1bbddaa6daeedfe766b2ce33e88f4b22f93
Python version: Same issue on 2 widely different Python versions
Qt version: irrelevant to this issue
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: [redacted]

dg1727

2021-02-21 13:02

reporter   ~0015414

It seems that the issue happens only if the first PartDesign Body (object name "Body" in the procedure above) is a solid of revolution. (Using a Pad, for instance, doesn't cause the issue.)

wmayer

2021-02-21 13:09

administrator   ~0015415

Confirmed with:

OS: Ubuntu 18.04.5 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24188 (Git)
Build type: Debug
Branch: master
Hash: 385efeeb589dc2b6c3046ace9c9df23a996ced0c
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Issue History

Date Modified Username Field Change
2021-02-20 22:41 dg1727 New Issue
2021-02-21 01:48 Kunda1 Status new => feedback
2021-02-21 01:48 Kunda1 Note Added: 0015397
2021-02-21 01:48 Kunda1 Tag Attached: #post-to-forum
2021-02-21 01:49 Kunda1 Project FreeCAD => PartDesign
2021-02-21 11:31 Kunda1 Note Added: 0015411
2021-02-21 12:56 dg1727 Note Added: 0015413
2021-02-21 12:56 dg1727 Status feedback => new
2021-02-21 13:02 dg1727 Note Added: 0015414
2021-02-21 13:09 wmayer Status new => confirmed
2021-02-21 13:09 wmayer Note Added: 0015415
2021-02-21 13:09 wmayer Target Version => 0.20
2021-02-21 16:58 Kunda1 Tag Detached: #post-to-forum