Search found 23 matches

by Inventthis
Wed Sep 09, 2020 7:04 pm
Forum: Python scripting and macros
Topic: Display Gcode path in external Qt application
Replies: 5
Views: 310

Re: Display Gcode path in external Qt application

Probably not the best way: If you can create the paths using Python, you could make a screenshot with a background of your liking as well: activeView.saveImage(fileName,1000,800,'White') Yes the problem is how to read the G-code file and create the path to display. I am looking for python script to...
by Inventthis
Wed Sep 09, 2020 1:47 am
Forum: Python scripting and macros
Topic: Display Gcode path in external Qt application
Replies: 5
Views: 310

Re: Display Gcode path in external Qt application

chrisb wrote:
Mon Sep 07, 2020 9:23 pm
Just to make sure I understand it correctly: you don't want to see the GCode, you rather want to see the generated path?
Hello Chrisb
Thanks for replying, yes I would like to see the generated path only.
by Inventthis
Mon Sep 07, 2020 8:49 pm
Forum: Python scripting and macros
Topic: Display Gcode path in external Qt application
Replies: 5
Views: 310

Display Gcode path in external Qt application

Hello all, Please I need some help. I am designing a simple Qt designer form to pass data to FreeCAD to generate Gcode. I am able to generate Gcode and I would like to display the path in my Qt form. Looking for a script to READ and DISPLAY G-code. Below is a typical G-code file I can generate and a...
by Inventthis
Wed Aug 19, 2020 9:29 am
Forum: Python scripting and macros
Topic: Display Freecad part in external Qt application
Replies: 3
Views: 429

Re: Display Freecad part in external Qt application

Hello,
Please still looking for help.
by Inventthis
Mon Aug 03, 2020 7:48 am
Forum: Python scripting and macros
Topic: Display Freecad part in external Qt application
Replies: 3
Views: 429

Display Freecad part in external Qt application

Hello, Please need some help. I'm using freecad 0.18 and 0.19 and I am able to build parts from external python script. I just need to know how to create a simple Qt windows in an external application to be able to display the part I've created from the script. I have followed examples from the wiki...
by Inventthis
Fri May 01, 2020 6:02 am
Forum: Path/CAM
Topic: Post Process from a script
Replies: 16
Views: 1066

Re: Post Process from a script

Got it Dan and used the macro. G Code output is perfect as planned.

Your help is greatly appreciated me first and all the FreeCAD community.

Thumbs Up
by Inventthis
Wed Apr 29, 2020 7:10 pm
Forum: Path/CAM
Topic: Post Process from a script
Replies: 16
Views: 1066

Re: Post Process from a script

Hello Dan Do not worry it works as planned, thanks a lot. I downloaded FreeCAD 0.19 and in the PathUtil.py I copied the missing function to my FreeCAD 0.18 installation def opProperty(op, prop): '''opProperty(op, prop) ... return the value of property prop of the underlying operation (or None if pro...
by Inventthis
Wed Apr 29, 2020 4:23 pm
Forum: Path/CAM
Topic: Post Process from a script
Replies: 16
Views: 1066

Re: Post Process from a script

Hello Dan, Thanks again for your great help. What version of FreeCAD do you have? on my python console I get the following error message: Traceback (most recent call last): File "<input>", line 3, in <module> AttributeError: module 'PathScripts.PathUtil' has no attribute 'opProperty' My FreeCAD inst...
by Inventthis
Fri Apr 24, 2020 9:50 pm
Forum: Job offers
Topic: Parametric G code generator for CNC router- Doors and Cabinets
Replies: 6
Views: 1233

Re: Parametric G code generator for CNC router- Doors and Cabinets

Dacicusan wrote:
Thu Apr 23, 2020 1:35 pm
I do made something similar using Rhino and Grasshopper. If you are still interested we can discuss.
Ok thank you i am very much interested, you can send me a PM.
by Inventthis
Fri Apr 24, 2020 9:32 pm
Forum: Path/CAM
Topic: Post Process from a script
Replies: 16
Views: 1066

Re: Post Process from a script

Hello Dan, Thanks again for your great help. I do understand your concerns about writing a custom script but I am doing this because I am working on generating G-code from parametric shape for simple 2.5D door design. https://forum.freecadweb.org/viewtopic.php?f=15&t=44378 I am moving well with my p...