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 (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 (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 (19.63 KiB) Viewed 3418 times

- 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 (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)