Your message dated Mon, 02 Mar 2026 19:50:35 +0000
with message-id <[email protected]>
and subject line Bug#1117850: fixed in freecad 1.0.2+dfsg-6
has caused the Debian Bug report #1117850,
regarding freecad: CAM output fail with fanuc postprocessor ('FeaturePython'
object has no attribute 'ToolType')
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1117850: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117850
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: freecad:
Version: 0.20.2+dfsg1-4
This problem also exist in version 1.0.2+dfsg-1 in testing.
When trying to output G-code from the FreeCAD CAM module using the fanuc
postprocessor, I get a exception backtrace because the postprocessor try
to handle thread taps, while the surrounding code in FreeCAD do not seem
to support tool types.
>From the internal console:
20:24:40 Running the Python command 'CAM_Post' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/CAM/Path/Post/Command.py", line 188, in Activated
post_data = postprocessor.export()
File "/usr/share/freecad/Mod/CAM/Path/Post/Processor.py", line 321, in export
gcode = self.script_module.export(sublist, "-", self._job.PostProcessorArgs)
File "/usr/lib/freecad/Mod/CAM/Path/Post/scripts/fanuc_post.py", line 262, in
export
gcode += parse(obj)
File "/usr/lib/freecad/Mod/CAM/Path/Post/scripts/fanuc_post.py", line 420, in
parse
if pathobj.Tool.ToolType == "Tap":
The problem need either horizontal or vertical feed rate or spindle
speed to trigger. The error above showed up when creating a simple
cylinder, creating a CAM job with fanuc as the post processor, adding a
simple facing operation on the top end of the cylinder, and then setting
feed rates to 150 mm/min and spindle speed to 1000.
I see the same problem discussed in
<URL: https://forum.freecad.org/viewtopic.php?t=74878 >, and
modification in the upstream code which seem related in
<URL:
https://github.com/FreeCAD/FreeCAD/commit/bd24577184e44f29d6b11baa950dda1bf28e21fe
>
and the following commit for that file.
I am not aware of any sensible workaround for this yet, and believe it
make FreeCAD CAM kind of useless for use with Fanuc CNC controllers.
--
Happy hacking
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Source: freecad
Source-Version: 1.0.2+dfsg-6
Done: Tobias Frost <[email protected]>
We believe that the bug you reported is fixed in the latest version of
freecad, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tobias Frost <[email protected]> (supplier of updated freecad package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 02 Mar 2026 19:44:47 +0100
Source: freecad
Architecture: source
Version: 1.0.2+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: FreeCAD Packaging Team
<[email protected]>
Changed-By: Tobias Frost <[email protected]>
Closes: 1117850
Changes:
freecad (1.0.2+dfsg-6) unstable; urgency=medium
.
* Fix "CAM output fail with fanuc postprocessor, thanks Petter Reinholdtsen
for the patch (Closes: #1117850)
Checksums-Sha1:
db0abd1b6183ca49b9853e7941a94cd56ed3aa41 3590 freecad_1.0.2+dfsg-6.dsc
422ce4deb9aff5151e005b5b7f67a1e488125a5e 67680
freecad_1.0.2+dfsg-6.debian.tar.xz
a3e90b63a111ba977b00f1081006198677761de4 37244
freecad_1.0.2+dfsg-6_amd64.buildinfo
Checksums-Sha256:
0c15436bfb68f3b7cb2ff6e39a6df9eea74edd62ca167b78b8951f4ca68fc0d5 3590
freecad_1.0.2+dfsg-6.dsc
739f22d24ba79eb314f9fed80f84077fc2af6b1fd392ba08adf5d1ba1f0a9bb0 67680
freecad_1.0.2+dfsg-6.debian.tar.xz
37197a27480d9eed994cb773f88afe2d2a1aadd47190105fa4d5852942b2efa1 37244
freecad_1.0.2+dfsg-6_amd64.buildinfo
Files:
7bdee779363923c1d264e89a99dd6f2f 3590 science optional freecad_1.0.2+dfsg-6.dsc
3eba4b078e869e1182f4bc702f70ffb2 67680 science optional
freecad_1.0.2+dfsg-6.debian.tar.xz
98d2d143b517022b7f5673bb120608a9 37244 science optional
freecad_1.0.2+dfsg-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmml5z8ACgkQkWT6HRe9
XTa4NQ/+JWegVnOYhhnToxsaq/fo/D5oGJTpBhx9LJUBQdoDc843q51tBGgYmFIa
FCPBopFKesMOjXB1GDO3n5FULvFGC7CSHsHUfCYzleWOPyeJfufJZh7gQUEdFKVv
gF/R1VaJ4GfKoqj1JiAcv0feX6b2bobs1mITXBJQGqCxLScZLpUF0qlVxwu23oLA
TBjjHniSjDw1lHhzo9/bhmNioZ3s89Dbh4zk4csf+3Imr2k4mwjtQNDCnO8fX6+w
aMi2Wm3Gzb9IKsVfAdO9IwkJ6pQa7qPBxNMoPkL99W5JYK9dN0lPYnA0h37eN0uP
6ydSXS++gkEz5yQU64BY8uQnGlvIY4ck9kei6wm4lc0Z0bHE90yeNXE2qmGrAsyQ
gR4gESq5bXFnndXGfT9OdsaMSghf/eENCwQhsMaJMZx4o+H+qmUkICp4m8d4sPQd
WxmssZLW7+ElEAM5nuiH7mqUnrp3dnkq47lNloCMHMHbeXZccretHgX/o3KP0rjn
WjKbaOJFDR+r9tKvMCOrb0YlA/du20r5Rd6mxThXzjMs3QUXTz2Gy4iccD6XKB6b
CYF4Z3EcLYuo8TLx2qFnRBbTGGeejpF/oTeR1BLZ0Zpc1aNofwUYsjxrcHDCMbUq
rqU1/xWxjdHLdoIcw5YmWk9LxoMxYYfGRYsNOh4YV43n3W5xZi0=
=ajvL
-----END PGP SIGNATURE-----
pgpSkw03wJjup.pgp
Description: PGP signature
--- End Message ---