Can you post the code on the wiki like this: https://www.freecadweb.org/wiki/Macro_FCWire_To_Volume
I tested the Macro with the 'Main Part' of my previous 'Body-in-Part-failing.FCStd' file and still the macro fails
Here my FC detailsCannot compute Inventor representation for the shape of Copy_of_MainPart.
ThxOS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13387 (Git)
Build type: Release
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
This is highly probably due to the fact that Copy_of_MainPart doesn't have any shape (it may have the Shape attribute in Python but Shape.isNull() will return None). Did you check whether the tip of the body is set?
Feel free to paste it there. I prefer to have a version control system. Do you know if there is the possibility to include a file in the wiki given its URL (https://raw.githubusercontent.com/FreeC ... py.FCMacro)?sgrogan wrote: ↑Fri Mar 16, 2018 11:00 pmCan you post the code on the wiki like this: https://www.freecadweb.org/wiki/Macro_FCWire_To_Volume
Then the Addon manager can use it. Great tool!
Mario, can you please send me the file that doesn't work. Thanks!
Not yet, I think there is a feature for Addons-manager to handle this case.
ok but more easy 0,0,0 base for all instead .. i see How to get center of selected objects/elements for upgrade to FC 0.17.post_id=222001 wrote:Mon Mar 19, 2018 11:13 amPart is acting as the Compound container