Search found 41 matches

by cristian.a73
Fri Sep 28, 2018 6:58 am
Forum: Path/CAM
Topic: Path.contour on base object : get involved faces [Solved]
Replies: 5
Views: 973

Re: Path.contour on base object

Kunda1 wrote: Fri Sep 28, 2018 12:39 am Please mark this thread as [Solved]
Thanks.
How do I do that ???
Looking for it In the panel, in tools, in faq, didn't get it found
by cristian.a73
Thu Sep 27, 2018 8:04 am
Forum: Path/CAM
Topic: Path.contour on base object : get involved faces [Solved]
Replies: 5
Views: 973

Re: Path.contour on base object

After some tests, I found the solution ... the correct code is : countourObj = PathProfileContour.Create("baseContour") # this row solve the problem above App.activeDocument().recompute() contourResult = countourObj.Proxy.areaOpShapes(countourObj) contourSolid = contourResult[0][0] contour...
by cristian.a73
Wed Sep 26, 2018 10:36 am
Forum: Path/CAM
Topic: Path.contour on base object : get involved faces [Solved]
Replies: 5
Views: 973

Path.contour on base object : get involved faces [Solved]

Hi all In the attached image I've create a countour path on tje base object Is it possible to get the faces involved in the Path.Countour ? when I this : countourObj = PathProfileContour.Create("baseContour") contourResult = countourObj.Proxy.areaOpShapes(countourObj) FreeCAD say : 'Object...
by cristian.a73
Tue Sep 25, 2018 2:20 pm
Forum: Path/CAM
Topic: PathJob.Create : a start point script
Replies: 12
Views: 2013

Re: PathJob.Create : a start point script

chrisb wrote: Tue Sep 25, 2018 12:14 pm
cristian.a73 wrote: Tue Sep 25, 2018 12:11 pm ... it's better to wait for a stable release
Who should find the errors then?
You are right...

About the script to create job, the correct sintax is :

Code: Select all

glJobObj = PathJob.Create("JobObjectName", [obj] )
by cristian.a73
Tue Sep 25, 2018 12:11 pm
Forum: Path/CAM
Topic: PathJob.Create : a start point script
Replies: 12
Views: 2013

Re: PathJob.Create : a start point script

FreeCAD 0.18 is a pre-Release and does't work fine in Path env : http://cristianandreon.eu/images/FreeCAD-0.18-Path.jpg Script PathJob.Crearte doesn't work (althought in 0.17 work fine) Path generate by profile based on face o faces are not correct (in 0.17 is ok) ... it's better to wait for a stabl...
by cristian.a73
Tue Sep 25, 2018 9:53 am
Forum: Path/CAM
Topic: PathJob.Create : a start point script
Replies: 12
Views: 2013

Re: PathJob.Create : a start point script

That is to be expected since the object is created without UI and then being displayed with a UI. If you want to use the UI you should use `PathJobGui.Create` instead, it'll setup the UI for the PathJob correctly. Yes, may be that... After changed the code (for get job's childred objects) with a mo...
by cristian.a73
Mon Sep 24, 2018 7:24 pm
Forum: Path/CAM
Topic: PathJob.Create : a start point script
Replies: 12
Views: 2013

PathJob.Create : a start point script

Hi FreeCAD Forum I'm going to buid a simple script in order to use FreeCAD Path's features in a command line enviroment By testing it via FreeCAD 0.17 GUI (in windows 7) a strange thing happens when run this code : import FreeCAD, Import, Part, Draft, math, numpy, DraftVecUtils, DraftGeomUtils, Path...
by cristian.a73
Fri Aug 24, 2018 6:51 pm
Forum: Part Design module development
Topic: STEP/IGES color
Replies: 16
Views: 6777

Re: STEP/IGES color

polymer wrote: Fri Aug 24, 2018 6:39 pm Maybe this is usefull: https://www.meusburger.com/EN/US/media/ ... rds_IN.pdf
Yessss!!!
Thank you
by cristian.a73
Mon Jul 23, 2018 10:24 am
Forum: Part Design module development
Topic: STEP/IGES color
Replies: 16
Views: 6777

Re: STEP/IGES color

to wmayer : simple tip, great help Due to my entry level skill in Freecad.sourceCode I was focuset out by python code Shape.read -> TopoShape.import...now I'm goindo to use ImportOCAF and store colors info as you written... a big thank you to freecad-heini-1 : Is not easy to find out informations a...
by cristian.a73
Fri Jul 20, 2018 1:31 pm
Forum: Part Design module development
Topic: STEP/IGES color
Replies: 16
Views: 6777

Re: STEP/IGES color

from @wmayer post It is also possible to export STEP models with color information from the command line. https://forum.freecadweb.org/viewtopic.php?t=23494#p187294 Thank you for your reply Exporting the face's color, by a such easy way as you written, is very usefully... but please note I'm going ...