While catching up, I saw this post: viewtopic.php?f=3&t=4269&p=33415
I put together something that distributes document objects along a wire:
If there is any interest, I'll clean it up and submit some code. "Draft.makePathArray"?
wf
Objects Along a Path
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6320
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Objects Along a Path
There would certainly be an interest. Would you be able to set some parameters like parallel and normal to the path? Would those objects be 2D or 3D?
- wandererfan
- Veteran
- Posts: 6320
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Objects Along a Path
I like the idea of a parallel/normal parameter. I don't know how to do it, but I like it.normandc wrote:There would certainly be an interest. Would you be able to set some parameters like parallel and normal to the path? Would those objects be 2D or 3D?
If the path is 2D the result is 2D, if the path is 3D the result is 3D.
wf
Re: Objects Along a Path
What I meant was, could the objects being distributed along the path be 3D shapes as well as 2D?
- wandererfan
- Veteran
- Posts: 6320
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Objects Along a Path
Oh, sorry. The red ones in the picture are Part.Sphere. Should work with any shape.normandc wrote:What I meant was, could the objects being distributed along the path be 3D shapes as well as 2D?
Re: Objects Along a Path
Thanks, that would be really useful.
Re: Objects Along a Path
Just one question i have "3D path" this is something only achievable from python console for now? About the possibility to position objects along the path from GUI yes that would be nice.
- wandererfan
- Veteran
- Posts: 6320
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Objects Along a Path
Script/console to start. Gui tool could be done - select an object, select some edges, push the button.triplus wrote:Just one question i have "3D path" this is something only achievable from python console for now? About the possibility to position objects along the path from GUI yes that would be nice.
wf