Help to create a new macro

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
cinthia lizeth
Posts: 7
Joined: Fri Nov 09, 2018 1:02 am

Help to create a new macro

Post by cinthia lizeth »

Hi everyone. I'm new using FreeCad. I am looking for a strategy to create new macros that allow me to modify data of any piece that I enter in the application. If someone knows something, write me.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Help to create a new macro

Post by chrisb »

Hi cinthia, welcome. Can you please elaborate what kind of pieces you want to enter in which way, and what the macros are supposed to do?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
cinthia lizeth
Posts: 7
Joined: Fri Nov 09, 2018 1:02 am

Re: Help to create a new macro

Post by cinthia lizeth »

chrisb wrote: Mon Nov 12, 2018 9:08 pm Hi cinthia, welcome. Can you please elaborate what kind of pieces you want to enter in which way, and what the macros are supposed to do?
any type of piece
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Help to create a new macro

Post by NormandC »

Chris, this should go in the Python scripting and macros forum.

cinthia, you provide no useful information to help you.
User avatar
hardeeprai
Posts: 177
Joined: Sun May 23, 2010 2:41 pm
Location: Ludhiana, Punjab, India
Contact:

Re: Help to create a new macro

Post by hardeeprai »

cinthia lizeth wrote: Mon Nov 12, 2018 10:13 pm
chrisb wrote: Mon Nov 12, 2018 9:08 pm Hi cinthia, welcome. Can you please elaborate what kind of pieces you want to enter in which way, and what the macros are supposed to do?
any type of piece
Is https://www.freecadweb.org/wiki/Python_ ... g_tutorial not useful?
--
H.S.Rai
User avatar
mfasano
Posts: 122
Joined: Wed Apr 11, 2018 12:31 pm

Re: Help to create a new macro

Post by mfasano »

I find the code snippets helpful

https://www.freecadweb.org/wiki/Code_snippets
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: Help to create a new macro

Post by HarryGeier »

cinthia,


maybe working with SPREADSHEETS to enter constraint values is the better way than creating macros for value changes..

I would use Macros only for very specific generators of elements that are used many many times with different values.
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
cinthia lizeth
Posts: 7
Joined: Fri Nov 09, 2018 1:02 am

Re: Help to create a new macro

Post by cinthia lizeth »

HarryGeier wrote: Wed Nov 14, 2018 9:46 am cinthia,


maybe working with SPREADSHEETS to enter constraint values is the better way than creating macros for value changes..

I would use Macros only for very specific generators of elements that are used many many times with different values.
The idea is to create new macros, which allow the user to obtain functions of the piece, such as the result of data, where there is a welding joint and to know exactly what is the measurement of each piece of the assembled piece.
Post Reply