|Anonymous | Login||2013-12-20 09:36 UTC|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001137||[FreeCAD] Bug||minor||always||2013-05-24 05:12||2013-08-25 15:35|
|Summary||0001137: Incomplete slices when using Part.slice on a torus|
I am writing a script for slicing parts into pieces to be cut on a lasercutter.
The test script is attached to this bug. It creates a torus and then attempts to slice it along an arbitrary plane normal. It does this by finding the bounding box of the part, and calculating the maximum and minimum plane offsets that would bound the object. Then iterates from the min to the max offset by some amount of spacing. The resulting wires are then displayed.
The problem is that not all the slices of the torus seem to be calculated correctly. Some slices are completely missing, while some only slice one "side" of the torus.
An image of the output: http://i.imgur.com/aZkk7ow.png [^]
OS: Ubuntu 13.04
Version: 0.14.2127 (Git)
Python version: 2.7.4
Qt version: 4.8.4
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.0
|Tags||No tags attached.|
|Attached Files||Slicer.py [^] (2,544 bytes) 2013-05-24 05:12|
|That's a problem of the cad kernel. I don't think we can do much for you.|
|I;m afraid I don't know enough about opencascade itself to produce a meaningful bug report for them. Do you know what opencascade functions are being called by freecad in this instance?|
Why do you use a torus?
Is it the same on more common shapes?
BRepAlgoAPI_Section fails on more complicated shapes. There are two tricks that work pretty well:
+ create a half-space out of the section plane and perform a boolean cut
+ do a boolean intersection of the section plane and the shape
The input shape must be a solid therefore.
|git show 348fcef|
|2013-05-24 05:12||peepsalot||New Issue|
|2013-05-24 05:12||peepsalot||File Added: Slicer.py|
|2013-05-24 09:36||wmayer||Note Added: 0003177|
|2013-05-31 00:48||peepsalot||Note Added: 0003185|
|2013-06-26 14:38||Jriegel||Note Added: 0003250|
|2013-06-26 14:39||Jriegel||Status||new => feedback|
|2013-08-24 13:06||wmayer||Relationship added||related to 0001228|
|2013-08-25 15:32||wmayer||Status||feedback => assigned|
|2013-08-25 15:32||wmayer||Assigned To||=> wmayer|
|2013-08-25 15:34||wmayer||Note Added: 0003518|
|2013-08-25 15:35||wmayer||Note Added: 0003519|
|2013-08-25 15:35||wmayer||Status||assigned => closed|
|2013-08-25 15:35||wmayer||Resolution||open => fixed|
|2013-08-25 15:35||wmayer||Fixed in Version||=> 0.14|
|Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group|