Error when rotating an object - help please

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
falviani
Posts: 63
Joined: Tue May 07, 2019 8:49 pm

Error when rotating an object - help please

Postby falviani » Fri Jan 10, 2020 8:12 pm

Hello All,

My setup:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19151 (Git)
Build type: Release
Branch: master
Hash: 1276920feaec772d297ebd9e50ee1ae2881f62fe
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

I am trying to set up a model of an organizer stand and duplicate it so I can cut it out on my CNC router. I want the duplicate to be rotated 180 around the Z axis and re-positioned so it's close to the original, in order to use the minimum amount of material. Unfortunately, when I rotate the object I get the following error:

<Exception> Invalid type 'long'
in property binding 'AttachmentOffset'
148.352 <App> Document.cpp(3440): Failed to recompute NestedLayoutTest#Sketch001: Invalid type 'long'
in property binding 'AttachmentOffset'
Recompute failed! Please check report view.

This happens both when I copy/paste and when I use the dupicate menu item. I can translate the duplicate to a different position but rotation fails. The file is attached. Can anybody tell me what I'm doing wrong, or if this is an error?

Thanks in advance,
Frank
Attachments
NestedLayoutTest.FCStd
(18.35 KiB) Downloaded 4 times
chrisb
Posts: 21410
Joined: Tue Mar 17, 2015 9:14 am

Re: Error when rotating an object - help please

Postby chrisb » Fri Jan 10, 2020 10:10 pm

I don't know what you copied, but something went out of whack. You could have copied the whole body, but not just the pad inside.

A far better solution would have been to create a Draft->Clone, because it is still dependent on the source object; i.e. if you change dimensions in the source they will change in the clone too.