Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106727 > unrolled thread
| Started by | Joseph Caulfield <josephcaulfield1996@gmail.com> |
|---|---|
| First post | 2016-04-09 06:48 -0700 |
| Last post | 2016-04-09 15:03 -0400 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.python
past exam paper help! Joseph Caulfield <josephcaulfield1996@gmail.com> - 2016-04-09 06:48 -0700
Re: past exam paper help! Joseph Caulfield <josephcaulfield1996@gmail.com> - 2016-04-09 06:49 -0700
Re: past exam paper help! Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-09 08:11 -0600
Re: past exam paper help! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-04-09 15:03 -0400
| From | Joseph Caulfield <josephcaulfield1996@gmail.com> |
|---|---|
| Date | 2016-04-09 06:48 -0700 |
| Subject | past exam paper help! |
| Message-ID | <a543defc-7b29-4eeb-8ab7-6a4f46aeae7c@googlegroups.com> |
how would I model a mug a cylindrical vessel with an open top in python? thansk :)
[toc] | [next] | [standalone]
| From | Joseph Caulfield <josephcaulfield1996@gmail.com> |
|---|---|
| Date | 2016-04-09 06:49 -0700 |
| Message-ID | <48c9d6c4-e4e4-4fd2-a962-5d50c5533c92@googlegroups.com> |
| In reply to | #106727 |
On Saturday, April 9, 2016 at 2:48:16 PM UTC+1, Joseph Caulfield wrote: > how would I model a mug a cylindrical vessel with an open top in python? thansk :) *as a cylindrical vessel.
[toc] | [prev] | [next] | [standalone]
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2016-04-09 08:11 -0600 |
| Message-ID | <mailman.117.1460211154.2253.python-list@python.org> |
| In reply to | #106728 |
On Sat, Apr 9, 2016 at 7:49 AM, Joseph Caulfield
<josephcaulfield1996@gmail.com> wrote:
> On Saturday, April 9, 2016 at 2:48:16 PM UTC+1, Joseph Caulfield wrote:
>> how would I model a mug a cylindrical vessel with an open top in python? thansk :)
>
> *as a cylindrical vessel.
class Vessel:
def __init__(self, shape, open_top=False):
self.shape = shape
self.open_top = open_top
mug = Vessel('cylindrical', open_top=True)
If that's not what you meant, then you'll have to be more specific.
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2016-04-09 15:03 -0400 |
| Message-ID | <mailman.134.1460228709.2253.python-list@python.org> |
| In reply to | #106727 |
On Sat, 9 Apr 2016 06:48:01 -0700 (PDT), Joseph Caulfield
<josephcaulfield1996@gmail.com> declaimed the following:
>how would I model a mug a cylindrical vessel with an open top in python? thansk :)
By installing a 3D modelling library, I'd presume... Or writing one
from scratch.
https://www.google.com/#q=python+3d+modelling
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web