Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28855 > unrolled thread
| Started by | Jayden <jayden.shui@gmail.com> |
|---|---|
| First post | 2012-09-10 14:10 -0700 |
| Last post | 2012-09-11 20:05 -0700 |
| Articles | 14 — 7 participants |
Back to article view | Back to comp.lang.python
python CAD libraries? Jayden <jayden.shui@gmail.com> - 2012-09-10 14:10 -0700
Re: python CAD libraries? Gary Herron <gherron@digipen.edu> - 2012-09-10 14:24 -0700
Re: python CAD libraries? Jayden <jayden.shui@gmail.com> - 2012-09-10 14:50 -0700
Re: python CAD libraries? david <dwightdhutto@gmail.com> - 2012-09-10 23:28 -0700
Re: python CAD libraries? david <dwightdhutto@gmail.com> - 2012-09-10 23:28 -0700
Re: python CAD libraries? david <dwightdhutto@gmail.com> - 2012-09-10 23:32 -0700
Re: python CAD libraries? david <dwightdhutto@gmail.com> - 2012-09-10 23:32 -0700
Re: python CAD libraries? David Hutto <dwightdhutto@gmail.com> - 2012-09-10 23:39 -0700
Re: python CAD libraries? David Hutto <dwightdhutto@gmail.com> - 2012-09-10 23:39 -0700
Re: python CAD libraries? Jayden <jayden.shui@gmail.com> - 2012-09-10 14:50 -0700
Re: python CAD libraries? Alec Taylor <alec.taylor6@gmail.com> - 2012-09-11 17:36 +1000
Re: python CAD libraries? Marco Nawijn <nawijn@gmail.com> - 2012-09-11 06:42 -0700
Re: python CAD libraries? Jayden <jayden.shui@gmail.com> - 2012-09-11 18:44 -0700
Re: python CAD libraries? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-11 20:05 -0700
| From | Jayden <jayden.shui@gmail.com> |
|---|---|
| Date | 2012-09-10 14:10 -0700 |
| Subject | python CAD libraries? |
| Message-ID | <e149e0ec-39db-4c90-af60-2353ca923c2f@googlegroups.com> |
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!!
[toc] | [next] | [standalone]
| From | Gary Herron <gherron@digipen.edu> |
|---|---|
| Date | 2012-09-10 14:24 -0700 |
| Message-ID | <mailman.468.1347312607.27098.python-list@python.org> |
| In reply to | #28855 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jayden <jayden.shui@gmail.com> |
|---|---|
| Date | 2012-09-10 14:50 -0700 |
| Message-ID | <b440812f-a8a5-45f9-b213-d9536b6d3238@googlegroups.com> |
| In reply to | #28856 |
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.
[toc] | [prev] | [next] | [standalone]
| From | david <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:28 -0700 |
| Message-ID | <cb24461c-9fb6-4f39-8aaa-6776e77e05b4@googlegroups.com> |
| In reply to | #28858 |
> 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
[toc] | [prev] | [next] | [standalone]
| From | david <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:28 -0700 |
| Message-ID | <mailman.482.1347344911.27098.python-list@python.org> |
| In reply to | #28858 |
> 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
[toc] | [prev] | [next] | [standalone]
| From | david <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:32 -0700 |
| Message-ID | <47697953-443c-462b-b279-bd55befbc4aa@googlegroups.com> |
| In reply to | #28858 |
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
[toc] | [prev] | [next] | [standalone]
| From | david <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:32 -0700 |
| Message-ID | <mailman.483.1347345160.27098.python-list@python.org> |
| In reply to | #28858 |
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
[toc] | [prev] | [next] | [standalone]
| From | David Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:39 -0700 |
| Message-ID | <57acc936-afd4-4562-98f3-ac030bfb3d66@googlegroups.com> |
| In reply to | #28873 |
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
[toc] | [prev] | [next] | [standalone]
| From | David Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-10 23:39 -0700 |
| Message-ID | <mailman.484.1347345545.27098.python-list@python.org> |
| In reply to | #28873 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jayden <jayden.shui@gmail.com> |
|---|---|
| Date | 2012-09-10 14:50 -0700 |
| Message-ID | <mailman.469.1347313814.27098.python-list@python.org> |
| In reply to | #28856 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Alec Taylor <alec.taylor6@gmail.com> |
|---|---|
| Date | 2012-09-11 17:36 +1000 |
| Message-ID | <mailman.492.1347349020.27098.python-list@python.org> |
| In reply to | #28855 |
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 <dwightdhutto@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 >
[toc] | [prev] | [next] | [standalone]
| From | Marco Nawijn <nawijn@gmail.com> |
|---|---|
| Date | 2012-09-11 06:42 -0700 |
| Message-ID | <20dc1957-5ac0-4f33-9b84-9254423b72d5@googlegroups.com> |
| In reply to | #28855 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jayden <jayden.shui@gmail.com> |
|---|---|
| Date | 2012-09-11 18:44 -0700 |
| Message-ID | <3257ccf2-f640-4090-83a7-1c6431c16989@googlegroups.com> |
| In reply to | #28887 |
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
[toc] | [prev] | [next] | [standalone]
| From | Ramchandra Apte <maniandram01@gmail.com> |
|---|---|
| Date | 2012-09-11 20:05 -0700 |
| Message-ID | <e09c9a07-30a9-401d-9168-92a2ed64064d@googlegroups.com> |
| In reply to | #28855 |
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)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web