To Tim Taylor (if that's really your name):
Great Tim, that was inspirational. Why do you hang out with our group, if you think we are way off track?
Are you a legit VAR for Autodesk?
I suggest you unsubscribe from this list.


On 05/20/2012 12:17 PM, Tim Taylor wrote:
May I ask why you are using FreeCad? Have you tried AutoCAD? I know the software is open source and has a lot of potential but I think the developers have their priorities out of whack; why put all that attention in a program and limit it with only a metric unit?

If you are interested in AutoCAD I can hook you up.


On Sat, 19 May 2012 20:39:43 -0400, Alex Barclay <> wrote:

Hi All

I've been playing with FreeCAD on and off for a little while and have now decided to start investigating the scripting interface.

I've started out going through the bottle example and comparing the Open Cascade notes with the FreeCAD script.

Now I'm stuck on the threaded neck of the bottle and need some advice. It looks like the Open Cascade example creates 2 cylindrical surfaces for the wires defining the thread. My sticking point is how to generate a cylindrical surface by script. The Open Cascade calls in question are:
Handle(Geom_CylindricalSurface) aCyl1 = new Geom_CylindricalSurface(neckAx2 , myNeckRadius * 0.99);
Handle(Geom_CylindricalSurface) aCyl2 = new Geom_CylindricalSurface(neckAx2 , myNeckRadius * 1.05);

How do I do this operation in FreeCAD? I took a look at the source and could only see Bezier and BSpline surfaces in src/Mod/Part/App but couldn't see a cylindrical surface anywhere. It also looked like this Geom_CylindricalSurface call is made in multiple places but doesn't look exposed.

Am I missing something? Remember I'm a real noob with the scripting part so the answer may be obvious and I'm just missing it.



Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 

Free-cad-general mailing list