Project faces onto bended surface

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
GlouGlou
Posts: 1581
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Project faces onto bended surface

Postby GlouGlou » Sat Aug 10, 2019 8:56 am

Hi, and thanks for your tool. It's very helpful to use it. It was a lack in Freecad. ;)
I found a bug during trying a projection on sphere or cylinder:
Some wires are missing. And projections are made on 2 faces.
Request improvements:
1.Could you turn projection objects into parametric objects? (following parents objects).
2.Could make possible to project a curve onto the whole object (not only a face: see the facebinder)
Thanks a lot.
Attachments
ProjectionBug.FCStd
(156.83 KiB) Downloaded 29 times
Capture.JPG
Capture.JPG (25.62 KiB) Viewed 877 times
User avatar
apeltauer
Posts: 207
Joined: Fri Aug 11, 2017 2:19 pm

Re: Project faces onto bended surface

Postby apeltauer » Sun Aug 11, 2019 9:10 am

Thanks for your feedback. I will have a look during the week why edges are missing.
to 1. --> parametric would be a very cool addition. Can someone point me to a forum topic or a how to where i can find info to make it parametric?
to 2. --> When i started i decided to just go on a single face. Reason: The underlying 3d kernel (OCC) is not able to always create a face out of wires or edges if the are lying on several faces. If you have a projection laying on more the one face, it can no create a face out of the edges proper.
TheMarkster
Posts: 1060
Joined: Thu Apr 05, 2018 1:53 am

Re: Project faces onto bended surface

Postby TheMarkster » Sun Aug 11, 2019 7:52 pm

apeltauer wrote:
Sun Aug 11, 2019 9:10 am
Thanks for your feedback. I will have a look during the week why edges are missing.
to 1. --> parametric would be a very cool addition. Can someone point me to a forum topic or a how to where i can find info to make it parametric?
In this commit part refine shape was made parametric:

https://github.com/FreeCAD/FreeCAD/commit/787f5184e
User avatar
saso
Posts: 1310
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Project faces onto bended surface

Postby saso » Sun Aug 11, 2019 9:20 pm

GlouGlou wrote:
Sat Aug 10, 2019 8:56 am
1.Could you turn projection objects into parametric objects? (following parents objects).
:)

yes, this is the main reason why I have modified your "multisection" example, I wanted to make it fully parametric and stable,
- one problem are the non parametric projections (fixed in my model with extrusions)
- second problem is the non parametric mirror, that I have posted about here https://forum.freecadweb.org/viewtopic.php?f=8&t=38388
- third is the Curves TrimedFace, its "picked point" does not stay fully parametric, so when you move or rotate the model you get wrong trimmed faces (fixed in my model with facebinder)

Update: Chris_G improved the Curves TrimedFace "picked point", so it should be more stable now

testing FreeCAD with such example models from other fully parametric cad programs and reporting the problems that break the fully parametric workflow or make it too hard, is IMO the best way how we can improve and fix FreeCAD to make it work properly and also for users to learn and start better understanding how to do fully parametric models.
User avatar
saso
Posts: 1310
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Project faces onto bended surface

Postby saso » Wed Aug 14, 2019 1:45 pm

apeltauer wrote:
Sun Aug 11, 2019 9:10 am
Thanks for your feedback. I will have a look during the week why edges are missing.
to 1. --> parametric would be a very cool addition. Can someone point me to a forum topic or a how to where i can find info to make it parametric?
here is another example, where Chris_G updated the trim face tool to make the pick point parametric... but I don't know if it is really helpful for your case :| https://github.com/tomate44/CurvesWB/co ... a5696618b3