Curves workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
triplus
Posts: 8686
Joined: Mon Dec 12, 2011 4:45 pm

Re: Curves workbench

Postby triplus » Fri Jan 25, 2019 9:58 pm

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
Posts: 1108
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Fri Feb 01, 2019 5:57 pm

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 808 times
Attachments
Boat-2.fcstd
(33.53 KiB) Downloaded 40 times
chrisb
Posts: 18177
Joined: Tue Mar 17, 2015 9:14 am

Re: Curves workbench

Postby chrisb » Fri Feb 01, 2019 7:18 pm

This looks great. I'm looking forward to modeling the mud wings of a prewar car ...
User avatar
hammax
Posts: 846
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Sat Feb 02, 2019 8:02 am

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

Re: Curves workbench

Postby Chris_G » Sat Feb 02, 2019 8:29 am

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
Posts: 846
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Sat Feb 02, 2019 12:31 pm

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
Posts: 1108
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Sun Feb 03, 2019 12:54 pm

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: 442
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Curves workbench

Postby Gift » Fri Feb 15, 2019 5:24 pm

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

Re: Curves workbench

Postby Chris_G » Sat Feb 16, 2019 9:43 am

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: 40
Joined: Sat Dec 31, 2016 10:27 pm

Re: Curves workbench

Postby soaring » Mon Feb 25, 2019 1:35 pm

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 !