MACRO:Work Feature 2014_12

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Charles Gull
Posts: 6
Joined: Thu Aug 12, 2021 5:02 am

Re: MACRO:Work Feature 2014_12

Post by Charles Gull »

Hi mario52,

thanks for your support.

yes, the command is Axis Plane/Plane.

It doesn't needa fancy file. In my case, I can just create a completely new and fresh start model. It is not possible to create an axis using any of the base co-ordinate system planes. :(

If I add any extra planes, it doesn'twork with them either. :(

If I create a simple block [pad], it works fine between any two solid faces. :D

If I use 1 face and 1 datum plane, it fails. :(
manos
Posts: 432
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Re: MACRO:Work Feature 2014_12

Post by manos »

mario52 excuse me to not respond to your post. I thought the thread was closed. Thanks a lot.
mario52
Veteran
Posts: 4701
Joined: Wed May 16, 2012 2:13 pm

Re: MACRO:Work Feature 2014_12

Post by mario52 »

Hi

@manos no problem you have all the time (I thought the thread was closed ... jamais)

@Charles Gull for the error
Charles Gull wrote: Sun Aug 15, 2021 8:24 pm yes, the command is Axis Plane/Plane.
the error is in the file WF_selection.py in

Code: Select all

def get_SelectedObjects(info=0, printError=True):
but in this time i was unable to correct , wait the author rentlau_64

the macro is created before including the "DatumPlane" and this "DatumPlane" is not yet recognized by WorkFeature

come and see from time to time if it is corrected

or creat one plane with WorkFeature and convert it in DatumPlane with my little macro
Macro_D_Un_Jour_Convert_Plane_WFeatures_To_Part_Plane.FCMacro and attach it on face with the FreeCAD tools

sorry

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply