Crossbeam exercise

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!
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Crossbeam exercise

Post by Vincent B »

First step something looks like. not so easy without fillet feature for surface.
and offset doesn't want work. :roll:
Attachments
crossbeam.FCStd
(528.97 KiB) Downloaded 17 times
Capture.JPG
Capture.JPG (19.69 KiB) Viewed 965 times
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Crossbeam exercise

Post by saso »

Thanks for the main curves and your model :) I quickly played a bit with it and got a bit further... but not the best workflow :?
Attachments
SharedScreenshot.jpg
SharedScreenshot.jpg (15.97 KiB) Viewed 946 times
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Crossbeam exercise

Post by microelly2 »

cp_005.png
cp_005.png (140.86 KiB) Viewed 887 times
Here is the pyflow graph for the first surface.
The idea was starting with 9 points create some helper poles and then build the poles matrix for the bspline surface.
cp_006.png
cp_006.png (338.07 KiB) Viewed 887 times
bb.FCStd
(29.8 KiB) Downloaded 23 times
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Crossbeam exercise

Post by microelly2 »

here my solution for the 2nd task:pad something onto a nonplanar surface.
I have problems with fillet and chamfer on bspline surfaces, so for rounded edges its need some more tricks and a little bit of time.
I made two new nodes
FreeCAD UV projection uses methods from the nurbs workbench - draw on face it uses the parameter method of a Bspline Surface.
FreeCAD Parallel projection uses the makeParallelProjection method of a Face
Other projection methods may come later.

phpBB [video]
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Crossbeam exercise

Post by Kunda1 »

microelly2 wrote: Sat Jul 20, 2019 3:36 pm
This is next level stuff! Nice!
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
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Crossbeam exercise

Post by Vincent B »

microelly2 wrote: Fri Jul 19, 2019 8:20 pm and then build the poles matrix for the bspline surface.
which tool you use to make the surface?
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Crossbeam exercise

Post by microelly2 »

GlouGlou wrote: Sat Jul 20, 2019 4:20 pm
microelly2 wrote: Fri Jul 19, 2019 8:20 pm and then build the poles matrix for the bspline surface.
which tool you use to make the surface?
you can inspect the code
the whole workflow is scripted in crossbeamexample()
https://github.com/microelly2/NodeEdito ... L830-L1110
https://github.com/microelly2/NodeEdito ... #L840-L866
and the real code is still swapped to
https://github.com/microelly2/NodeEdito ... #L144-L180

lines will change with next commit :roll:
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Crossbeam exercise

Post by microelly2 »

Kunda1 wrote: Sat Jul 20, 2019 4:00 pm This is next level stuff! Nice!
I watched sverchok for years, but it was not possible to port it to freecad in freetime:
With Pyflow we have the ability get comparable design power.
praise ilgar and pedro who gave us this wounderful framework.
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Crossbeam exercise

Post by Vincent B »

after spent few hours, step2. :D
Attachments
Capture.JPG
Capture.JPG (33.88 KiB) Viewed 700 times
Post Reply