[Sketcher] How make "round" multiple points selected?

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!
Post Reply
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

[Sketcher] How make "round" multiple points selected?

Post by ragohix769 »

Hello friends,

I'm doing a lot of radiant floor (for residential HeatPipes) drawn with sketcher, and I'd like to know if there is some "automation" in the process to select n points in a sketch and make all in one time "round" with radius that i want, like in the image example where I used sketcher_compcreatefillets manually selecting 2 line every time, it's very time consuming :-(

Maybe already exists some script to do that or some method to select and apply to all the same roundness?

Thanks for any suggestion ;-)

BTW: the new tools (especially snapping!!) and re-engineering in sketcher are simply AWESOME!
Attachments
weekrj.png
weekrj.png (157.53 KiB) Viewed 1011 times
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [Sketcher] How make "round" multiple points selected?

Post by Shalmeneser »

In case of repetition : Sketcher_RectangularArray
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: [Sketcher] How make "round" multiple points selected?

Post by Syres »

I personally wouldn't do it like that at all, use one simple sketch and maybe duplicate it for the pipe 'rows' and sketch specifically for the main Heat and Return but use Draft Array to do the laborious work, see attached.

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32531 (Git)
Build type: Release
Branch: master
Hash: 5aeba7a46f1deab2cce855d653cb6a550df4faa3
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Silk 1.0.0
  * A2plus 0.4.60k
  * CurvedShapes 1.0.4
  * freecad.gears 1.0.0
  * Curves 0.6.8
  * PieMenu 1.2.4
  * toSketch 1.0.1
  * Plot 2022.4.17
  * AirPlaneDesign 0.4.0
  * fasteners 0.4.54
  * sheetmetal 0.2.62
Attachments
UnderFloorHeatingPipe.FCStd
(26.19 KiB) Downloaded 11 times
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [Sketcher] How make "round" multiple points selected?

Post by ragohix769 »

Shalmeneser wrote: Sat Mar 25, 2023 10:01 pm In case of repetition : Sketcher_RectangularArray
Thanks!
Ok this is useful to avoid some repetion, so your are proposing a different approch: first create "round" (manually created) radiant spiral, then copy that object every time you can, then make some finishing (always is sketcher). This is good, but to fill some space in non standard/square floors I think there is more overhead and work in finishing the clones, then make the spiral from scratch.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [Sketcher] How make "round" multiple points selected?

Post by ragohix769 »

Syres wrote: Sat Mar 25, 2023 10:13 pm I personally wouldn't do it like that at all, use one simple sketch and maybe duplicate it for the pipe 'rows' and sketch specifically for the main Heat and Return but use Draft Array to do the laborious work, see attached.
Thanks very useful!

So you too are suggesting to make some "atomic" sketch and then duplicate with some symmetry, but the problem is in general that you have to fill some floor space that it's not always squared, and to equally subdivide and fill with spiral pipes. So for now, till 2-5 chamber, I do all manually, the best way IMHO will be to make some script to fill and optimize the space floor, but it's not so simple (and my skills in Python are not so cool).

Image


Rather then that, with the original topic: is there a way to make "round" multiple points all in one time in sketcher?
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] How make "round" multiple points selected?

Post by chrisb »

ragohix769 wrote: Sat Mar 25, 2023 9:43 pm selecting 2 line every time, it's very time consuming :-(
Select the corner. That halves already the clicks.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [Sketcher] How make "round" multiple points selected?

Post by ragohix769 »

chrisb wrote: Sat Mar 25, 2023 10:36 pm
ragohix769 wrote: Sat Mar 25, 2023 9:43 pm selecting 2 line every time, it's very time consuming :-(
Select the corner. That halves already the clicks.
To select the corner I have to use "Sketch Fillet" but it's not ok, because I want to preserve constraints. Rather then that I figured that "constraint-preserving Sketch fillet" (the second icon) is doing the job, but you have to select the lines around the point (and in the right order, the radius of the round corner depend on the order, for what I see) rather then the corner point.

I was searching if there is some method to make "round" all the corners, all in one time.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: [Sketcher] How make "round" multiple points selected?

Post by paullee »

Maybe a Macro or Python script is better?
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] How make "round" multiple points selected?

Post by chrisb »

ragohix769 wrote: Sat Mar 25, 2023 10:43 pm To select the corner I have to use "Sketch Fillet" but it's not ok, because I want to preserve constraints.
I don't see why you need the corner points of the fillets.

This is a workflow I can think of:
- draw the rectangular layout, e.g. with the polyline tool
SnipScreenshot-ffd2d6.png
SnipScreenshot-ffd2d6.png (8.71 KiB) Viewed 643 times
- add (one click) fillets
SnipScreenshot-622f52.png
SnipScreenshot-622f52.png (21.02 KiB) Viewed 643 times
-The arcs are all at the end of the elements list. Select them all (first plus shift+last). Deselect unwanted such as bigger right lower in 3Dview
SnipScreenshot-8b8fae.png
SnipScreenshot-8b8fae.png (71.88 KiB) Viewed 643 times
- apply equality constraints
- select the horizontal lines and make them equal; before doing so, I hid the other equality and tangent constraints for a clearer image
SnipScreenshot-a25454.png
SnipScreenshot-a25454.png (33.75 KiB) Viewed 643 times
- select all vertical lines with a single right-to-left box selection and make them equal
SnipScreenshot-ce71a2.png
SnipScreenshot-ce71a2.png (34.22 KiB) Viewed 643 times
- add further constraints, such as aligning the outlet at the bottom
-add dimensions
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: [Sketcher] How make "round" multiple points selected?

Post by Bance »

I agree with Chrisb, But I would just do it all with polyline......
Post Reply