Search found 92 matches
- Mon Dec 30, 2019 10:34 pm
- Forum: Python scripting and macros
- Topic: Is this a bug? Macro works once then object has no attribute 'shape'
- Replies: 1
- Views: 709
Is this a bug? Macro works once then object has no attribute 'shape'
So I create a simple box sketch and I select one of the edges in the sketch that travels along the x axis. I then run this macro and get exactly what I expect a toolpath called my path. I select the opposite line going in the X direction and run the code and get an error saying the object now does n...
- Mon Dec 30, 2019 5:54 pm
- Forum: Python scripting and macros
- Topic: Vertex positions for Gcode template
- Replies: 9
- Views: 1628
Re: Vertex positions for Gcode template
I selected a single point on this sketch and ran this code. I then selected another point and ran the code. I did all four corners of the sketch. This picture illustrates the results of running this code every time i selected a point. Is this the information you are looking for? Those G code command...
- Mon Dec 30, 2019 8:47 am
- Forum: Python scripting and macros
- Topic: Vertex positions for Gcode template
- Replies: 9
- Views: 1628
Re: Vertex positions for Gcode template
Check this info out maybe you can find your way. https://forum.freecadweb.org/viewtopic.php?f=22&t=41495 and https://forum.freecadweb.org/viewtopic.php?f=36&t=41877. I looked at your model but there is no code for me to see what your trying to do. You have no toolpaths in you file so I can't...
- Tue Dec 24, 2019 8:48 pm
- Forum: Python scripting and macros
- Topic: GCode Importing To a ToolPath
- Replies: 5
- Views: 1217
Re: GCode Importing To a ToolPath
I will give out my python code all day long but I do not want to ever compile another piece of software ever in my life. I don't even know where i would begin. Honestly though I don't feel I am up to the task of helping contribute to the code under the hood of FreeCad. I wish I could personally than...
- Tue Dec 24, 2019 9:14 am
- Forum: Python scripting and macros
- Topic: GCode Importing To a ToolPath
- Replies: 5
- Views: 1217
Re: GCode Importing To a ToolPath
It is very much the same but it is still different. The biggest difference is I can't control the one and the other one is code. Plus when you use FreeCads import from the file menu you get to choose a processor and the example_pre is the only one that seems to generate anything visible on my screen...
- Tue Dec 24, 2019 3:18 am
- Forum: Python scripting and macros
- Topic: GCode Importing To a ToolPath
- Replies: 5
- Views: 1217
GCode Importing To a ToolPath
Here is some code to take unknown or known GCode from a file and then create a tool path from that gcode. This Script has a FileDialog box pop up so you can select your .txt .ngc .nc or whatever you named your file. Then it turns that files gcode into a tool path. NOTE Create a new file in freecad t...
- Sun Dec 22, 2019 1:45 pm
- Forum: Tutorials and videos
- Topic: PathWorkbench creating tool paths with FeatureArea and other techniques
- Replies: 0
- Views: 1128
PathWorkbench creating tool paths with FeatureArea and other techniques
This is an deeper dive into using FreeCad to create effective tool paths for your personal needs. The video will demonstrate creating Shapes (Wires) using the PartWorkbench. We will use FeatureArea from the PathWorkbench to create offset wires from the Shapes we create. We will create a Sketch from ...
- Sun Dec 22, 2019 5:32 am
- Forum: Tutorials and videos
- Topic: Computer Aided Manufacturing Tutorial ( Path Workbench)
- Replies: 5
- Views: 3817
Re: Computer Aided Manufacturing Tutorial ( Path Workbench)
Charles1954 I have made a video just for you hope this helps.
NOTE
I did not change the start position of the path and that can be done in the data area.
Here is the link to the video. https://youtu.be/xWdTofPfoms
NOTE
I did not change the start position of the path and that can be done in the data area.
Here is the link to the video. https://youtu.be/xWdTofPfoms
- Thu Dec 19, 2019 6:41 pm
- Forum: Tutorials and videos
- Topic: PathWorkbench FeatureArea tool and Reversing a Step file to create tool paths
- Replies: 14
- Views: 3408
Re: PathWorkbench FeatureArea tool and Reversing a Step file to create tool paths
- FeatureArea is based on sketches or wires I believe it is based on the an Area and the objects in the Area can be faces, points edges and all kinds of fun stuff. I can not really answer this because I don't know but the way I see it it is based on a given Area. - it works basically without a job. ...
- Thu Dec 19, 2019 9:17 am
- Forum: Tutorials and videos
- Topic: PathWorkbench FeatureArea tool and Reversing a Step file to create tool paths
- Replies: 14
- Views: 3408
Re: PathWorkbench FeatureArea tool and Reversing a Step file to create tool paths
I can't speak for what is under the hood of Path Area or how it creates the objects it creates. I understand what it wants from me to achieve what I want from it. FeatureArea has nothing to do with a Job because it is not a tool path or any type of Path. Using the type(youwanttoknowstypehere) functi...