New Macro " Sketch Constraint From Spreadsheet"
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: New Macro " Sketch Constraint From Spreadsheet"
@2cv001 I'll have to bow to others' knowledge but I thought the DNS record basically redirected any traffic targeted at freecadweb.org over to freecad.org therefore it didn't actually matter which was used, maybe there's something hard coded somewhere in the web server???
-
- Posts: 436
- Joined: Wed Sep 15, 2010 9:38 am
Re: New Macro " Sketch Constraint From Spreadsheet"
@2cv001 Don't you want to you post your macro to the official macro repository?
Re: New Macro " Sketch Constraint From Spreadsheet"
Yes, I would like, but I don't know how to manage GitHub... I would like to learn...
Macro Sketch Constraint From Spreadsheet :
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr
Re: New Macro " Sketch Constraint From Spreadsheet"
@galou_breizh
Hello
Is this what you recommend?
https://github.com/2cv001/freecad/blob/ ... et.FCMacro
I change the page https://wiki.freecad.org/Macro_Sketch_C ... preadsheet
I added right after the description :
I hope it's correct...
I tried an installation via the addon manager and it’s still the old code. I guess I have to wait?” .
Edit : it's ok now.
Hello
Is this what you recommend?
https://github.com/2cv001/freecad/blob/ ... et.FCMacro
I change the page https://wiki.freecad.org/Macro_Sketch_C ... preadsheet
I added right after the description :
Code: Select all
</translate>
{{Codeextralink|https://raw.githubusercontent.com/2cv001/freecad/main/sketchConstraintFromSpreadsheet.FCMacro}}
<translate>
I tried an installation via the addon manager and it’s still the old code. I guess I have to wait?” .
Edit : it's ok now.
Macro Sketch Constraint From Spreadsheet :
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr
-
- Posts: 436
- Joined: Wed Sep 15, 2010 9:38 am
Re: New Macro " Sketch Constraint From Spreadsheet"
Not really, I meant the official macro repository cited previously. The Addon Manager takes macro either from the official repository (preferred) or from the Wiki if it can extract it from the Wiki. For the code to be retrieved from the Wiki, I guess that the code has to be included directly but I'm not sure exactly what conditions must be respected.2cv001 wrote: ↑Sat Jan 06, 2024 5:00 pm Is this what you recommend?
https://github.com/2cv001/freecad/blob/ ... et.FCMacro
It's up to you whether you keep your macro in your own repository where you have full control or if you propose it to the official repo where other people may modify it.
Congratulations for the very nice Wiki page for your macro.
Re: New Macro " Sketch Constraint From Spreadsheet"
galou_breizh wrote: ↑Tue Jan 16, 2024 5:54 amNot really, I meant the official macro repository cited previously. The Addon Manager takes macro either from the official repository (preferred) or from the Wiki if it can extract it from the Wiki. For the code to be retrieved from the Wiki, I guess that the code has to be included directly but I'm not sure exactly what conditions must be respected.2cv001 wrote: ↑Sat Jan 06, 2024 5:00 pm Is this what you recommend?
https://github.com/2cv001/freecad/blob/ ... et.FCMacro
It's up to you whether you keep your macro in your own repository where you have full control or if you propose it to the official repo where other people may modify it.
Congratulations for the very nice Wiki page for your macro.
I changed my github :
I tried to do what is written in the FreeCAD wiki :
Code: Select all
The best way to submit a macro is to post it to the FreeCAD Python Scripting and Macros subforum for review. After a green light is given then:
Fork this repository
Clone your fork locally git clone https://github.com/your-gh-username/FreeCAD-macros
Go to the newly-created local repository cd FreeCAD-macros
Setup the upstream git remote add upstream https://github.com/FreeCAD/FreeCAD-macros
Create a branch to work in git checkout -b your_branch
Follow our guidelines below on how to add a macro
When you're ready to push your changes: git push -u origin your_branch
Create a PR (pull request) against upstream
My Github page :
https://github.com/2cv001/FreeCAD-macro ... et.FCMacro
Macro Sketch Constraint From Spreadsheet :
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr
https://wiki.freecad.org/Macro_Sketch_C ... adsheet/fr