Re: python CAD libraries?

2018-12-13 Thread ammon . hepworth
I know this is an old post, but I wanted to recommend another Python CAD library
called Pascale: https://aerion-tech.com/pascale

It creates commercial grade CAD geometry through an intuitive Python API. 
Although it is a paid software, but there is a free version available to use on 
the Cloud.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
On Mon, Sep 10, 2012 at 5:50 PM, Jayden jayden.s...@gmail.com wrote:

 On Monday, September 10, 2012 5:30:08 PM UTC-4, Gary Herron wrote:
  On 09/10/2012 02:10 PM, Jayden wrote:
 
   Are there any python CAD libraries that can
 
  
 
   (1) build simple 3D primitives solids such as spheres, cylinders and
 so on
 
   (2) perform bool operations on 3D solids
 
   (3) better if it has some transformations such has scaling, sweeping,
 and lofting
 

I've used maya(I think that was the name), and matplotlib, but
Blender.org(open source) is great for 3d rendering/game engine, etc, and
has a nice python API, with great tutorials everywhere.

If you checkout my homepage in my sig, you can see a roughdraft of
somethings I was working on for it.

I'd say go with an earlier version(more tuts/examples), but they put them
out pretty quick, so 2.6 my be best to start with, and it uses python 3.x.
-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
   Are there any python CAD libraries that can
 
  
 
   (1) build simple 3D primitives solids such as spheres, cylinders and
 so on
 
   (2) perform bool operations on 3D solids
 
   (3) better if it has some transformations such has scaling, sweeping,
 and lofting
 
  
 
   Please recommend some good ones for me? Thanks a lot!!
 
 
 
  Try PythonCAD:  http://sourceforge.net/projects/pythoncad/
 
 
 
  (Google would have been faster. :-) )
 
 
 
  Gary Herron
 
 
 
  --
 
  Dr. Gary Herron
 
  Department of Computer Science
 
  DigiPen Institute of Technology
 
  (425) 895-4418

 Thank you. But this is for 2D.


3-d is just manipulating what's shown in x/y points(and not as easy as it
sounds) .

I went with cartesian coordinate, a 360x360 canvas(with 90x90 degree view
port), and a little trig for front/back/left/right/up/down, and amplitude
or z distance for my first attempt, and now porting it into the Blender
game engine.



-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
I've used maya(I think that was the name), and matplotlib, but
Blender.org(open source) is great for 3d rendering/game engine, etc, and
has a nice python API, with great tutorials everywhere.

If you checkout my homepage in my sig, you can see a roughdraft of
somethings I was working on for it.

I'd say go with an earlier version(more tuts/examples), but they put them
out pretty quick, so 2.6 my be best to start with, and it uses python 3.x.
-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
On Mon, Sep 10, 2012 at 5:10 PM, Jayden jayden.s...@gmail.com wrote:

 Are there any python CAD libraries that can

 (1) build simple 3D primitives solids such as spheres, cylinders and so on
 (2) perform bool operations on 3D solids
 (3) better if it has some transformations such has scaling, sweeping, and
 lofting

 Please recommend some good ones for me? Thanks a lot!!
 --
 http://mail.python.org/mailman/listinfo/python-list


've used maya(I think that was the name), and matplotlib, but
Blender.org(open source) is great for 3d rendering/game engine, etc, and
has a nice python API, with great tutorials everywhere.

If you checkout my homepage in my sig, you can see a roughdraft of
somethings I was working on for it.

I'd say go with an earlier version(more tuts/examples), but they put them
out pretty quick, so 2.6 my be best to start with, and it uses python 3.x.
--
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread david

 Thank you. But this is for 2D.


Thank you. But this is for 2D.


3-d is just manipulating what's shown in x/y points(and not as easy as it 
sounds) .

I went with cartesian coordinate, a 360x360 canvas(with 90x90 degree view 
port), and a little trig for front/back/left/right/up/down, and amplitude or z 
distance for my first attempt, with a few others that locked a center of an 
object,and held point rotation, and now porting it into the Blender game 
engine. 

I've used maya(I think that was the name), and matplotlib, but Blender.org(open 
source) is great for 3d rendering/game engine, etc, and has a nice python API, 
with great tutorials everywhere.

If you checkout my homepage in my sig, you can see a roughdraft of somethings I 
was working on for it.

I'd say go with an earlier version(more tuts/examples), but they put them out 
pretty quick, so 2.6 my be best to start with, and it uses python 3.x.



-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread david
Thank you. But this is for 2D.


3-d is just manipulating what's shown in x/y points(and not as easy as it 
sounds) .

I went with cartesian coordinate, a 360x360 canvas(with 90x90 degree view 
port), and a little trig for front/back/left/right/up/down, and amplitude or z 
distance for my first attempt, and now porting it into the Blender game engine. 

