NEW FEATURE ! Sketcher Tool Settings.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
NEW FEATURE ! Sketcher Tool Settings.
Hey guys!
I'm very excited to present you this new Sketcher feature that I made the last few days. It was hard to explain, but I think with a video it will make a lot of sens instantly
Create a fully constrained rectangle without it : 25 seconds
Create a fully constrained rectangle with it : 5 seconds
Let me know what you think.
Github branch : https://github.com/PaddleStroke/FreeCAD ... ToolWidget
I'm very excited to present you this new Sketcher feature that I made the last few days. It was hard to explain, but I think with a video it will make a lot of sens instantly
Create a fully constrained rectangle without it : 25 seconds
Create a fully constrained rectangle with it : 5 seconds
Let me know what you think.
Github branch : https://github.com/PaddleStroke/FreeCAD ... ToolWidget
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: NEW FEATURE ! Sketcher Tool Settings.
Nice job, I doubt I'll use the positioning ones but the length and width I'll probably use every time. Does it work with centered and rounded rectangles too?
The title of "tool settings" isn't good IMO as we aren't really changing settings but constraining the created geometry. How about pre-constraining as a title?
Also wasn't there a thread for this feature already? IMO it's not good to fragmentate the discussion too much
The title of "tool settings" isn't good IMO as we aren't really changing settings but constraining the created geometry. How about pre-constraining as a title?
Also wasn't there a thread for this feature already? IMO it's not good to fragmentate the discussion too much
Re: NEW FEATURE ! Sketcher Tool Settings.
Yes there's another thread, but it's old and full of out of topic. There wasn't any interesting content on it so I guessed it was better to drop it.
For now only rectangle and centered rectangle. I'm currently debugging for round corner rectangle. And will do circle, line, point after.
For now only rectangle and centered rectangle. I'm currently debugging for round corner rectangle. And will do circle, line, point after.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
Moved from Developer forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: NEW FEATURE ! Sketcher Tool Settings.
Awesome job! Would love to see this developed further and merged in master.
Re: NEW FEATURE ! Sketcher Tool Settings.
Thanks !
Update on advancement :
The tool ready and working for :
- point
- line
- circle
- arc
- arc by 3 points
- rectangle
- rectangle by center
- round corner rectangle
- circle by 3 points
- Polygone
Missing :
- elipse
- arc of elipse/hyperbola/parabola
- slot (I'm waiting that my branch on slots is integrated to avoid conflicts)
- lineset
- fillet (not sure it can be done with current fillet architecture)
Low hanging fruit for tomorrow: lineset. For Elipse and the arcs it's seems harder and perhaps not worth it.
Last edited by paddle on Thu Jan 13, 2022 8:21 pm, edited 1 time in total.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
+1adrianinsaval wrote: ↑Thu Jan 13, 2022 12:48 pm Nice job, I doubt I'll use the positioning ones but the length and width I'll probably use every time.
I think that the tool interface could be cleaned up a bit and maybe better words could be found (instead of "of the boxe" I would prefer "of rectangle")
IMHO the tool has a great potential and could help save a lot of time.
Thank you for coding it!
Re: NEW FEATURE ! Sketcher Tool Settings.
Very nice! I like the way it expands only when needed and is a time saver.
Re: NEW FEATURE ! Sketcher Tool Settings.
Thanks!
Polyline was tougher than I thought! The tool is more complex than I thought, it can make arc apparantly, even if I didn't understand how yet.
Beside it enters a mode that I don't understand when you press M (with a perpendicular line). But here with the settings widget grabbing keyboard focus the m gets writen in the spinbox :/
Polyline was tougher than I thought! The tool is more complex than I thought, it can make arc apparantly, even if I didn't understand how yet.
Beside it enters a mode that I don't understand when you press M (with a perpendicular line). But here with the settings widget grabbing keyboard focus the m gets writen in the spinbox :/
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
The M key is very important, as that's what makes polyline so powerful. See Sketcher Polyline.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.