Ellibox - a "bug my code" project

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Ellibox - a "bug my code" project

Post by DeepSOIC »

Hi!
After making several improvements to Part workbench, in particular the 2D offset feature, I decided to re-do an old project which I call Ellibox.

It's just a box with a cap that is slightly elliptical, so turning a cap makes it lock a little bit. Too easy, right?
The original project involved Sweep and Connect (both box part and cap part are the same in construction). The resulting project was quite messy.

Now that Part Offset2D is available, I can make the project much simpler, by applying a bunch of offset operations to the base ellipse, and a bunch of extrude operations. Easy, right?

Who'da thought this project will put out great resistance to get the result!
Bugs discovered:
Bug in Part Offset (3d and 2d): expression units
Bug in Part Offset 2D filling
2D offset creates curves of unsupported type
Extrude Offset Ellipse is invalid geometry
Part Offset2D, Draft Clone and Extrude direction weirdness
Phew!
ellibox2.png
ellibox2.png (37.37 KiB) Viewed 1494 times
ellibox2 stripped.FCStd
(43.39 KiB) Downloaded 77 times
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8361 (Git)
Build type: Release
Branch: DeepSOIC10
Hash: 4ac7673e543274bcae856872033a114c7b60481b
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Post Reply