I think this will make my tool too complicated
Curved Shapes Workbench
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- miniellipse
- Posts: 101
- Joined: Tue Apr 24, 2018 9:09 pm
Re: Curved Shapes Workbench python errors
I updated fcad on my mac and when I load an example file from the forum, I get this errors in report view:
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
Any help is appreciated.
OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24366 (Git)
Build type: Release
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
10:18:40 Traceback (most recent call last):
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/Users/ADMacMini/Library/Preferences/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 93, in makeRibs
d = CurvedShapes.distribute(x / (sections - 1), obj.Distribution, obj.DistributionReverse)
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Distribution'
Any help is appreciated.
OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24366 (Git)
Build type: Release
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)
- Attachments
-
- Sirius_2009-Wing.FCStd
- (362.66 KiB) Downloaded 62 times
Re: Curved Shapes Workbench
Could be like this or something looks like.
- Attachments
-
- Sirius_2009-Wing_vb.FCStd
- (262.41 KiB) Downloaded 66 times
- miniellipse
- Posts: 101
- Joined: Tue Apr 24, 2018 9:09 pm
Re: Curved Shapes Workbench
Ha ha.. I thought by now, you would have finished this plane. I am trying to learn somethings but I upgraded my home computer to OSX Monterey and now I have issues with the Curves WB. I got these same errors when I opened your new Sirius_2009-Wing_vb file. I really think the system upgrade broke/changed some python things but I do not know how to fix.
Re: Curved Shapes Workbench
Thank you so much christi for the Notch Tool.
I have difficulties using it.
When I do the Notch the parts turn 90 degres............
I have difficulties using it.
When I do the Notch the parts turn 90 degres............
- Attachments
-
- Notch test Link before.FCStd
- (4.78 KiB) Downloaded 57 times
-
- Notch test Link after.FCStd
- (10.11 KiB) Downloaded 54 times
-
- Before Notch.png (7.78 KiB) Viewed 3051 times
-
- After Notch.png (8.55 KiB) Viewed 3051 times
Concevoir en bois avec FreeCAD: https://www.lairdubois.fr/pas-a-pas/114 ... -bois.html
Re: Curved Shapes Workbench python errors
Your design was created with an older version of the CurvedShapes workbench. Delete and re-create the Curved Array parts to get them updated.miniellipse wrote: ↑Sat Mar 26, 2022 5:37 pm I updated fcad on my mac and when I load an example file from the forum, I get this errors in report view:
...
Re: Curved Shapes Workbench
It seems that the algorithm to find out the cut direction does not work. Since I have not found a solution for this, you can manually change the parameter Cut Direction in your design. Set Cut Direction to 0,0,1 for the first NotchConnector and 0,0,-1 for the second. Enter the z value first, because 0,0,0 will again evaluate to the wrong values.
Re: Curved Shapes Workbench python errors
Hello Guys,christi wrote: ↑Sun Apr 10, 2022 6:35 amYour design was created with an older version of the CurvedShapes workbench. Delete and re-create the Curved Array parts to get them updated.miniellipse wrote: ↑Sat Mar 26, 2022 5:37 pm I updated fcad on my mac and when I load an example file from the forum, I get this errors in report view:
...
I am experiencing the same like miniellipse, but with a freshly updated system and .AppImage:
Code: Select all
OS: openSUSE Leap 15.3 (GNOME/default)
Word size of FreeCAD: 64-bit
Version: 0.20.28647 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 1c1743b)
Hash: 1c1743b67d209f2b6501de4f75645a33b69d1c31
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Hungarian/Hungary (hu_HU)
Installed mods:
* Plot
* Curves 0.4.2
* MeshRemodel 1.8919.0
* fasteners 0.3.40
* CurvedShapes 1.0.2
* Silk -1861983584.0.0
* sheetmetal 0.2.49
* AirPlaneDesign 0.4.0
* Assembly4 0.11.10
* Manipulator 1.4.3
Code: Select all
14:55:44 Traceback (most recent call last):
File "/home/zivatarw/.local/share/FreeCAD/Mod/CurvedShapes/./CurvedArray.py", line 196, in onChanged
self.execute(fp)
File "/home/zivatarw/.local/share/FreeCAD/Mod/CurvedShapes/./CurvedArray.py", line 179, in execute
self.makeRibs(prop)
File "/home/zivatarw/.local/share/FreeCAD/Mod/CurvedShapes/./CurvedArray.py", line 114, in makeRibs
if (obj.Surface or obj.Solid) and obj.Items > 1:
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Surface'
14:55:44 16Standard_Failure Need at least two vertices, edges or wires to create loft face
14:55:44 Creation of surface is not possible !
14:55:44 <Part> ViewProviderExt.cpp(1268): Cannot compute Inventor representation for the shape of Test2#CurvedArray: Bnd_Box is void
14:55:44 16Standard_Failure Need at least two vertices, edges or wires to create loft face
14:55:44 Creation of surface is not possible !
14:55:44 <Part> ViewProviderExt.cpp(1268): Cannot compute Inventor representation for the shape of Test2#CurvedArray: Bnd_Box is void
Thanks,
Zivatar
Re: Curved Shapes Workbench
Meanwhile I carried out a different test:
Symptoms are the same on a different fresh system.
KR,
Zivatar
Symptoms are the same on a different fresh system.
KR,
Zivatar