Curves workbench

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!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Curves workbench

Post by triplus »

Chris_G wrote: Fri Jan 25, 2019 9:05 pm I agree. That would be my preferred workflow.
In example @looo made that seem possible. Maybe over time you two can figure out if something is still missing in Pivy, to make that more streamlined. I guess now it should be a bit easier. As there is an additional developer leveraging such capabilities. ;)
Sorry for that. I am currently in a delicate situation where I can't compile FC anymore. So I use a PY3/Qt5 Appimage, but I cannot test other builds. Would you have a console log of the crash please ?
There is Py2/Qt4 AppImage available too, said that, it doesn't crash. This therefore feels like some glitch on my system and as such i don't feel it makes much more sense to look into it further. I have a newer, compared to the default, Pivy installed and likely there is an issue involved related to that. And in the end i am not sure on how Python 2 compatible the latest Pivy currently is or intends to be in the future.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

The editable interpolation curve tool should now work also with pivy 0.6.4
I think it works quite well to model hulls, wings, etc ...
boat.jpg
boat.jpg (32.53 KiB) Viewed 2122 times
Attachments
Boat-2.fcstd
(33.53 KiB) Downloaded 125 times
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Curves workbench

Post by chrisb »

This looks great. I'm looking forward to modeling the mud wings of a prewar car ...
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… sorry, still there are no editable profiles
Win10_32
FC0.18.15748
CurvesWB (update 15h old)
CurvesProfiles.PNG
CurvesProfiles.PNG (16.47 KiB) Viewed 2068 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Argggh ... any message in the report view ?
Could you please try these lines in the python console :

Code: Select all

import graphics
from graphics import COLORS
import pivy
pivy.__version__
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

Hi Chris,
that is what I get after invoking your code => some utils missing?
Old python. Why doesn't it update when downloading actual 18-pre versions?

Code: Select all

Python 2.7.14 (default, Feb 28 2018, 16:59:39) [MSC v.1800 32 bit (Intel)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import graphics
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\Max\AppData\Roaming\FreeCAD\Mod\Curves\graphics.py", line 2, in <module>
    from pivy.utils import getPointOnScreen
ImportError: No module named utils
>>> from graphics import COLORS
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\Max\AppData\Roaming\FreeCAD\Mod\Curves\graphics.py", line 2, in <module>
    from pivy.utils import getPointOnScreen
ImportError: No module named utils
>>> import pivy
>>> pivy.__version__
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

hammax wrote: Sat Feb 02, 2019 12:31 pm Hi Chris,
that is what I get after invoking your code => some utils missing?
Thanks.
Your pivy version is too old, unfortunately.
hammax wrote: Sat Feb 02, 2019 12:31 pm Old python. Why doesn't it update when downloading actual 18-pre versions?
I think the standard builds are still py2/qt4.
The Conda builds are py3/qt5, but they are only for x64 (you are using 32 bits FreeCAD).
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Curves workbench

Post by Gift »

Is this known?
Attachments
CurveLength.png
CurveLength.png (5.29 KiB) Viewed 1864 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Yes. GeomInfo tool give information about the underlying geometry of an edge or face.
Here, you get information about the full circle that supports your edge.
soaring
Posts: 48
Joined: Sat Dec 31, 2016 10:27 pm

Re: Curves workbench

Post by soaring »

Hello, i'm trying to use the interpolation curve tool.

i understand keyword shortcuts need, but it's not clear for me how to use the tool with external shape. Is someone can do a youtube video to see the toll in action ?

My "learning curve" could be better :-) thanks !
Post Reply