Automatic contour recognition tool in Sketch workbench ?

Report observations made with the new Toponaming branch.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Automatic contour recognition tool in Sketch workbench ?

Post by jpg87 »

@realthunder
Hello,
In the Sketch workbench, would it be possible to create an automatic contour recognition tool, on the same principle as what acts in the "chamfer" and "fillet" tools?

Thank you.
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Automatic contour recognition tool in Sketch workbench ?

Post by adrianinsaval »

what is this "automatic contour recognition tool" supposed to do? To me the name alone is not descriptive enough to guess it.
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Automatic contour recognition tool in Sketch workbench ?

Post by jpg87 »

Here is how I suggest :
automaticSelect01.png
automaticSelect01.png (56.07 KiB) Viewed 1378 times
automaticSelect02.png
automaticSelect02.png (59.56 KiB) Viewed 1378 times
automaticSelect03.png
automaticSelect03.png (62.81 KiB) Viewed 1378 times

This tool would make it possible both to select a path more quickly but also to show any disjunctions when there are any.
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Automatic contour recognition tool in Sketch workbench ?

Post by -alex- »

jpg87 wrote: Mon Aug 08, 2022 1:06 pm to create an automatic contour recognition tool, on the same principle as what acts in the "chamfer" and "fillet" tools?
+1

BTW the algo of Path_SelectLoop tool could be used here. This tool could be improved as well maybe? In order to select closed loop, with or without tangency?
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Automatic contour recognition tool in Sketch workbench ?

Post by Roy_043 »

Having selected the closed loop, what would you then do with it?
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Automatic contour recognition tool in Sketch workbench ?

Post by chrisb »

Roy_043 wrote: Tue Aug 09, 2022 7:50 am Having selected the closed loop, what would you then do with it?
Move could be a candidate (although I prefer to constrain things and then move them by dragging one of them with the mouse).
I don't see a good use case yet for selection of parts of a complete loop in Path workbench.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
bleber
Posts: 259
Joined: Thu Jun 30, 2016 5:12 pm

Re: Automatic contour recognition tool in Sketch workbench ?

Post by bleber »

Usecase!
You can make master sketch with many profiles, and on part design can select profiles for easy extrude, all with only one sketch.
You need closed profiles or closed sketch regions to select.
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Automatic contour recognition tool in Sketch workbench ?

Post by jpg87 »

bleber wrote: Tue Aug 09, 2022 1:44 pm You can make master sketch with many profiles, and on part design can select profiles for easy extrude, all with only one sketch.
You need closed profiles or closed sketch regions to select.
It's exactly that ! I often use master sketches ... or shape binder sub-objects, in which I select portions of contours.
In particular with the magic tool of Realthunder "Add/toggle defining geometry" which allows to import geometry elements directly usable for extrusions.
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Automatic contour recognition tool in Sketch workbench ?

Post by adrianinsaval »

Then it's not really selection in sketcher edit mode that you want. Realthunder has this implemented in his fork, hopefully some day he'll make a PR, in the meantime you can use wirefilter macro.
Haavard
Posts: 217
Joined: Wed Feb 17, 2021 10:48 pm

Re: Automatic contour recognition tool in Sketch workbench ?

Post by Haavard »

This is very useful in a future sketcher offset tool to "chain select" all edges you wish to offset.
Post Reply