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!
drmacro
Veteran
Posts: 8873
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Post by drmacro »

pafurijaz wrote: Fri Jan 28, 2022 11:08 am
hammax wrote: Fri Jan 28, 2022 11:00 am ... the flat face is from a PartWB tool:
Thanks, this new path opens up a lot of new opportunities for me, I have to explore the various workbenches well, these functions are indispensable for working with surfaces.
You should have a look at the MangoJelly Solutions Curves workbench series on YouTube. There are 30 videos in the series that explore the workbench and what other workbenches can be used in conjunction.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Chris_G
Veteran
Posts: 2580
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

hammax wrote: Fri Jan 28, 2022 5:50 am and how one can get / visualize these "Derivatives"?
This is done via python, with my work-in-progress code-refactor of BlendSurface.
pafurijaz wrote: Fri Jan 28, 2022 10:43 am Hi Chris_G, I saw that the B-Spline curve icon is misleading, it represents a B-Spline from the control points, but actually a B-Spline is created through the points,
Indeed, I need to change the icon.
Thanks.
pafurijaz wrote: Fri Jan 28, 2022 10:43 am I think I miss this possibility to create a B-Spline through the Points, because this would allow to do a manual continuity by constraining the points on construction lines and tangents, and I wanted to ask if you can implement this kind of curve like in Silk.
The way the mouse interaction with shapes is currently coded is rather dirty.
I don't like it, and I don't wish to work further on that base.
So, that won't happen until I can put together a better shape manipulation library.
emills2
Posts: 875
Joined: Tue Apr 28, 2015 11:23 pm

Re: Curves workbench

Post by emills2 »

i did this 6 years ago with NURBSLib_EVM (which later turned into the Silk addon). so you could probably get a similar result now with Silk.

looks like i also used Part>Shape Builder to close the pointy triangle.
outdoor.Scene.00001.png
outdoor.Scene.00001.png (455.56 KiB) Viewed 1819 times
emills2
Posts: 875
Joined: Tue Apr 28, 2015 11:23 pm

Re: Curves workbench

Post by emills2 »

Holy smokes, the file actually opened and built! 6 years later, without the macros available, and through a million FreeCAD versions :)

slightly different topo, but this could give ideas to rebuild in a different workbench. my goal was to be G2 to the cylinders coming in, and across the midplane of the connector. obviously the flat face gives issues.
tri_joint_02.PNG
tri_joint_02.PNG (232.58 KiB) Viewed 1814 times
edit: i'm just sharing this for ideas, not suggesting using another WB over Curves (Chris, i hope these posts are ok here)
Attachments
tri_joint_02.fcstd
(141.28 KiB) Downloaded 43 times
User avatar
Chris_G
Veteran
Posts: 2580
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

emills2 wrote: Fri Jan 28, 2022 8:10 pm edit: i'm just sharing this for ideas, not suggesting using another WB over Curves (Chris, i hope these posts are ok here)
Hey Edward,
I can't believe it !
Are you really trying to steal my customers ???
How dare you ? :lol:
paullee
Veteran
Posts: 5099
Joined: Wed May 04, 2016 3:58 pm

Re: Curves workbench

Post by paullee »

Chris_G wrote: Fri Jan 28, 2022 10:31 am The main tool is a Quad face (a simple flat BSpline surface) that acts as a flat map of the target face.
Thanks for the detailed explanation ! A good tutorial to understand how FC/OCC works indeed :D
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

... stay cool ChrisG, your "customers" are true followers, because your workbench has reached the critical size, is useful and very interesting.
If one looks into the addon manager, there is a nearly babylonian WB-collection
=> after my feeling one of the FC-flaws, it's caused by the multiplicity of developers.
Commercial CADs would combine their sources into theme WBs (and earn their money with downward incompatibility).
FC individualism and different UIs may inhibit such a walk through.
And grant a teasing and interesting participation!!!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curves workbench

Post by Kunda1 »

Chris_G wrote: Fri Jan 28, 2022 9:27 pm
emills2 wrote: Fri Jan 28, 2022 8:10 pm edit: i'm just sharing this for ideas, not suggesting using another WB over Curves (Chris, i hope these posts are ok here)
Hey Edward,
I can't believe it !
Are you really trying to steal my customers ???
How dare you ? :lol:
LMAO
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Curves workbench

Post by onekk »

Chris_G wrote: Fri Jan 28, 2022 10:31 am ...
EDIT: This is the post that generates images below. https://forum.freecadweb.org/viewtopic. ... 10#p566010

Wow fantastic example and code:
proj1.png
proj1.png (17.42 KiB) Viewed 1589 times
proj2.png
proj2.png (11.88 KiB) Viewed 1589 times

Sadly you have not posted images.

From most of your post there is always something to learn. Many many thanks.


Best Regards

Carlo D.
Last edited by onekk on Mon Jan 31, 2022 7:43 am, edited 1 time in total.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
drmacro
Veteran
Posts: 8873
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Post by drmacro »

When using a Freehand B_spline as the path for a Pipeshell what are the squiggly lines and can they be smoothed out?
Snip macro screenshot-020ebc.png
Snip macro screenshot-020ebc.png (130.73 KiB) Viewed 1517 times
Attachments
Exhaust-w-Curves-1.FCStd
(658.12 KiB) Downloaded 32 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply