Feature: offset tool in sketcher

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
chrisb
Posts: 35223
Joined: Tue Mar 17, 2015 9:14 am

Re: Feature: offset tool in sketcher

Postby chrisb » Wed Dec 16, 2020 5:11 pm

Kunda may know ...
Kunda1 wrote: ping
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Posts: 10528
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature: offset tool in sketcher

Postby Kunda1 » Wed Dec 16, 2020 6:58 pm

Good way to start is to set up your development environment which includes installing git. There's a page on the wiki called Github (actually it's a redirect link). It should explain in more detail what you need to do in order to conveniently submit your code changes to the main repository. If you have questions please feel free to ask
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
edi
Posts: 293
Joined: Fri Jan 17, 2020 1:32 pm

Re: Feature: offset tool in sketcher

Postby edi » Thu Dec 17, 2020 3:50 pm

Created a PR. Hope it's OK. I am a github learner.
User avatar
Kunda1
Posts: 10528
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature: offset tool in sketcher

Postby Kunda1 » Tue Dec 22, 2020 11:49 am

edi wrote: Thu Dec 17, 2020 3:50 pm Created a PR. Hope it's OK. I am a github learner.
Awesome! Can you add a link to the PR here ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
edi
Posts: 293
Joined: Fri Jan 17, 2020 1:32 pm

Re: Feature: offset tool in sketcher

Postby edi » Tue Dec 22, 2020 4:33 pm

edi
Posts: 293
Joined: Fri Jan 17, 2020 1:32 pm

Re: Feature: offset tool in sketcher

Postby edi » Wed Jan 06, 2021 2:14 pm

davidosterberg
Posts: 482
Joined: Fri Sep 18, 2020 5:40 pm

Re: Feature: offset tool in sketcher

Postby davidosterberg » Wed Jan 06, 2021 4:40 pm

Nice job. I think something like this would be nice to have in Sketcher as a main tool. Grouped together with the clone copy tools for ecample (in order to not further clutter the Sketcher toolbar)
User avatar
-alex-
Posts: 916
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Feature: offset tool in sketcher

Postby -alex- » Wed Jan 06, 2021 7:25 pm

Yeah! Well done. Thx again for this great tool.
User avatar
Shlomo
Posts: 29
Joined: Sun Mar 04, 2018 7:39 pm

Re: Feature: offset tool in sketcher

Postby Shlomo » Sat Jan 30, 2021 7:35 pm

Excellent macro...
Why this functionality is not integrated as a feature in the main program?
It is a very common function in every CAD program, not something fancy.
It should be inside the constraints group in the sketcher IMO...
skopjanecot
Posts: 15
Joined: Wed Jan 20, 2021 6:58 pm

Re: Feature: offset tool in sketcher

Postby skopjanecot » Sun Jan 31, 2021 10:25 pm

I'm getting the following error when trying to use the macro:

Code: Select all

23:23:02  <class 'IndentationError'>: ('expected an indented block', ('/home/___________/.FreeCAD/Macro/SketcherOffset.FCMacro', 28, 1, '""" \n  read selected items and show the offset distance\n""" \n'))
Would just love to have this one work for me. Constraining every little corner for tolerance just destroys my little soul :)