I've used maya(I think that was the name), and matplotlib, but Blender.org(open 
source) is great for 3d rendering/game engine, etc, and has a nice python API, 
with great tutorials everywhere.

If you checkout my homepage in my sig, you can see a roughdraft of somethings I 
was working on for it.

I'd say go with an earlier version(more tuts/examples), but they put them out 
pretty quick, so 2.6 my be best to start with, and it uses python 3.x.



-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread David Hutto
Might have posted that too many times, I don't use the google groups that much.
 
 Best Regards,
 
 David Hutto
 
 CEO: http://www.hitwebdevelopment.com

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
Apologies for the multiple posts, it's been a long night, and I don't use
the google groups that much I kept getting sent mail failure, I think
because I didn't hit 'reply all'.
-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
Apologies for the double posting.


-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
https://www.google.com/search?q=python+cad+3d+examplesie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a

First listing looks good, might look later on at it myself:

http://www.pythonocc.org/

-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
And just a little more for you from:

http://wiki.python.org/moin/Applications#A3D_CAD.2FCAM

This looked interesting:
http://free-cad.sourceforge.net/


  but I have to get to a few other things, so I hope this helps.


-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Alec Taylor
Blender is definitely the most popular open-source CAD software; it
has even forked its own version of Python to make things run neatly :P

On Tue, Sep 11, 2012 at 5:33 PM, Dwight Hutto dwightdhu...@gmail.com wrote:
 And just a little more for you from:

 http://wiki.python.org/moin/Applications#A3D_CAD.2FCAM

 This looked interesting:
 http://free-cad.sourceforge.net/


 but I have to get to a few other things, so I hope this helps.



 --
 Best Regards,
 David Hutto
 CEO: http://www.hitwebdevelopment.com


 --
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
On Tue, Sep 11, 2012 at 3:36 AM, Alec Taylor alec.tayl...@gmail.com wrote:

 Blender is definitely the most popular open-source CAD software; it
 has even forked its own version of Python to make things run neatly :P


I heard that they were going to change a few things a while back with the
Python API(especially the switch to 3.0 in blender 2.5), but thought they
were still using regular 3.x.

I've been using the 2.49b, and just started using 2.6.2 when I upgraded my
Ubuntu to 12.04.

-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
 Blender is definitely the most popular open-source CAD software; it
 has even forked its own version of Python to make things run neatly :P


 Plus it never hurts to look around at some of the other interfaces,some of
which might have just altered Blender, or something else, just to see which
is more user friendly for the individual.

But I am a huge Blender fan, so I'll probably not be changing that anytime
soon.


-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Marco Nawijn
On Monday, September 10, 2012 11:10:55 PM UTC+2, Jayden wrote:
 Are there any python CAD libraries that can
 
 
 
 (1) build simple 3D primitives solids such as spheres, cylinders and so on
 
 (2) perform bool operations on 3D solids
 
 (3) better if it has some transformations such has scaling, sweeping, and 
 lofting
 
 
 
 Please recommend some good ones for me? Thanks a lot!!

Hi Jayden,

In my opinion, the best you can get is OpenCascade (OCC) (www.opencascade.org) 
in combination with the python bindings (www.pythonocc.org). OCC is a hugh C++ 
CAD library. It not only deals with the simple geometric stuff, but it can be 
used to build CAD programs similar to SolidEdge or SolidWorks. It does however 
come with quite a steep learning curve. When using PythonOCC, the learning 
curve becomes a little less steep. 

Also note that in my opinion, Blender cannot be considered as a CAD 
environment. Ofcourse it is very powerful, but I think it is more targeted 
towards animation and visually pleasing applications, not mechanical 
engineering.

Regards,

Marco
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Jayden
On Tuesday, September 11, 2012 9:42:56 AM UTC-4, Marco Nawijn wrote:
 On Monday, September 10, 2012 11:10:55 PM UTC+2, Jayden wrote:
 
  Are there any python CAD libraries that can
 
  
 
  
 
  
 
  (1) build simple 3D primitives solids such as spheres, cylinders and so on
 
  
 
  (2) perform bool operations on 3D solids
 
  
 
  (3) better if it has some transformations such has scaling, sweeping, and 
  lofting
 
  
 
  
 
  
 
  Please recommend some good ones for me? Thanks a lot!!
 
 
 
 Hi Jayden,
 
 
 
 In my opinion, the best you can get is OpenCascade (OCC) 
 (www.opencascade.org) in combination with the python bindings 
 (www.pythonocc.org). OCC is a hugh C++ CAD library. It not only deals with 
 the simple geometric stuff, but it can be used to build CAD programs similar 
 to SolidEdge or SolidWorks. It does however come with quite a steep learning 
 curve. When using PythonOCC, the learning curve becomes a little less steep. 
 
 
 
 Also note that in my opinion, Blender cannot be considered as a CAD 
 environment. Ofcourse it is very powerful, but I think it is more targeted 
 towards animation and visually pleasing applications, not mechanical 
 engineering.
 
 
 
 Regards,
 
 
 
 Marco

