Search found 7 matches

by db2000
Sun May 15, 2022 11:41 am
Forum: Part Design module development
Topic: Feature: offset tool in sketcher
Replies: 114
Views: 67776

Re: Feature: offset tool in sketcher

Thanks, yes I'm definitely looking forward to this being available!
by db2000
Sat May 14, 2022 9:19 am
Forum: Part Design module development
Topic: Feature: offset tool in sketcher
Replies: 114
Views: 67776

Re: Feature: offset tool in sketcher

Thanks! that makes sense.
That also explains why it worked in the linkstage3 branch but not the main branch.
I'll use your approach of replacing external geometry items when using the main branch version
I appreciate the explanation
by db2000
Tue May 10, 2022 11:08 am
Forum: Part Design module development
Topic: Feature: offset tool in sketcher
Replies: 114
Views: 67776

Re: Feature: offset tool in sketcher

Thanks for taking a look - Turns out I was using the linkstage3 branch and it has a Sketch.ExternalGeo list which i didn't realize was specific to that branch. I tried the macro in main branch of freecad v 0.2 and I've now updated the macro to use either Sketch.ExternalGeometry or Sketch.ExternalGeo...
by db2000
Tue May 10, 2022 7:30 am
Forum: Part Design module development
Topic: Feature: offset tool in sketcher
Replies: 114
Views: 67776

Re: Feature: offset tool in sketcher

I made a small update to this so that you can select external geometry as well as normal geometry.
by db2000
Thu May 21, 2020 10:31 am
Forum: Python scripting and macros
Topic: sketchselector macro - review and feedback?
Replies: 7
Views: 807

Re: sketchselector macro - review and feedback?

Ok, I think the tangent and the point on object are working now if want to try the updated version? I recreated the test example and it seemed to work.

The dialog not coming up is a bit of a mystery though.
sketchselectortest.JPG
sketchselectortest.JPG (56.54 KiB) Viewed 754 times
by db2000
Thu May 21, 2020 9:50 am
Forum: Python scripting and macros
Topic: sketchselector macro - review and feedback?
Replies: 7
Views: 807

Re: sketchselector macro - review and feedback?

Thanks - point on a line should be pretty easy to address, i'll make an update. I'll take a look at the tangent one, not sure yet on that. I'm not sure why the dialog didn't come up - if your editing a sketch, no lines are selected and the macro is executed it should show the options dialog, hmmmm. ...
by db2000
Thu May 21, 2020 6:36 am
Forum: Python scripting and macros
Topic: sketchselector macro - review and feedback?
Replies: 7
Views: 807

sketchselector macro - review and feedback?

I've attached a first macro for thoughts/feedback. If it gets the greenlight I'll run through the steps on the FreeCAD-macros github page. What does this macro do? The idea for this macro is to select connected (straight or arc) lines in the sketcher. Select one of the lines and the macro will selec...