Search found 1090 matches

Go to advanced search

by keithsloan52
Wed Nov 06, 2013 7:29 am
Forum: Developers corner
Topic: __debug__ & Python Debugger.
Replies: 0
Views: 572

__debug__ & Python Debugger.

Having code ignored by the python pre processor.
Is there an easy way to use __debug__ with FreeCAD? i.e. I would lie to add code if __debug__ : print "Passed this way" but not sure how I would tell FreeCAD to run with python -0 or just python.

What Python debugger do people use with FreeCAD?
by keithsloan52
Tue Nov 05, 2013 6:28 pm
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

.... > > Add code to OpenSCAD that knows how to process VERTEX, POLYLINE, and > SEQEND? Rewrite autotrace to only use DXF entities that OpenSCAD > supports? (which are LINE, CIRCLE, and SQUARE, IIRC, not even > ELLIPSE). Create a new font by drawing vector entities that are only > composed of suppo...
by keithsloan52
Tue Nov 05, 2013 5:49 pm
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

.... > > Add code to OpenSCAD that knows how to process VERTEX, POLYLINE, and > SEQEND? Rewrite autotrace to only use DXF entities that OpenSCAD > supports? (which are LINE, CIRCLE, and SQUARE, IIRC, not even > ELLIPSE). Create a new font by drawing vector entities that are only > composed of suppo...
by keithsloan52
Tue Nov 05, 2013 8:56 am
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

http://www.freecadweb.org/tracker/view.php?id=1296 When I try this link Mantis asks me for a password, fair enough. But I am not 100% sure of my password and cannot login. Okay I try lost password and enter userid : keithsloan52 and email keith@sloan-home.co.uk and it says not valid combination tha...
by keithsloan52
Sun Nov 03, 2013 8:18 am
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

New Beta Test version of OpenSCAD

FreeCAD OpenSCAD module support of hull & minkowski If you are running from a daily FreeCAD build then it is suggested that you wait to the new code is incorporated into the daily build, otherwise please feel free to try a new Beta test version of the OpenSCAD modules. Updates can be downloaded from...
by keithsloan52
Sun Oct 27, 2013 2:43 pm
Forum: Developers corner
Topic: FreeCAD Object - Comment or extra Data.
Replies: 3
Views: 834

Re: FreeCAD Object - Comment or extra Data.

I was hoping for a simpler approach something like.

object.addProperty(“OpenSCAD”,”$fS=6,$fn=12”)

I see there is
addProperty(type, name='', group='', doc='', attr=0, readonly=False, hidden=False)
adds a new property to this object

But I am struggling trying to find way round documentation
by keithsloan52
Sun Oct 27, 2013 12:55 pm
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

Well there is another problem of trying to use OpenSCAD to resolve the hull, Minkoswki in that if you try and export a CSG then this does not resolve the hull you just end up with a CSG file containing a hull. If you try and go via OpenSCAD to produce an STL object then this does not work for 2D, Op...
by keithsloan52
Sun Oct 27, 2013 10:20 am
Forum: Developers corner
Topic: FreeCAD Object - Comment or extra Data.
Replies: 3
Views: 834

FreeCAD Object - Comment or extra Data.

Is there anyway for an Object in FreeCAD to store a comment or extra data for use by an external program i.e. Not FreeCAD.
by keithsloan52
Sat Oct 26, 2013 7:44 pm
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

hi Sebastian Okay if FreeCAD meshs are a bit iffy, how about when importCSG hits a hull statement with two objects, I use export(object list, filename) from exportCSG.py to write out the two objects as two CSG files. Then run a canned scad file that does hull() { include object1.CSG; include object2...
by keithsloan52
Fri Oct 25, 2013 9:56 am
Forum: Developers corner
Topic: Adding Hull and Minkowski support to ImportCSG
Replies: 52
Views: 7374

Re: Adding Hull and Minkowski support to ImportCSG

Having looked at this again, I think shoogen's approach is best The way I would see taking this forward would appear to be as follows. When importCSG gets to a hull request, it has a list of hull request and then the two objects to be hulled. At that point one exports the objects as stl's to two ind...

Go to advanced search