Hi, Marco,

Thank you so much! This is what I exactly want. But I am a little concerned 
about its steep learning curve. Is it really hard to learn pythonOCC? 
Averagely, how long does it take to begin to program some practical code? Do 
you have any good advice for me to learn it? I deeply appreciate your kind 
help!!

Best regards,

Jayden
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Ramchandra Apte
On Tuesday, 11 September 2012 02:40:55 UTC+5:30, Jayden  wrote:
 Are there any python CAD libraries that can
 
 
 
 (1) build simple 3D primitives solids such as spheres, cylinders and so on
 
 (2) perform bool operations on 3D solids
 
 (3) better if it has some transformations such has scaling, sweeping, and 
 lofting
 
 
 
 Please recommend some good ones for me? Thanks a lot!!

You could use Blender. It has support for Python 3 (I don't know whether it has 
support for Python 2)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-11 Thread Dwight Hutto
Hi, Marco,

 Thank you so much! This is what I exactly want. But I am a little
 concerned about its steep learning curve. Is it really hard to learn
 pythonOCC? Averagely, how long does it take to begin to program some
 practical code? Do you have any good advice for me to learn it? I deeply
 appreciate your kind help!!

 Best regards,

 Jayden
 --
 http://mail.python.org/mailman/listinfo/python-list


Hey Jayden,

You gotta learn to use the google searches buddy, although sometimes a good
conversation can help:

I found this under search term 'pythonOCC example code'

http://code.google.com/p/pythonocc-examples/

and a converted pdf manual from quickview. You can download the pdf by
typing in the above search term, and going straight to the main link:

https://docs.google.com/viewer?a=vq=cache:iu53RJFs1XEJ:https://pythonocc.googlecode.com/svn-history/r999/trunk/doc/tutorials/geometry_modeling_and_visualization/LATEX_src/VisualizationOfGeometryWithUtilisingpythonOCC.pdf+hl=engl=uspid=blsrcid=ADGEESgHGUGqRqXy6Z9MKCgIIh19JfY9_BYl_xw5tQODTx1N8Hqb3CPU_oruG2LKpNhbfnrEgKEvLTyJHvfOymsHcNSMAQ7WoAa_SW-Bdg33WKVmtoD7dvEtajyqv4KMQuMLgv-NT_omsig=AHIEtbSGCtWIUBBiFSsELS1AregIpXUVjApli=1



-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
-- 
http://mail.python.org/mailman/listinfo/python-list


python CAD libraries?

2012-09-10 Thread Jayden
Are there any python CAD libraries that can

(1) build simple 3D primitives solids such as spheres, cylinders and so on
(2) perform bool operations on 3D solids
(3) better if it has some transformations such has scaling, sweeping, and 
lofting

Please recommend some good ones for me? Thanks a lot!!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-10 Thread Gary Herron

On 09/10/2012 02:10 PM, Jayden wrote:

Are there any python CAD libraries that can

(1) build simple 3D primitives solids such as spheres, cylinders and so on
(2) perform bool operations on 3D solids
(3) better if it has some transformations such has scaling, sweeping, and 
lofting

Please recommend some good ones for me? Thanks a lot!!


Try PythonCAD:  http://sourceforge.net/projects/pythoncad/

(Google would have been faster. :-) )

Gary Herron

--
Dr. Gary Herron
Department of Computer Science
DigiPen Institute of Technology
(425) 895-4418

--
http://mail.python.org/mailman/listinfo/python-list


Re: python CAD libraries?

2012-09-10 Thread Jayden
On Monday, September 10, 2012 5:30:08 PM UTC-4, Gary Herron wrote:
 On 09/10/2012 02:10 PM, Jayden wrote:
 
  Are there any python CAD libraries that can
 
 
 
  (1) build simple 3D primitives solids such as spheres, cylinders and so on
 
  (2) perform bool operations on 3D solids
 
  (3) better if it has some transformations such has scaling, sweeping, and 
  lofting
 
 
 
  Please recommend some good ones for me? Thanks a lot!!
 
 
 
 Try PythonCAD:  http://sourceforge.net/projects/pythoncad/
 
 
 
 (Google would have been faster. :-) )
 
 
 
 Gary Herron
 
 
 
 -- 
 
 Dr. Gary Herron
 
 Department of Computer Science
 
 DigiPen Institute of Technology
 
 (425) 895-4418

Thank you. But this is for 2D.
-- 
http://mail.python.org/mailman/listinfo/python-list