Feature: offset tool in sketcher

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Feature: offset tool in sketcher

Post by chrisb »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature: offset tool in sketcher

Post by Kunda1 »

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:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Feature: offset tool in sketcher

Post by edi »

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

Re: Feature: offset tool in sketcher

Post by Kunda1 »

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:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Feature: offset tool in sketcher

Post by edi »

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

Re: Feature: offset tool in sketcher

Post by edi »

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

Re: Feature: offset tool in sketcher

Post by davidosterberg »

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-
Veteran
Posts: 1853
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Feature: offset tool in sketcher

Post by -alex- »

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

Re: Feature: offset tool in sketcher

Post by Shlomo »

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: 17
Joined: Wed Jan 20, 2021 6:58 pm

Re: Feature: offset tool in sketcher

Post by skopjanecot »

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 :)
Post Reply