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!
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Curves workbench

Post by wmayer »

Whow, amazing. Werner is a great programmer. Such nice stuff with just two icons. I'm very impressed.
Kudos go to ChrisG because he added the latest feature.
Please let me know, how do you figure out such cool things?
It's basically a matter of trying to use as many functions of a class as possible. The most difficult point is to avoid to make the UI too complicated.
User avatar
microelly2
Veteran
Posts: 4690
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

thschrader wrote: Fri Dec 01, 2017 5:29 pm @microelly:
projektion of the (blue) sketch on a cylinder (red curve).
Is that what you are looking for?
workflow:
select sketch in model-tree
click on cylinder-surface in 3D
hit the "map sketch on surface" button
projection.FCStd
projektion.JPG
Thank you but
no, I was looking for a "simple" parameter set for such a curve, in this case for a solution with only 3 or 4 poles to get the 1/4 helix.
User avatar
hammax
Veteran
Posts: 1896
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

...@Chris_G, please explain to us the usage of your newest Icon:
CWB_Prof_Supp.png
CWB_Prof_Supp.png (3.31 KiB) Viewed 3429 times
"Profile-Support_Plane"

Next question: is there a possibility to change fontsize and fontcolour in your Info-HUD-Feature.
I already could change it per hack inside 1.Icon-Tool (Bspline) .py-Macro.
In HUD there are at least two places, where fontproperties are defined. But here my hack-trials didn't succeed.
( I need a bigger font and a bright colour , because I have a darkblue Background, like Catia)
User avatar
Chris_G
Veteran
Posts: 2464
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Hi,
The goal of this tool is to create a support face ( for a sketch object ) that stays clamped to 2 rail curves.
Let's say I want to create a parametric arched-top guitar shape between the white and orange Sketcher curves :
ProfileSupport-1.jpg
ProfileSupport-1.jpg (16.73 KiB) Viewed 3418 times

- I go Top-View (View Direction is used as the direction of the support face) and I select the 2 rail curves, by clicking them where I want the Support face to be
- I activate the tool and I get this support face that is parametric and can be moved along the input curves with the Parameters properties :
ProfileSupport-2.jpg
ProfileSupport-2.jpg (17.68 KiB) Viewed 3418 times

- Now, I can use the top edge of the support face as an external geometry line in a sketch, and constraint my BSpline curve ends to this line.
ProfileSupport-3.jpg
ProfileSupport-3.jpg (19.63 KiB) Viewed 3418 times
ProfileSupport-4.jpg
ProfileSupport-4.jpg (27.41 KiB) Viewed 3418 times

- Finally, I can build a surface with the boundary curves and the profile sketches as "unbound edge" constraint curves.
This surface is fully parametric and can be stretched and modified by editing the sketches.
ProfileSupport-5.jpg
ProfileSupport-5.jpg (61.65 KiB) Viewed 3418 times
hammax wrote: Tue Dec 12, 2017 2:00 pm Next question: is there a possibility to change fontsize and fontcolour in your Info-HUD-Feature.
I already could change it per hack inside 1.Icon-Tool (Bspline) .py-Macro.
In HUD there are at least two places, where fontproperties are defined. But here my hack-trials didn't succeed.
( I need a bigger font and a bright colour , because I have a darkblue Background, like Catia)
For the "BSpline curve" tool ???
This tool is fairly broken, I should remove it.
But you can modify the appearance of the HUD on line 54 of "bezierCurve.py" :

Code: Select all

self.Block1.setFont("Sans", 10.0, (0.,0.,0.))
#Function arguments are (FontName, Size,  Color)
User avatar
Chris_G
Veteran
Posts: 2464
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Here is the testFile :
HalfGuitar.fcstd
(50.09 KiB) Downloaded 173 times
freecad-heini-1
Veteran
Posts: 7780
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

Whow Chris_G, amazing. Now it's possible to create a surface with inbetween curves. Very great.
Tide bottle ...
https://www.youtube.com/watch?v=FnuxoUltj_I
UR_
Veteran
Posts: 1350
Joined: Tue Jan 03, 2017 8:42 pm

Re: Curves workbench

Post by UR_ »

thumbs-up_s.png
thumbs-up_s.png (3.41 KiB) Viewed 3402 times
freecad-heini-1
Veteran
Posts: 7780
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

German Video:
phpBB [video]


phpBB [video]
User avatar
hammax
Veteran
Posts: 1896
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

..got it also.
2nd trial with a gulls wing. This time birails first...

FC.17.12802
FC.17.12802
Moewe_4.PNG (42.4 KiB) Viewed 3352 times
Attachments
Moewenfl_2.FCStd
FC.17.12802
(54.53 KiB) Downloaded 103 times
User avatar
microelly2
Veteran
Posts: 4690
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

works fine for me.
I can draw on the faces as usual.
bp_652.png
bp_652.png (31.47 KiB) Viewed 3328 times
I still have to inspect the uv-space conventions to handle nearly overlapping faces. great.
Post Reply