Designing a Surfboard Fin
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 35
- Joined: Mon Jan 06, 2014 2:30 am
Re: Designing a Surfboard Fin
Thanks Jim. I think you have the answer. Get the latest source.
FYI I have one dual boot machine with W7 and 64 12.04 LTS Ubuntu and another machine with 32 W7.
I'll build the latest version on Ubuntu I think.
Thanks again for all your help. And you too Mark. Appreciate your time.
TK
FYI I have one dual boot machine with W7 and 64 12.04 LTS Ubuntu and another machine with 32 W7.
I'll build the latest version on Ubuntu I think.
Thanks again for all your help. And you too Mark. Appreciate your time.
TK
Re: Designing a Surfboard Fin
Oh! now I see, you have 3 O/Ses, I thought I was just confused.woodbuddha wrote:FYI I have one dual boot machine with W7 and 64 12.04 LTS Ubuntu and another machine with 32 W7.
Re: Designing a Surfboard Fin
Hi TK,
Just a quick update that you (and others) might find useful. I redid the Airfoil Import & Scale macro and now have 2 versions over on the Wiki. Unless at this time you have more or less up to the minuet FreeCAD / OCE, you will want version 1.5. There was a small bug in Draft that got exposed with version 2 of the script and was just corrected in FreeCAD version 0.14 3077.
To get the new script, go to the FreeCAD Wiki page Macros recipes and under Utility you will find the link for the Macro Airfoil Import & Scale page. Like i said, you will want the 1.5 version. I think you will find the result a bit more convenient than the old one.
Mark
Just a quick update that you (and others) might find useful. I redid the Airfoil Import & Scale macro and now have 2 versions over on the Wiki. Unless at this time you have more or less up to the minuet FreeCAD / OCE, you will want version 1.5. There was a small bug in Draft that got exposed with version 2 of the script and was just corrected in FreeCAD version 0.14 3077.
To get the new script, go to the FreeCAD Wiki page Macros recipes and under Utility you will find the link for the Macro Airfoil Import & Scale page. Like i said, you will want the 1.5 version. I think you will find the result a bit more convenient than the old one.
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
-
- Posts: 35
- Joined: Mon Jan 06, 2014 2:30 am
Re: Designing a Surfboard Fin
Thanks Mark.
Updated FreeCAD.
OS: Ubuntu 12.04.4 LTS
Platform: 64-bit
Version: 0.14.3073 (Git)
Branch: master
Hash: 14410215416692475345a857081ba73e1dacce97
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.0
When I load the attached file and try to loft the b-splines I get the following error. Am I missing pyside module? If so what's the best way to get it installed?
TK
During initialization the error No module named PySide occurred in /usr/lib/freecad/Mod/Plot/InitGui.py
No module named PySide
Error: PySide not found, Draft workbench will be disabled.
Draft workbench activated
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Draft workbench deactivated
Updated FreeCAD.
OS: Ubuntu 12.04.4 LTS
Platform: 64-bit
Version: 0.14.3073 (Git)
Branch: master
Hash: 14410215416692475345a857081ba73e1dacce97
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.0
When I load the attached file and try to loft the b-splines I get the following error. Am I missing pyside module? If so what's the best way to get it installed?
TK
During initialization the error No module named PySide occurred in /usr/lib/freecad/Mod/Plot/InitGui.py
No module named PySide
Error: PySide not found, Draft workbench will be disabled.
Draft workbench activated
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 77, in <module>
import FreeCAD, math, sys, os, DraftVecUtils, Draft_rc
File "/usr/lib/freecad/Mod/Draft/Draft_rc.py", line 10, in <module>
from PySide import QtCore
<type 'exceptions.ImportError'>: No module named PySide
Draft workbench deactivated
- Attachments
-
- ellipticalfin5.FCStd
- (42.25 KiB) Downloaded 58 times
Re: Designing a Surfboard Fin
Hi TK
open your package manager and look for Pyside and install that. Ubuntu call it Python-Pyside, from memory you also need pyside-tools.
Jim
open your package manager and look for Pyside and install that. Ubuntu call it Python-Pyside, from memory you also need pyside-tools.
Jim
Re: Designing a Surfboard Fin
Sorry, I really do need to take care of this.
As Jim said, please install the python-pyside package. It is not currently in FreeCAD's dependencies, and it should be.
I thought pyside-tools was only needed when you compile? See, I need to check all this in a clean environment but haven't felt like it lately...
As Jim said, please install the python-pyside package. It is not currently in FreeCAD's dependencies, and it should be.
I thought pyside-tools was only needed when you compile? See, I need to check all this in a clean environment but haven't felt like it lately...
Re: Designing a Surfboard Fin
The easiest way to get python-pyside is to open a console (terminal window) and type in or copy/paste.
That should do it. Doing it that way with just python-pyside calls the big meta package and it should install everything you need. So long as your not on some off branch of Ubuntu. Don't want to name names here, but it's initials begin with Mint.
Mark
Code: Select all
sudo apt-get install python-pyside
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Designing a Surfboard Fin
Hi Normnormandc wrote: I thought pyside-tools was only needed when you compile?
I think you are right, but someone had a problem not long back because they did not have this package, I think. But they were probably compiling FreeCAD.
this is the description from my package manager,
Based on the above and the installed file list, it all looks like development stuff...so TK...I would not install this pyside-tools package if you are only going to use the PPA version and not compile yourself. If you have already installed it, I would just leave it there.Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI functionality.
PySide ships Python bindings for the Qt4 framework. This package ships the following accompanying tools:
• pyside-rcc - PySide resource compiler
• pyside-uic - Python User Interface Compiler for PySide
• pyside-lupdate - update Qt Linguist translation files for PySide
Canonical does not provide updates for pyside-tools. Some updates may be provided by the Ubuntu community.
-
- Posts: 35
- Joined: Mon Jan 06, 2014 2:30 am
Re: Designing a Surfboard Fin
...and Bingo was his name.
All working like it should. See attached file. The 9" elliptical surfboard fin.
Thanks again everyone for your help. The FreeCAD community rocks!
TK
All working like it should. See attached file. The 9" elliptical surfboard fin.
Thanks again everyone for your help. The FreeCAD community rocks!
TK
-
- Posts: 35
- Joined: Mon Jan 06, 2014 2:30 am
Re: Designing a Surfboard Fin
..and the file.
- Attachments
-
- 40-80-225-elliptical-fin.fcstd
- (131.93 KiB) Downloaded 94 times