Hello FC
TBH I'm not much on language including Python, I have learnt what I have - because Mechanical drafting is under my skin & my next few hobbyist projects require the ability to drive a gear on various path shapes IE Curved Rack & Pinion.
The files I have tried to upload here state file too large: So I have included links to Files on Drive.
Example File & 3 macros. 2 of which work & the 3rd is an attempt to combine the code & I have tried everything logical to get the code correct, but to no avail.
File
https://drive.google.com/file/d/1Iy8pDl ... share_link
Macro Follow Path Author The Markster
https://drive.google.com/file/d/1fOZQF5 ... share_link
Macro Rotate Mod from Mango Jelly Tutorial
https://drive.google.com/file/d/1r3O5BF ... share_link
Macro Mash
https://drive.google.com/file/d/1RA8lvB ... share_link
There maybe #Commented out for variation(s) purposes on FollowPathWireRotate.FCMacro
Thx to past present & future Assistance
Are you looking for help regarding FreeCAD python scripting?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 81
- Joined: Wed Feb 03, 2021 8:07 am
Re: Are you looking for help regarding FreeCAD python scripting?
This thread is usually the place for posting "help matters" and not for requesting help, as your post seems to be.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
-
- Posts: 81
- Joined: Wed Feb 03, 2021 8:07 am
Re: Are you looking for help regarding FreeCAD python scripting?
Re: Are you looking for help regarding FreeCAD python scripting?
Usually this thread is not much populated, and from what it seems it is a sort of first approach as first post is listing some resources to be "getting started".
More complex things should IMHO go "Tutorials and Video" or better end in a Wiki Page as it is getting complicated for new user to find here "stable and updated" informations a part of some sticky and blocked threads managed by moderators.
But I could be wrong .
Regards.
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Are you looking for help regarding FreeCAD python scripting?
Is there an official home for instructions to get robust content assist support for Python scripting in vscode? I've recently sorted that one pretty well - its really tightened up my iteration loop for a model airplane design workbench I'm working on.
Mostly wondering whether it was something everyone else already knew how to do but me, or if the steps were one of those things generally considered so plain that its not worth a mention
I've seen bits and pieces here and there in Google searches that pointed to forum posts, but I haven't seen anything all in one place. If its something that'd be widely useful I'd be happy to share if there's a place for it.
jonbitzen
Mostly wondering whether it was something everyone else already knew how to do but me, or if the steps were one of those things generally considered so plain that its not worth a mention
I've seen bits and pieces here and there in Google searches that pointed to forum posts, but I haven't seen anything all in one place. If its something that'd be widely useful I'd be happy to share if there's a place for it.
jonbitzen
-
- Veteran
- Posts: 3106
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Are you looking for help regarding FreeCAD python scripting?
You could very likely usefully add to the wiki https://wiki.freecad.org/Debugging#Visu ... _(VS_Code)