Just an FYI, the solid created is not valid. (Using the version of the macro in Addon manager)
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.27078 (Git)
Build type: Release
Branch: master
Hash: b836712c83556b4f30d3404e8ab9f5192979561c
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.6.0
Locale: English/UnitedStates (en_US)
Sezione Dinamica
Forum rules
regole del forum e le informazioni utili
Importante: PRIMA di chiedere aiuto leggete qui!
regole del forum e le informazioni utili
Importante: PRIMA di chiedere aiuto leggete qui!
Re: Sezione Dinamica
- Attachments
-
- PlayRevolve.FCStd
- (24.79 KiB) Downloaded 94 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
-
- Veteran
- Posts: 5505
- Joined: Thu Apr 05, 2018 1:53 am
Re: Sezione Dinamica
While the macro is still open, in the tree view make a duplicate of the temporary object it creates (in cut mode), then close the macro. This object is a compound that contains 2 duplicate objects. Select the object, in part workbench -> explode compound. You get 2 identical objects, which explains the self-intersections of the compound.
Instead of exploding, select the object and use part union/fusion on it, you then get a valid solid.
Re: Sezione Dinamica
I opened all that up so I could make one screen shot. The fails happened when the macro was completed. At least the ones shown in the report view when Cut objects is selected:TheMarkster wrote: ↑Sun Jan 16, 2022 7:42 pmWhile the macro is still open, in the tree view make a duplicate of the temporary object it creates (in cut mode), then close the macro. This object is a compound that contains 2 duplicate objects. Select the object, in part workbench -> explode compound. You get 2 identical objects, which explains the self-intersections of the compound.
Instead of exploding, select the object and use part union/fusion on it, you then get a valid solid.
Code: Select all
Recompute failed! Please check report view.
14:47:57 <Part> ViewProviderExt.cpp(1306): Cannot compute Inventor representation for the shape of PlayRevolve#Compound: Bnd_Box is void
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Sezione Dinamica
The section shape of your example should have 14 faces, it has 28.
So, I suppose the macro cuts both the body AND the last feature of the body.
So, I suppose the macro cuts both the body AND the last feature of the body.
Re: Sezione Dinamica
As @TheMarkster pointed out there are 2 copies of the object in the retained solid.
It seems to me it should be the fore and aft of the cut object, rather than two copies of the aft.
Maybe something to do with the error reported when the checkbox is ticked.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Sezione Dinamica
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Sezione Dinamica
Segnalo solo che l'installazione della macro tramite Addon Manager restituisce il seguente errore sul mio sistema:
Ovviamente posso fare copia-incolla del codice, ma volevo solo informare del malfunzionamento dell'installer.
Code: Select all
17:22:51 Traceback (most recent call last):
17:22:51 File "/snap/freecad/530/usr/Mod/AddonManager/AddonManager.py", line 916, in launch_installer_gui
17:22:51 self.installer_gui.success.connect(self.on_package_status_changed)
17:22:51 RuntimeError: '__init__' method of object's base class (MacroInstallerGUI) not called.
Code: Select all
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31509 (Git) Snap 530
Build type: Release
Branch: master
Hash: d63ac0f7f6a1bcb316eebe15ecdf23ce7dd62d4d
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: Italian/Italy (it_IT)
Installed mods:
* kicadStepUpMod 10.16.8
* fasteners 0.4.52
* Curves 0.6.5
* 3D_Printing_Tools
* CurvedShapes 1.0.4
* Manipulator 1.4.9
* Assembly4 0.12.5
* fcgear 1.0.0
* A2plus 0.4.60g
* Defeaturing 1.2.0
* Part-o-magic 1.0.0
* POV-Ray-Rendering (Disabled)
* Render 2022.4.0